[Mediawiki-l] Related to magic words.

Antoine Musso antoine.musso at laposte.fr
Fri Sep 7 11:28:26 UTC 2007


rajkumar subbarayan a écrit :
> Hi All,
> 
> Can anyone explain what this statement
> {{Wikipedia:Today's featured article/{{CURRENTMONTHNAME}} {{CURRENTDAY}},
> {{CURRENTYEAR}}}}
> i got this from main page of wikipedia.org.
> 
> I know below things are magic words
> {{CURRENTMONTHNAME}}
> {{CURRENTDAY}}
> {{CURRENTYEAR}}
> 
> But don't know how they get the article to main page.How the article should
> be made in order to catch with this statement
> Regards,
> Raj S

Hello,

The three statements CURRENTxxx will be translated by Mediawiki, the 
above statement will become:

   {{Wikipedia:Today's featured article/September 7, 2007}}

The brackets then mean that MediaWiki should include the content of the 
article:
   [[Wikipedia:Today's featured article/September 7, 2007]]

Which is:
 
http://en.wikipedia.org/wiki/Wikipedia:Today%27s_featured_article/September_7%2C_2007

cheers,

-- 
Antoine MUSSO
DISIT/PROD/QFO/OUT
mailto:antoine.musso at laposte.fr
tél. 02 40 12 73 62
-------------- next part --------------
Post-scriptum La Poste

Ce message est confidentiel. Sous réserve de tout accord conclu par
écrit entre vous et La Poste, son contenu ne représente en aucun cas un
engagement de la part de La Poste. Toute publication, utilisation ou
diffusion, même partielle, doit être autorisée préalablement. Si vous
n'êtes pas destinataire de ce message, merci d'en avertir immédiatement
l'expéditeur.




More information about the MediaWiki-l mailing list