Page MenuHomePhabricator

Disable TwoColConflict on code pages (Lua etc.)
Closed, ResolvedPublic

Description

As investigated in T251898: Validate TwoColConflict interface on Lua and JavaScript pages.

As described in T251898 the suggestion is to disable TwoColConflict on all pages where the content model (should be preferred over content format) is not CONTENT_MODEL_WIKITEXT or CONTENT_MODEL_TEXT. This should have the same effect as excluding pages by file name extension or namespace.

There are some .json pages on Commons, e.g. https://commons.wikimedia.org/wiki/Data:I18n/EditAt.tab. Since JSON is effectively a subset of JavaScript, the two should behave the same.

Event Timeline

Tobi_WMDE_SW subscribed.

The decision was made a while ago that we can disable TwoColConflict on code pages.

Change 953243 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/TwoColConflict@master] Disable TwoColConflict on code pages, except wikitext/text

https://gerrit.wikimedia.org/r/953243

Change 953243 merged by jenkins-bot:

[mediawiki/extensions/TwoColConflict@master] Disable TwoColConflict on code pages, except wikitext/text

https://gerrit.wikimedia.org/r/953243