Template:Move: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
mNo edit summary
 
(123 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#ifeq:{{BASEPAGENAME}}|{{{{BASEPAGENAME}}/Metadata|info=pagename}}
{{#ifeq:{{localurl:{{BASEPAGENAME}}}}|{{localurl:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}
    |Change pagename field to the new article name to initiate a move.
    |
    |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
    |{{#Ifexist:Template:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Metadata
         |Only a constable can move this cluster since some pages are protected. [[Category:To Move]]
          |{{#Ifexist:Template:{{BASEPAGENAME}}/Metadata
         |{{#ifexist: Template:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Metadata
              |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
              |An article cluster already exists at the new name.
         |{{{!}}class=noprint width=90% align=center style="border: solid 3px #CCCC66; padding: 0px;"
              |}} }} }}
{{!}}-
<font color="red">Only a constable can move this cluster since some pages are protected</font>. [[Category:Incomplete Move]]
{{!}}}
         |{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
            |{{{!}}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.]


<!-- Last thing want to do is move the metadata page--[http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_{{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}&wpOldTitle=Template:{{urlencode:{{BASEPAGENAME}}}}/Metadata&wpNewTitle=Template:{{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}/Metadata Move metadata page] [[Category:To Move]] -->
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'''.
 
----
<!--Leave here for now since will redo whole thing and reuse the individual bits        |{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
{{#Ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Approval
            |{{#ifexist: Talk:{{BASEPAGENAME}}
      |
                |<!-- Several options exist on this route. To have a what links here link and determine which links need to be corrected before deleting (or speedy deleting.  It might be better to just let the talk page exist as a redirect similar to the old main article.-->Metadata page moved to [[Template:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Metadata]].
      |
:Article and talk page have been moved to [[{{{{BASEPAGENAME}}/Metadata|info=pagename}}]] and [[Talk:{{{{BASEPAGENAME}}/Metadata|info=pagename}}]]. Now '''<font color="darkred">[http://en.citizendium.org/wiki?title=Talk:{{urlencode:{{BASEPAGENAME}}}}&action=delete delete]</font>''' the old talk page.
:Create the approval page last!;}}
                |<!-- goes down this route if the talk page is deleted.  This would be a sysop route only as usually a speedy delete tag would be the best an author or editor could do.-->Metadata page moved to [[Template:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Metadata]].
Now move the Article. '''IMPORTANT''' make sure you select the option to move all subpages too.
:Article and talk page have been moved to [[{{{{BASEPAGENAME}}/Metadata|info=pagename}}]] and [[Talk:{{{{BASEPAGENAME}}/Metadata|info=pagename}}]], respectively, and [[Talk:{{BASEPAGENAME}}]] has been deleted.}}
::*[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].
            |Metadata page moved to [[Template:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Metadata]].
----
:Now [http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_{{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}&wpOldTitle={{urlencode:{{{from}}}}}&wpNewTitle={{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}} move the article]}} -->
{{#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