mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-23 23:44:17 +00:00
c04b075858
Instead, pass the page id when using methods for a page. The change avoids constructing Database a dummy page id when those methods aren't going to be used. getFromId doesn't seem like it needs a page id, since the linter id is the primary key. Also, a namespace id should no longer optional to setForPage. The LinterWriteNamespaceColumnStage option already gates whether to include it in the row. Follows-Up: I9fd6e7724dcf33be0b1feb19ec8eb448738cab09 Change-Id: Ib3d3622144b670ebe1a4ce04e6db6811584d42c8 |
||
---|---|---|
.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.