Page MenuHomePhabricator

AWB: Category namespace problem on non-en wikis
Closed, ResolvedPublic

Description

Currently, AWB moves stub templates below categories on Egyptian Arabic (arz) Wikipedia. It shouldn't. Correct ordering is: Article text then stub templates then categories.

Examples:

Event Timeline

Meno25 raised the priority of this task from to Needs Triage.
Meno25 updated the task description. (Show Details)
Meno25 added a project: AutoWikiBrowser.
Meno25 subscribed.

DynamicRegexTexts lie ~598

RegexAssert.IsMatch(WikiRegexes.Stub, @"{{تقاوى}}");

passes

and sort for arz.wp is

articleText += personData + strStub + categories;

hm...

the problem is that

[[تصنيف:لبنان]]

is not recognised as category...

Check this for proof that categories are put under stub templates: https://arz.wikipedia.org/w/index.php?title=%D8%B3%D9%86_%D8%A7%D9%84%D9%81%D9%8A%D9%84&diff=637948&oldid=637947

This is a global problem. And has happened again.

rev 11250 does not have this bug.

Magioladitis renamed this task from AWB shouldn't move stub templates below categories on Egyptian Arabic (arz) Wikipedia to AWB: Category namespace problem on non-en wikis.Jul 1 2015, 4:43 PM

I've disabled the site caching in 11286, it's too naive; it's expecting all sites to have the same site info, which they blatantly don't.

Caching it is a good idea, but we need to vary on language code, site code, a mix of the 2, or something to do with the URL