mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-11 16:59:40 +00:00
0ba87557d5
Use the methods provided by MediaWikiIntegrationTestCase to more simply create an existing test page. The manual user creation could be replaced by getTestUser, but it turns out these tests don't really need a specific account, so we can let IntegrationTestCase use whatever account it wants to use. Also remove @var annotations that can easily be inferred by the doc comment on the relevant methods. Change-Id: I8bfd0799b79721c7c9de0d2a10a97c498d192a15 |
||
---|---|---|
.phan | ||
i18n | ||
includes | ||
maintenance | ||
modules | ||
sql | ||
tests/phpunit | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
Linter.alias.php | ||
package-lock.json | ||
package.json | ||
README |
Extension to help lint wiki pages. Currently designed to take advantage of Parsoid's linter, could also be extended to linting JS or CSS in the future.