Template:Move: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
mNo edit summary
 
(132 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#ifeq:{{{status|}}}|0
{{#ifeq:{{localurl:{{BASEPAGENAME}}}}|{{localurl:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}
    |Only a constable can move this cluster since some pages are protected. [[Category:To Move]]
    |
    |{{#ifexist: Template:{{{moveto|}}}/Metadata
    |{{#Ifexist:Template:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Metadata
        |{{#ifexist: {{{moveto|}}}
          |{{#Ifexist:Template:{{BASEPAGENAME}}/Metadata
            |{{#ifexist: Talk:{{{movefrom|}}}
              |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
                |
        |{{{!}}class=noprint width=90% align=center style="border: solid 3px #CCCC66; padding: 0px;"
                |Metadata page moved to [[Template:{{{moveto}}}/Metadata]].
{{!}}-
Article and talk page have been moved to [[{{{moveto}}}]] and [[Talk:{{{moveto}}}]]. Now delete the old talk page.}}
<font color="red">Only a constable can move this cluster since some pages are protected</font>. [[Category:Incomplete Move]]
            |Metadata page moved to [[Template:{{{moveto}}}/Metadata]].
{{!}}}
:Now [http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_{{urlencode:{{{moveto}}}}}&wpOldTitle={{urlencode:{{{movefrom}}}}}&wpNewTitle={{urlencode:{{{moveto}}}}} move the article]}}
        |{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
        |<!-- moves the metadata page-->[http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_{{urlencode:{{{moveto}}}}}&wpOldTitle=Template:{{urlencode:{{{movefrom|}}}}}/Metadata&wpNewTitle=Template:{{urlencode:{{{moveto|}}}}}/Metadata Move metadata page] [[Category:To Move]]}} }}
            |{{{!}}class=noprint width=90% align=center style="border: solid 3px #CCCC66; padding: 0px;"
{{!}}-
{{!}}
<center><big>The '''Cluster Move''' information box.</big>  (''For {{{{BASEPAGENAME}}/Metadata|info=pagename}} to {{BASEPAGENAME}}'')</center>
----
[[Category:Incomplete Move]] {{#ifexist:{{BASEPAGENAME}}/Approval
                |
:Now tag the old approval page and metadata template for deletion:
::* [http://en.citizendium.org/wiki/index.php?&action=edit&preload=Template:Preload_DeleteMove&title={{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}/Approval&action=edit&section=new Tag old Approval for deletion]  Use back button to return here!
::* [http://en.citizendium.org/wiki/index.php?&action=edit&preload=Template:Preload_DeleteMove&title=Template:{{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}/Metadata&action=edit&section=new Tag old Metadata for deletion] Use back button to return here!
----
:'''Finally''', [http://en.citizendium.org/wiki/index.php?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''update the pagename field and the abc field'''] in the new Metadata template.
 
<div style="text-align: right;"><span class="plainlinks"><small>[[http://en.citizendium.org/wiki/index.php?title=Template_talk:Move&action=edit Feel free to recommend improvements to the text or links in this template]]</small></span></div>
{{!}}}
                |<!-- Need to have a section here to create an approval page if the article and talk page have already been moved.  Possibly detect this if both are present, old and new for both or similar-->{{#ifexist:Talk:{{BASEPAGENAME}}
                        |<br>
{{!}}-
{{!}}<big>Some or all of the pages you wish to move to already exist.</big> [http://en.citizendium.org/wiki/index.php?title=Special%3APrefixindex&from={{urlencode:{{BASEPAGENAME}}}}&namespace=0 View the list.]
 
This might not be a problem since they could be redirects (listed in ''italics'' at View list link). If there is content on the pages, however, only a constable can finish off this cluster move since a '''deletion is required'''.
----
{{#Ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Approval
      |
      |
:Create the approval page last!;}}
Now move the Article. '''IMPORTANT''' make sure you select the option to move all subpages too.
::*[http://en.citizendium.org/wiki/Special:Movepage?wpReason=REMEMBER_click_move_all_subpages&wpOldTitle={{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}} Move Article, Talk Page and Subpages].
----
{{#Ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Approval
      |
      |'''Please create the "Approval page".''' Just click this <span class="plainlinks"> '''''[http://en.citizendium.org/wiki/index.php?action=edit&preload=Template%3ASubpages_name&title={{BASEPAGENAMEE}}%2FApproval Approval page link]''''' </span> and save the page.}}
{{!}}}
                        |<br>
{{!}}-
{{!}}width=100% valign=top{{!}}
Now move the Article. '''IMPORTANT''' make sure you select the option to move all subpages too.
::*[http://en.citizendium.org/wiki/Special:Movepage?wpReason=REMEMBER_click_move_all_subpages&wpOldTitle={{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}} Move Article, Talk Page and Subpages].
:::<small>Not possible to move? Only a constable can finish off this cluster move since a deletion is required.</small>
{{!}}} }} }} }} }}
              | }} }} }}

Latest revision as of 09:54, 19 January 2023