Index: trunk/phase3/includes/specials/SpecialMostlinkedtemplates.php |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | /** |
18 | 18 | * Name of the report |
19 | 19 | * |
20 | | - * @return string |
| 20 | + * @return String |
21 | 21 | */ |
22 | 22 | public function getName() { |
23 | 23 | return 'Mostlinkedtemplates'; |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | /** |
27 | 27 | * Is this report expensive, i.e should it be cached? |
28 | 28 | * |
29 | | - * @return bool |
| 29 | + * @return Boolean |
30 | 30 | */ |
31 | 31 | public function isExpensive() { |
32 | 32 | return true; |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | /** |
36 | 36 | * Is there a feed available? |
37 | 37 | * |
38 | | - * @return bool |
| 38 | + * @return Boolean |
39 | 39 | */ |
40 | 40 | public function isSyndicated() { |
41 | 41 | return false; |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | /** |
45 | 45 | * Sort the results in descending order? |
46 | 46 | * |
47 | | - * @return bool |
| 47 | + * @return Boolean |
48 | 48 | */ |
49 | 49 | public function sortDescending() { |
50 | 50 | return true; |
— | — | @@ -52,7 +52,7 @@ |
53 | 53 | /** |
54 | 54 | * Generate SQL for the report |
55 | 55 | * |
56 | | - * @return string |
| 56 | + * @return String |
57 | 57 | */ |
58 | 58 | public function getSql() { |
59 | 59 | $dbr = wfGetDB( DB_SLAVE ); |
— | — | @@ -70,8 +70,8 @@ |
71 | 71 | /** |
72 | 72 | * Pre-cache page existence to speed up link generation |
73 | 73 | * |
74 | | - * @param Database $dbr Database connection |
75 | | - * @param int $res Result pointer |
| 74 | + * @param $db Database connection |
| 75 | + * @param $res ResultWrapper |
76 | 76 | */ |
77 | 77 | public function preprocessResults( $db, $res ) { |
78 | 78 | $batch = new LinkBatch(); |
— | — | @@ -86,9 +86,9 @@ |
87 | 87 | /** |
88 | 88 | * Format a result row |
89 | 89 | * |
90 | | - * @param Skin $skin Skin to use for UI elements |
91 | | - * @param object $result Result row |
92 | | - * @return string |
| 90 | + * @param $skin Skin to use for UI elements |
| 91 | + * @param $result Result row |
| 92 | + * @return String |
93 | 93 | */ |
94 | 94 | public function formatResult( $skin, $result ) { |
95 | 95 | $title = Title::makeTitleSafe( $result->namespace, $result->title ); |
— | — | @@ -102,10 +102,10 @@ |
103 | 103 | /** |
104 | 104 | * Make a "what links here" link for a given title |
105 | 105 | * |
106 | | - * @param Title $title Title to make the link for |
107 | | - * @param Skin $skin Skin to use |
108 | | - * @param object $result Result row |
109 | | - * @return string |
| 106 | + * @param $title Title to make the link for |
| 107 | + * @param $skin Skin to use |
| 108 | + * @param $result Result row |
| 109 | + * @return String |
110 | 110 | */ |
111 | 111 | private function makeWlhLink( $title, $skin, $result ) { |
112 | 112 | global $wgLang; |
— | — | @@ -119,7 +119,7 @@ |
120 | 120 | /** |
121 | 121 | * Execution function |
122 | 122 | * |
123 | | - * @param mixed $par Parameters passed to the page |
| 123 | + * @param $par Mixed: parameters passed to the page |
124 | 124 | */ |
125 | 125 | function wfSpecialMostlinkedtemplates( $par = false ) { |
126 | 126 | list( $limit, $offset ) = wfCheckLimits(); |
Index: trunk/phase3/includes/specials/SpecialUncategorizedtemplates.php |
— | — | @@ -23,8 +23,6 @@ |
24 | 24 | |
25 | 25 | /** |
26 | 26 | * Main execution point |
27 | | - * |
28 | | - * @param mixed $par Parameter passed to the page |
29 | 27 | */ |
30 | 28 | function wfSpecialUncategorizedtemplates() { |
31 | 29 | list( $limit, $offset ) = wfCheckLimits(); |
Index: trunk/phase3/includes/specials/SpecialMostlinked.php |
— | — | @@ -70,8 +70,9 @@ |
71 | 71 | * Make a link to "what links here" for the specified title |
72 | 72 | * |
73 | 73 | * @param $title Title being queried |
| 74 | + * @param $caption String: text to display on the link |
74 | 75 | * @param $skin Skin to use |
75 | | - * @return string |
| 76 | + * @return String |
76 | 77 | */ |
77 | 78 | function makeWlhLink( &$title, $caption, &$skin ) { |
78 | 79 | $wlh = SpecialPage::getTitleFor( 'Whatlinkshere', $title->getPrefixedDBkey() ); |