Page MenuHomePhabricator

Exclude Scribunto content model pages from Linter
Closed, ResolvedPublicFeature

Description

Unlike CSS, sanitized-CSS, and Javascript page content models (where comments will sometimes have wikitext that is parsed), Scribunto content model pages do not parse pages as wikitext at any point that I know of. That makes the errors in this missing end tag set all false positives (and the revision below is here).

image.png (1,098×301 px, 15 KB)

This content model should be excluded from checking by Linter.

Event Timeline

Alternatively, I see in the log that this was switched to wikitext temporarily, so this may be a case of the DB needing to be cleared or something? It was switched back to Scribunto content model on the same day i.e. this may be T165538: Need a mechanism / process to purge invalid / stale entries from the Linter database or similar?

Arlolra claimed this task.
Arlolra subscribed.

This was resolved with patches like https://gerrit.wikimedia.org/r/c/mediawiki/core/+/809642/ and ParsoidOutputAccess::supportsContentModel