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
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:User}}=You're starting a new user page.
|{{ns:User}}={{#if:{{#titleparts:{{PAGENAME}}|1|2}}|You're starting a new user page.
|{{ns:File}}=You're uploading a file
 
|{{ns:File talk}}=You're starting a new page about a file
|{{ns:file}}=
|{{ns:MediaWiki=You're starting a new MediaWiki page
{{#ifexist:{{ns:Media}}:{{PAGENAME}}
|New file
 
|{{ns:File talk}}=
 
{{#ifexist:Media:{{PAGENAME}}
|
{{#ifexist:{{SUBJECTPAGENAME}}
|
 
|{{ns:Template}}=This is a new template
|{{ns:Template}}=This is a new template
|{{ns:Category}}=This is a new category
|{{ns:Category}}=This is a new category
|{{ns:Tardis}}=This is a new Tardis page
|{{ns:Tardis}}=This is a new Tardis page
|{{TALKSPACE}}=This is a new Talk page
|{{ns:Talk}}=This is a new Talk page
|#default={{newarticletext}}
|#default={{newarticletext}}
}}
}}

Revision as of 02:40, 15 February 2011

{{#switch:MediaWiki |User=You're starting a new user page. |File=You're uploading a file |File talk=You're starting a new page about a file |Template:Ns:MediaWiki=You're starting a new MediaWiki page