Help:Merging: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Radiant! (talk | contribs)
strike yet more instruction creep, reorg, add samples
→‎Performing the merger: Added important note.
Line 63: Line 63:
# Open the source and destination pages in two separate edit windows/tabs.
# Open the source and destination pages in two separate edit windows/tabs.
# Cut/paste the entire content from the source page into the destination page and remove the {{tl|mergefrom}} tag.
# Cut/paste the entire content from the source page into the destination page and remove the {{tl|mergefrom}} tag.
# Save the destination page, with an [[Help:Edit summary|edit summary]] noting "merge content from <nowiki>[[article name]]</nowiki>"
# Save the destination page, with an [[Help:Edit summary|edit summary]] noting "merge content from <nowiki>[[article name]]</nowiki>" ('''This step is required in order to conform with &sect;4(I) of [[Wikipedia:Text of the GNU Free Documentation License|the GFDL]]. Do not omit it or omit the page name.''')
# Delete ''all'' the text from the source page and replace it with <code><nowiki>#REDIRECT [[PAGENAME]] {{R from merge}}</nowiki></code>, note the merger (including the page names) in the [[Help:Edit summary|edit summaries]], and save the page.
# Delete ''all'' the text from the source page and replace it with <code><nowiki>#REDIRECT [[PAGENAME]] {{R from merge}}</nowiki></code>, note the merger (including the page names) in the [[Help:Edit summary|edit summaries]], and save the page.
# Edit the destination page again and delete the redundant content, editing until it looks good and consistent.
# Edit the destination page again and delete the redundant content, editing until it looks good and consistent.
Line 77: Line 77:
# Preview and edit the destination page until it looks good and consistent.
# Preview and edit the destination page until it looks good and consistent.
# Delete ''all'' the text from the source page and replace it with <code><nowiki>#REDIRECT [[PAGENAME]] {{R from merge}}</nowiki></code>.
# Delete ''all'' the text from the source page and replace it with <code><nowiki>#REDIRECT [[PAGENAME]] {{R from merge}}</nowiki></code>.
# Save both, and note the merger (including the page names) in the [[Help:Edit summary|edit summaries]].
# Save both, and note the merger (including the page names) in the [[Help:Edit summary|edit summaries]]. ('''This step is required in order to conform with &sect;4(I) of [[Wikipedia:Text of the GNU Free Documentation License|the GFDL]]. Do not omit it or omit the page names.''')
# Check [[Wikipedia:What links here|"What links here"]] on the source page for [[Wikipedia:Double redirects|double-redirects]].
# Check [[Wikipedia:What links here|"What links here"]] on the source page for [[Wikipedia:Double redirects|double-redirects]].
#* Double-redirects will fail to link, and must be renamed to redirect to the current page name.
#* Double-redirects will fail to link, and must be renamed to redirect to the current page name.

Revision as of 08:17, 7 June 2007

Merging and moving are two fundamental aspects of how articles are developed, structured, and reformed on Wikipedia. A merger is a non-automated process by which two similar or redundant pages are united manually on one page. A move renames a page, giving it a new title.

Merging

There are several good reasons to merge a page:

  1. Duplicate - There are two or more pages on exactly the same subject.
  2. Overlap - There are two or more pages on related subjects that have a large overlap. Wikipedia is not a dictionary; there does not need to be a separate entry for every concept in the universe. For example, "Flammable" and "Non-flammable" can both be explained in an article on Flammability.
  3. Text - If a page is very short and is unlikely to be expanded within a reasonable amount of time, it often makes sense to merge it with a page on a broader topic. For instance, parents or children of a celebrity that are otherwise unremarkable are generally covered in a section of the article on the celebrity, and can be merged there.
  4. Context - If a short article requires the background material or context from a broader article in order for readers to understand it. For instance, minor characters from works of fiction are generally covered in a "List of characters in <work>", and can be merged there; see also WP:FICT.

Merging — regardless of the amount of information kept — should always leave a redirect or, in some cases, a disambiguation page in place. This is often needed to allow proper attribution through the edit history for the page the merged text came from. Superfluous redirects do not harm anything, and can be helpful in finding articles, e.g. from alternative names.

You may find that some or all of the information to be merged is already in the destination page. That is fine; you can feel free to delete the redundant information and only add the new stuff. If there is no information to be added to the destination page, you can simply redirect the other page there, but please make this clear in the edit summary.

How to merge pages

Merging is a normal editing action, something any editor can do, and as such does not need to be proposed and processed. If you think merging something improves the encyclopedia, you can be bold and perform the merge, as described below. Because of this, it makes little sense to object to a merge purely on procedural grounds, e.g. "you can't do that without discussion" is not a good argument.

If the merger is controversial, however, you may find your merger reverted, and as with all other edits, edit wars should be avoided. If you are uncertain of the merger's appropriateness, or believe it might be controversial, or your merge ends up reverted, you can propose it on either or both of the affected pages.

Proposing a merger

To propose a merger of two or more pages, place the tag {{merge|OTHER PAGE}} at the top of each page or section. It should appear like this:

It has been suggested that this article or section be merged with OTHER PAGE. (Discuss)

By default the "Discuss" link leads to the top of the article's Talk page. If you want some other behaviour then you can provide an explicit link as a second parameter to the template – for example, {{merge|OTHER PAGE|DISCUSSION PAGE}}. This is useful for directing the reader to a specific section of a long talk page, when it may not otherwise be obvious where the discussion is located. For example, {{merge|OTHER PAGE|Talk:THIS PAGE#Merger proposal}} directs the "Discuss" link to the section headed "Merger proposal" on THIS PAGE's talk page. In particular, it is not helpful to have a separate discussion on the two talk pages.

If you know which page should be removed, use {{mergeto|DESTINATION PAGE}} on that page, and {{mergefrom|SOURCE PAGE}} on the page that will remain and will receive the contents of the source page. Applying these templates relieves the merging editor from having to decide which way to merge, and causes both/all "Discuss" links to lead to the talk page of the destination page (instead of each page linking to its own talk page). These templates will appear as:

It has been suggested that this article or section be merged into DESTINATION PAGE. (Discuss)

and

It has been suggested that SOURCE PAGE be merged into this article or section. (Discuss)

If you are proposing that many pages be merged into one page, it is better to use a single template on the destination page rather than one for each source page. The above template will not work correctly unless modified, so use {{multiplemergefrom|[[SOURCE PAGE ONE]], [[SOURCE PAGE TWO]], [[SOURCE PAGE THREE]], etc}} to generate the following:

It has been suggested that SOURCE PAGE ONE, SOURCE PAGE TWO, SOURCE PAGE THREE, etc be merged into this article or section. (Discuss)

After proposing the merger, place your reasons on the talk page. You may be able to invoke a response by contacting some of the major or most-recent contributors via their respective talk-pages. If there is clear agreement with the proposal by consensus or silence, proceed with the merger.

Caveats
  • If you are unable to merge the pages, or you believe that the merger may be controversial, you might want to add a listing to Wikipedia:Proposed mergers.
  • When proposing a merger of pages within "Wikipedia" namespace (any pages that begin with the "Wikipedia:" prefix), do not include this prefix in the parameter.
  • Due to technical limitations, the above tags are incompatible with cross-namespace mergers (mergers between pages from both the article and Wikipedia namespaces). Such instances are rare, and should be handled via manual template substitution and editing.
  • Do not use the above tags to propose a category merger. This should be requested at Wikipedia:Categories for discussion, which uses a separate {{cfm}} template.

Closing/archive a proposed merger

To provide clarity that the merge discussion is over and that a consensus has been reached, it may be important to close and then archive the proposal discussion. To close a merger proposal discussion, indicate the outcome at the top.

To archive a merger proposal discussion, a "top" template is generally be placed between the header and the top of the discussion and a "bottom" template will need to be placed at the bottom of the discussion. Note that placing the "top" template above the section header may interfere with archival bots.

Here is an example of how to archive a merger proposal discussion:

 == Header ==
 {{Discussion top}}
 The result was '''merge''' into DESTINATION PAGE. -- ~~~~
 Hi, I would like to discuss...
 {{Discussion bottom}}

Performing the merger

Full-content paste merger
  1. Open the source and destination pages in two separate edit windows/tabs.
  2. Cut/paste the entire content from the source page into the destination page and remove the {{mergefrom}} tag.
  3. Save the destination page, with an edit summary noting "merge content from [[article name]]" (This step is required in order to conform with §4(I) of the GFDL. Do not omit it or omit the page name.)
  4. Delete all the text from the source page and replace it with #REDIRECT [[PAGENAME]] {{R from merge}}, note the merger (including the page names) in the edit summaries, and save the page.
  5. Edit the destination page again and delete the redundant content, editing until it looks good and consistent.
  6. Save the destination page. (Edit summary of "cleanup after paste/merge" is appropriate.)
  7. Check "What links here" on the source page for double-redirects.
    • Double-redirects will fail to link, and must be renamed to redirect to the current page name.

Performing a merger in this manner is beneficial when you want to include all the content from both articles in the article history of the final article.

Selective paste merger
  1. Open the source and destination pages in two separate edit windows/tabs.
  2. Cut/paste the non-redundant content from the source page into the destination page.
  3. Be sure to remove the {{mergefrom}} tag from the destination page before previewing
  4. Preview and edit the destination page until it looks good and consistent.
  5. Delete all the text from the source page and replace it with #REDIRECT [[PAGENAME]] {{R from merge}}.
  6. Save both, and note the merger (including the page names) in the edit summaries. (This step is required in order to conform with §4(I) of the GFDL. Do not omit it or omit the page names.)
  7. Check "What links here" on the source page for double-redirects.
    • Double-redirects will fail to link, and must be renamed to redirect to the current page name.

Performing a merger in this manner is beneficial when the source document includes a great deal of nonsense.

Text dump merger

Simply dumping the text from one page onto another is progress, because it puts all of the information on the same topic on the same page. This, however, seldom results in a smooth-flowing article. Fixing that may require a great deal of time and rewriting. If you can do that, terrific! Future readers will greatly benefit from your contribution. If you do not have the time or expertise to do so, please tag the article for attention; select a template from Wikipedia:Cleanup resources, such as {{cleanup}} or {{cleanup|May 2024}} (using the current month and year as the parameter).

Renaming / Moving

See Wikipedia:Naming conventions.

On Wikipedia, usually anyone logged in can rename a page from its current name to a new one. This is also called "moving" because the effect is as if the page has been moved. A redirect is automatically created at its old name so that links still work.

  • Decapitalization - Improper capitalization of page titles, against capitalization guidelines. The template tag {{decap}} can be used to give notice.
  • Misspelled – The most common reason is that a page name is misspelled or incorrectly capitalized. Please fix any and all of these as you see them.
  • NPOV – Terms used in a title express a bias or POV. NPOV policy requires that articles be given "neutral" titles — using the most general and objective terms.

After a page is moved to a more correct title, the redirect should generally be kept and categorized accordingly, unless the redirect is demonstrably harmful, and especially if it is a plausible or common misspelling (or not a misspelling at all). If an page was erroneously created once at the wrong title, there is a good chance it will happen again (as a duplicate article).

Sometimes, you may feel that a page is wrongly named for another reason. For example, "Napoleon" may be more properly known as "Napoleon I of France," but many people refer to him as "Napoleon."

This is a situation in which a redirect would be appropriate. Most people would not search for Marie de Rabutin-Chantal, marquise de Sévigné, but rather for Mme de Sevigne. To some degree the choice of which title to use is debatable, depending on the relevant conventions in the English language or on Wikipedia's encyclopedic standards.

Cross-namespace moves

The move feature is capable of moving pages in any namespace (except "Category:" and "Image:"), and even of moving pages from one namespace to another. Cross-namespace moving is useful when a page is accidentally created in the wrong namespace; for instance, moving Talk/Abraham Lincoln to Talk:Abraham Lincoln, or moving Articles for deletion/Some article to Wikipedia:Articles for deletion/Some article. In some cases, new users may create articles on themselves that they intend to serve as their user page, in which case such an article may be userfied.

Generally speaking, other types of cross-namespace moves will be controversial and worth discussing with other editors. Wikipedia:Requested moves is the proper place for this. However, when proposing to move what appears to be an article out of the main namespace, it is strongly recommended that some form of Wikipedia:Deletion process should be used, preferably Wikipedia:Articles for deletion, as Wikipedia:Proposed deletion and Wikipedia:Speedy deletion don't build consensus. This is because the redirect that is created by such a move is subject to speedy deletion, which would effectively cause the article to be deleted from the main encyclopedia.

How to rename a page

Note, you must be logged in to do this, to an account that is at least 4 days old.

  1. Go to the page that you wish to rename.
  2. Click the tab labeled "move."
  3. Type the new desired title, add a reason, and click "Move page."
    • The old title will redirect to the new title.
    • The old edit history will be moved to the new title.
  4. Check for redirects.
    • Double-redirects will fail to link, and must be renamed to redirect to the current page name.
  • Do not move or rename a page by copying/pasting its content, because doing so destroys the edit history. (The GFDL requires acknowledgement of all contributors, and editors continue to hold copyright on their contributions unless they specifically give up this right. Hence it is required that edit histories be preserved for all major contributions until the normal copyright expires.) If you come across a cut-and-paste move that should be fixed by merging the page histories, please follow the instructions here to have an administrator repair it.

If you cannot rename a page, or you think that the renaming may be controversial, please go to Wikipedia:Requested moves and list it there.

The most common reason for failure is that there is already an article at the location to which you're trying to move the article. This is especially likely to happen if there is a history of moves from one name to another. This can be dealt with by an administrator after discussion at WP:RM.

If the destination does exist, but it only contains a redirect without any history, the move will still work — the designers of the MediaWiki software recognised this as a special case in which no information will be lost if a move is performed.

Pages to merge

  • Category:Merge_by_month lists pages that have been tagged for merging since a particular month (tagging was begun in September 2006).
  • Wikipedia:Proposed mergers has a list of pages that are proposed to be merged, with discussion and explanation (this is an optional step; all of these articles should have merger tags as well).

See also