Index: trunk/phase3/includes/api/ApiQueryRecentChanges.php |
— | — | @@ -132,7 +132,7 @@ |
133 | 133 | || ( isset ( $show['redirect'] ) && isset ( $show['!redirect'] ) ) |
134 | 134 | || ( isset ( $show['patrolled'] ) && isset ( $show['!patrolled'] ) ) ) { |
135 | 135 | |
136 | | - $this->dieUsageMsg( 'show' ); |
| 136 | + $this->dieUsageMsg( array( 'show' ) ); |
137 | 137 | } |
138 | 138 | |
139 | 139 | // Check permissions |
Index: trunk/phase3/includes/api/ApiQueryWatchlistRaw.php |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | $prop = array_flip( (array)$params['prop'] ); |
61 | 61 | $show = array_flip( (array)$params['show'] ); |
62 | 62 | if ( isset( $show['changed'] ) && isset( $show['!changed'] ) ) |
63 | | - $this->dieUsageMsg( 'show' ); |
| 63 | + $this->dieUsageMsg( array( 'show' ) ); |
64 | 64 | |
65 | 65 | $this->addTables( 'watchlist' ); |
66 | 66 | $this->addFields( array( 'wl_namespace', 'wl_title' ) ); |
Index: trunk/phase3/includes/api/ApiQueryWatchlist.php |
— | — | @@ -151,7 +151,7 @@ |
152 | 152 | || ( isset ( $show['anon'] ) && isset ( $show['!anon'] ) ) |
153 | 153 | || ( isset ( $show['patrolled'] ) && isset ( $show['!patrolled'] ) ) ) { |
154 | 154 | |
155 | | - $this->dieUsageMsg( 'show' ); |
| 155 | + $this->dieUsageMsg( array( 'show' ) ); |
156 | 156 | } |
157 | 157 | |
158 | 158 | // Check permissions. FIXME: should this check $user instead of $wgUser? |
Index: trunk/phase3/includes/api/ApiQueryCategories.php |
— | — | @@ -93,7 +93,7 @@ |
94 | 94 | } |
95 | 95 | |
96 | 96 | if ( isset( $show['hidden'] ) && isset( $show['!hidden'] ) ) |
97 | | - $this->dieUsageMsg( 'show' ); |
| 97 | + $this->dieUsageMsg( array( 'show' ) ); |
98 | 98 | if ( isset( $show['hidden'] ) || isset( $show['!hidden'] ) || isset( $prop['hidden'] ) ) |
99 | 99 | { |
100 | 100 | $this->addOption( 'STRAIGHT_JOIN' ); |
Index: trunk/phase3/includes/api/ApiQueryUserContributions.php |
— | — | @@ -185,7 +185,7 @@ |
186 | 186 | $show = array_flip( $show ); |
187 | 187 | if ( ( isset( $show['minor'] ) && isset( $show['!minor'] ) ) |
188 | 188 | || ( isset( $show['patrolled'] ) && isset( $show['!patrolled'] ) ) ) |
189 | | - $this->dieUsageMsg( 'show' ); |
| 189 | + $this->dieUsageMsg( array( 'show' ) ); |
190 | 190 | |
191 | 191 | $this->addWhereIf( 'rev_minor_edit = 0', isset( $show['!minor'] ) ); |
192 | 192 | $this->addWhereIf( 'rev_minor_edit != 0', isset( $show['minor'] ) ); |