Topic on Project:Support desk

Category Sorting after update

7
Francishunger (talkcontribs)

After updating from MW16.5 to MW17 it seems that the sorting in category pages is broken. There is one article that sorts under A, because I have edited and saved that article. All other untouched articles are not sorted on that category page, but appear under "D". Any suggestions?

I already have run maintenance/populateCategory.php and /maintenance/RefreshLinks.php without success. Is there maybe any extension, that would touch or save each article that exists in the wiki?

Thanks a lot in advance

Francishunger (talkcontribs)

Well, a rather unorthodox solution to a rather individual problem: I installed the Replace Text extension and replaced in each article a space with a space. That process touches all articles with a minor edit and thus sorts them under their categories alphabetically as needed.

Varnent (talkcontribs)

Clever solution to what I'll admit is an unusual problem. I had been scratching my head at this one. Glad you were able to sort it out!  :)

Bawolff (talkcontribs)

For reference, it sounds kind of like you needed to run updateCollation.php, possibly with the --force option. (This should have automatically been run during update.php though).

Although D is a kind of weird letter for it to all sort under... so maybe something else was going on.

Francishunger (talkcontribs)

Thanks Bawolff for the reply. Next time ... ;)

Subfader (talkcontribs)

Same problem here. [edited]

Subfader (talkcontribs)

Ok, I thought I could fix this meanwhile, but luck. I update dfrom 1.16 to 1.22.12 and the sorting is wrong as new pages sort before or inbetween the old ones. The problem is I have 200k affected content pages. updateCollation.php and refreshLinks.php (forced) didn't help. I cannot let ReplaceText run over these at once since they are too many to preview. I could use offset inside the extension on each chunk but still... The extension breaks on ~ 750 preview items with "You must select at least one namespace".

Isn't there a proper solution? :(

Reply to "Category Sorting after update"