r84367 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84366‎ | r84367 | r84368 >
Date:01:15, 20 March 2011
Author:reedy
Status:ok
Tags:
Comment:
Add isSpecial method. Likely to be used for bug 16288
Modified paths:
  • /trunk/extensions/SiteMatrix/SiteMatrix_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SiteMatrix/SiteMatrix_body.php
@@ -207,6 +207,14 @@
208208 }
209209
210210 /**
 211+ * @param string $dbname DatabaseName
 212+ * @return bool
 213+ */
 214+ public function isSpecial( $dbname ) {
 215+ return in_array( $dbname, $this->specials );
 216+ }
 217+
 218+ /**
211219 * Pull a list of dbnames from a given text file, or pass through an array.
212220 * Used for the DB list configuration settings.
213221 *

Follow-up revisions

RevisionCommit summaryAuthorDate
r84380Addition of 'APIQuerySiteInfoGeneralInfo' hook for usage in bug 16288 "API: c...reedy13:31, 20 March 2011
r84381* (bug 16288) API: consider making closure status of wikis more clear with me...reedy13:41, 20 March 2011

Status & tagging log