Last modified: 2012-06-11 14:07:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35627, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33627 - When saving a page normalize the page title first
When saving a page normalize the page title first
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
1.0.0 (Android)
All All
: Normal enhancement
: ---
Assigned To: Brion Vibber
:
Depends on:
Blocks: 31805
  Show dependency treegraph
 
Reported: 2012-01-10 00:06 UTC by Liangent
Modified: 2012-06-11 14:07 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2012-01-10 00:06:20 UTC
Including expanding namespace aliases, capitalize page names according to site config, and resolve redirects.
Comment 1 Phil Chang 2012-01-24 22:36:48 UTC
Not sure how urgent this is, but sounds fundamental.
Comment 2 Brion Vibber 2012-01-27 22:43:44 UTC
The tricky part right now is that we save based on the URL, so we don't actually have a normalized title -- just whatever incoming title we started with, which may be a redirect or non-normalized form. We also save history entries right away (before loading) I think so would need to have a way to fetch the title back out of the page and jiggle things around to save after, possibly using a normalized URL.

Shouldn't be too hard, just a little finicky.
Comment 3 Yuvi Panda 2012-02-07 09:15:46 UTC
We need <link rel="canonical"> in the mobile frontend for this to work. Filed bug #34240
Comment 4 Yuvi Panda 2012-06-11 14:07:45 UTC
We now do this, since everything's based on the API and we resolve redirects, etc :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links