despens added a comment.
For dispatchChanges.php to work on a Wikibase install, the following conditions have to be met: 1. The local wiki has to be registered in the "sites" table. This can be done by running addSite <https://www.mediawiki.org/wiki/Manual:AddSite.php>, for instance: $ docker exec -ti wikibase php ./maintenance/addSite.php \ --language en \ --filepath 'https://artbase.rhizome.org/w/$1' \ --pagepath 'https://artbase.rhizome.org/wiki/$1' \ --server https://artbase.rhizome.org \ --interwiki-id artbase \ artbase Rhizome Now it should be possible to add local sitelinks within your own wiki. 2. Perhaps during some unlucky previous experiments, the connection to the local wiki is registered wrongly, which might then introduce big delays into dispatching. Truncate the table wb_changes_dispatch in your database for good measure: MySQL [wiki]> truncate wb_changes_dispatch; 3. several scripts have to be run in cronjobs, here is how this looks for us: $ crontab -l # m h dom mon dow command * * * * * docker exec -u www-data wikibase php maintenance/runJobs.php * * * * * docker exec -u www-data wikibase php extensions/Wikibase/repo/maintenance/dispatchChanges.php 3 3 8 * * docker exec -u www-data wikibase php extensions/Wikibase/repo/maintenance/pruneChanges.php TASK DETAIL https://phabricator.wikimedia.org/T277027 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: despens Cc: Addshore, despens, Aklapper, Invadibot, maantietaja, Samantha_Alipio_WMDE, Akuckartz, Jelabra, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Asahiko, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
