"Krinkle" posted a comment on MediaWiki.r114096.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/114096#c32350

Commit summary for MediaWiki.r114096:

Removed redundant , moved up $wgExtensionCredits and gave descriptions for 
classes, internationlization and default values

Krinkle's comment:

I agree with MaxSem. MediaWiki expects the extension to be included in the 
global scope, not in a limited local scope. This behavior is not supported.

Why are you loading an extension from a function? Do as you like, but I don't 
think it will work in the long term. You could try working around it by playing 
with <code>extract( $GLOBALS, EXTR_REFS );</code> or something like that. 

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to