mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-12 00:06:13 +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 |
||
---|---|---|
.. | ||
HooksTest.php |