Module talk:documentation

Duplicated functionality
Hi. How come we have both Module:documentation and Module:module categorization? It seems really ugly to have two modules doing similar things. Benwing2 (talk) 03:32, 27 July 2021 (UTC)
 * Well, I probably didn't understand Module:documentation enough at the time, and thought it would be odd to make that the home of a module categorization function. We could merge Module:module categorization into this, but we would still need because this module doesn't automatically categorize when the documentation page exists. Or perhaps we could remove the need for  by making this module always automatically categorize, but there might be a few pages in the wrong categories because the automatic categorization was designed under the assumption that it doesn't run on modules with documentation pages. It could be tested by gathering all module documentation pages, expanding the contents of MediaWiki:Scribunto-doc-page-show with the ExpandTemplates API with the title set to their corresponding module page using the old and new versions of Module:documentation, and checking for any undesired new categories. — Eru·tuon 05:18, 27 July 2021 (UTC)
 * I think the right thing to do is keep and require that modules with documentation place it at the bottom of the page to get automatic categorization, but merge Module:module categorization into this module. That way, module documentation pages can override the default automatic categorization but can still request it easily. Benwing2 (talk) 06:06, 27 July 2021 (UTC)
 * Yeah, that would be fine by me. I'm not set in my old opinions. — Eru·tuon 19:23, 27 July 2021 (UTC)