Core's SpecialLog is not @newable, therefore the constructor
may change without notice (which has apparently happened
in 07db710).
Change-Id: I91964bcd787201c89c5eb6f623daba86d8d28d3e
This *should* get Nuke to 100% line coverage now.
Also moves SpecialNukeTest to an integration/ subfolder, and makes
applicable changes, since there's now two integration tests.
Follow-Up: Ic15d4431dc8509ac2732ebce7517522e27d8f5a3
Change-Id: I4355b12647cb1a4cc163467d23166d7fa1aade9e
- Add tests to reach 100% coverage
- Ignore some methods which are simple enough
- Change some tests to fit with the new ones
Change-Id: Ic15d4431dc8509ac2732ebce7517522e27d8f5a3
The search is against the MediaWiki-DB-encoded title (with '_' for space
and initial uppercase letter): these constraints are converted in this
patch to let the user use MediaWiki-displayed titles if they want.
It was taken care about of the configuration-specific case where some
namespaces are first-case-insensitive but other namespaces are first-case-
sensitive, by partitioning the namespace space into to distinct spaces.
Bug: T234726
Co-authored-by: Chlod Alejandro <chlod@chlod.net>
Change-Id: Id83832c256660b691a896113c98641700ed02707
Add a basic unit test for HookRunner to improve coverage and
validate arguments between hook runner and hook interfaces.
Change-Id: I3cb332abf9aefbb1cb435188cbf5938f4bcda0c5