Constants, like {{SITENAME}}, most functions, like {{plural|...}}, some transclusions, and all templates are expanded, and html comments removed, before
Special:Allmessages&ot=php
Special:Allmessages&ot=xml
output is generated. Rather than including these expanded, users would usually expect to receive a souce format truly suited for further processing, i.e. with unaltered original message texts.
While there may be uses for the current behaviour, likely more often one rather wants not to have it.
I suggest to:
- in any case provide php code which can be copied to a server and used without loss of information, i.e. all of the above unexpanded.
- maybe add an option "expand constants, functions, transclusions, templates, remove html comments" (or have them checkboxed individually, whatever);
best to all of the php, html, and xml output formats.
- I for one would not mind having standardized comments included in the php output, as are in the output of the rebuildLanguage.php maintenance script.
- if that can be easily had, I'd suggest to allow a selection of source file order, and alphabetic order, at least for the php, preferrably everywhere.
Version: 1.11.x
Severity: enhancement
URL: http://ksh.wikipedia.org/w/index.php?title=Special:Allmessages&ot=php