Index: trunk/phase3/includes/api/ApiQueryRecentChanges.php |
— | — | @@ -91,7 +91,7 @@ |
92 | 92 | |
93 | 93 | /** |
94 | 94 | * Sets internal state to include the desired properties in the output. |
95 | | - * @param $prop associative array of properties, only keys are used here |
| 95 | + * @param $prop Array associative array of properties, only keys are used here |
96 | 96 | */ |
97 | 97 | public function initProperties( $prop ) { |
98 | 98 | $this->fld_comment = isset( $prop['comment'] ); |
Index: trunk/phase3/includes/api/ApiParse.php |
— | — | @@ -34,6 +34,8 @@ |
35 | 35 | */ |
36 | 36 | class ApiParse extends ApiBase { |
37 | 37 | |
| 38 | + private $section; |
| 39 | + |
38 | 40 | public function __construct( $main, $action ) { |
39 | 41 | parent::__construct( $main, $action ); |
40 | 42 | } |
Index: trunk/phase3/includes/api/ApiDelete.php |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
34 | | - * API module that facilitates deleting pages. The API eqivalent of action=delete. |
| 34 | + * API module that facilitates deleting pages. The API equivalent of action=delete. |
35 | 35 | * Requires API write mode to be enabled. |
36 | 36 | * |
37 | 37 | * @ingroup API |
Index: trunk/phase3/includes/api/ApiQuery.php |
— | — | @@ -301,9 +301,9 @@ |
302 | 302 | |
303 | 303 | /** |
304 | 304 | * Create instances of all modules requested by the client |
305 | | - * @param $modules array to append instatiated modules to |
| 305 | + * @param $modules Array to append instantiated modules to |
306 | 306 | * @param $param string Parameter name to read modules from |
307 | | - * @param $moduleList array(modulename => classname) |
| 307 | + * @param $moduleList Array array(modulename => classname) |
308 | 308 | */ |
309 | 309 | private function instantiateModules( &$modules, $param, $moduleList ) { |
310 | 310 | $list = @$this->params[$param]; |
— | — | @@ -576,15 +576,15 @@ |
577 | 577 | $this->mPageSet = null; |
578 | 578 | $this->mAllowedGenerators = array(); // Will be repopulated |
579 | 579 | |
580 | | - $astriks = str_repeat( '--- ', 8 ); |
581 | | - $astriks2 = str_repeat( '*** ', 10 ); |
582 | | - $msg .= "\n$astriks Query: Prop $astriks\n\n"; |
| 580 | + $asterisk = str_repeat( '--- ', 8 ); |
| 581 | + $asterisk2 = str_repeat( '*** ', 10 ); |
| 582 | + $msg .= "\n$asterisk Query: Prop $asterisk\n\n"; |
583 | 583 | $msg .= $this->makeHelpMsgHelper( $this->mQueryPropModules, 'prop' ); |
584 | | - $msg .= "\n$astriks Query: List $astriks\n\n"; |
| 584 | + $msg .= "\n$asterisk Query: List $asterisk\n\n"; |
585 | 585 | $msg .= $this->makeHelpMsgHelper( $this->mQueryListModules, 'list' ); |
586 | | - $msg .= "\n$astriks Query: Meta $astriks\n\n"; |
| 586 | + $msg .= "\n$asterisk Query: Meta $asterisk\n\n"; |
587 | 587 | $msg .= $this->makeHelpMsgHelper( $this->mQueryMetaModules, 'meta' ); |
588 | | - $msg .= "\n\n$astriks2 Modules: continuation $astriks2\n\n"; |
| 588 | + $msg .= "\n\n$asterisk2 Modules: continuation $asterisk2\n\n"; |
589 | 589 | |
590 | 590 | // Perform the base call last because the $this->mAllowedGenerators |
591 | 591 | // will be updated inside makeHelpMsgHelper() |
— | — | @@ -596,7 +596,7 @@ |
597 | 597 | |
598 | 598 | /** |
599 | 599 | * For all modules in $moduleList, generate help messages and join them together |
600 | | - * @param $moduleList array(modulename => classname) |
| 600 | + * @param $moduleList Array array(modulename => classname) |
601 | 601 | * @param $paramName string Parameter name |
602 | 602 | * @return string |
603 | 603 | */ |
Index: trunk/phase3/includes/api/ApiPageSet.php |
— | — | @@ -347,7 +347,7 @@ |
348 | 348 | /** |
349 | 349 | * Populate this PageSet from a rowset returned from the database |
350 | 350 | * @param $db Database object |
351 | | - * @param $queryResult Query result object |
| 351 | + * @param $queryResult ResultWrapper Query result object |
352 | 352 | */ |
353 | 353 | public function populateFromQueryResult( $db, $queryResult ) { |
354 | 354 | $this->profileIn(); |
— | — | @@ -468,7 +468,7 @@ |
469 | 469 | * Iterate through the result of the query on 'page' table, |
470 | 470 | * and for each row create and store title object and save any extra fields requested. |
471 | 471 | * @param $db Database |
472 | | - * @param $res DB Query result |
| 472 | + * @param $res ResultWrapper DB Query result |
473 | 473 | * @param $remaining array of either pageID or ns/title elements (optional). |
474 | 474 | * If given, any missing items will go to $mMissingPageIDs and $mMissingTitles |
475 | 475 | * @param $processTitles bool Must be provided together with $remaining. |
Index: trunk/phase3/includes/api/ApiQueryRevisions.php |
— | — | @@ -46,6 +46,8 @@ |
47 | 47 | $fld_comment = false, $fld_parsedcomment = false, $fld_user = false, $fld_userid = false, |
48 | 48 | $fld_content = false, $fld_tags = false; |
49 | 49 | |
| 50 | + private $tokenFunctions; |
| 51 | + |
50 | 52 | protected function getTokenFunctions() { |
51 | 53 | // tokenname => function |
52 | 54 | // function prototype is func($pageid, $title, $rev) |
Index: trunk/phase3/includes/api/ApiQueryUserContributions.php |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | parent::__construct( $query, $moduleName, 'uc' ); |
42 | 42 | } |
43 | 43 | |
44 | | - private $params, $prefixMode, $userprefix, $multiUserMode; |
| 44 | + private $params, $prefixMode, $userprefix, $multiUserMode, $usernames; |
45 | 45 | private $fld_ids = false, $fld_title = false, $fld_timestamp = false, |
46 | 46 | $fld_comment = false, $fld_parsedcomment = false, $fld_flags = false, |
47 | 47 | $fld_patrolled = false, $fld_tags = false, $fld_size = false; |
Index: trunk/phase3/includes/Title.php |
— | — | @@ -2740,7 +2740,7 @@ |
2741 | 2741 | /** |
2742 | 2742 | * Get a Title object associated with the talk page of this article |
2743 | 2743 | * |
2744 | | - * @return \type{Title} the object for the talk page |
| 2744 | + * @return Title the object for the talk page |
2745 | 2745 | */ |
2746 | 2746 | public function getTalkPage() { |
2747 | 2747 | return Title::makeTitle( MWNamespace::getTalk( $this->getNamespace() ), $this->getDBkey() ); |
— | — | @@ -2750,7 +2750,7 @@ |
2751 | 2751 | * Get a title object associated with the subject page of this |
2752 | 2752 | * talk page |
2753 | 2753 | * |
2754 | | - * @return \type{Title} the object for the subject page |
| 2754 | + * @return Title the object for the subject page |
2755 | 2755 | */ |
2756 | 2756 | public function getSubjectPage() { |
2757 | 2757 | // Is this the same title? |