[21:01:27] Is /doc a hack only for template NS? Or does it work with json pages? [21:22:12] Reedy: It works through a template that transcludes {{/doc}}, so it'll work wherever the hack template is put. [21:22:31] Reedy: But that means it won't work with non-wikitext content pages, like JSON or Modules. [21:22:51] (This is why I've got a vague plan to use MCR to have the concept of a documentation slot.) [21:23:23] It works for Module... https://en.wikipedia.org/wiki/Module:Array_length :P [21:23:49] I'm guessing that's a scribunto hack [21:23:54] Oh, hmm, clearly Scrib... yes. [21:24:09] I don't touch Modules (Lua, eurgh) so didn't look too closely. [21:24:20] heh [21:24:31] "why didn't we use yaml?" [22:22:21] Reedy: Scribunto changes all NS_MODULE pages to be ScribuntoContent unless they have a (localizable) /doc suffix