Error
Request URL: (Special:MovePage)
Request ID: XNnkVApAICwAAK-hLCQAAAAH
message
Wikimedia\Rdbms\DBQueryError from line 1587 of /srv/mediawiki/php-1.34.0-wmf.4/includes/libs/rdbms/database/Database.php: A database query error has occurred. … Query: UPDATE `page` SET page_namespace = '0',page_title = 'Dymitr_(Bekiaris-Mawrogonatos)' WHERE page_id = '4538506' Function: MovePage::moveToInternal Error: 1062 Duplicate entry '0-Dymitr_(Bekiaris-Mawrogonatos)' for key 'name_title' (10.64.0.110)
trace
… #3 /srv/mediawiki/php-1.34.0-wmf.4/includes/MovePage.php(620): Wikimedia\Rdbms\Database->update(string, array, array, string) #4 /srv/mediawiki/php-1.34.0-wmf.4/includes/MovePage.php(318): MovePage->moveToInternal(User, Title, string, boolean, array) #5 /srv/mediawiki/php-1.34.0-wmf.4/includes/MovePage.php(286): MovePage->moveUnsafe(User, string, boolean, array) #6 /srv/mediawiki/php-1.34.0-wmf.4/includes/specials/SpecialMovepage.php(597): MovePage->moveIfAllowed(User, string, boolean) #7 /srv/mediawiki/php-1.34.0-wmf.4/includes/specials/SpecialMovepage.php(128): MovePageForm->doSubmit() #8 /srv/mediawiki/php-1.34.0-wmf.4/includes/specialpage/SpecialPage.php(569): MovePageForm->execute(NULL) #9 /srv/mediawiki/php-1.34.0-wmf.4/includes/specialpage/SpecialPageFactory.php(575): SpecialPage->run(NULL) #10 /srv/mediawiki/php-1.34.0-wmf.4/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext) #11 /srv/mediawiki/php-1.34.0-wmf.4/includes/MediaWiki.php(865): MediaWiki->performRequest() #12 /srv/mediawiki/php-1.34.0-wmf.4/includes/MediaWiki.php(515): MediaWiki->main() #13 /srv/mediawiki/php-1.34.0-wmf.4/index.php
Impact
User are trying to move a page or change its title, and some of the time, this action is failing.
They are shown a generic "Internal error" page with no further information about what is wrong or what to do.
Notes
This exact trace was from user web request, and seen at least 6 different times in Logstash (past few weeks). Affects en.wikipedia.org, commons.wikimedia.org, pl.wikipedia.org, and ru.wikipedia.org, and possibly others.
The following two are found from the same code path and significantly more prominent, from job runners and api requests.