Hi, We are creating an off-line version of the wikipedia, but we continue to have problems getting some citation items to render correctly.
When using the cite template and citing a paper or journal and the URL tag is missing, you get an error in the citation list at the bottom with error "Missing operand for >". (see example below from the article Cyprus).
^ Drayton, Penny (January 1993). [Expression error: Missing operand for
"Aphrodite's island"]. Wood & water 2 (41). Cited by: Trubshaw, Bob
(February 1993). "The Black Stone – the Omphalos of the Goddess". Mercian Mysteries (14). http://www.indigogroup.co.uk/edge/blstone.htm. Retrieved 2006-11-12. "In Cyprus is another highly venerated
We haven't been able to find exactly where the error occurs since there are several layers of templates. Does anybody know if this was just a template problem briefly or if there is way to track it down. We are using the 6/22/2010 dump. I did look at the change history of several templates but I haven't found any that were fixed between that dump date and the current online version.
Thanks, Brent
Brent Palmer wrote:
We are creating an off-line version of the wikipedia, but we continue to have problems getting some citation items to render correctly.
If you're trying to emulate Wikipedia's configuration, I hope you know about Wikimedia's NOC.[1]
When using the cite template and citing a paper or journal and the URL tag is missing, you get an error in the citation list at the bottom with error "Missing operand for >".
We haven't been able to find exactly where the error occurs since there are several layers of templates. Does anybody know if this was just a template problem briefly or if there is way to track it down. We are using the 6/22/2010 dump. I did look at the change history of several templates but I haven't found any that were fixed between that dump date and the current online version.
Error messages like this are pretty easy to grep for, either in the PHP source code or in Special:AllMessages.[2] In this case, it's displaying the "pfunc_expr_missing_operand" MediaWiki message,[3] which means it's likely that there's something wrong with your ParserFunctions extension installation. That's at least a start in the right direction. Make sure you're using a compatible version of the extension with your version of MediaWiki. MediaWiki's ExtensionDistributor tool[4] can help with this.
wikitech-l isn't really an appropriate venue for these types of questions. You should try #mediawiki on irc.freenode.net or mediawiki-l.[5][6]
Hope that helps.
MZMcBride
[1] http://noc.wikimedia.org/ [2] http://en.wikipedia.org/w/api.php?action=query&meta=allmessages [3] http://en.wikipedia.org/wiki/MediaWiki:Pfunc_expr_missing_operand [4] http://www.mediawiki.org/wiki/Special:ExtensionDistributor [5] http://www.mediawiki.org/wiki/MediaWiki_on_IRC [6] http://www.mediawiki.org/wiki/Mailing_lists
wikitech-l@lists.wikimedia.org