-----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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iEYEARECAAYFAkfkzkMACgkQkJvUlhoE3wSCdACbBhjXZsHQbR8D9jLHseBbxsnr
DcUAoMRcIwipuY5torG8PR4oLRTwrBvY
=v9C8
-----END PGP SIGNATURE-----