MediaWiki:Newarticletext: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(changing paradigm to that used at the Russian Wikipedia)
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--This format seems to have originated on the Russian Wikipedia at http://ru.wikipedia.org/w/index.php?title=MediaWiki:Newarticletext -->
<!--This format seems to have originated on the Russian Wikipedia at http://ru.wikipedia.org/w/index.php?title=MediaWiki:Newarticletext -->
{{#switch:{{NAMESPACE}}
{{#switch:{{NAMESPACE}}
|{{ns:Talk}}={{newtalktext}}
|{{ns:User}}={{newusertext}}
|{{ns:User talk}}={{newusertalktext}}
|{{ns:Tardis}}={{newtardistext}}
|{{ns:Tardis talk}}={{newtardistalktext}}
|{{ns:File talk}}={{newfiletalktext}}
|{{ns:MediaWiki}}={{newmediawikitext}}
|{{ns:MediaWiki talk}}={{newmediawikitalktext}}
|{{ns:Template}}={{newtemplatetext}}
|{{ns:Template talk}}={{newtemplatetalktext}}
|{{ns:Help}}={{newhelptext}}
|{{ns:Help talk}}={{newhelptalktext}}
|{{ns:Category}}={{newcategorytext}}
|{{ns:Category talk}}={{newcategorytalktext}}
|{{ns:Forum}}={{newforumtext}}
|{{ns:Forum talk}}={{newforumtalktext}}
|{{ns:Video talk}}={{newvideotalktext}}
|{{ns:Howling}}={{newhowlingtext}}
|{{ns:Howling talk}}={{newforumtalktext}}
|{{ns:Transmat}}={{newtransmattext}}
|{{ns:Transmat talk}}={{newtransmattalktext}}


|{{ns:User}}={{#if:{{#titleparts:{{PAGENAME}}|1|2}}|You're starting a new user page.
|{{ns:Video}}=<!--this namespace seems to be overridden by other settings;
 
                  not much  point to changing them-->
|{{ns:file}}=
|{{ns:File}}=<!--this namespace seems to be overridden by other settings; not much
{{#ifexist:{{ns:Media}}:{{PAGENAME}}
                point to changing them-->
|New file
 
|{{ns:File talk}}=
 
{{#ifexist:Media:{{PAGENAME}}
|
{{#ifexist:{{SUBJECTPAGENAME}}
|
 
|{{ns:Template}}=This is a new template
|{{ns:Category}}=This is a new category
|{{ns:Tardis}}=This is a new Tardis page
|{{TALKSPACE}}=This is a new Talk page
|#default={{newarticletext}}
|#default={{newarticletext}}
}}
}}

Latest revision as of 00:50, 5 August 2013

Newarticletext contains the switching mechanism that allows for each namespace to offer its own, unique new page message. Please do not edit this page, unless you know exactly what you're doing. The things you probably want to edit — the messages themselves — are all within category:newpage message templates.