MDC 维基可以重定向到外部网站。在category的页面里,我们使用类这样的链接。这些链接可以让我们连接到不包含在本维基内的外部页面去。



首先,创建一个作为外部重定向的页面,用“(external)”作为后缀。例如:Mozilla Project Wiki (external)。这样的带有“(external)”后缀的页面将被用来作为指针,这个指针的作用在于,当用户点击指向这个页面的链接时,它将把用户带到一个维基以外的页面。这个功能主要用在目录列表里,而对于手工的连接则没什么必要。关于手工外部重定向链接的做法,请查看后面的信息。

Next, edit that page and add the redirect command, followed by the desired target URL enclosed in double square brackets. For example:

 #RE‌DIRECT [[]]

Finally, add a category to the redirect page. Note that the category must be on the same line as the REDIRECT command, or the parser will ignore it. For example:

 #RE‌DIRECT [[]] [[Category:Mozilla Project:Other Resources]]

When this is finished, simply save the page as normal.


You should not create links to external redirects. Instead, just create regular external links to the site. The reason for this is because linking to an external redirect obscures the URL and users won't know where they will end up. This can be pretty annoying, and annoying users is a bad thing.


Since an external redirect page immediately bounces you to the external site, editing the external redirect can be a challenge. To do so, simply add "?action=edit" to the end of the URL for the external redirect page. This is somewhat inconvenient, but it works. For example:



If you migrate an article into the MDC check the category page to see if there's an external redirect pointing at it as well.

If there is, check the "what links here" (link in right column, in Toolbox ) to see if any other pages link to that external redirect. If any links exist, change them so they point at the newly migrated article.

When no pages link to the external redirect page, redirect it to the newly migrated article and put it in the "Junk" category (using [[Category:Junk]]) so it can be deleted.

If you have any questions about using External Redirects, feel free to email Deb Richardson at .