Extension testbot settings

From MediaWiki extension testing
Jump to: navigation, search

Contents

Bot settings.py

The bot may be configurated in settings.py

Tests_per_page

Default : tests_per_page=1

Default there can be only one testset on a Wikipage. This makes the test atomic. The test on that Wikipage is succesfull or not. If multiple testset would be on a Wikipage this is not possible anymore. But if this variable is altered in "0" multiple testset can be on one Wikipage.

Category name

Default : category_name="Automated tests"

Multiple test can be executed in one run of the testbot. All pages who's containing this category will be excuted for testing.

Trim spaces in elements

Default : strip_whitespace=True

Trim spaces in elements. !DIRTY! Certain people introduce spurious whitespace, even in CDATA. ARGH! If you cannot smite such infidels, turn on this tag instead to strip their whitespace. Of course, now we aren't parsing XML correctly. %-/ set to False for proper behaviour. (And then everything else breaks. Damned if you do, damned if you don't)

General settings

Wikibox Blue, the specific wiki from Wikiation, needs some settings to run a bot on it : Bot settings general for wikibox blue

Personal tools
Namespaces
Variants
Actions
navigation
Toolbox