Index: trunk/phase3/includes/specials/SpecialProtectedtitles.php |
— | — | @@ -85,10 +85,11 @@ |
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | | - * @param $namespace int |
| 89 | + * @param $namespace Integer: |
90 | 90 | * @param $type string |
91 | 91 | * @param $level string |
92 | | - * @param $minsize int |
| 92 | + * @param $sizetype Unused |
| 93 | + * @param $size Unused |
93 | 94 | * @private |
94 | 95 | */ |
95 | 96 | function showOptions( $namespace, $type='edit', $level, $sizetype, $size ) { |
— | — | @@ -110,7 +111,7 @@ |
111 | 112 | * Prepare the namespace filter drop-down; standard namespace |
112 | 113 | * selector, sans the MediaWiki namespace |
113 | 114 | * |
114 | | - * @param mixed $namespace Pre-select namespace |
| 115 | + * @param $namespace Mixed: pre-select namespace |
115 | 116 | * @return string |
116 | 117 | */ |
117 | 118 | function getNamespaceMenu( $namespace = null ) { |
Index: trunk/phase3/includes/specials/SpecialProtectedpages.php |
— | — | @@ -123,14 +123,14 @@ |
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |
127 | | - * @param $namespace int |
128 | | - * @param $type string |
129 | | - * @param $level string |
130 | | - * @param $minsize int |
131 | | - * @param $indefOnly bool |
132 | | - * @param $cascadeOnly bool |
133 | | - * @return string Input form |
134 | | - * @private |
| 127 | + * @param $namespace Integer |
| 128 | + * @param $type String: restriction type |
| 129 | + * @param $level String: restriction level |
| 130 | + * @param $sizetype String: "min" or "max" |
| 131 | + * @param $size Integer |
| 132 | + * @param $indefOnly Boolean: only indefinie protection |
| 133 | + * @param $cascadeOnly Boolean: only cascading protection |
| 134 | + * @return String: input form |
135 | 135 | */ |
136 | 136 | protected function showOptions( $namespace, $type='edit', $level, $sizetype, $size, $indefOnly, $cascadeOnly ) { |
137 | 137 | global $wgScript; |
— | — | @@ -157,8 +157,8 @@ |
158 | 158 | * Prepare the namespace filter drop-down; standard namespace |
159 | 159 | * selector, sans the MediaWiki namespace |
160 | 160 | * |
161 | | - * @param mixed $namespace Pre-select namespace |
162 | | - * @return string |
| 161 | + * @param $namespace Mixed: pre-select namespace |
| 162 | + * @return String |
163 | 163 | */ |
164 | 164 | protected function getNamespaceMenu( $namespace = null ) { |
165 | 165 | return "<span style='white-space: nowrap'>" . |