Difference between revisions of "Template:R to file/doc"

From SpiralKnights

Jump to: navigation, search
m (created)
 
m (add link for convenience)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is a redirect from an "empty" file name to an existing file.  
+
==Usage==
 +
To tag a page as a redirect from a file page to an existing file page. This tag should only be used to track files which have been redirected. This tag allows tracking by registering redirect pages for [[:Category:Redirects to files]].  
  
It should only be used for:
+
File pages or "empty" file pages are redirected to ensure that linking does not result in directing users to empty or deleted pages (especially from external linking).  
*Files that have been deleted, but linking should remain intact from external sources. Users coming to the file from an external link leading to the page on this wiki will be directed to an appropriately named version of the out-of-date file instead of a blank, deleted page.
+
  
*Files that would be large (filesize wise) duplicates of existing files. This method is mostly used for "big" [[News]] images. It is not used for small files such as accessory icons.
+
The following conditions require attention regarding these special redirects:
 +
 
 +
*[https://www.mediawiki.org/wiki/Help:Moving_a_page Moving] to a more appropriately named file. Such moves are sometimes needed for template consistency after files have been haphazardly uploaded to inconsistent names, or if the entity's name in-game changes significantly.
 +
 
 +
:If the move command fails or cannot be completed, the page of the file to be redirected has to be [[SpiralKnights:Deletion|deleted]] and the "empty" file page manually redirected to the desired file page.
 +
::Moves cannot be completed if the destination file page is already occupied, which occurs when editors wish to fix various issues quickly, tagging the older files for the process later.
 +
::Occasionally, move commands fail for unknown reasons.
 +
 
 +
*"Empty" file pages that would be large - filesize wise - duplicates of existing files. This method is mostly used for [[News]] images with "big" in the file name. This redirecting is not used for small files such as accessory icons. This requires careful editor foresight, because [https://en.wikipedia.org/wiki/Template:Duplicate duplicate files are a big no-no in the wiki editing world], but for a game wiki certain [http://forums.spiralknights.com/en/node/112804#comment-1019471 certain exceptions are made].
 +
 
 +
==Code==
 +
<pre>
 +
{{R to file}}
 +
</pre>
 +
 
 +
To add this tag to a file page, simply arrive at the file page itself and click:
 +
*The "create" tab if the file is "empty". Make sure this is not the upload interface.
 +
*The "edit" tab if the file has already been redirected, but is missing the tag. Make sure this is the redirect=no page, not the destination page.

Latest revision as of 17:47, 3 March 2016

Usage

To tag a page as a redirect from a file page to an existing file page. This tag should only be used to track files which have been redirected. This tag allows tracking by registering redirect pages for Category:Redirects to files.

File pages or "empty" file pages are redirected to ensure that linking does not result in directing users to empty or deleted pages (especially from external linking).

The following conditions require attention regarding these special redirects:

  • Moving to a more appropriately named file. Such moves are sometimes needed for template consistency after files have been haphazardly uploaded to inconsistent names, or if the entity's name in-game changes significantly.
If the move command fails or cannot be completed, the page of the file to be redirected has to be deleted and the "empty" file page manually redirected to the desired file page.
Moves cannot be completed if the destination file page is already occupied, which occurs when editors wish to fix various issues quickly, tagging the older files for the process later.
Occasionally, move commands fail for unknown reasons.

Code

{{R to file}}

To add this tag to a file page, simply arrive at the file page itself and click:

  • The "create" tab if the file is "empty". Make sure this is not the upload interface.
  • The "edit" tab if the file has already been redirected, but is missing the tag. Make sure this is the redirect=no page, not the destination page.
Personal tools