I've had this trouble too, I just commented out the offending line - that could be a problem under some specific condition, but it works fine for me as an interim solution.
O. O. wrote: > Brad Jorsch wrote: > >> On Mon, Mar 16, 2009 at 04:47:18PM -0700, O. O. wrote: >> >>> I have installed Mediawiki 1.14.0 http://www.mediawiki.org/wiki/Download >>> and am trying to get the Cite Extension >>> http://www.mediawiki.org/wiki/Extension:Cite version 1.14.0 to work. >>> >>> When accessing the Main_Page I get the error: >>> >>> Fatal error: Call to undefined method >>> ParserOptions::getIsSectionPreview() in >>> /var/www/wiki2/extensions/Cite/Cite_body.php on line 699 >>> >> In r47655 (the official 1.14.0 revision), line 699 is a blank line >> between two functions. Note that the to-be-1.14.0 branch was branched >> from trunk r45489, and no subsequent backports added a call to >> getIsSectionPreview. >> >> In the version currently served when 1.14.x is selected at >> http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Cite (the >> filename claims it to be r45577), line 699 is a blank line between two >> functions. >> >> The function call to getIsSectionPreview was added in r46271 >> (getIsSectionPreview itself was added in r46270), but in that revision >> it was on line 674, not 699. Only from r47190 can I find a version of >> Cite_body.php with a call to getIsSectionPreview on line 699. >> >> Based on the above, it seems you're using the *trunk* version if the >> Cite Extension, not the 1.14.0 version. It's possible someone changed >> http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Cite to serve >> a correct version of the extension since you downloaded it, I don't know >> how that extension works. >> > > Thanks Brad. I too do not know how the extension works though I did not > go into the code. Yes, I am using the version of Cite that is available > from http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Cite and > I chose the 1.14.x version. As I could not get this to work, I chose the > 1.13.x version. I checked this yesterday and it did not work for me. > > Thanks again, > O. O. > > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
