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

--- Comment #16 from Dan Barrett <[email protected]> ---
All I'm saying is that it would be great for pywikipedia to have a test that
went like this:

Input: A wiki page Foo that transludes template T, where template T contains
"[[Category:A]]".

Run: "category.py move -from:A -to:B"

Expected result: Page Foo contains no category tags, and template T contains
"[[Category:B]]"

Wrong result (regression): Page Foo contains "[[Category:B]]".

Doesn't matter to me whether this runs through the API or directly against a
MediaWiki database. I'll bet this could be done using the MediaWiki unit test
framework, having it "category.py" by shell escape and then check the contents
of page Foo and template T.

-- 
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