Aryeh Gregor wrote:
> On Mon, Mar 16, 2009 at 7:47 PM, O. O. <[email protected]> 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
>>
>> I can however get the 1.13.0 version of the Cite Extension to work.
> 
> When I download it from
> <http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Cite>,
> selecting 1.14, that line is blank.  When you download 1.14, what's on
> line 699 of Cite_body.php where the error occurs?
> 

Hi Aryeh.

        I think I made some big mistakes in my posts for this entire Thread. My 
mistake lied in the fact that I assumed on the Extension Distributor 
http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Cite  in the 
Drop Down “Current version (trunk)” was the same as the “1.14.x”. This 
is not the same and I unfortunately did not realize this.
        
        So, when I was downloading the “Current version (trunk)” I was 
downloading r48452 and I got the same error that I was reporting before 
i.e.

Fatal error: Call to undefined method 
ParserOptions::getIsSectionPreview() in 
/var/www/wiki2/extensions/Cite/Cite_body.php on line 699

For me I am getting the line 699 in Cite_body.php as

if ( $parser->getOptions()->getIsSectionPreview() ) return true;


It is however not true that 1.14.x gives this error. It does not. When I 
downloaded it gives r45577 as against r48452. Previously I simply 
ignored these numbers. Sorry for the confusion. So this works now.
        
        I started this thread because Robert mentioned in my previous thread 
“HTML not Rendered correctly after Import of Wikipedia” that some of the 
HTML may be badly formatted because I did not have the correct version 
of the Cite Extension. Now with the 1.14.x I still get the same problems 
with the HTML. Anyway that’s the subject of the other thread – so I 
don’t want to continue it here. Also for most part Tidy cleans the HTML 
up if it is enabled.

Thanks again guys,
O. O.



_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to