https://bugzilla.wikimedia.org/show_bug.cgi?id=33614

       Web browser: ---
             Bug #: 33614
           Summary: $wgUseCategoryBrowser generates many dupes
           Product: MediaWiki
           Version: 1.17.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Categories
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


I turned on $wgUseCategoryBrowser and discovered it displays a very large
number of duplicate entries. I'm using this on a large wiki (Camera-Wiki.org)
with several thousand pages and hundreds of categories. In some cases it
displays the top level category entry as many as 10 or 20 times and many
categories are display 3 to 5 times. 

Seems like a simple fix to add code to filter out duplicates. If someone can
point me to the appropriate piece of code I'd be happy to provide a patch.

Here's a typical display from the bottom of one page in our wiki:

Root category
Root category
Root category
Root category
Root category
Root category
Root category
Root category
Root category > Cameras
Root category > Cameras
Root category > Cameras > Cameras by first letter > B
Root category > Cameras > Cameras by first letter > C
Root category > Cameras > Medium format > 127 film
Root category > Companies > Camera makers
Root category > Countries > Italy
Root category > Countries > Italy > Bencini
Root category > Imaging media > Film > Film formats
Root category > Special categories
Root category > Special categories
Root category > Special categories
Root category > Special categories
Root category > Special categories
Root category > Special categories
Root category > Special categories
Root category > Special categories
Root category > Templates > Wiki > Flickr image
Root category > Templates > Wiki > Flickr image
Root category > Templates > Wiki > Flickr image
Root category > Templates > Wiki > Flickr image
Root category > Templates > Wiki > Hidden categories > Image by AWCam
Root category > Templates > Wiki > Hidden categories > Image by Dirk HR
Spennemann
Root category > Templates > Wiki > Hidden categories > Image by Rick Soloway
Root category > Templates > Wiki > Hidden categories > Image by jgs4309976

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to