Wikipedia:Duplicated sections

Bug 275 (since fixed) has caused the accidental duplication of entire sections of some articles. This page is an attempt to locate all such instances of this problem and fix them.

A script was run on an offline copy of the database. First, it isolated all pages with duplicate headers. Then, it sliced each remaining page into three-word "chains" or "triplets" and looked to see how many of these chains appeared more than once. The percentage of repeated chains are reported for each article. A high percentage is a good indication that duplication has occurred.

This list was produced with the June 26, 2005 database dump, so many such instances have probably already been fixed. (You can check using the history feature whether duplication actually did occur.) But the following need to be checked. We're not sure what a good percentage cutoff is, so start at the top and work your way down. Please strikethrough fixed pages and underline false positives, so we can determine if the detection algorithm is working well, and when we should stop checking. We've also included a section sorted by absolute number of triplets repeated, in case there are long pages with small duplications. Thanks for your help!

How to update edit

The Perl script used is on /script.

Suggestions for improvement edit

  • Note that the listing for under 300 triplets is still available if it is needed, though if there are a high number of false positives, it maybe more efficient to wait for a new database dump. -- Beland 06:04, 1 August 2005 (UTC)[reply]
  • It might be a useful metric to figure out what the length of the longest duplicated section is, though this will clearly be more computationally complex. Also, small differences in duplicated sections may appear over time. Another red flag might be if a repeated section starts with a header, though again, this may be corrupted over time. -- Beland 06:09, 1 August 2005 (UTC)[reply]

By percentage edit

45%-50% - Done edit

40%-44% - Done edit

35%-39% - Done edit

30%-34% - Done edit

25%-29% - Done edit

20%-24% - Done edit

15%-19% - Done edit

11%-14% edit

By absolute number (10% or less)= edit

1500-9000 edit

1000-1499 edit

500-999 edit

400-499 edit

300-399 edit