Last modified: 2014-09-22 20:53:32 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 T69448, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67448 - mw.Title should let you format a title relative to an arbitrary namespace, not assume NS0
mw.Title should let you format a title relative to an arbitrary namespace, no...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.23.0
All All
: Normal enhancement (vote)
: 1.24.0 release
Assigned To: Alex Monk
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-03 01:39 UTC by James Forrester
Modified: 2014-09-22 20:53 UTC (History)
6 users (show)

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


Attachments

Description James Forrester 2014-07-03 01:39:10 UTC
Right now mw.Title formats namespaces assuming that you want their representation from NS0, which is wrong in several cases.
Comment 1 Alex Monk 2014-07-04 16:45:49 UTC
So for example, where this came up in VE, we wanted a title relative to the Template namespace. The idea is that main namespace titles are prefixed with ':' and templates are just their main text (no namespace).
Comment 2 Gerrit Notification Bot 2014-07-04 17:06:29 UTC
Change 144171 had a related patch set uploaded by Alex Monk:
mw.Title: Add function to get title relative to an arbitrary namespace

https://gerrit.wikimedia.org/r/144171
Comment 3 Gerrit Notification Bot 2014-09-22 18:22:52 UTC
Change 144171 merged by jenkins-bot:
mw.Title: Add method to get title relative to an arbitrary namespace

https://gerrit.wikimedia.org/r/144171
Comment 4 Alex Monk 2014-09-22 18:23:54 UTC
Just need to start using it now. Guess we'll have to wait for 1.24wmf23 for that.
Comment 5 James Forrester 2014-09-22 18:41:22 UTC
(In reply to Alex Monk from comment #4)
> Just need to start using it now. Guess we'll have to wait for 1.24wmf23 for
> that.

Or 1.25wmf1. ;-)
Comment 6 Gerrit Notification Bot 2014-09-22 19:05:34 UTC
Change 162016 had a related patch set uploaded by Jforrester:
mw.Title: Add method to get title relative to an arbitrary namespace

https://gerrit.wikimedia.org/r/162016
Comment 7 Gerrit Notification Bot 2014-09-22 20:38:35 UTC
Change 162016 merged by jenkins-bot:
mw.Title: Add method to get title relative to an arbitrary namespace

https://gerrit.wikimedia.org/r/162016

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


Navigation
Links