v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "MediaWiki:Editpage-head-copy-warn"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (reword)
(fix check for DF2014 (lowercased))
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{1|{{NAMESPACE}}}}}}}|v0.31 talk|40d talk|23a talk=
+
{{#switch:{{lc:{{{1|{{SUBJECTSPACE}}}}}}}|df2014|v0.34|v0.31|40d|23a=
<div style="width:auto; background-color:#fcc; border:1px solid red; padding:1em;">
+
<div style="width:auto; background-color:#fcc; border:1px solid red; padding:2em;">
You are editing a talk page for an '''older version''' of Dwarf Fortress. Please make sure you intend to do this. {{#ifexist:{{df:current}}:{{PAGENAME}}| If you are here by mistake, use [[{{df:current}}:{{PAGENAME}}|the current talk page]] instead.}}</div>}}<!--
+
You are editing a page for an '''older version''' of Dwarf Fortress ("{{df:current}}" is the current version, not "{{SUBJECTSPACE}}"). Please make sure you intend to do this. {{#ifexist:{{df:current}}:{{PAGENAME}}| If you are here by mistake, see [[{{df:current}}:{{PAGENAME}}|the current page]] instead.}}</div>}}<!--
 
-->{{Edit notice}}<!--
 
-->{{Edit notice}}<!--
 
-->{{#if:{{NAMESPACE}}|{{#switch:{{lc:{{NAMESPACE}}}}|user|user talk|mediawiki|mediawiki talk|category|category talk=|{{#ifeq:{{ucfirst:{{lc:{{PAGENAME}}}}}}|{{PAGENAME}}||{{#ifexist:{{FULLPAGENAME}}||{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|
 
-->{{#if:{{NAMESPACE}}|{{#switch:{{lc:{{NAMESPACE}}}}|user|user talk|mediawiki|mediawiki talk|category|category talk=|{{#ifeq:{{ucfirst:{{lc:{{PAGENAME}}}}}}|{{PAGENAME}}||{{#ifexist:{{FULLPAGENAME}}||{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|
Line 8: Line 8:
 
}}
 
}}
 
}}}}}}}}}}<!--
 
}}}}}}}}}}<!--
-->{{#ifexist:{{FULLPAGENAME}}||{{#if:{{NAMESPACE}}||{{#ifexist:{{DF:Current}}:{{PAGENAME}}|
+
-->{{#ifexist:{{FULLPAGENAME}}|{{#ifeq:{{NAMESPACE}}||If you are creating a redirect to the current version's page, do not use any namespace. For example: use <nowiki>#REDIRECT [[Cat]]</nowiki>, not <nowiki>#REDIRECT [[Main:Cat]]</nowiki> or <nowiki>#REDIRECT [[cv:Cat]]</nowiki>. See [[DF:Versions]] for more information.
{{ambox|type=xred|text=
+
}}}}
'''The page [[{{DF:Current}}:{{PAGENAME}}]] already exists!''' This page is already a redirect to "{{DF:Current}}:{{PAGENAME}}", but if you add content to this page the redirect will break.
 
}}
 
|
 
{{ambox|type=orange|text=
 
If you are creating a redirect to "{{DF:Current}}:Some page", please [{{fullurl:{{DF:Current}}:{{PAGENAME}}|action=edit&preload=template:create_redirect&summary=Created+redirect}} '''click here to create it at "{{DF:Current}}:{{PAGENAME}}" instead'''] (see [[DF:REDIR]] for an explanation).
 
}}
 
}}}}}}
 

Latest revision as of 18:52, 15 February 2023

Sample

Notice  · About