Template:Move: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
mNo edit summary
 
(121 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.


{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
<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>
          |Move {{BASEPAGENAME}} to {{{{BASEPAGENAME}}/Metadata|info=pagename}} done. Or the page always existed.<br>
{{!}}}
          |[http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_{{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}}&wpOldTitle={{urlencode:{{BASEPAGENAME}}}}&wpNewTitle={{urlencode:{{{{BASEPAGENAME}}/Metadata|info=pagename}}}} Move {{BASEPAGENAME}}] <br>}}<nowiki>
                |<!-- 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=1A}}|{{Subpage list|button=1B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<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=2A}}|{{Subpage list|button=2B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
{{#Ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Approval
 
      |
</nowiki>{{Move3|{{Subpage list|button=3A}}|{{Subpage list|button=3B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
      |
 
:Create the approval page last!;}}
</nowiki>{{Move3|{{Subpage list|button=4A}}|{{Subpage list|button=4B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}} }}<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=5A}}|{{Subpage list|button=5B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
----
 
{{#Ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}/Approval
</nowiki>{{Move3|{{Subpage list|button=6A}}|{{Subpage list|button=6B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
      |
 
      |'''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.}}
</nowiki>{{Move3|{{Subpage list|button=7A}}|{{Subpage list|button=7B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
{{!}}}
 
                        |<br>
</nowiki>{{Move3|{{Subpage list|button=8A}}|{{Subpage list|button=8B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
{{!}}-
 
{{!}}width=100% valign=top{{!}}
</nowiki>{{Move3|{{Subpage list|button=9A}}|{{Subpage list|button=9B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<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=10A}}|{{Subpage list|button=10B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
:::<small>Not possible to move? Only a constable can finish off this cluster move since a deletion is required.</small>
 
{{!}}} }} }} }} }}
</nowiki>{{Move3|{{Subpage list|button=11A}}|{{Subpage list|button=11B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
              | }} }} }}
 
</nowiki>{{Move3|{{Subpage list|button=12A}}|{{Subpage list|button=12B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=13A}}|{{Subpage list|button=13B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=14A}}|{{Subpage list|button=14B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=15A}}|{{Subpage list|button=15B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=16A}}|{{Subpage list|button=16B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=17A}}|{{Subpage list|button=17B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=18A}}|{{Subpage list|button=18B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=19A}}|{{Subpage list|button=19B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=20A}}|{{Subpage list|button=20B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=21A}}|{{Subpage list|button=21B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=22A}}|{{Subpage list|button=22B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=23A}}|{{Subpage list|button=23B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=24A}}|{{Subpage list|button=24B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=25A}}|{{Subpage list|button=25B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=26A}}|{{Subpage list|button=26B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=27A}}|{{Subpage list|button=27B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=28A}}|{{Subpage list|button=28B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=29A}}|{{Subpage list|button=29B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move3|{{Subpage list|button=30A}}|{{Subpage list|button=30B}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{#ifeq:{{{tab1|}}} |
      |
      | {{Move3| {{{{BASEPAGENAME}}/Metadata|info=tab1}}| {{{{BASEPAGENAME}}/Metadata|info=tab1}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{#ifeq:{{{tab2|}}} |
            |  
            | {{Move3| {{{{BASEPAGENAME}}/Metadata|info=tab2}}| {{{{BASEPAGENAME}}/Metadata|info=tab2}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{#ifeq:{{{tab3|}}} |
                  |
                  | {{Move3| {{{{BASEPAGENAME}}/Metadata|info=tab3}}| {{{{BASEPAGENAME}}/Metadata|info=tab3}}|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move2||Talk|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move2|Draft|Talk|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move2|Approval||to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>{{Move2|Draft||to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}<nowiki>
 
</nowiki>Move this one last:
{{Move2|Metadata|Template|to={{{{BASEPAGENAME}}/Metadata|info=pagename}}|from={{BASEPAGENAME}}}}
 
 
<!-- 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]] -->
 
<!--Leave here for now since will redo whole thing and reuse the individual bits        |{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
            |{{#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.
                |<!- 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]].
: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 10:54, 19 January 2023