Extension talk:PageProtection/Sourcecode
Latest comment: 17 years ago by DavidJameson in topic Does not work with MediaWiki 1.6.7
The following discussion has been transferred from Meta-Wiki.
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).
Does not work with MediaWiki 1.6.7[edit]
Thanks for a great extension! However, PageProtection does not seem to work after upgrade from MediaWiki 1.6.6 to 1.6.7Â :(
Does anyone know of ways to make it work in 1.6.7Â ?
- Hmmm - I just spent an hour trying to get this extension to work with 1.7 and failed. I ran into several problems which I fixed but am stuck now.
- Problem 1: The PageProtection extension tries to include some PEAR stuff, including Crypt but the include_path was not set to include the root of the PEAR directory so the files couldn't be found.
- Problem 2: After fixing that problem, I got stuck at a line in Encryption.php. The line is
$str = $keypair->toPEMString();but the method toPEMString() does not exist. I'm stuck at this point - obviously there is more than one version of the Crypt_RSA_KeyPair class but I don't know how to get the right one, given that I just installed the latest available version from PEAR.
- Minor problem - the PageProtection code is using a deprecated style for call-by-ref which needs to be updated.
End of content from meta.wikimedia.org.
Note that the above conversation may have been edited or added to since the transfer. If in doubt, check the edit history.
Note that the above conversation may have been edited or added to since the transfer. If in doubt, check the edit history.