Steps to reproduce:
- check out Extension:GlobalUsage
- add require call to LocalSettings.pgp
- run update.php
- run php extensions/GlobalUsage/refreshGlobalimagelinks.php
Querying links after (page_id, il_to) = (0, )
PHP Notice: DatabaseBase::commit: No transaction to commit, something got out of sync! [Called from DatabaseBase::commit in /vagrant/mediawiki/includes/db/Database.php at line 3464] in /vagrant/mediawiki/includes/debug/Debug.php on line 303
PHP Stack trace:
PHP 1. {main}() /vagrant/mediawiki/extensions/GlobalUsage/refreshGlobalimagelinks.php:0
PHP 2. require_once() /vagrant/mediawiki/extensions/GlobalUsage/refreshGlobalimagelinks.php:107
PHP 3. RefreshGlobalImageLinks->execute() /vagrant/mediawiki/maintenance/doMaintenance.php:109
PHP 4. DatabaseBase->commit() /vagrant/mediawiki/extensions/GlobalUsage/refreshGlobalimagelinks.php:99
PHP 5. wfWarn() /vagrant/mediawiki/includes/db/Database.php:3464
PHP 6. MWDebug::warning() /vagrant/mediawiki/includes/GlobalFunctions.php:1144
PHP 7. MWDebug::sendMessage() /vagrant/mediawiki/includes/debug/Debug.php:157
PHP 8. trigger_error() /vagrant/mediawiki/includes/debug/Debug.php:303
The link refresh is successful though, as far as I can tell.
Version: unspecified
Severity: normal