Backport WikiMap/JobQueueGroup logic to handle hyphenated DB names
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 20 Feb 2019 00:26:10 +0000 (16:26 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 1 Mar 2019 20:35:43 +0000 (12:35 -0800)
commita7e147b7ee64830788a67779e2d8137017c0e919
tree098575f79c94fb01eaf8b191537904e9a3e70650
parentb47ae9f94bccb493a73d2731ef33c6a9b79ab92e
Backport WikiMap/JobQueueGroup logic to handle hyphenated DB names

Although the documentation in DefaultSettings.php states that such
cases should be avoided, some common cases and code paths can be
made to work easily enough.

Partially cherry-picked from dcd0a3d5351945dbca3594, and 5196ac32c6.

Bug: T204423
Change-Id: Ia3c5855b18b98d9fc5bc02fe68358cfa52ccbce1
RELEASE-NOTES-1.31
includes/WikiMap.php
includes/jobqueue/JobQueue.php
includes/jobqueue/JobQueueGroup.php