Помоћ:Премештање странице
![]() |
Напомена: Уређивањем ове странице слажете се да објавите Ваше доприносе под лиценцом CC0. За више информација погледајте Public Domain Help Pages.
|
![]() |
Премештање (преименовање) странице значи давање дугог имена страници. То се постиже помоћу акције „премести“ у таба „Више“ на врху. Таб није видљив ако нисте пријављени. Потом унесите ново име и притисните „Премести страницу“. Уобичајено је да оставите означену опцију „Премести и страницу за разговор“.
Ако преместите страницу „А“ на нов наслов „Б“ ова операције ће урадити следеће:
- Наслов странице „А“ ће бити преименован у „Б“
- Преименује сву уређивачку историју странице „А“ у страницу „Б“.
- Страница „А“ ће постати преусмерење на страницу „Б“
Друга тачка је важна. Користећи опцију „премести“ такође премештате уређивачку историју што је пожељно у већини ситуација. Уређивачка историја омогућава људима да виде како је се повећавао садржај странице и да виде ко је унео шта. Ако премештате садржај простим копирањем и лепљењем значи не преко опције move ово нећете постићи (види још Help:Tracking changes ).
When the move operation leaves behind a redirect (see Help:Redirects ), it should not result in any broken links except the possibility of double redirects – that is, pages redirecting to "A" which becomes a redirect itself. 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 "Шта води овамо" feature, which can be used through the link in the Алатке (at bottom of the sidebar) is useful when doing this.
Опозивање премештања
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:Deletion and undeletion ).
Премештање странице без остављања преусмерења
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).
URL parameters
These query strings can be added to the URL of Special:MovePage in order to fill out fields and check boxes in advance.
Parameter | Meaning |
---|---|
wpOldTitleNs= n
|
Namespace number of existing page |
wpOldTitle=
|
Title of existing page |
wpNewTitleNs= n
|
Target namespace number |
wpNewTitle=
|
Target page title |
wpMovetalk=1
|
Move talk page, if one exists. |
wpReason=
|
Text for reason field |
wpWatch=1
|
Watch source and target pages |
Масовно преименовање / премештање
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.
- Manual:Pywikibot/movepages.py
Премештање подстраница
Users with the move-subpages user right can optionally move subpages of a page (up to 100), 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.