-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Since MediaWiki 1.12 the Lockdown extension has been non-functional for some unknown reason. I've been trying to track it down and have found that the userCan hook is not being run on all requests time. For example, when logged out, it does not run on any special page; when logged in it runs on some special pages but not others (it ran on Special:Whatlinkshere, but not Special:Specialpages). However, it consistently runs on all normal namespace pages.
I do not have the necessary experience and it's getting late here so I just wanted to jot down what I had uncovered so far. Perhaps someone with more experience could take a look at why the userCan hook is not always executing.
Thanks, MinuteElectron.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
MinuteElectron wrote:
Hello,
Since MediaWiki 1.12 the Lockdown extension has been non-functional for some unknown reason. I've been trying to track it down and have found that the userCan hook is not being run on all requests time. For example, when logged out, it does not run on any special page; when logged in it runs on some special pages but not others (it ran on Special:Whatlinkshere, but not Special:Specialpages). However, it consistently runs on all normal namespace pages.
I do not have the necessary experience and it's getting late here so I just wanted to jot down what I had uncovered so far. Perhaps someone with more experience could take a look at why the userCan hook is not always executing.
Thanks, MinuteElectron.
Fixed in r32324 - a hack was circumventing the main logic.
MinuteElectron.
On Sat, Mar 22, 2008 at 5:15 AM, MinuteElectron minuteelectron@googlemail.com wrote:
Fixed in r32324 - a hack was circumventing the main logic.
I remember that hack, Domas committed it because he was annoyed at the method being run so often on Wikimedia wikis where it was useless.
wikitech-l@lists.wikimedia.org