Provides a Special:GlobalUsage page to view global image usage (Homepage)
Details
Mon, Jul 22
Jul 18 2024
In T370378 we're discussing potentially broadening the scope of gil_to to any pages rather than just files, so maybe we could normalize gil_to to a linktarget instead, and solve both this task and that one at the same time.
May 7 2024
Apr 28 2024
Change #1020941 abandoned by Umherirrender:
[mediawiki/extensions/GlobalUsage@wmf/1.43.0-wmf.1] Use IResultWrapper::numRows to check for empty IResultWrapper
Reason:
Not longer needed, 1.43.0-wmf.2 is everywhere
https://gerrit.wikimedia.org/r/1020941
Apr 26 2024
Apr 22 2024
Change #1022614 merged by jenkins-bot:
[mediawiki/extensions/GlobalUsage@master] Migrate to IReadableDatabase::newSelectQueryBuilder
https://gerrit.wikimedia.org/r/1022614
Apr 21 2024
Change #1022614 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/extensions/GlobalUsage@master] Migrate to IReadableDatabase::newSelectQueryBuilder
https://gerrit.wikimedia.org/r/1022614
Apr 18 2024
Change #1020941 had a related patch set uploaded (by Jforrester; author: Umherirrender):
[mediawiki/extensions/GlobalUsage@wmf/1.43.0-wmf.1] Use IResultWrapper::numRows to check for empty IResultWrapper
https://gerrit.wikimedia.org/r/1020941
Change #1021525 merged by jenkins-bot:
[mediawiki/extensions/GlobalUsage@master] Use IResultWrapper::numRows to check for empty IResultWrapper
https://gerrit.wikimedia.org/r/1021525
When \Wikimedia\Rdbms\IReadableDatabase::select() is typehinted to return \Wikimedia\Rdbms\IResultWrapper phan reports:
PhanRedundantCondition Redundant attempt to cast $res of type \Wikimedia\Rdbms\IResultWrapper to truthy
But without typehint phan is not strict here.
Change #1021525 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/extensions/GlobalUsage@master] Use IResultWrapper::numRows to check for empty IResultWrapper
https://gerrit.wikimedia.org/r/1021525
Actually, it seems the above patch did not fix the issue.
We have also:
Mar 17 2024
Change 1011414 merged by jenkins-bot:
[mediawiki/extensions/GlobalUsage@master] Replace usage of wfGetDB()
https://gerrit.wikimedia.org/r/1011414
Change 1011414 had a related patch set uploaded (by 沈澄心; author: 沈澄心):
[mediawiki/extensions/GlobalUsage@master] Replace usage of wfGetDB()
https://gerrit.wikimedia.org/r/1011414
Feb 15 2024
Oct 26 2023
Changed from "stalled" to "open" since apparently the Wikidata issues mentioned before were resolved.
Oct 12 2023
Sep 30 2023
Change 961899 merged by jenkins-bot:
[mediawiki/extensions/GlobalUsage@master] Use HookHandlers for core hooks
Sep 28 2023
Change 961899 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/extensions/GlobalUsage@master] Use HookHandlers for core hooks
Sep 17 2023
Sep 16 2023
Jul 11 2023
Jun 15 2023
May 21 2023
May 9 2023
Root cause found by @matmarex was that testwiki had a local customization of an i18n message made back in year 2010!
Usage on {{MediaWiki:Wiki-name-$2}}