Extension talk:EditSubpages

This is really useful! Thanks so much for the development.

Errors
Great extension, but I got an error after installing it: "Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of array_unique. If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in [redacted]/extensions/EditSubpages/EditSubpages.php on line 60 Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of array_unique. If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in [redacted]/extensions/EditSubpages/EditSubpages.php on line 69" Er, help? I also get this error when I log out and try to edit my unrestricted pages: Warning: preg_match [function.preg-match]: Unknown modifier '\' in [redacted]/extensions/EditSubpages/EditSubpages.php on line 55 Warning: preg_match [function.preg-match]: Unknown modifier '\' in [redacted]/extensions/EditSubpages/EditSubpages.php on line 55 The attempted edit tab does not show up for the unrestricted pages. --
 * Both issues should be fixed in version 1.2. I've moved it into Subversion, so you need to download it from there instead of copy/pasting. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  23:50, 3 March 2008 (UTC)
 * Many, many thanks!

This is working great, except I may have found either a bug or a problem with my set-up. The pages I list, and their talk pages, are editable by everyone. If I list a specific talk page, it isn't editable, even though it's showing in the list. Also, subpages of the pages I list are not editable. I thought that all subpages were editable, and that anonymous users could create new subpages? 24.16.13.116 22:33, 6 March 2008 (UTC)
 * Should be fixed now. --Skizzerz talk - contribs [[Image:Tournesol.png|20px]] MediaWiki Support Team  00:14, 7 March 2008 (UTC)

Another Error
It seems that I am unable to "unlock" a page that is in a namespace. Pages in the main namespace get unlock fine, but pages in the Help namespace or Project namespace (I just haven't tried any others) don't get unlocked. Smaug 00:38, 28 March 2008 (UTC)
 * I'll look into that. --Skizzerz talk - contribs 19:02, 30 March 2008 (UTC)

Create page MediaWiki:Unlockedpages before installing EditSubpages
Looks like EditSubpages.php barfs at line 30 if MediaWiki:Unlockedpages does not exist. Better mention this in installation instructions. --84.253.237.195 20:02, 29 March 2008 (UTC)

Seems I was too hasty in drawing conclusions. I get Fatal error: Call to a member function getText on a non-object in /biz/fcjazzjuniorit.fi/html/mediawiki-1.11.0/extensions/EditSubpages/EditSubpages.php on line 30 Even if MediaWiki:Unlockedpages exists. Google show lots of same erros, trying to find out actual cause, but may be something with webhotel setup. --Taleman 13:09, 30 March 2008 (UTC)
 * That is odd. The purpose of that particular line is grab the title of the current page. MediaWiki:Unlockedpages plays no part in that step. I'm guessing it has something to do with your setup, then, since it appears $wgTitle (which is the current page's title object) doesn't seem to be defined for you, despite the fact that it was declared in a global the line prior. Not quite sure how to help you on this... --Skizzerz talk - contribs 19:01, 30 March 2008 (UTC)

From discussion on #mediawiki 2008-03-31 < Werdna> that extension is badly-written < Werdna> the extension should be using the userCan hook, not the UserGetRights hook < Werdna> perhaps the order of execution has been changed?

I am running * MediaWiki: 1.11.1 * PHP: 5.2.5 (cgi) * MySQL: 5.0.45-community

I updated MediaWiki, same error message if I add to LocalSettings.php.
 * 1) error_reporting(E_ALL);
 * 2) ini_set("display_errors", 1);
 * 3) $wgShowExceptionDetails = true;

MediaWiki 	1.12.0 PHP 	5.2.5 (cgi) MySQL 	5.0.45-community --Taleman 07:21, 31 March 2008 (UTC)