https://bugzilla.wikimedia.org/show_bug.cgi?id=58084

--- Comment #17 from Ricordisamoa <[email protected]> ---
(In reply to Dan Barrett from comment #11)
> Out of curiosity... does this bug have unit tests to make sure it doesn't
> recur?
> 
> I've encountered this bug four separate times in the past ~6 years. It seems
> to be a common regression.

Most textlib functions are already covered by tests and are very unlikely to
cause regressions.

(In reply to Denniss from comment #12)
> Commons user BjørnN mentioned further issues, performing a category page
> move if the target cat does not exist. Is this intended behaviour?

For other issues:
https://bugzilla.wikimedia.org/buglist.cgi?component=category.py&list_id=340980&product=Pywikibot&resolution=---

(In reply to Dan Barrett from comment #14)
> Fabian: Are you saying that pywikipedia is not unit-tested against a
> baseline MediaWiki database? (I had assumed it was.)
> 
> I know it's a lot of work to set up, but IMHO database-backed unit tests are
> really worthwhile for program correctness and avoiding regressions. (My team
> uses MediaWiki's own PHP-based testing harness all the time to make sure our
> wiki extensions work when they modify wiki pages.)

This is definitely out of the scope of this bug and should be discussed on
Pywikibot-l first.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to