Last modified: 2014-03-01 12:09:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60967, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58967 - Special:MostLinkedCategories shows links to non-existent categories with 0 members
Special:MostLinkedCategories shows links to non-existent categories with 0 me...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-25 22:39 UTC by lahwaacz
Modified: 2014-03-01 12:09 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description lahwaacz 2013-12-25 22:39:22 UTC
My understanding is that Special:MostLinkedCategories should display links to:
1. existent categories with >0 members,
2. non-existent categories with >0 members,
3. (possibly) existent categories with 0 members.

On the other hand, it should *not* display links to:
4. non-existent categories with 0 members.

Case 4. originates from 3. by removing a page from the respective category or by deleting an unused category.

Links from case 4. are currently displayed in the Special:MostLinkedCategories list - this is the point of this bug report.

Also note that Special:MostLinkedPages and Special:MostLinkedTemplates do not contain links to non-existent pages/templates with 0 links/transclusions.

Some links to show you what I mean:
https://en.wikipedia.org/w/index.php?title=Special:MostLinkedCategories&limit=500&offset=1500000
https://wiki.archlinux.org/index.php?title=Special:MostLinkedCategories&limit=500&offset=1500
Comment 1 kynikos 2013-12-26 02:33:59 UTC
I'm just adding that this behaviour may allow a malicious user to leave traces of e.g. spamming or defamatory Category names by just adding one article to such a Category, whose "wanted" name would appearently stay in the list without the possibility of being removed.
Comment 2 Gerrit Notification Bot 2013-12-26 21:46:33 UTC
Change 103856 had a related patch set uploaded by Brian Wolff:
Don't include empty categories in Special:Mostlinkedcategories

https://gerrit.wikimedia.org/r/103856
Comment 3 Gerrit Notification Bot 2014-01-28 02:29:40 UTC
Change 103856 merged by jenkins-bot:
Don't include empty categories in Special:Mostlinkedcategories

https://gerrit.wikimedia.org/r/103856
Comment 4 db [inactive,noenotif] 2014-03-01 12:09:17 UTC
Status Merged

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links