Brian Wolff has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/400235 )
Change subject: Fix class name for QueryPages (no behaviour change)
......................................................................
Fix class name for QueryPages (no behaviour change)
347daf20252 added an incorrect namespace name to the
QueryPage class. This did not affect anything, as
the first key of the QueryPage list is totally unused
in modern MediaWiki.
Change-Id: I9f5a7320af4759ddd69bf7181cbe7e7877b13231
---
M includes/GlobalUsageHooks.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GlobalUsage
refs/changes/35/400235/1
diff --git a/includes/GlobalUsageHooks.php b/includes/GlobalUsageHooks.php
index 43eb3d7..006abf8 100644
--- a/includes/GlobalUsageHooks.php
+++ b/includes/GlobalUsageHooks.php
@@ -221,8 +221,8 @@
}
public static function onwgQueryPages( &$queryPages ) {
- $queryPages[] = [ 'GlobalUsage\SpecialMostGloballyLinkedFiles',
'MostGloballyLinkedFiles' ];
- $queryPages[] = [ 'GlobalUsage\SpecialGloballyWantedFiles',
'GloballyWantedFiles' ];
+ $queryPages[] = [ 'SpecialMostGloballyLinkedFiles',
'MostGloballyLinkedFiles' ];
+ $queryPages[] = [ 'SpecialGloballyWantedFiles',
'GloballyWantedFiles' ];
return true;
}
}
--
To view, visit https://gerrit.wikimedia.org/r/400235
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f5a7320af4759ddd69bf7181cbe7e7877b13231
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GlobalUsage
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits