Extension talk:ParserPhase2

MediaWiki v1.11: pass-by-reference has been deprecated (RESOLVED)
Any recommendations without creating/modifying php.ini?

Using MediaWiki v1.11:


 * Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]. 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. wiki/extensions/ParserPhase2/ParserPhase2.php on line 159


 * Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]. 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. wikii/extensions/ParserPhase2/ParserPhase2.php on line 159


 * Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]. 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. wikii/extensions/ParserPhase2/ParserPhase2.php on line 174


 * Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]. 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. wikii/extensions/ParserPhase2/ParserPhase2.php on line 174


 * Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]. 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. wikii/extensions/ParserPhase2/ParserPhase2.php on line 185


 * Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name]. 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. wikii/extensions/ParserPhase2/ParserPhase2.php on line 185


 * remove the & from the passed parameters on line 159, 174 and 185. I will update SVN trunk soon. Jean-Lou Dupont 02:22, 26 September 2007 (UTC)
 * use trunk version @ id = 820. Jean-Lou Dupont 02:23, 26 September 2007 (UTC)


 * That did the trick. Thanks.
 * - Marc

1.12 integration (RESOLVED)

 * Anyone tested with version 1.12? I get this error

Fatal error: Class 'ParserPhase2' not found in D:\Web_Root\IIS\WikiIS\extensions\StubManager\StubManager.php on line 619

Stub_manager version 1.12

--Abrillon 00:03, 26 March 2008 (UTC)
 * Hi - could you start by upgrading to the latest version of StubManager? Jean-Lou Dupont 01:29, 26 March 2008 (UTC)


 * I am running Stub_manager version 1.12.  Is there a newer version? --Abrillon 20:26, 26 March 2008 (UTC)
 * No, 1.20 is. Have you considered subscribing to the RSS feed to stay in sync? Or install PEAR_Frontend_WEB package? Jean-Lou Dupont 21:57, 26 March 2008 (UTC)
 * No i didnt considered it but I will look into it.


 * Deleted my previous comments as after installing PEAR, I completely removed the old StubManager and ParserPhase2, and installed them using PEAR instead. However, now I am getting:

% php update.php PHP Fatal error: Class 'StubManager' not found in  ~/wiki/extensions/ParserPhase2/ParserPhase2.php on line 17


 * Using ParserPhase2-1.1.1 and StubManager-1.3.0


 * Marc K. 04/10/08 12:57:00PM (EST)


 * Did you put the  in LocalSettings.php ? Jean-Lou Dupont 17:06, 10 April 2008 (UTC)


 * Yes, but I had commented it out for some reason. After removing the comment, I am now getting:

% php update.php PHP Fatal error: Cannot redeclare class StubManager in  ~/StubManager/StubManager.php on line 18


 * Marc K. 04/10/08 02:50:00PM (EST)
 * I see you are trying to use an admin command update.php : just comment out my extensions when you run an admin command. That should take care of it. Jean-Lou Dupont 19:02, 10 April 2008 (UTC)
 * That did the trick. It is unfortunate that it requires this workaround, but it works.  Thanks.  Marc K. 04/11/2008 09:41:00 AM (EST)
 * I believe I have found the root of this issue. It is now fixed in the SVN trunk, awaiting for a release. Thanks and Cheers. Jean-Lou Dupont 13:54, 11 April 2008 (UTC)