Page MenuHomePhabricator

Outputting "Closure" under extension functions on Special:Version is useless
Open, LowPublic

Description

Extension functions
EchoHooks::initEchoExtension, EventLoggingHooks::onSetup, JsonSchemaHooks::registerHandlers, MathHooks::setup, WikimediaShopLinkHooks::geoSetup, confirmEditSetup, efCategoryTree, efCentralNoticeSetup, efLoadFlaggedRevs, efLucenePrefixSetup, efMobileFrontend_Setup, efRaiseAccountCreationThrottle, efTitleKeySetup, setupInterwikiExtension, wfACLBlocks, wfLiquidThreadsSetupEcho, wfLogXFF, wfSetupWikimediaMessages, (Closure) and (Closure)

(Closure and Closure) is a bit useless

var_dump( $wgExtensionFunctions );

array(20) {

[0]=>
string(17) "efLoadFlaggedRevs"
[1]=>
string(14) "efCategoryTree"
[2]=>
string(19) "efLucenePrefixSetup"
[3]=>
string(15) "efTitleKeySetup"
[4]=>
string(8) "wfLogXFF"
[5]=>
string(11) "wfACLBlocks"
[6]=>
string(16) "confirmEditSetup"
[7]=>
string(20) "efCentralNoticeSetup"
[8]=>
string(24) "wfSetupWikimediaMessages"
[9]=>
string(30) "efRaiseAccountCreationThrottle"
[10]=>
string(24) "wfLiquidThreadsSetupEcho"
[11]=>
string(22) "efMobileFrontend_Setup"
[12]=>
string(16) "MathHooks::setup"
[13]=>
string(23) "setupInterwikiExtension"
[14]=>
string(32) "WikimediaShopLinkHooks::geoSetup"
[15]=>
object(Closure)#6 (0) {
}
[16]=>
string(28) "EchoHooks::initEchoExtension"
[17]=>
string(26) "EventLoggingHooks::onSetup"
[18]=>
string(33) "JsonSchemaHooks::registerHandlers"
[19]=>
object(Closure)#9 (0) {
}

}


Version: unspecified
Severity: minor

Details

Reference
bz45166

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:39 AM
bzimport set Reference to bz45166.
bzimport added a subscriber: Unknown Object (MLST).

So since bug 45169 got -2'd by Jeroen De Dauw, I guess we could do something like this instead, but it seems like a waste of time: http://pastebin.com/BeJq2mu1

It seems Jeroen De Dauw also reversed the change in Wikibase - bug 45167