Pranav, did you get any solution to this as I've also hit the same problem with PHP 5.1.6 although I upgraded to 5.2.0 and now the error I'm getting is
*Catchable fatal error*: Object of class ParserOutput could not be converted to string in *C:\Program Files\VertrigoServ\www\wiki_2_policy\includes\Parser.php* on line *2779
A general query on this is:
I'm in a bit of a quandary as there has been comment on the lists that an official version / variation of StableVersions as part of the next release MW1.10, and if it works in a different way then it might be better to wait for this rather than try to get the extension going, is there any further info on this in 1.10?
Ta
John
* On 1/22/07, Magnus Manske <magnusmanske at googlemail.com http://lists.wikimedia.org/mailman/listinfo/mediawiki-l> wrote:
/ On 1/21/07, Pranav Desai <pranavadesai at gmail.com http://lists.wikimedia.org/mailman/listinfo/mediawiki-l> wrote:
/>/ > Hello All, />/ > />/ > I recently read on this mailing list />/ > [http://lists.wikimedia.org/pipermail/mediawiki-l/2007-January/017269.html] http://lists.wikimedia.org/pipermail/mediawiki-l/2007-January/017269.html%5D />/ > about the StableVersion extension, and I think I may be able to make />/ > use of it. But I unable to get it to work. />/ > />/ > I installed it as mentioned in the mail with Mediawiki verison 1.8.2. />/ > I also checked on some of errors mentioned. When I try to make an />/ > article stable I get the following error: />/ > />/ > Warning: strcspn() expects parameter 1 to be string, object given in />/ > <path>/wiki/includes/Parser.php on line 2558 />/ > />/ > Fatal error: Cannot use object of type ParserOutput as array in />/ > <path>/wiki/includes/Parser.php on line 2560 />/ > />/ > Also, its mentioned that this feature is going to be incorporated in />/ > the newer version of mediawiki. Do you know what version its going to />/ > be in, or is already in. />/ > />/ > I would appreciate any help or comments. />/ />/ Sounds like the wrong PHP version? />/ /Here is my php version ... PHP: 5.1.2 (cgi-fcgi)
I dont think I can change the php on the server, so how do I go about fixing the problems.
Thanks
-- pranav
On 01/02/07, John Moorhouse john.moorhouse@3jays.me.uk wrote:
I'm in a bit of a quandary as there has been comment on the lists that an official version / variation of StableVersions as part of the next release MW1.10, and if it works in a different way then it might be better to wait for this rather than try to get the extension going, is there any further info on this in 1.10?
We have been asked to implement some sort of mechanism for creating snapshots and tagging stable/reviewed versions of pages in the future, and this has been promised, with no definite time frame laid out.
There is no guarantee as to how such a feature will be implemented, or which release version it will be part of. Some experimental proof-of-concept work has been done to confirm that dealing with problems such as changing templates will work.
There are some older extensions dotted about the web and/or in Subversion which refer to adding this behaviour, but may no longer be functional, or may never have been completed.
Rob Church
Thanks for this Rob, I think I'll pursue getting the StableVersion extension from the subversion working as I know that some people are happily using it.
Thanks
John
Rob Church wrote:
On 01/02/07, John Moorhouse john.moorhouse@3jays.me.uk wrote:
I'm in a bit of a quandary as there has been comment on the lists that an official version / variation of StableVersions as part of the next release MW1.10, and if it works in a different way then it might be better to wait for this rather than try to get the extension going, is there any further info on this in 1.10?
We have been asked to implement some sort of mechanism for creating snapshots and tagging stable/reviewed versions of pages in the future, and this has been promised, with no definite time frame laid out.
There is no guarantee as to how such a feature will be implemented, or which release version it will be part of. Some experimental proof-of-concept work has been done to confirm that dealing with problems such as changing templates will work.
There are some older extensions dotted about the web and/or in Subversion which refer to adding this behaviour, but may no longer be functional, or may never have been completed.
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org