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.
Is this the correct place to be asking for help on the Cite Extension – or is there some other mailing list or newsgroup for this.
Thanks, O. O.
Hoi, What revision number does the working version for REL1_14_0 of Cite have ? Thanks, GerardM
2009/3/17 O. O. olson_ot@yahoo.com
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.
Is this the correct place to be asking for help on the Cite Extension – or is there some other mailing list or newsgroup for this.
Thanks, O. O.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hoi, REL1_14_0 is how I know the 1.14 release of MediaWiki. I would like to know what revision of Cite works for you. As you may know, we are working on a testing envirionment particularly for the support of extensions in stable releases of MediaWiki.. One of the things that is on our agenda is finding out what revisions work in what setting... Playing with Cite seems like a good idea because apparantly it is broken for 1.14. Thanks, Gerard
2009/3/17 O. O. olson_ot@yahoo.com
Gerard Meijssen wrote:
Hoi, What revision number does the working version for REL1_14_0 of Cite have
?
Thanks, GerardM
I don’t know what is “REL1_14_0 of Cite”?? Sorry I am new to this O. O.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Gerard Meijssen schrieb:
Hoi, REL1_14_0 is how I know the 1.14 release of MediaWiki. I would like to know what revision of Cite works for you. As you may know, we are working on a testing envirionment particularly for the support of extensions in stable releases of MediaWiki.. One of the things that is on our agenda is finding out what revisions work in what setting... Playing with Cite seems like a good idea because apparantly it is broken for 1.14. Thanks, Gerard
2009/3/17 O. O. olson_ot@yahoo.com
Gerard Meijssen wrote:
Hoi, What revision number does the working version for REL1_14_0 of Cite have
?
REL1_40_0 is revision 47655 per definition, for all parts of mediawiki, including extensions. See http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_14_0/.
-- daniel
Daniel Kinzler wrote:
Gerard Meijssen schrieb:
Hoi, REL1_14_0 is how I know the 1.14 release of MediaWiki. I would like to know what revision of Cite works for you. As you may know, we are working on a testing envirionment particularly for the support of extensions in stable releases of MediaWiki.. One of the things that is on our agenda is finding out what revisions work in what setting... Playing with Cite seems like a good idea because apparantly it is broken for 1.14. Thanks, Gerard
2009/3/17 O. O. olson_ot@yahoo.com
Gerard Meijssen wrote:
Hoi, What revision number does the working version for REL1_14_0 of Cite have
?
REL1_40_0 is revision 47655 per definition, for all parts of mediawiki, including extensions. See http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_14_0/.
-- daniel
Thanks Daniel and Gerard for clarifying this.
So, is there some mailing list or something where I can complain about the problem with Cite?? (Keep in mind that it is possible that I might be doing something wrong on my end with the installation, because I am new to all of this.) Or do I simply email the author?
As far as what works for me: The 1.13.x version of Cite works with “REL1_14_0” i.e. 1.14.
Thanks, O. O.
Gerard Meijssen schreef:
Hoi, What revision number does the working version for REL1_14_0 of Cite have ?
/branches/REL1_14_0/extensions/Cite was touched last in r45574, and the function call the error complains about was added in r46271 according to Brad's post, so at least this particular error cannot be happening with REL1_14 (I've checked that in r45574, the Cite_body.php file where the error occurs doesn't even contain the word "preview").
Roan Kattouw (Catrope)
Roan Kattouw wrote:
Gerard Meijssen schreef:
Hoi, What revision number does the working version for REL1_14_0 of Cite have ?
/branches/REL1_14_0/extensions/Cite was touched last in r45574, and the function call the error complains about was added in r46271 according to Brad's post, so at least this particular error cannot be happening with REL1_14 (I've checked that in r45574, the Cite_body.php file where the error occurs doesn't even contain the word "preview").
Roan Kattouw (Catrope)
Thanks Roan. I don’t think I understood any of the above. I guess I am not into the Lingo as yet. O. O.
On Wed, Mar 18, 2009 at 11:15 AM, Roan Kattouw roan.kattouw@home.nl wrote:
What revision number does the working version for REL1_14_0 of Cite have ?
How is he supposed to answer that? ExtensionDistributor doesn't give you a .svn folder. (Although that's a kind of cool idea. :) )
Aryeh Gregor wrote:
On Wed, Mar 18, 2009 at 11:15 AM, Roan Kattouw roan.kattouw@home.nl wrote:
What revision number does the working version for REL1_14_0 of Cite have ?
How is he supposed to answer that? ExtensionDistributor doesn't give you a .svn folder. (Although that's a kind of cool idea. :) )
Could someone figure out a way of stuffing this into the extension's description automatically so that it shows up in the wiki's Version page?
Mike
On Mon, Mar 16, 2009 at 7:47 PM, O. O. olson_ot@yahoo.com wrote:
Is this the correct place to be asking for help on the Cite Extension – or is there some other mailing list or newsgroup for this.
This is the correct place.
Aryeh Gregor wrote:
On Mon, Mar 16, 2009 at 7:47 PM, O. O. olson_ot@yahoo.com wrote:
Is this the correct place to be asking for help on the Cite Extension – or is there some other mailing list or newsgroup for this.
This is the correct place.
Thanks for this confirmation Aryeh. O. O.
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.
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.
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 Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Mon, Mar 16, 2009 at 7:47 PM, O. O. olson_ot@yahoo.com 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?
Aryeh Gregor wrote:
On Mon, Mar 16, 2009 at 7:47 PM, O. O. olson_ot@yahoo.com 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.
On Wed, Mar 18, 2009 at 6:51 PM, O. O. olson_ot@yahoo.com wrote:
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.
This is our fault for sloppy wording. In r48552 I renamed "Current version" to "Development version". I didn't immediately see how to make 1.14.x the default download, but it should be. Most people do not want trunk.
O. O. wrote:
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.
Thanks for giving us into our attention. It's a comprehensible misunderstanding, specially since 'Current' is the selected option.
I propose changing 'Current version (trunk)' to 'Unstable latest version (trunk)'. The unstable bit should catch the attention for people which has just downloaded 'the last mediawiki version' to notice the difference.
Changing the combobox to a listbox would help, too.
On Wed, Mar 18, 2009 at 8:18 PM, Platonides Platonides@gmail.com wrote:
Thanks for giving us into our attention. It's a comprehensible misunderstanding, specially since 'Current' is the selected option.
I propose changing 'Current version (trunk)' to 'Unstable latest version (trunk)'. The unstable bit should catch the attention for people which has just downloaded 'the last mediawiki version' to notice the difference.
Changing the combobox to a listbox would help, too.
Simulpost: I just changed it to "development version" and suggested it be made non-default. :) "Development" and "unstable" are both okay, I think. It should still be made non-default.
Aryeh Gregor wrote:
On Wed, Mar 18, 2009 at 8:18 PM, Platonides Platonides@gmail.com wrote:
Thanks for giving us into our attention. It's a comprehensible misunderstanding, specially since 'Current' is the selected option.
I propose changing 'Current version (trunk)' to 'Unstable latest version (trunk)'. The unstable bit should catch the attention for people which has just downloaded 'the last mediawiki version' to notice the difference.
Changing the combobox to a listbox would help, too.
Simulpost: I just changed it to "development version" and suggested it be made non-default. :) "Development" and "unstable" are both okay, I think. It should still be made non-default.
Thanks Aryeh and Platonides. I am sure these changes would help others. O. O.
Aryeh Gregor wrote:
On Wed, Mar 18, 2009 at 8:18 PM, Platonides Platonides@gmail.com wrote:
Thanks for giving us into our attention. It's a comprehensible misunderstanding, specially since 'Current' is the selected option.
I propose changing 'Current version (trunk)' to 'Unstable latest version (trunk)'. The unstable bit should catch the attention for people which has just downloaded 'the last mediawiki version' to notice the difference.
Changing the combobox to a listbox would help, too.
Simulpost: I just changed it to "development version" and suggested it be made non-default. :) "Development" and "unstable" are both okay, I think. It should still be made non-default.
We have also had bug reports from people who chose the old version but really wanted the current version. Extension documentation pages are typically vague about how their functionality changes with time. Also note that the branch version isn't any more stable than the trunk one. For most extensions, it's just a random snapshot of the trunk.
-- Tim Starling
Hoi, The Cite extension is special in that it reports twice on the English Wikipedia. Once with revision 42818 and once with revision 47190. No idea why this is. Thanks, GerardM
2009/3/20 Tim Starling tstarling@wikimedia.org
Aryeh Gregor wrote:
On Wed, Mar 18, 2009 at 8:18 PM, Platonides Platonides@gmail.com
wrote:
Thanks for giving us into our attention. It's a comprehensible misunderstanding, specially since 'Current' is the selected option.
I propose changing 'Current version (trunk)' to 'Unstable latest version (trunk)'. The unstable bit should catch the attention for people which has just downloaded 'the last mediawiki version' to notice the
difference.
Changing the combobox to a listbox would help, too.
Simulpost: I just changed it to "development version" and suggested it be made non-default. :) "Development" and "unstable" are both okay, I think. It should still be made non-default.
We have also had bug reports from people who chose the old version but really wanted the current version. Extension documentation pages are typically vague about how their functionality changes with time. Also note that the branch version isn't any more stable than the trunk one. For most extensions, it's just a random snapshot of the trunk.
-- Tim Starling
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hello,
2009/3/20 Gerard Meijssen gerard.meijssen@gmail.com:
The Cite extension is special in that it reports twice on the English Wikipedia. Once with revision 42818 and once with revision 47190. No idea why this is.
This is because there are two parts, the parser tag, and the special page. One can be activated without the other, and each registers itself as an extension - generating a listing for each.
Regards, MinuteElectron
Hoi, This is confusing. So there are two parts to Cite to make it work completely. This is counter intuitive and I did not get that from the documentation at http://mediawiki.org/wiki/Extension:Cite. When you say "activated" does this mean loaded from SVN or does it mean that you have to set specific valiues in localsettings.py for instance ?? Would it not be better to have them named differently ?? Thanks, GerardM
2009/3/21 MinuteElectron minuteelectron@googlemail.com
Hello,
2009/3/20 Gerard Meijssen gerard.meijssen@gmail.com:
The Cite extension is special in that it reports twice on the English Wikipedia. Once with revision 42818 and once with revision 47190. No
idea
why this is.
This is because there are two parts, the parser tag, and the special page. One can be activated without the other, and each registers itself as an extension - generating a listing for each.
Regards, MinuteElectron
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hoi, I fail to understand how to install both from SVN. I am given a clue how to configure this but I am not sure if this will work. Thanks, GerardM
2009/3/21 Gerard Meijssen gerard.meijssen@gmail.com
Hoi, This is confusing. So there are two parts to Cite to make it work completely. This is counter intuitive and I did not get that from the documentation at http://mediawiki.org/wiki/Extension:Cite. When you say "activated" does this mean loaded from SVN or does it mean that you have to set specific valiues in localsettings.py for instance ?? Would it not be better to have them named differently ?? Thanks, GerardM
2009/3/21 MinuteElectron minuteelectron@googlemail.com
Hello,
2009/3/20 Gerard Meijssen gerard.meijssen@gmail.com:
The Cite extension is special in that it reports twice on the English Wikipedia. Once with revision 42818 and once with revision 47190. No
idea
why this is.
This is because there are two parts, the parser tag, and the special page. One can be activated without the other, and each registers itself as an extension - generating a listing for each.
Regards, MinuteElectron
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On 3/20/09 11:42 PM, Gerard Meijssen wrote:
This is confusing. So there are two parts to Cite to make it work completely.
There are actually two *entirely separate extensions* in the Cite directory:
Cite/Cite.php : the <ref>, <references> tags.
This adds a system for adding footnotes to wiki articles, primarily meant for citing external references.
Cite/SpecialCite.php : Special:Cite
This adds a helper utility page which formats citations *to* a given wiki article, which you can then paste into the offline paper you're writing so you can site the wiki article as a reference.
I agree that this is confusing; probably Cite/Cite.php should be moved out to References/References.php or something sensible.
-- brion
Brion Vibber wrote:
On 3/20/09 11:42 PM, Gerard Meijssen wrote:
This is confusing. So there are two parts to Cite to make it work completely.
There are actually two *entirely separate extensions* in the Cite directory:
Cite/Cite.php : the <ref>, <references> tags.
This adds a system for adding footnotes to wiki articles, primarily meant for citing external references.
Cite/SpecialCite.php : Special:Cite
This adds a helper utility page which formats citations *to* a given wiki article, which you can then paste into the offline paper you're writing so you can site the wiki article as a reference.
I agree that this is confusing; probably Cite/Cite.php should be moved out to References/References.php or something sensible.
-- brion
That would probably confuse things more, as when people ask about Cite they refer to Cite.php If we renamed it, we would be saying install References, well, unless you are on 1.14 or less where it is included in Cite... SpecialCite is the odd one, it'd be better to rename it instead. Now, we only need a sensible name for it :)
On Mon, Mar 23, 2009 at 11:06 AM, Brion Vibber brion@wikimedia.org wrote:
On 3/20/09 11:42 PM, Gerard Meijssen wrote:
This is confusing. So there are two parts to Cite to make it work completely.
There are actually two *entirely separate extensions* in the Cite directory:
Cite/Cite.php : the <ref>, <references> tags.
This adds a system for adding footnotes to wiki articles, primarily meant for citing external references.
Cite/SpecialCite.php : Special:Cite
This adds a helper utility page which formats citations *to* a given wiki article, which you can then paste into the offline paper you're writing so you can site the wiki article as a reference.
I agree that this is confusing; probably Cite/Cite.php should be moved out to References/References.php or something sensible.
-- brion
Wouldn't it be more sensible to move the page cite tool (Special:Cite) to another name?
wikitech-l@lists.wikimedia.org