Page MenuHomePhabricator

Special:Version should only report Parser items if modified
Closed, DeclinedPublic

Description

In a vanilla wiki's LocalSettings.php, put

$wgExtensionFunctions[]='z'; function z(){}

and all the sudden Special:Version has all this added:

Installed extensions

Extension functions

z

Parser extension tags

<pre>

Parser function hooks

anchorencode, basepagename, basepagenamee, defaultsort, displaytitle, filepath,
formatdate, formatnum, fullpagename, fullpagenamee, fullurl, fullurle, gender,
grammar, int, language, lc, lcfirst, localurl, localurle, namespace,
namespacee, ns, numberingroup, numberofactiveusers, numberofadmins,
numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers,
numberofviews, padleft, padright, pagename, pagenamee, pagesincategory,
pagesize, plural, protectionlevel, special, subjectpagename, subjectpagenamee,
subjectspace, subjectspacee, subpagename, subpagenamee, tag, talkpagename,
talkpagenamee, talkspace, talkspacee, uc, ucfirst and urlencode

The Parser extension tags and Parser function hooks were _not_ modified
by the administrator. Please only print out items modified by the
administrator.


Version: 1.16.x
Severity: enhancement
URL: http://abj.jidanni.org/index.php?title=Special:Version

Details

Reference
bz18075

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:32 PM
bzimport set Reference to bz18075.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

Please only print out items modified by the administrator.

Why? The special page is intended to show all existing functions/tags/hooks independent from the source (core, extension, administrator). Closing as WONTFIX.

Fine. I'll just stick to a few $wgHooks and thus "avoid the [[noid]]".