mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-23 23:44:17 +00:00
2768a70218
* The linter migrate code for linter_tag field and linter_template field are constrained by the database schema to 32 characters for the tag field and 255 characters for the template field. In some anomalous circumstances parsoid can report tag and or template fields in the linter_params object that exceed those character limits. This code truncates these excessively long strings to protect the database migrate update code from a length exceeded error. Bug: T329113 Change-Id: I8af7c44759f172eae77d3519a6eac47110e9b1e7 |
||
---|---|---|
.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.