SuchABot has uploaded a new change for review.

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


Change subject: Force re-cache of Canonical Namespaces
......................................................................

Force re-cache of Canonical Namespaces

I am totally unsure if this is the correct solution. Patch per anomie.

Bug: 45031

Change-Id: Ie00cbcd8ca0147663224eff6a6fe73fa70e1bbb4
GitHub: https://github.com/wikimedia/mediawiki-core/pull/1
---
M includes/Setup.php
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/23/74523/1

diff --git a/includes/Setup.php b/includes/Setup.php
index 028758f..57b2a78 100644
--- a/includes/Setup.php
+++ b/includes/Setup.php
@@ -581,6 +581,9 @@
        wfProfileOut( $profName );
 }
 
+# Fix for bug 45031, to force re-cache of Canonical namespaces
+MWNamespace::getCanonicalNamespaces( true );
+
 wfDebug( "Fully initialised\n" );
 $wgFullyInitialised = true;
 

-- 
To view, visit https://gerrit.wikimedia.org/r/74523
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie00cbcd8ca0147663224eff6a6fe73fa70e1bbb4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: SuchABot <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to