https://bugzilla.wikimedia.org/show_bug.cgi?id=40805
Web browser: ---
Bug #: 40805
Summary: Title->getNamespaceKey() should handle talk pages
Product: MediaWiki
Version: 1.21-git
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
It only returns keys for content namespaces, even if called on a title in a
talk namespace. This causes code duplication everywhere where the distinction
is necessary, as well as interop issues – e.g. SkinTemplate has it's own way of
converting these keys to talk keys, and it has to be faithfully replicated in
skins that need to even slightly mangle the navigation links.
(Or maybe a different function should be introduced, to keep backwards
compatibility? It appears to be used in a few extensions and extension-skins,
including LiquidThread; I didn't check if these actually depend on current
behavior.)
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l