mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-24 15:33:42 +00:00
Fix compat with PHP 5.3: third parameter is passed by value and not by ref (was throwing E_WARNING)
This commit is contained in:
parent
021c6c122e
commit
dfa01adeb9
|
@ -41,7 +41,7 @@ $wgAutoloadClasses['SpecialGadgets'] = $dir . 'SpecialGadgets.php';
|
|||
$wgSpecialPages['Gadgets'] = 'SpecialGadgets';
|
||||
$wgSpecialPageGroups['Gadgets'] = 'wiki';
|
||||
|
||||
function wfGadgetsArticleSaveComplete( &$article, &$wgUser, &$text ) {
|
||||
function wfGadgetsArticleSaveComplete( &$article, &$wgUser, $text ) {
|
||||
//update cache if MediaWiki:Gadgets-definition was edited
|
||||
$title = $article->mTitle;
|
||||
if( $title->getNamespace() == NS_MEDIAWIKI && $title->getText() == 'Gadgets-definition' ) {
|
||||
|
|
Loading…
Reference in a new issue