Hi,
We are having a problem with the front page of our wikipedia mirror.

The function
{{#ifexpr:{{formatnum:{{PAGESIZE:Wikipedia:Today's featured 
article/{{#time:F j, Y}}}}|R}}>150|{{Wikipedia:Today's featured 
article/{{#time:F j, Y}}}}|{{Wikipedia:Today's featured 
article/{{#time:F j, Y|-1 days}}}}}}
causes the error "Expression error: Unexpected > operator" to appear on 
the main page.

{#time:F j, Y}} correctly returns the date in format 'June 22, 2010'.

However, {{PAGESIZE:Wikipedia:Today's featured article/{{#time:F j, 
Y}}}}, doesn't seem to return anything.
Trying PAGESIZE with a normal page, {{PAGESIZE:Paw}}, does not return 
anything either.

Because of the failure of PAGESIZE, ifexpr becomes {{#ifexpr:>150|...}} 
which I believe causes the "Expression error: Unexpected > operator" error.


Does anybody have any ideas what is going on with this?

Thanks,
Brent

MediaWiki <http://www.mediawiki.org/>   1.16.0
PHP <http://www.php.net/>       5.2.8 (apache2handler)
MySQL <http://www.mysql.com/>   5.1.48-community





_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to