jenkins-bot has submitted this change and it was merged. (
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(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I9f5a7320af4759ddd69bf7181cbe7e7877b13231
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GlobalUsage
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits