Template:Move: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
mNo edit summary
 
(90 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}}}}
    |
    |
    |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
    |{{#Ifexist:Template:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Metadata
         |<font color="red">Only a constable can move this cluster since some pages are protected</font>. [[Category:To Move]]
          |{{#Ifexist:Template:{{BASEPAGENAME}}/Metadata
         |[[Category:Incomplete Move]]{{#ifexist:{{BASEPAGENAME}}
              |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
          |Move of '''{{{{BASEPAGENAME}}/Metadata|info=pagename}} to <font color="green">{{BASEPAGENAME}} done</font>'''. Or the page always existed. <br>
         |{{{!}}class=noprint width=90% align=center style="border: solid 3px #CCCC66; padding: 0px;"
<small>Note: If it says it has already been moved, <font color="red">but you did not do it</font>, it is possible that the target page exists as a redirect; <font color="red">try a move </font>, [http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_{{urlencode:{{BASEPAGENAME}}}}&wpOldTitle={{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}&wpNewTitle={{urlencode:{{BASEPAGENAME}}}} <font color="blue">with this link</font>], it might be possible. If it is not possible, only a constable can move this cluster since a deletion is required.</small><br><br>
{{!}}-
          |[http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_{{urlencode:{{BASEPAGENAME}}}}&wpOldTitle={{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}&wpNewTitle={{urlencode:{{BASEPAGENAME}}}} Move {{{{BASEPAGENAME}}/Metadata|info=pagename}}] <br>}}<nowiki>
<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.


</nowiki>{{Move3|{{Subpage list|button=1A}}|{{Subpage list|button=1B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
<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.]


</nowiki>{{Move3|{{Subpage list|button=2A}}|{{Subpage list|button=2B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
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'''.
 
----
</nowiki>{{Move3|{{Subpage list|button=3A}}|{{Subpage list|button=3B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
{{#Ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Approval
 
      |
</nowiki>{{Move3|{{Subpage list|button=4A}}|{{Subpage list|button=4B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
      |
 
:Create the approval page last!;}}
</nowiki>{{Move3|{{Subpage list|button=5A}}|{{Subpage list|button=5B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
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].  
</nowiki>{{Move3|{{Subpage list|button=6A}}|{{Subpage list|button=6B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=7A}}|{{Subpage list|button=7B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=8A}}|{{Subpage list|button=8B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=9A}}|{{Subpage list|button=9B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=10A}}|{{Subpage list|button=10B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=11A}}|{{Subpage list|button=11B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=12A}}|{{Subpage list|button=12B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=13A}}|{{Subpage list|button=13B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=14A}}|{{Subpage list|button=14B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=15A}}|{{Subpage list|button=15B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=16A}}|{{Subpage list|button=16B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=17A}}|{{Subpage list|button=17B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=18A}}|{{Subpage list|button=18B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=19A}}|{{Subpage list|button=19B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=20A}}|{{Subpage list|button=20B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=21A}}|{{Subpage list|button=21B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=22A}}|{{Subpage list|button=22B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=23A}}|{{Subpage list|button=23B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=24A}}|{{Subpage list|button=24B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=25A}}|{{Subpage list|button=25B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=26A}}|{{Subpage list|button=26B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=27A}}|{{Subpage list|button=27B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=28A}}|{{Subpage list|button=28B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=29A}}|{{Subpage list|button=29B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=30A}}|{{Subpage list|button=30B}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }}<nowiki>
 
</nowiki>{{#ifeq:{{{tab1|}}} |
      |
      | {{Move3| {{{{BASEPAGENAME}}/Metadata|info=tab1}}| {{{{BASEPAGENAME}}/Metadata|info=tab1}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }} }}<nowiki>
 
</nowiki>{{#ifeq:{{{tab2|}}} |
            |
            | {{Move3| {{{{BASEPAGENAME}}/Metadata|info=tab2}}| {{{{BASEPAGENAME}}/Metadata|info=tab2}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }} }}<nowiki>
 
</nowiki>{{#ifeq:{{{tab3|}}} |
                  |  
                  | {{Move3| {{{{BASEPAGENAME}}/Metadata|info=tab3}}| {{{{BASEPAGENAME}}/Metadata|info=tab3}}|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}} }} }}<nowiki>
 
</nowiki>{{#ifexist:Talk:{{BASEPAGENAME}}
    |Move of '''Talk:{{{{BASEPAGENAME}}/Metadata|info=pagename}}''' <font color="green">to '''Talk:{{BASEPAGENAME}}''' done</font> or that page already exists.<br>
    |{{#ifexist:Talk:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
          |[http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_Talk:{{urlencode:{{BASEPAGENAME}}}}&wpOldTitle=Talk:{{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}&wpNewTitle=Talk:{{urlencode:{{BASEPAGENAME}}}} Move Talk:{{{{BASEPAGENAME}}/Metadata|info=pagename}}] <br>
          |'''Please create the "Talk page".''' Just click this <span class="plainlinks"> '''''[http://en.citizendium.org/wiki?action=edit&preload=Template%3ASubpages_name&title=Talk:{{BASEPAGENAMEE}} Talk page link]''''' </span> and save the page.<br>}} }}<nowiki>
 
</nowiki>{{Move3|Approval|Approval|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}}}}<nowiki>
 
</nowiki>{{Move3|Definition|Definition|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}}}}<nowiki>
 
</nowiki>{{Move3|Draft|Draft|to={{BASEPAGENAME}}|from={{{{BASEPAGENAME}}/Metadata|info=pagename}}}}<nowiki>
 
</nowiki><br><br>Your very last edit in the move should be to [http://en.citizendium.org/wiki?title=Template:{{BASEPAGENAMEE}}/Metadata&action=edit '''update the pagename field and the abc field'''] in the new Metadata template.
----
----
<br>}}}}<!--
{{#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.}}
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]]
{{!}}}
 
                        |<br>
Leave here for now since will redo whole thing and reuse the individual bits        |{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
{{!}}-
            |{{#ifexist: Talk:{{BASEPAGENAME}}
{{!}}width=100% valign=top{{!}}
                |<!- 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]].
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}}]]. Now '''<font color="darkred">[http://en.citizendium.org/wiki?title=Talk:{{urlencode:{{BASEPAGENAME}}}}&action=delete delete]</font>''' the old talk page.
::*[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].
                |<!- 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]].
:::<small>Not possible to move? Only a constable can finish off this cluster move since a deletion is required.</small>
: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.}}
{{!}}} }} }} }} }}
            |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]}} -->

Latest revision as of 09:54, 19 January 2023