r86771 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86770‎ | r86771 | r86772 >
Date:14:16, 23 April 2011
Author:happy-melon
Status:ok
Tags:
Comment:
Document SpecialPageFactory::getAliasList()
Modified paths:
  • /trunk/phase3/includes/SpecialPageFactory.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPageFactory.php
@@ -192,7 +192,12 @@
193193 }
194194
195195 /**
196 - * @return array
 196+ * Initialise and return the list of special page aliases. Returns an object with
 197+ * properties which can be accessed $obj->pagename - each property is an array of
 198+ * aliases; the first in the array is the cannonical alias. All registered special
 199+ * pages are guaranteed to have a property entry, and for that property array to
 200+ * contain at least one entry (English fallbacks will be added if necessary).
 201+ * @return Object
197202 */
198203 static function getAliasList() {
199204 if ( !is_object( self::$mAliases ) ) {

Status & tagging log