Page MenuHomePhabricator

Add native support for "Template documentation:" namespace
Open, LowPublic


The current system of template documentation is ubiquitous and also unwieldy: noincludes around a {{Documentation}}, which transcludes a /doc or /documentation subpage. Categorization is also awkward, necessitating further manipulation of include rules. For such a widespread feature, a more eloquent, native solution would be very desirable.

Create a new "Template documentation:" namespace and display its content on the template page, similar to how existing {{Documentation}} templates do so, but without necessity of trickery with include rules.

Intelligently manage categories and interwikis with the new namespace. Adding categories and interwikis to the documentation page will affect the original template page, without transcluding into pages which use the template, and again without trickery of include rules.

Version: 1.22.0
Severity: enhancement