跳转到内容

Help:维基百科编辑手册/创造更为强大的百科全书/让读者阅读到正确的条目:命名、重定向与消歧义

维基百科,自由的百科全书
维基百科编辑手册讨论

在维基上有超过5百万的词条, 如何跳转至你所想得到的页面?比如说,当浏览者从输入框输入“火星”时,他们到底注重于查看什么?如果他们想要“火星 (元素)”却不得不用逗号分隔时," 搜索引擎会发现吗? 如果有人创建 "火星 (罗马神话中的神)" 时当已有一个叫 "火星(神话人物)"呢?

维基百科依赖于编辑者修正这样的错误,去创造(重定向)改正错误的页面,然后像路牌一样指引他们浏览到正确的页面(消歧义)。如此累积,浏览者们就能抵达自己想要的正确页面。

命名和重命名

[编辑]

最好的方法去处理一件错误是去不要让它放在第一位。这就是为什么维基百科有一个命名规则。只要多模仿这些页面,你就能更快的重命名这些页面。只要广大编辑者们一起努力,(样例请见Figure 16-1 )新的编辑者们就可以正确的编辑这些页面。

Figure 16-1. The table of contents of the policy Wikipedia:Naming conventions (shortcut WP:NAME), only partly shown here, gives you a sense of how detailed the policy is, including the related pages such as Wikipedia:Naming conventions (people) (shortcut: WP:NCP)。Fortunately, while new articles often get renamed, name changes thereafter are rarely needed.

普通的命名错误

[编辑]

这本手册无法保证收录任何的命名错误—如果能,你需要一个“铲车”搬运。如果你有个特别特殊的问题关于what to命名一个条目for a geographical location in Ireland, for example—whether to use the official Irish name or a former English name—you'll probably find an answer at the policy page Wikipedia:Naming conventions (shortcut WP:NC), which links to dozens and dozens of naming convention pages. (You can find the whole list at Category:Wikipedia naming conventions, shortcut: .) You can avoid the vast majority of errors, however, by keeping the following points in mind:

  • Capitalize only the first word of article titles and section titles. All other words in a title start with lowercase letters unless they're proper nouns and are capitalized anyway. If the title of the article is the title of a work like a book or a song, minor words like "in" are not capitalized, while the rest of the words in the title are; for example, "A Fool in Love."
  • Use the most common name. Don't use a person's formal first name ("Christopher" rather than "Chris") or add a middle initial to a name if that's not the most common usage. If you're not sure, use a search engine and compare the counts of results for each option.
When several people in Wikipedia articles share the same common name, like George Allen, some editors try to differentiate between them by using a less common version of the name. For example, the article for the politician George Allen was once named "George Felix Allen," then "George F. Allen." The problem with these less common names is that they give you no clue, when you see them in an index or wikilink, as to who the person is. So avoid this approach. Check the disambiguation page (see the section about disambiguation), if there is one, and follow the established pattern there. In this example, George F. Allen became "George Allen (politician)."
备注:
For foreign names and places, keep in mind that the "most common name" means the most common name in today's English language, not the most common name in the native language. In other language versions of Wikipedia, the article name may well be different. Article names in the English Wikipedia don't affect article names in the other 250-odd language versions of Wikipedia.
  • Organizational titles. Don't start an article title with "The." It's "Council of Organizational Associations," not "The Council of Organizational Associations," and don't use an acronym (for example, "NATO") even if it's more common than the full name of an organization.

重命名一个条目

[编辑]

重命名一个条目真的很简单。The trouble comes when you do something that other editors consider controversial. If you're fixing a clear error, and don't have any particular interest in the topic of an article, then go ahead and rename the article. (That is, do what Wikipedia calls a page move, as described in the section about renaming pages.)

On the other hand, if you have any reason to think the rename (move) might be opposed, then don't make it until you've discussed it on the article talk page. Treat a potentially controversial page move just as you would a controversial rewrite of an article.

Watching the action

All page moves are recorded in a move log, which any editor can look at. You get to the log via the page Special:Log. Once there, change "All logs" to "Move log," and then click Go. What you'll see is a mix of error fixes and page moves made by editors and administrators. Article moves are typically done in pairs: both the article itself and the associated talk page (if one exists).

You also may see vandalism, where an editor deliberately renames a page for malicious purposes. Administrators tend to react sharply to this, since only user accounts that are at least four days old can do page moves; the remedy is usually an indefinite block on the user account.

Figure 16-2. The move log includes moves by administrators (in this case, GTBacchus and Moonriddengirl) and moves by regular editors (Pixelflash). The move shown at the very top is a revert of vandalism.

讨论你的重命名

[编辑]

To reach consensus about renaming a page, start a discussion on the article talk page. Focus the discussion on which naming policy and appropriate naming conventions apply. Avoid arguing, for example, that you like a certain name better, or that you find a name insulting. Stick to citing or interpreting policy and naming conventions.

When debating the name of the page or discussing merging it with another page, always mention the current page name. Otherwise, references to "this page name" become ambiguous after the page is renamed.

If you and the other editors can't reach a rough consensus, or majority rule on the move, then you can move on to one of the methods for resolving content disputes (see Chapter 10: Resolving content disputes). In addition, you can list the proposed move at the page Wikipedia:Requested moves (shortcut: WP:RM). That page lets you request wider community input on your move debate. But if more than just a couple of editors are involved in the discussion and consensus can't be reached, it's probably time for you to move on to other, more productive matters than changing an article title.

重命名一个页面

[编辑]

If there's no controversy about a move, or if you've reached consensus with other interested editors, renaming a page is technically easy. The following steps rename the article Samuel E. Wyly to the common, and correct, "Sam Wyly."

Figure 16-3. To move a page, begin by clicking on the "move" drop-down at the top of that page. If you don't see the tab, you're not logged in, or you haven't been a registered user for four days. Or, the page may be protected against being moved (typically because of prior vandalism or because of an edit war concerning the name of the page).

To practice along with this tutorial, you need to be logged in (anonymous IP users can't rename pages), and you must have had an account for at least four days. Instead of the Sam Wyly article (or other real article), move a subpage in your user space. (To see how to create such a subpage, see the section about creating your personal sandbox.)

备注:
You can move pages in user space (normally, your own user subpages), projectspace (pages with a "Wikpedia:" prefix), and pages in several other namespaces. But you can't change the name of an image; instead, you must ask an administrator to rename it for you (see the section about renaming images). You also can't change the name of a category yourself (see the section about category discussions).

1. Starting at the page you want to move (rename), click the "move" tab near the top of the page (see Figure 16-3).

Figure 16-4. Changing the name of an article isn't a trivial matter. If it's your first time, read all the text. You'll find it reinforces what you've learned in this chapter.
You arrive at the Move page page, shown in Figure 16-4. It contains a long list of instructions and warnings and, at bottom, a short form for typing the new article name and performing the move.

2. In the "To new title" box at the bottom of the Move page page, type a new name for the page. In the Reason box, explain why you're making the move.

Figure 16-5. Before you click "Move page," double-check the name—is it absolutely correct? Also remember that the text in the Reason box is essentially the edit summary, and will show up in logs, the page history, and other places, so a good explanation is important.
Figure 16-5 shows the form filled in with new name and reason.
备注:
Leave the "Move associated talk page" box turned on. You want the talk page to be renamed as well, to remain paired with its article.

3. Click the "Move page" button.

Figure 16-6. You've successfully moved the page. But there's still one more step—to check for double redirects. Double redirects often occur when a page has been moved (renamed) several times. If there are double redirects, you must fix them.

4. You'll see a new page with "Move succeeded" in small print, at the top of the page (Figure 16-6). You're almost done.

备注:
If instead of the "Move succeeded" page, you see "Error: could not submit form" at the top of the page in small print and, in the middle of the page, rather prominent red wording that begins "The page could not be moved: a page of that name already exists, or the name you have chosen is not valid," then your page move didn't work. See "When administrator assistance is required" for advice.

5. Click the bolded "check" link to check for double redirects.

Figure 16-7. On this page listing all the links to the article Sam Wyly, there are no double redirects. There's one redirect page listed—that's a single redirect, which is absolutely okay. (Single redirects are indented once; double redirects are indented twice, as discussed in the section about double redirects. If you're not familiar at all with redirects, see the section about redirects.)
You'll see a page listing all the pages that link to the newly named page (see Figure 16-7). If you don't see any double redirects, as is the case here, you're done.
备注:
Double redirects are when a link on page A goes to redirect page B, which goes to redirect page C, which points to page D. In that case, when you click the link on page A, the Wikipedia software will display the redirect page C; which isn't what the reader needs. The link on page A or the redirect on page B needs to be changed. You'll learn how to fix double redirects later in this chapter (see the section about fixing double redirects).
The wrong way to move a page

Technically, it's possible to move an entire page by cutting all the text out of that page, and pasting it into a new page. But don't. When you cut and paste, you lose the entire edit history of the page, which is important to anyone editing or examining the article and for legal reasons. Wikipedia's "move page" function preserves the history before and after the move, in one place. If you do make that mistake, you can fix it if no one's edited the page. To do so, change the new page to a redirect (back to the original page), as discussed in the section about adding redirects, and then revert (see the section about reverting) the original page to the version just prior to the move.

More likely, someone's already edited the new page at least once after the cut-and-paste. If so, you need an administrator to fix the problem by putting things where they really belong. The page Wikipedia:How to fix cut-and-paste moves (shortcut WP:CPMV) has the details, including where to request admin help.

If you're splitting an article into multiple topics, then of course you're going to have to cut and paste some of the text to a new article page. But leave the largest chunk of text in the original article, even if that article won't have the same name. When you rename it, all the page history is preserved.

For the other new articles that are being created, make sure that the initial creation (pasting text into a new page) includes an edit summary linking that new article to the original source of the text. Or, put an explanation on the talk pages of the new articles. What you don't want is for it to appear that you're the author of all the text in the new articles. If there are problems with that text, you want to make sure the original authors can be found and notified.

当用户需要援助

[编辑]

In general, if you want to rename page A to become page B, but page B already exists, you won't be able to do the renaming yourself. You must ask an administrator to make the move.

备注:
One exception: You can rename page A to page B if page B is a redirect to page A, and page B has only one edit in its history. B might have only one edit if, for example, it was created as a redirect for a less-preferred name for topic A. Or B might have been the original name of the article, and someone moved it to A, creating a redirect at B. (The most common use of this exception is when you move an article and realize you've made a mistake.)

If you can't move a page, list the proposed move at Wikipedia:Requested moves (shortcut: WP:RM), where administrators and other editors will review it. Requests are generally processed after a five-day review period, although backlogs of a few days develop occasionally. If there's a clear consensus after this time, the request will be closed and acted upon. If not, an administrator may choose to relist the request to allow time for consensus to develop, or to close it as "no consensus," in which case the move isn't going to happen.

Alternatively, if a move is non-controversial, but an existing page at the new name is in the way, you can nominate the existing page for speedy deletion to get it out of the way (see the section about speedy deletion). To do this, edit the page at the new name and type {{db-move|old name|reason for move}} at the top of the page (before any #REDIRECT). Replace old name with the old name of the page you want to move, and give a brief explanation for the move in place of reason for move. If there has been any discussion of the move, you should link to that discussion in your reasoning. Preview your edit, then save. An administrator will review your nomination within a few hours and delete the page. You should then be able to perform the move without a problem, if the administrator didn't do it for you.

针对旧名与错误的拼写者们:重定向

[编辑]

When you or another editor moves a page, the old page name doesn't go away. Instead, it becomes a redirect page (or simply a redirect). That's good—other pages in Wikipedia are probably linked to the old name, and the redirect means the links on those other pages still work. They take the reader to the page in its new location.

You need to understand how redirects work for two reasons. First, sometimes a page move causes a double redirect, which you need to fix. Second, if you want, you can create redirects that will catch common spelling mistakes and get the reader to the right page.

备注:
The editor who moves a page should fix any double redirects the move created (see the section about fixing double redirects), but sometimes you'll find some that still need to be fixed.

重定向是怎么工作的(而且他们从何而来)

[编辑]

To understand why redirects exist, and how they work, consider this generic situation: Article A has a direct wikilink to article B. Say you move article B, changing the title to C. When you do, Wikipedia places a notice to itself—a redirect—at page B, pointing to the new name of page C. A reader clicks the link on page A. The software goes to page B, which still exists, but is now a redirect. The software sees the redirect and takes the reader to page C, where the desired article is now located, and displays that.

Why didn't the Wikipedia software, when you renamed page B to page C, simply change the wikilink at page A, so it points directly to C? One reason—perhaps the most important—is that Wikipedia software never, ever changes a page. Only editors can change pages, and such changes are shown in a page history. Also, the link from A to B could exist in many, many older versions of article A (hundreds, even thousands of prior versions). If B no longer exists, the links on all the older versions of page A become broken. The software would have to change all those hundreds of older versions to point to C as well. Fixing those wikilinks could be a huge load on the Wikipedia hardware, from just a single page move.

Here's an example to illustrate how a redirect caused by a move works, using actual article names. Consider the move of the article about the venture capital firm Kleiner, Perkins, Caufield & Byers to a page with a new name: Kleiner Perkins Caufield & Byers (the change was the deletion of commas, which aren't in the firm's actual name). At the time of the move, the article Sand Hill Road had a link to the old, incorrect name. Figure 16-8 shows what happens when a reader clicks that link.

Figure 16-8. Top: When an article is renamed, as was Kleiner, Perkins, Caufield & Byers, links to that article (like the link in the article Sand Hill Road) do not change. They continue to point to the old name. Middle: When you click the old link in the Sand Hill Road article, the software goes to the article's old name, where it finds a redirect. Instead of displaying this redirect page, the software follows the redirect. Bottom: The redirect points to the new name of the article, so that's what you'll see. Renaming the article didn't break links to it. Instead, the rename just added one brief, intermediate stop at the redirect page. (The "Redirected from" in small print tells you that the original link is incorrect, though it's good enough to get you to where you wanted to go.)

增加一个重定向

[编辑]

Redirects are useful for more than when you move a page. You can create redirects when there's an alternative term for a subject, when there's alternative capitalization and/or hyphenation, and when there's an alternative spelling (for example, British versus U.S.).

You can also use redirects to help readers get to the right page when they misspell a word or phrase, or enter incomplete information. For example, if you've just created a new article about a person, and you know that it's common to misspell the name of that person (Arnold Schwarzenegger, for example), you can create a redirect so that when a reader searches for the misspelled name (Schwartznegger), a redirect sends the reader to the article.

In fact, if you attempt to go to an article via the search box, and get "No page with that title exists" because you've misspelled a word, others will probably make exactly the same mistake. If so, you have an opportunity to create a redirect, so you'll be the last person ever to see that search results page rather than the desired article.

创造一个新重定向页

[编辑]
Figure 16-9. Microsoft Word can be a good source if you're looking for a commonly misspelled word for which to create a redirect. You'll find a list of word pairs in the AutoCorrect dialog box. In Word 2007 for Windows, choose Office button→Word options→Proofing. In earlier versions of Word, choose Tools→AutoCorrect.

The following steps walk you through the process of creating a redirect. First, you need a common misspelling to redirect from. If you can't think of one off the top of your head, you can use, say, Microsoft Word's list of commonly misspelled words (see Figure 16-9).

1. Type a misspelled word into Wikipedia's search box, click Go (or press Enter), and see if you get a response of "No page with that title exists."

If so, you've got your example.

2. Put the correct word into the search box to see where that goes, which is where your redirect page should send the reader when they type the incorrect spelling into the search box.

Figure 16-10. When you're doing a search for a word or a phrase and misspell it, consider that an opportunity to create a redirect for others who might do the same in the future. When you type the misspelling "lisence" instead of "license," you get a search page rather than the article you're looking for.

3. Suppose, for the sake of example, that you type "lisence" into the search box and see a page titled Search with bolded words "No page with that title exists" (Figure 16-10.).

4. Leaving open the window shown in Figure 16-10, open another browser window, and, in Wikipedia's search box, type the correct spelling of the word or phrase.

Wikipedia takes you to the page with the article you wanted. It's "License" in this example, which is what you're going to redirect to. This step is important because you need to know the exact title of the page to redirect to (License, Licensing, or whatever).
备注:
If the correct spelling of a word or phrase still doesn't get you to an article, and if the Wikipedia search results aren't helpful, you'll need to do some further searching to find the best article or disambiguation page (see the section about disambiguation pages) to which to send the reader. When you do find it, create a redirect so others don't have to go through the same process.

5. Copy the correct name of the article (press Ctrl+C or ⌘-C). Close this second window when you've done this copying.

If you copy the name, you don't have to worry about misspelling the article name when you create a redirect, which could be embarrassing.

6. Back at the original window, click the bolded red "create this page" link.

You'll see a new page, titled Editing Lisense (for example), with a bunch of advice about creating an article. Since you're creating a redirect, not an article, ignore the advice and scroll down to the edit box.

7. In the edit box, paste the text of the correct name, highlight this text, and click the "#R" icon.

You see the text for the new redirect Figure 16-11. Your redirect is almost there.
Figure 16-11. 1. In the edit box, copy and paste the correct name of the article you want to redirect to. Pasting the title, rather than typing it yourself, helps prevent typos. 2: Select the text you just pasted so you can apply the Redirect format to it. 3: Clicking the "#R" icon on the edit bar adds the redirect formatting. 4: Voila—the text for the redirect is done. All you have to do is save your work.

8. Add an edit summary (Creating redirect works well), and do a quick preview.

The preview shows what your new link will look like, plus the wikitext (Figure 16-12).
Figure 16-12. The preview screen for a new redirect, before you save it, shows what the redirect link will look like. Make sure the link is blue; if it's red, your redirect is to a non-existent page, which is what you don't want. Oddly enough, a preview of a redirect doesn't look the same as a saved redirect. Compare this figure to Figure 17-13.

9. Click the "Save page" button.

When you see a page with the misspelled title at the top and the correct link below (Figure 16-13), you're done!
Figure 16-13. When you've saved your new redirect, you'll see a page with the misspelled title and a link to the correct page.

10. For quality control purposes, click the link.

If that takes you to the wrong page, or even to a different page via a redirect, you need to fix the redirect so it points directly to the page it should. In your browser, click the Back button to get back to the redirect page. Click the "edit this page" tab, and fix the text within the double square brackets (see #4 in Figure 16-11). Then add an edit summary, preview, and save again.

Redirects are handy for more than misspellings. For example, suppose you want to create a redirect for a relatively unknown product, called, say, ObscureProductX. Wikipedia doesn't have an article for ObscureProductX, since it's not notable enough. But the product is manufactured by ObscurbaCorp, about which Wikipedia does have an article. You can create a page ObscureProductX, and on that page put #REDIRECT [[ObscurbaCorp]]. Someone searching for information about that product will be redirected to the article where it's mentioned.

让重定向做得更好

[编辑]

You can create redirects that take the reader to a section of an article rather than to the top of the page. Continuing the previous example, suppose there's a section of the fictional ObscurbaCorp article called "Unusual health products," and that's the only section that mentions ObscureProductX. In this case, create the redirect wikitext like this: #REDIRECT [[ObscurbaCorp#Unusual health products ]]. The "#" sign tells the Wikipedia software that what follows is the name of the section ("Unusual health products").

备注:
If you spell the name of the section incorrectly, or another editor subsequently changes the name of the section (or even deletes that section heading), the redirect will continue to function. It will simply take the reader to the top of the ObscurbaCorp article, just as if there were no pointer to a section.

Redirecting to a section, which sends the reader to the middle of an article, has one disadvantage. For example, if the "Unusual health products" section mentions ObscureProductX just briefly near the bottom of a long section, the reader could get confused about why he was sent there. Redirecting to the top of the article, from which a search will find the product, might be better. By contrast, if the redirect in the example had been to a section called "ObscureProductX's evaporation problem," there'd be no confusion.

You can also add a template to a redirect that puts the redirect into a category (see the chapter about categorization)—for example, redirects that deal with misspellings. The guideline Wikipedia:Redirect (shortcut: WP:R) lists a number of these, although most are likely to be useful only if Wikipedia begins using redirects as a database. You should use {{R with possibilities}} for redirects involving topics that might justifiably become an article at some later time. Adding that template puts the redirect page into the "Redirects with possibilities" category, which editors can use to find ideas for new articles. Simply put the template on a redirect page immediately after the ending double square brackets.

修复一个差的重定向

[编辑]

Redirects don't often go bad, so it's rare that you have to change one (except for double redirects, as described in the next section). But sometimes, perhaps due to vandalism, when you click a link on page A, get redirected via page B, and end up on page C, it's clear that page B points to the wrong place. To fix it, you could change the link on page A to point directly to where you want it to go, but if there are other links that go via redirect B, those links are still going to be wrong. Redirect page B needs to be fixed.

The challenge here is that if you type "B" into the search box, the Wikipedia software takes you to page C (that's what redirects do). To edit page B, not C, look for small print near the top of the page that says "Redirected from," followed by a link (see Figure 16-8 for an example). Click that link to go to the redirect page (B) itself.

Once you're at the redirect page, fixing it is straightforward: Click the "edit this page" tab, change the text within the double square brackets (see #4 in Figure 16-11), add an edit summary, preview it (Figure 16-12), and save the change.

修复双重重定向

[编辑]

In the steps in the section about renaming a page, renaming the Samuel E. Wyly article didn't cause any problems with double redirects. As mentioned there, double redirects are when a link on page A goes to redirect page B, which goes to redirect page C, which points to page D. In such a case, when a reader clicks the link on page A, the Wikipedia software displays the redirect page C, which isn't what the reader needs. The link on page A or the redirect on page B needs to be changed.

理解双重重定向

[编辑]

Before discussing how to fix a double redirect, consider why the software won't take the reader to page D, even though that's clearly the right place. Or, to be precise, why the software doesn't let two redirects function sequentially. Suppose an editor set up redirect page C so that it pointed back to redirect page B? The software would go in circles, processing the same instructions over and over, until a human intervenes or a mechanical failure occurs. (In computer speak, that's called an infinite loop.)

Sometimes you stumble upon double redirects, but the best time to find and fix them is when a page move creates them. Using the renaming of Kleiner Perkins Caufield & Byers (see the section about redirects) as an example again, suppose you had just done that page move and you're at the last step—checking for redirects. When you look at the "Pages that link to" page, in addition to the non-indented links (which point directly to the article as it's currently named) and single-indented links (which are linked by one redirect), you see some double indents. The double indents represent double redirects, like Brook Byers in Figure 16-14.

The clue to a double redirect is to look for the black text "(redirect page)" mixed in with the blue links (page names). The first "(redirect page)" you find is okay (that's a single redirect), but should you find a second redirect page that is indented under the first, then you've found a double redirect that needs to be fixed.

Figure 16-14. The page Pages that link to Kleiner Perkins Caufield & Byers includes, because of a recent renaming, a number of double redirects. These are the double-indented links, like Brook Byers and List of Stanford University people. Clicking a link in one of those two pages takes you to the redirect page Kleiner, Perkins, Caufield & Byers instead of the correct article. (Note the commas in the title; this redirect page has the old title from before the rename.)

修复双重重定向

[编辑]

A number of the links in Figure 16-14 won't work because of double redirects. You have two choices: Fix the links within articles, so they bypass redirects altogether, going directly to the new page name; or, change a redirect. In other words, if article A links to redirect B, which points to redirect C, which points to article D, then you can fix the redirect by changing redirect B so that it points directly to article D. B is now a single redirect, which is okay. Here's how to decide which to do:

  • Most of the time, fixing a redirect is better than changing the links to the redirect. In Figure 16-14, notice the large number of links to the redirect Kleiner Perkins. Fixing one redirect is faster than fixing a whole bunch of links.
  • When there's a spelling mistake or something else where the reader is being misinformed, it's best to fix both the links and the redirect. In the redirect Kleiner Perkins Caulfield & Byers, the word "Caulfield" is wrong (it should be "Caufield"). Since there are only two links to this redirect, that's an easy decision—fix the two links plus the one redirect.

Fixing a double redirect is easy. Here are the steps:

1. At the top of the "Pages that link to" page, copy (to the clipboard) the current name of the article.

Use Ctrl+C, ⌘-C, or whatever works best for you. Copying reduces the likelihood of a typing error.

2. Find a double redirect (for example, Tom Perkins in Figure 16-14), and open it in a new tab or window. Click the "edit this page" tab to get into editing mode.

In the edit box, the old page name is inside double square brackets.

3. Select (highlight) the text inside the square brackets, and then paste (Ctrl-V or ⌘-V) the new name of the article over it. Tab to the edit summary box and type a brief explanation.

Something like Fixing double redirect is a good edit summary. When you're done, click "Show preview."
备注:
If this is starting to sound familiar, that's because the steps are similar to when you're creating a redirect, as shown in Figure 16-11 and Figure 16-12.

4. Click "Save page."

You've fixed a double redirect. Close the page or tab you opened (step 2), which brings you back to the "Pages that link to" page, and do the same for all other double redirects.

Once you've fixed all the redirects that didn't point directly to the new name of the article, you can turn to any pages that have a link with a misspelling or other misinformation. Although these links now work, since the double redirects are gone, you may still need to correct other errors.

At the very end, check your work. Refresh the "Pages that link to" page (press Ctrl+R or ⌘-R) to make sure that everything you wanted to fix was fixed.

备注:
A page that is a redirect can be moved like any other page. Don't. You'll break links.
Bots on cleanup patrol

If you or another editor forgets to clean up some double redirects caused when you move a page, a bot—a small, automated software program—may fix the double redirects before any human notices. Every three days or so, the Wikipedia software coughs up a list of existing double redirects at the page Special:DoubleRedirects. Then one or more bots goes around and fixes them.

So, you don't need to search for double redirects, since Wikipedia's software will find them. But if you do encounter one, fix it using the steps in the section about fixing double redirects, because it may be days before a bot gets to it. If you've hit the double redirect, others might too.

针对多样解释:消歧义

[编辑]

Disambiguation is a fancy word for how Wikipedia handles a single term that's associated with more than one topic. If you type a word or name that pertains to more than one article—Jerry Lewis, for example—disambiguation helps you find the article you're looking for.

You see disambiguation in two places:

  • Disambiguation pages. These are separate pages where you can pick a link to go to the article you want. Such pages normally begin something like "Mercury may refer to," followed by a list of several article links to choose from.
  • Disambiguation links. These are notes at the top of an article that say things like "For other uses of the word mercury, go to mercury (element)." In this case, the link may go directly to another article, or, if there are several alternative articles, to a disambiguation page—as in mercury (disambiguation).

Figure 16-15 shows both types of disambiguation.

Figure 16-15. Top: If you type Jerry Lewis in the search box and click Go, you arrive at this article. If you had another Jerry Lewis in mind, simply click the Jerry Lewis (disambiguation) link near the top of the page. Bottom: The Jerry Lewis (disambiguation) page lists four articles that editors think readers might want when they search for the name Jerry Lewis.

Creating and updating disambiguation pages and disambiguation links at the top of articles are important skills for an editor. This section also shows you how to find and fix links in the body of articles that incorrectly go to a disambiguation page instead of directly to a specific article.

Disambiguation in Wikipedia involves fairly specialized knowledge, so this section starts out by introducing disambiguation concepts and helpful tools for getting readers to the right page. Then, when you end up at a page that isn't where you thought it was going to be, you'll be able to fix the problem.

消歧义页

[编辑]

消歧义页, as shown at the bottom of Figure 16-15, are easy to use, but creating them involves a bit of complexity. Naming such pages effectively is crucial. It's also important to get the formatting right. A good disambiguation page has enough details so readers can find the article they're looking for, but not so much text that they get muddled.

命名消歧义页

[编辑]

Wikipedia has tens of thousands of disambiguation pages, which fit into two groups—those that have (disambiguation) as part of their name, and those that don't. Going back to the Jerry Lewis example, since the comedian Jerry Lewis is more well known than, say, a politician named Jerry Lewis, when you type Jerry Lewis into the search box, you arrive at the article about the comedian, titled Jerry Lewis. The other (not quite as famous) person has an article titled Jerry Lewis (politician).

Now suppose the two Jerrys are equally well known. The previous arrangement wouldn't be fair. Or suppose there are several other famous Jerry Lewises as well. In such cases, the page titled Jerry Lewis should be a disambiguation page, listing individual articles called Jerry Lewis (politician), Jerry Lewis (comedian), and so on, exactly as shown in Figure 16-15. Figure 16-16 shows another example.

Figure 16-16. This disambiguation page doesn't have the parenthetical (disambiguation) in the title. None of the three Donald Davidsons are famous enough to be the overwhelming choice of someone searching for that name, so readers are sent to the disambiguation page to sort out the matter. Since the disambiguation page now owns the name, the three articles on individuals need to be named something else, such as Donald Davidson (poet).

With disambiguation, Wikipedia aims for the principle of least astonishment—that is, to avoid surprising readers. So if there's a predominant article that most readers will expect—like an article about the comedian Jerry Lewis—searches for Jerry Lewis go directly to that article. That article has a disambiguation link going to a disambiguation page: Jerry Lewis (disambiguation). If there's no overwhelmingly popular answer, as is the case for Donald Davidson, then searches for Donald Davidson go to a disambiguation page of the same name.

If you create a disambiguation page without the parenthetical phrase (disambiguation) in the title, you should list the page at Wikipedia:Links to disambiguating pages (shortcut: WP:LDP), so that it doesn't get listed as an orphan page (no incoming links), and so the Wikipedia software can identify it as a problem should there be lots of incoming links.

提示:
If you're a big fan of something that's the subject of an article, say, a band called Upper Crust, don't let your enthusiasm get in the way of your neutrality. If other editors have made Upper Crust a disambiguation page, accept the consensus and don't change things. Instead, focus your energy on, say, making the article Upper Crust (band) so good that it becomes a featured article on the Main Page, without fighting about the article's title.

适当的格式和条目

[编辑]

Once a disambiguation page has a title, it needs two more elements—an introductory sentence and the entries. The guideline Wikipedia:Manual of Style (disambiguation pages) (shortcut: MOS:DAB) goes into great detail about how to format these elements.

备注:
The prefix for the shortcut for that guideline was "MOS," not "WP." And yes, shortcuts with prefixes like MOS do function correctly when you type them in the search box.

Disambiguation pages get one of three standard opening sentences. After the name of the topics comes "may refer to:," "is the name of:," or "may stand for:," as shown in Figure 16-17 (top). The exception to these three is for pages with (disambiguation) in the title, where there's a clear primary meaning. In such cases, a sentence defining that primary meaning, with a link to the article, is recommended.

Figure 16-17. Top: Here are the sample opening sentences you might find in different disambiguation pages, using the three standard phrases prescribed at Wikipedia:Manual of Style (disambiguation pages) (shortcut: MOS:DAB). Bottom: If the disambiguation page has (disambiguation) in the title, it starts by defining the primary term first. The link school goes to the most popular article for that term.

After the brief opening sentence or sentences, the bulleted entries immediately follow. Make sure entries are in order of usage, with most-used meanings at the top. Here are some more tips:

  • The first word or phrase in each entry normally has one navigable (blue) link. These links shouldn't be piped; they should show exactly the name of the page that readers will go to when they click.
One exception is when an entry is only one section in an article. In that case, you can link to that section with a piped link, and the link doesn't have to be at the beginning of the entry (see Figure 16-18.)
Figure 16-18. The guideline MOS:DAB includes three examples of acceptable piped links that aren't the first words in an entry.
  • Keep descriptions in entries minimal. In general, don't exceed a single line onscreen. For example, for people, include their birth and death years (when known), plus brief descriptive information to help the reader distinguish between different entries.
  • Don't bold or italicize entries. If part of an entry should be italicized (for example, the name of a song), then use a piped link—for example, [[Flower (Liz Phair song)]|''Flower'' (Liz Phair song)]].

As for what entries should and shouldn't be included, keep in mind the following:

  • A disambiguation page isn't a list of all entries that include a given word or phrase, but rather a place for readers who can reasonably be expected to arrive at that page.
  • If there is a reasonable chance of reader confusion due to misspelling ("Kington" versus "Kingston"), put the misspellings in a separate "See also" section.
  • You should add links to a non-existent article ("redlink") only when you're confident that an encyclopedia article can be written on the subject. (Every entry should have a link, either blue or red; a disambiguation page isn't a directory to the Internet.)

Long disambiguation pages can be broken into sections ("In science," "In music," "In popular culture"). If there are four or more sections, put the template {{TOCright}} at the top of the page to float the table of contents to the upper-right corner of the page (see the section about floating the table of contents for details).

Figure 16-19. Every disambiguation page needs one—and only one—of these templates at the bottom (that is, at the very end of the page's wikitext). You'll find the full list at the page Category:Disambiguation and redirection templates (shortcut: ).

Finally, at the bottom of a page, there must be a disambiguation template telling readers what the page is and reminding them to fix improper links. It also puts the page into a proper category. Figure 16-19 lists the choices for such a template. For example, {{Geodis}} is for locations (towns, rivers, and so on) and {{Hndis}} for human names. If more than one specialized template would apply to the page, use the general template {{disambig}}.

[编辑]

With the exception of clarifying links at the top of articles (see the section about disambiguation links), articles should never have a link to a disambiguation page. But editors do make mistakes. For example, a British editor might wikilink the word "lift," unaware that the page Lift is a disambiguation page. (The editor should have used the piped wikilink [[elevator|lift]], which would display "lift" to the reader while taking the reader, if they click that link, to the article Elevator.)

Figure 16-20. Links to disambiguation pages come in two flavors—links at the top of pages (as discussed in the next section), which are okay, and links in the body of articles, which are not okay. The pages listed in this figure are all of the second type: The wikilinks of the word "lift" in articles like Jet airliner and Kevin Haskins shouldn't link to a disambiguation page, they should link to a page like "Elevator" or "Lift (force)." These wikilinks need to be changed.

Finding and fixing wikilinks that link to disambiguation pages is easy: At a disambiguation page, in the "toolbox" links at the left side of the screen, click the first one, "What links here." Change the Namespace box to "(Main)," and click Go. You'll see a list of pages with links to the word "lift," as shown in Figure 16-20.

For each article that links to the disambiguation page but shouldn't, go to the article and edit the link so it's correct. For example, in the Jet airliner article, you would change wing [[lift]] performance to wing [[lift (force)|lift]] performance, since the word "lift" should link to the article Lift (force).

These erroneous links accumulate over time, since editors rarely verify wikilinks when editing an article, and readers taken to disambiguation pages rarely see the note on the bottom of such pages about fixing incoming links. So, not surprisingly, there's a WikiProject (see Chapter 9: WikiProjects and other group efforts) for those interested in fixing disambiguation links: Wikipedia:WikiProject Disambiguation. But you don't have to be a member of that WikiProject to fix problems.

Programs that help fix links

If you only occasionally fix incoming wikilinks to disambiguation pages, doing it manually is fine. But if you find you enjoy doing these fixes and want to do more of them (and there are a lot of links that need to be fixed), you have a choice of two programs that you can download that create a semi-automated, specialized browser for fixing links to disambiguation pages. Both have limitations:

  • Windows Cleaner, at the page Wikipedia:CLEANER, is a bit less automated, but still is much faster than fixing links manually. It requires Java (version 6 is recommended).
  • CorHomo, at the page Wikipedia:WikiProject Disambiguation/fixer, 截至2012年4月 (2012-04) works only on the French Wikipedia. It no longer works on the English Wikipedia as of this writing. The user interface is a bit terse, but it takes only four clicks to select and fix a link, once you specify a disambiguation page.

Both programs were developed at the French Wikipedia. Language choice is built into both, but the English wording can be a bit idiosyncratic.

消歧义链接

[编辑]
Figure 16-21. Wikipedia has two articles about Ally McBeal, and it's easy to see that a reader might want one rather than the other (or even both). When there are exactly two articles that can be confused with each other, no disambiguation page is needed—just a link at the top of each page to the other page. These two pages use the {{for}} template for disambiguation. To be specific, in the second article, the wikitext looks like this: {{For|the television show|Ally McBeal}}.

When a term is ambiguous, like, say, Ally McBeal, readers may not reach the article page they expected (the TV show instead of the character herself). In such cases, the article should contain, at the top, one or more links to alternative articles. You create these links using a disambiguation template, not formatting them by hand. Figure 16-21 shows the simplest example, the {{for}} template, in action:

There are a large number of disambiguation templates. The notes at the top of pages created by these templates are often called hatnotes. You can find a fairly complete list of these templates at the guideline Wikipedia:Hatnote (shortcut: WP:HAT). You only need to know the basic concepts, not memorize the list. (A more organized list is found at Wikipedia:Otheruses templates (example usage), shortcut: WP:OTEU.)

Figure 16-22. At one point, if a reader searched for dioxin, they arrived at this article. The too-long hatnote on this page probably befuddled many readers looking for the Wikipedia article Polychlorinated dibenzodioxins, which is about the environmental pollutants known as dioxins. The reader had to get past 37 words, including one wikilink, before finding the desired link.

Hatnotes come in a long form ("This article is about the concept X; for the concept Y, see [[link]]") and a short form ("For the concept Y, see [[link]]"). Don't argue with other editors about which to use—it's not worth the trouble. But if you're adding a hatnote yourself, generally use the short form. Figure 16-22 shows an extreme example of how awkward the long form of a hatnote can be.

备注:
You get bonus points if you wondered why the article about the more widely known "dioxins" of environmental concern is called Polychlorinated dibenzodioxins rather than Dioxin. The technical name for the article appears to violate the principle of least surprise. Since this screenshot was taken, editors have realised that this was not the best state of affairs. Dioxin is now a disambiguation page, where the first link is to Dioxins and dioxin-like compounds. That article is about the "dioxins" of environmental concern, with links to technical articles on the chemical groups involved.

As a rule, add disambiguation links only when there's a good chance that a confused reader has arrived at the wrong article. Thus, for an article like Tree (set theory), a hatnote pointing to the page Tree (disambiguation) isn't needed, because someone reading up on set theory isn't expecting to read about greenery. Don't use disambiguation template links that have nothing to do with disambiguation. So, for example, in the article Merck & Co., it's incorrect to put a note at the top of the article saying "For the controversy over the drug Vioxx, which was manufactured by Merck, see Rofecoxib."

In an article's wikitext, disambiguation templates go below cleanup templates (also called article messages boxes, amboxes, and message templates) and should, in turn, be followed by images, navigational and infobox templates, and other article content.

Figure 16-23. The {{distinguish}} template creates text that begins "Not to be confused with." Here, the template has two parameters, "Guyana" and "French Guinea," which become links within the note at the top of the article (top). Also shown here (bottom) is the template {{redirect}}, which explains to a reader who typed "GUF" into the search box why they are looking at this particular article, and not another article, and the page to go to if not where desired.

For articles that can be confused with each other but aren't actually related (homonyms and homophones, for instance), use the {{distinguish}} template. Figure 16-23 shows an example, and the underlying wikicode.

针对非英语浏览者: 中介语链接

[编辑]

Wikipedia is available in many languages. Readers whose native language is not English often visit the English Wikipedia, perhaps because they followed a link from another website or search engine. Upon arriving at an English Wikipedia page, it is useful for them to know that the page is available on their own language's Wikipedia. Hence many articles have a box headed 其他语言 on the left of the page, which contains links to the same article in other languages of Wikipedia. Since the title of articles on foreign Wikipedias is often different from the title on the English Wikipedia, editors must add interlanguage links to articles for the software to know which foreign language articles to list in the 其他语言 box.

Figure 16-24. On the category page Category:Algerian media, the line [[de:Kategorie:Medien (Algerien)]] indicates that the corresponding category in the German Wikipedia is called Kategorie:Medien (Algerien). The line that follows this gives the name of the category on the French Wikipedia.

Figure 16-24 shows an example of interlanguage links to the German and French Wikipedias. The wikicode for an interlanguage link uses double square brackets like regular internal links do. The important difference is the language code at the start of the link. This is followed by a colon then the title of the article on the foreign Wikipedia.

You can find the language code for a foreign Wikipedia by looking in your browser's address bar when viewing it. The language code is whatever appears just before .wikipedia.org in the address. For example, the address of the French Wikipedia starts fr.wikipedia.org, so the language code is fr. Though the language code is usually two characters, there are a few languages that have longer codes.

New interlanguage links should always be added near the bottom of an article's wikicode, after any categories. You normally edit (add, delete, change) interlanguage links by going to the last section of an article and clicking the "edit" link. If you find any interlanguage links anywhere other than in the last section of an article, move them.

[编辑]

Here's a puzzle that editors sometimes encounter: How do you link to Wikipedia in other languages on a discussion page? If you type

[[de:Page name in German]]

the link won't show up where you typed it. It'll instead show up in the 其他语言 box on the left, which isn't very helpful. To display an interlanguage link where you want it, add a colon after [[, just before the language code, like this:

[[:de:Page name in German]]
[编辑]

Another type of link that is easy to confuse with an interlanguage link is an interwiki link. Whereas interlanguage links go to Wikipedia in other languages, interwiki links go to wikis that are not Wikipedia. Though most interwiki links point to projects operated by the Wikimedia Foundation (Commons, Wiktionary, Wikibooks, etc.), interwiki links can also point to third-party wikis.

Interwiki links look just like an interlanguage link, but use an interwiki prefix instead of a language code. For example, [[commons:Main Page]] links to the Main Page of Wikimedia Commons.

You can find a complete list of the language codes and interwiki prefixes you can use on Wikipedia at the Special:Interwiki page.

Template:Top of page