Page MenuHomeMiraheze

Module /doc subpages not using wikitext as page content model
Closed, ResolvedPublic


The Scribunto Lua reference manual states that /doc subpages in the Module namespace have their page content models set to wikitext and not Scribunto, so they do not accept Lua code by default, and the standard wikitext editor loads rather than the code editor.

For some reason, I believe after the MediaWiki 1.33 upgrade, whenever I attempt to create a /doc subpage in the Module namespace, the content model is set to Scribunto and the code editor loads. Normal expected behaviour is that the subpage would be in wikitext and the standard wikitext editor loads when creating the page. Now, I need to create the /doc subpage empty and change the content model back to wikitext before I can continue creating the /doc page.

This appears to be affecting all wikis. An example here: (you'll notice that the code editor rather than the wikitext editor loads).

Event Timeline

K6ka created this task.Sep 6 2019, 12:40
RhinosF1 triaged this task as Normal priority.Sep 6 2019, 14:11
RhinosF1 added a project: Extensions.

Reproduced on metawiki and testwiki - can not reproduce on though. Still trying to work out the difference

@K6ka Do you still have this issue after the most recent MediaWiki update?

K6ka added a comment.Dec 31 2019, 15:53

The issue still appears for me. The code editor is still loading when trying to create a new /doc subpage.