https://bugzilla.wikimedia.org/show_bug.cgi?id=70686
--- Comment #22 from Brad Jorsch <[email protected]> --- (In reply to Jesús Martínez Novo (Ciencia Al Poder) from comment #21) > In JavaScript there's a global variable called wgCanonicalSpecialPageName > [1], which is often used by scripts to detect if the current page is a > specific special page, and that name is invariant of the wiki or user > language. I had thought for some reason that using that variable wouldn't necessarily work unless the name there was also configured as an alias, but now I see that I was wrong (it won't necessarily be listed as an alias, but it'll still *work*). So the most-sensible behavior in general for translating "Special:Foo" to a special page seems to be to use the special page with wgCanonicalSpecialPageName "Foo" if any, then the special page that has "Foo" as its first localized alias if any, then whatever. So in the case of this bug, Collection's Special:Book would still have won because "Book" is the canonical name. But at the same time, Special:MovePage should *not* have been redirecting to Special:Book; it should have used whatever the second-choice localization was. -- 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
