[Mediawiki-l] Detecting main page with conditional statement?

Jean-Lou Dupont jeanlou.dupont at gmail.com
Tue Oct 23 23:36:50 UTC 2007


http://meta.wikimedia.org/wiki/Help:Magic_words

On 10/23/07, Teemu Lantta <teemu.lantta at helsinki.fi> wrote:
>
> Hi
>
> I just can't figure out how to make an if expression on skin/template
> file that checks if you are on main page or not - and after that writes
> some html. The problem seems to be that I can't find the freakin
> variable that contains the name of current page or article.
>
> I searched the entire forum and also the archive of this list. There
> doesn't seem to be any reasonable answer to this, only lots of questions
> similar to mine. But I guess somebody must know, after all somebody
> coded this... right? :)
>
> Greetings,
> Teemu
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list