SemanticMediaWiki icon indicating copy to clipboard operation
SemanticMediaWiki copied to clipboard

Changes made to $wgCanonicalNamespaceNames in MediaWiki 1.34

Open dominic998 opened this issue 6 years ago • 4 comments

Setup and configuration

N/A

Issue

A change has been made to $wgCanonicalNamespaceNames in MediaWiki core (see T232004).

We now explicitly set $wgCanonicalNamespaceNames[NS_MAIN].

I believe this might affect the union done here, if the code assumes $wgCanonicalNamespaceNames[NS_MAIN] is not already set. Any value of the main namespace returned by $instance->getCanonicalNames() will be ignored.

This change will be in 1.34.wmf.22

Raising this bug here just so you are aware and can take the necessary actions.

Stack trace

N/A

Steps to reproduce

N/A

dominic998 avatar Sep 09 '19 12:09 dominic998

Thanks for notifying.

kghbln avatar Sep 09 '19 13:09 kghbln

Code now at https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/src/NamespaceManager.php#L206

JeroenDeDauw avatar Aug 09 '20 15:08 JeroenDeDauw

What is left to be done here?

akuckartz avatar Aug 09 '20 17:08 akuckartz

Figuring out if there actually is an issue and potentially fixing it

JeroenDeDauw avatar Aug 10 '20 11:08 JeroenDeDauw