Template:Move: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
mNo edit summary
 
(126 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}}}}
|Need to change pagename field to initiate 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:{{{to|}}}/Metadata
              |{{#ifeq:{{{{BASEPAGENAME}}/Metadata|info=status}}|0
        |{{#ifexist: {{{to|}}}
        |{{{!}}class=noprint width=90% align=center style="border: solid 3px #CCCC66; padding: 0px;"
            |{{#ifexist: Talk:{{{from|}}}
{{!}}-
                |<!-- 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:{{{to}}}/Metadata]].
<font color="red">Only a constable can move this cluster since some pages are protected</font>. [[Category:Incomplete Move]]
:Article and talk page have been moved to [[{{{to}}}]] and [[Talk:{{{to}}}]]. Now '''<font color="darkred">[http://en.citizendium.org/wiki?title=Talk:{{urlencode:{{{from}}}}}&action=delete delete]</font>''' the old talk page.
{{!}}}
                |<!-- goes down this route if the talk page is deletedThis 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:{{{to}}}/Metadata]].
        |{{#ifexist:{{{{BASEPAGENAME}}/Metadata|info=pagename}}
:Article and talk page have been moved to [[{{{to}}}]] and [[Talk:{{{to}}}]], respectively, and [[Talk:{{{from}}}]] has been deleted.}}
            |{{{!}}class=noprint width=90% align=center style="border: solid 3px #CCCC66; padding: 0px;"
            |Metadata page moved to [[Template:{{{to}}}/Metadata]].
{{!}}-
:Now [http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_{{urlencode:{{{to}}}}}&wpOldTitle={{urlencode:{{{from}}}}}&wpNewTitle={{urlencode:{{{to}}}}} move the article]}}
{{!}}
        |<!-- moves the metadata page-->[http://en.citizendium.org/wiki/Special:Movepage?wpReason=Moved_to_{{urlencode:{{{to}}}}}&wpOldTitle=Template:{{urlencode:{{{from|}}}}}/Metadata&wpNewTitle=Template:{{urlencode:{{{to|}}}}}/Metadata Move metadata page] [[Category:To Move]]}} }}}}
<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 movedPossibly 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