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.