Hello,
we have tried to extend our local (Lmo) mediawiki to adapt the interface (at least a bit)
to dialect variation of the Lombard language.
To be precise, the
http://lmo.wikipedia.org/wiki/mediawiki:sidebar
has been replaced with the template
{{Sidebar {{#expr: {{CURRENTDAY}} mod 2}}}}
which should make the two templates {{Sidebar 0}} and {{Sidebar 1}} appear, the former on
even days, the latter on odd days. The sidebar should change accordingly; unfortunately,
this does not seem to work:
while
http://lmo.wikipedia.org/wiki/mediawiki:sidebar
displays (as such) a correct alternation of {{Sidebar 0}} and {{Sidebar1}}, the actual
sidebar always matches {{Sidebar 1}}. Can you explain this, please? Is perhaps the 0 the
cause of this and should we replace {{Sidebar {{#expr: {{CURRENTDAY}} mod 2}}}}
with {{Sidebar {{#expr: {{CURRENTDAY}} mod 2 + 2}}}} and {{Sidebar 0}} and {{Sidebar1}}
with {{Sidebar 2}} and {{Sidebar3}}? Or, perhaps, does each item in the menu need its own
alternating template?
Thank you.
Cheers,
Claudi
---------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail