Page MenuHomePhabricator

category table is incorrect when update to 1.13 using postgres.
Closed, ResolvedPublic

Description

Author: dir.mw

Description:
I had mediawiki 1.12 with postgres database. When I updated to 1.13, [Especial:Categories|Especial:Categories] page was empty. After, I updated to 1.13.1 and page was also empty.
I was looking database model and I found two tables about category information: '''category''' and '''categorylinks'''. I think that category table must have all category counts by document type, and it is empty.

I ran this script http://www.mediawiki.org/wiki/Project:Support_desk/Sections/System#Special to update table with categorylinks information, but I think it isn't correct.

Is possible that category table should be a view.


Version: 1.13.x
Severity: major

Details

Reference
bz15689

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:20 PM
bzimport set Reference to bz15689.
bzimport added a subscriber: Unknown Object (MLST).

Did you try the script at maintenance/populateCategory.php?

dir.mw wrote:

No, sorry.

I didn't see nothing about this script in update documentation.