1,781
edits
(rewrite, wip) |
(content on redirect page; automatic redirect when moved; visual differentiation between source and visual editors) |
||
Line 46: | Line 46: | ||
A redirect page can be created in the similar way as any other page. See [[Help:Creating a new page]] for instructions. However, when creating a redirect, you’ll need to add the redirecting instruction to the page. | A redirect page can be created in the similar way as any other page. See [[Help:Creating a new page]] for instructions. However, when creating a redirect, you’ll need to add the redirecting instruction to the page. | ||
On source editor, add a line with text <code><nowiki>#REDIRECT[[target page]]</nowiki></code>. Replace “target page” with the name of the actual article. For example, if you’re creating a redirect from Sol 3 to [[Earth]], that line would be <code><nowiki>#REDIRECT[[Earth]]</nowiki></code>. You can also use the button on the default toolbar. | <div style="padding: 5px 10px 5px; border-left: 5px solid lightpink;"> | ||
On source editor, add a line with text <code><nowiki>#REDIRECT[[target page]]</nowiki></code>. Replace “target page” with the name of the actual article. For example, if you’re creating a redirect from Sol 3 to [[Earth]], that line would be <code><nowiki>#REDIRECT[[Earth]]</nowiki></code>. You can also use the button on the default toolbar.</div> | |||
On Visual editor, follow these instructions: | <div style="padding: 5px 10px 5px; border-left: 5px solid lightgreen;">On Visual editor, follow these instructions: | ||
# Open the desired redirect page in Visual editor, such as Sol 3 | # Open the desired redirect page in Visual editor, such as Sol 3 | ||
# Open the hamburger menu (three horizontal lines, ☰) on the toolbar | # Open the hamburger menu (three horizontal lines, ☰) on the toolbar | ||
# Open Page Settings | # Open Page Settings | ||
# Select “Redirect this page to” and write the target page in the input box | # Select “Redirect this page to” and write the target page in the input box | ||
# Click “Apply changes” and save | # Click “Apply changes” and save</div> | ||
In general, there should’t be anything else on the redirect page. | In general, there should’t be anything else on the redirect page. Text or other content may break the redirect or be ignored. However, the redirect page can be categorized, in which case the categories should be on a different line after the redirect tag (in source editor). | ||
A redirect page is also automatically created when a page is moved. The content and edit history of the page is moved to the new name, while a page is created with the old name, redirecting to the page with new name. Users with [[118Wiki:Power Users|power user]] status can suppress a redirect page from being created automatically. | |||
{{LCARS-bar-heading|Learn more|COLOR={{Color|blue}}}} | {{LCARS-bar-heading|Learn more|COLOR={{Color|blue}}}} |
edits