Page MenuHomePhabricator

SpecialTranslatorSignup::getOtherWikis() returns closed, private and fishbowl wikis
Closed, ResolvedPublic

Description

getOtherWikis() seems to be intended to return all.dblist minus the closed, private and fishbowl dblist files. In the current implementation however it seems to always return the entire all.dblist due at least in part to some small programming errors.

  • $wgDBname is used inside the loop instead of $dbname
  • SiteMatrix::isPrivate() and SiteMatrix::isFishbowl() expect to be called with a database name rather than a site & language pair

Version: unspecified
Severity: normal

Details

Reference
bz58414

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:18 AM
bzimport set Reference to bz58414.
bzimport added a subscriber: Unknown Object (MLST).

Change 101128 had a related patch set uploaded by BryanDavis:
Fix SpecialTranslatorSignup::getOtherWikis()

https://gerrit.wikimedia.org/r/101128

Change 101128 merged by jenkins-bot:
Fix SpecialTranslatorSignup::getOtherWikis()

https://gerrit.wikimedia.org/r/101128