https://bugzilla.wikimedia.org/show_bug.cgi?id=45031

Brad Jorsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Brad Jorsch <[email protected]> ---
(In reply to comment #4)
> Happened again w/deployment of Campaign NS: see
> https://test.wikipedia.org/wiki/Special:Contributions/Maintenance_script

At least at the moment, the early call to CanonicalNamespaces seems to be from
ShortUrlHooks::setupUrlRouting(), which is called for the
WebRequestPathInfoRouter hook, which is being called from the call to
$wgRequest->interpolateTitle() in Setup.php.

ShortUrlHooks::setupUrlRouting() calls getPrefixedText() on a Title object for
its special page, which eventually calls MWNamespace::getCanonicalNamespaces()
to find the local name for the "Special" namespace, which calls the hook and
caches the result.

One possibility for a general fix would be to call
MWNamespace::getCanonicalNamespaces( true ) from near the bottom of Setup.php,
to force the list of canonical namespaces to be recached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to