Alexis Moinet a écrit :
aretai aretai wrote :
I've a problem - I'd like to put some info on most of the pages in my
wiki
(including the ones that are being edited). I know that it's possible
with
mediawiki:sitenotice - to put some info on all the pages. However I
need
to exclude the main page (have it clearer) and some other pages that
don't
require this info. Is there a way to achieve it?
what about using some template with #if: ? (I don't know the syntax of it but it could be something like #if: {{PAGENAME}} is not {{MAINPAGENAME}} do something)
{{ #ifeq: {{PAGENAME}} | Main Page | <todo if equal> | <to do if not equal> }}
Does anyone know about a variable for Main Page (something like {{MAINPAGE}}) ?