mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-27 17:40:06 +00:00
fb1de7786c
Avoid creating of Title object to get the "fixed special name" (which is the localized name) and compare that against the local name of the current page, just use the SpecialPageFactory to get the canonical name (which is the english internal name, not the english visible name) and compare against the list of canonical allowed pages (adjust the existing list to the canonical names, that are "old" names in different cases) Change-Id: Ia6f6574bf6e65c75f8977ff016feda6ecdca3776 |
||
---|---|---|
.. | ||
Hooks.php |