Help:Moving a page/sk
|Poznámka: Úpravou tejto stránky súhlasíte s uvoľnením svojho príspevku pod licenciou CC0. Viac informácií si prečítate na stránke Public Domain Help Pages.
Moving (renaming) a page means giving it another name. This is done by using the "presunúť" tab at the top. The tab is not visible if you are not logged in. Then simply enter the new name and click "Presunúť stránku". Normally you would want to leave the "Presunúť aj príslušnú diskusnú stránku, ak sa dá." option ticked.
Ak presúvate stránku "A" pod nový názov "B", vykoná sa nasledovné:
- Vytvorí sa nová stránka "B", s obsahom zo stránky "A"
- Obsah stránky "A" sa nahradí Presmerovaním na "B".
- Creates a new page "A", whose content is a redirect to page "B"
The second point is important. By using the "Presunúť" feature, you also move the editing history, which is desirable in most situations. The editing history allows people to see how the contents of the page were built up, and who contributed what. If you move contents around by copying and pasting (not using the move feature), you do not achieve this (see also Help:Tracking changes).
Because the move operation leaves behind a redirect (see Help:Redirects/sk), it should not result in any broken links, however you might want to hunt down pages or other redirects which link in to the redirect, and change their text to link directly to the new title. The "Odkazy na túto stránku" feature, which can be used through the link in the Nástroje (at bottom of the sidebar on the left) is useful when doing this.
Návrh na presun
Deciding on a page title can be a difficult aspect of wiki organization, and one which can often provoke debates. If the move you have in mind is one which might cause upset or could be considered controversial, you should propose the move first. Do this by leaving a note giving your reasons on the talk page. You might also establish a system for labeling the page itself, with a move proposal template, to make everybody aware of your intentions.
As with almost all wiki editing, a move operation can be reversed (by any user). To reverse a move operation, simply move the page back, e.g. move page "B" back to "A".
The page title "B" will still be left behind, as a redirect from "B" to "A". Any user can remove the redirect and propose that the page be deleted. However the final deletion will require sysop privileges (see Help:Deleting a page).
Moving a page without creating a redirect
Users with the suppressredirect user right can optionally move a page without creating a redirect. This is particularly useful when undoing a move.
When the right is enabled, one additional check box will appear when one needs to move a page (see picture at right).
Mass renaming / moving
MediaWiki does not offer a special page with which to perform a batch operation for page moves. There may be alternatives, depending on your situation:
- Extension:Replace Text
- MoveBatch.php: a maintenance script for renaming a batch of pages.
Users with the move-subpages user right can optionally move subpages of a page, preserving its "tree" structure. If you specify the root page you want to move in the title (by visiting Special:MovePage/Some_page), the special page displays the subpages of that root page.