Page MenuHomePhabricator

Support {{void}} as a magic word (currently {{void}} template to include empty strings into pages)
Open, LowPublic


Currently, some wikis use {{void}} as a Template to include empty strings into pages.

This template has several uses (some of them described at [[:pt:Template:Void]]), but especially, they can be used to produce some special behavior on pages intended to be transcluded/substituted.

I know there are other ways to get empty string from templates (like {{ns:0}}), but I think it is important to have a safer method, that does not depends on previous configuration or tweaks.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:50 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz72775.
bzimport added a subscriber: Unknown Object (MLST).
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 23 2015, 2:27 PM

I think {{ns:0}} is good enough.