Jump to content

Help:Wikipedia: The Missing Manual/Building a stronger encyclopedia/Getting readers to the right article: Naming, redirects, and disambiguation

From Wikipedia, the free encyclopedia
Wikipedia: The Missing Manual (Discuss)

With more than 6 million articles on the English Wikipedia, how do you get to the one you want? For example, when a reader types "mercury" into the search box, what article do they expect to be displayed? What if someone creates an article called "Mercury (Roman god)" when there already is one called "Mercury (mythology)"?

Wikipedia depends on editors to fix naming errors, to create pages (redirects) that automatically correct typing errors, and to set out guideposts to readers to help them find their way (disambiguation). The cumulative effort of millions of editors has created a web of articles and links that get virtually all readers to the right place within one click.

Naming and renaming

[edit]

The best way to deal with an error is to not make it in the first place. That's why Wikipedia has a naming convention for just about any kind of new article. The more you and other editors follow these conventions, the less renaming you'll have to do. But with so many naming conventions (see Figure 16-1 for a sampling), new editors can get confused and name articles incorrectly.

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.

Common naming mistakes

[edit]

This book can't discuss every possible mistake in article names—if it did, you'd need a forklift to carry it. If you have a very specific question about what to name an article 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: CAT:WNC.) 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)".
Note:
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". The correct form is "Council of Organizational Associations", rather than "The Council of Organizational Associations".

Renaming an article

[edit]

Renaming an article is technically easy. 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 and have at least ten edits 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.

Discussing a rename

[edit]

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.

Renaming a page

[edit]

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.)

Note:
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.
Note:
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.

Note:
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.
Note:
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). While bots will eventually fix any double redirects, it is still good practice to fix them as soon as you move a page.
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.

When administrator assistance is required

[edit]

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.

Note:
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 seven-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 request a non-controversial move at Wikipedia:Requested moves/Technical requests (shortcut: WP:RMTR). See that page for instructions. An administrator or page mover should then move the page – or decide the move is in fact controversial and start a seven-day discussion as described above – within a few hours.

For old names and bad spellers: Redirects

[edit]

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.

Note:
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.

How redirects work (and where they come from)

[edit]

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.)

Adding a redirect

[edit]

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.

Creating a new redirect page

[edit]
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 is "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).
Note:
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 by hitting the blue 'Publish changes' button.

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 publish 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 published redirect. Compare this figure to Figure 17-13.

9. Click the "Publish changes" 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 created 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 'publish changes' 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.

Enhanced redirects

[edit]

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").

Note:
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 they were 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.

Fixing a bad redirect

[edit]

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 publish the change.

Fixing double redirects

[edit]

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.

Understanding double redirects

[edit]

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.)

Fixing double redirects

[edit]

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."
Note:
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 "Publish changes".

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.

Note:
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.

For multiple meanings: Disambiguation

[edit]

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.
  • Hatnotes. 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 hatnotes 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.

Disambiguation pages

[edit]

Disambiguation pages, 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.

Naming disambiguation pages

[edit]

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.

Tip:
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.

Proper formatting and entries

[edit]

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.

Note:
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 ("Science," "Music," "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: CAT:DRT).

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}}.

[edit]

With the exception of clarifying links at the top of articles (see the section about Hatnotes), 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 can use WPCleaner, at the page Wikipedia:CLEANER, to fix disambiguation links faster. It requires Java (version 8 or later is recommended). It was developed at the French Wikipedia, so the English wording can be a bit idiosyncratic.

Hatnotes

[edit]
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 hatnote template, not formatting them by hand. Figure 16-21 shows the simplest example, the {{for}} template, in action:

There are a large number of such 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.

Note:
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, hatnote 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.