Last modified: 2009-09-07 20:30:56 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 T21969, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19969 - Special:WantedCategories shows categories that are "not wanted" or already exist
Special:WantedCategories shows categories that are "not wanted" or already exist
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://pt.wiktionary.org
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-28 14:12 UTC by Malafaya
Modified: 2009-09-07 20:30 UTC (History)
3 users (show)

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


Attachments

Description Malafaya 2009-07-28 14:12:42 UTC
For some time now, the special page Special:WantedCategories at http://pt.wiktionary.org lists the same unchanged categories, although changes have been made that would affect that list. The refresh date is updated though and is of today. Only the contents is not refreshed.

Examples:
"Category:Afaan Oromo" does not have any member (is not "wanted") but it keeps showing up.
"Category:Substantivo (Baixo Saxão/Plattdütsch)" already exists but it keeps showing up.
Comment 1 Malafaya 2009-08-14 17:53:25 UTC
Still no feedback on this?
The problem still exists.
Comment 2 Malafaya 2009-08-17 15:16:37 UTC
Raising prio/severity.
It's getting difficult to work with the presence of this problem.
Other wikis don't seem to be affected by this.
Comment 3 Malafaya 2009-08-21 21:51:50 UTC
I have more information regarding this:

as we have been moving categories around, I noticed some (new) missing categories are present on the Wanted Categories special page.
This means the page is actually being updated.
So, the problem is that it is somehow still considering that categories created long ago are still missing (like "Category:Baixo Saxão/Plattdütsch") and that some not wanted already for long time are still wanted (like "Category:Afaan Oromo", with no members for months).

Thanks.
Comment 4 Malafaya 2009-09-06 11:57:23 UTC
I managed to understand a bit more of this:
some categories were still being linked to by the cached copy of some other categories. I did a null edit on those I could guess and the supposed number of members decreased.
Others seem to be related to redirect in categories that were meanwhile deleted. The cached copy of the articles are still pointing to the redirect somehow, even if these categories do not show up in them. A null edit seems to solve as well.

Another one, and this one is stranger, is related to "Category:Adjectivo_(Albanês)".
I checked the category links DB dump and I see:

(3676,'Adjectivo_(Albanês)','Portugalisht',20050430061544)
(3676,'Gentílico_(Albanês)','Portugalisht',20050430061544)

Nevertheless, there is no pageid 3676 in the page table.
Unless I'm seeing it wrongly, there's some inconsistency here.

This being the case, could someone please deleted the above category links?
This does not solve the whole problem but it's one of the steps.
Comment 5 Malafaya 2009-09-06 13:15:51 UTC
While discussing the above at #wikimedia-tech, RoanKattouw discovered the following in the "ptwikt" DB:

select distinct cl_from from categorylinks left join page on page_id=cl_from where page_title is null;

(snip) (see http://dpaste.org/NeJ3/ )

34 rows in set (0.56 sec)

There are 34 non-existing pages with links to categories. One of them is the one mentioned above.
These should be deleted as they point to no page and are causing unwanted categories to appear in Special:WantedCategories.

(Thanks, RoanKattouw!)
Comment 6 Tim Starling 2009-09-07 00:06:45 UTC
Done (for this wiki only).
Comment 7 Malafaya 2009-09-07 08:46:14 UTC
Sorry: not done.

In pt.WIKTionary.org Special:WantedCategories, the categories [[Category:Adjectivo_(Albanês)]] and [[Category:Contracção]] still appear. These were in the situation mentioned in comments #4 and #5.

Unfortunately, there is still no current DB dump at download.wikimedia.org for me to check for these records.
Comment 8 Roan Kattouw 2009-09-07 09:43:19 UTC
(In reply to comment #7)
> Sorry: not done.
> 
> In pt.WIKTionary.org Special:WantedCategories, the categories
> [[Category:Adjectivo_(Albanês)]] and [[Category:Contracção]] still appear.
> These were in the situation mentioned in comments #4 and #5.
> 
> Unfortunately, there is still no current DB dump at download.wikimedia.org for
> me to check for these records.
> 

I can confirm this on the toolserver: the query cited at http://dpaste.org/NeJ3/ still shows the exact same ghost entries.
Comment 9 Andrew Garrett 2009-09-07 19:01:35 UTC
Checked, found no entries.

[andrew@zwinger ~]$ sql ptwiki
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1237837812 to server version: 4.0.40-wikimedia-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select distinct cl_from from categorylinks left join page on page_id=cl_from
    -> where page_title is null;
Empty set (9.57 sec)
Comment 10 Roan Kattouw 2009-09-07 19:05:17 UTC
(In reply to comment #9)
> Checked, found no entries.
> 
> [andrew@zwinger ~]$ sql ptwiki
The bug is filed against the Portugese *Wiktionary* (ptwiktionary), not Portugese *Wikipedia* (ptwiki).
Comment 11 Andrew Garrett 2009-09-07 19:09:31 UTC
Good catch, fixed.
Comment 12 Malafaya 2009-09-07 20:30:56 UTC
Thank you, werdna!

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


Navigation
Links