Page MenuHomePhabricator

Scribunto should set CONTENT_MODEL_LUA
Closed, DeclinedPublic

Description

Scribunto predates the content model work I guess, and thus is still a wikitext page, instead of using it's own content model id.


Version: master
Severity: normal

Details

Reference
bz59160

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:39 AM
bzimport added a project: Scribunto.
bzimport set Reference to bz59160.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #2)

For humans:

Ha! ;)

https://en.wikipedia.org/w/index.php?title=Module:Bananas&action=info ;)

I forgot that was on there.

Setting CONTENT_MODEL_SCRIBUNTO is probably a poor idea in the long term, since Scribunto is explicitly (though perhaps rather theoretically) intended to eventually support multiple languages, and just happens to only do Lua so far. We need a way to be more specific with CONTENT_MODEL_LUA, I would think. PS: The rest of these things appear to be all-caps (CONTENT_MODEL_CSS, etc.); I'm not sure if "Scribunto" and "SCRIBUNTO" would be treated as equivalent in the contexts for this.