}
if ( isset( $show['hidden'] ) && isset( $show['!hidden'] ) )
- $this->dieUsageMsg( 'show' );
+ $this->dieUsageMsg( array( 'show' ) );
if ( isset( $show['hidden'] ) || isset( $show['!hidden'] ) || isset( $prop['hidden'] ) )
{
$this->addOption( 'STRAIGHT_JOIN' );
|| ( isset ( $show['redirect'] ) && isset ( $show['!redirect'] ) )
|| ( isset ( $show['patrolled'] ) && isset ( $show['!patrolled'] ) ) ) {
- $this->dieUsageMsg( 'show' );
+ $this->dieUsageMsg( array( 'show' ) );
}
// Check permissions
$show = array_flip( $show );
if ( ( isset( $show['minor'] ) && isset( $show['!minor'] ) )
|| ( isset( $show['patrolled'] ) && isset( $show['!patrolled'] ) ) )
- $this->dieUsageMsg( 'show' );
+ $this->dieUsageMsg( array( 'show' ) );
$this->addWhereIf( 'rev_minor_edit = 0', isset( $show['!minor'] ) );
$this->addWhereIf( 'rev_minor_edit != 0', isset( $show['minor'] ) );
|| ( isset ( $show['anon'] ) && isset ( $show['!anon'] ) )
|| ( isset ( $show['patrolled'] ) && isset ( $show['!patrolled'] ) ) ) {
- $this->dieUsageMsg( 'show' );
+ $this->dieUsageMsg( array( 'show' ) );
}
// Check permissions. FIXME: should this check $user instead of $wgUser?
$prop = array_flip( (array)$params['prop'] );
$show = array_flip( (array)$params['show'] );
if ( isset( $show['changed'] ) && isset( $show['!changed'] ) )
- $this->dieUsageMsg( 'show' );
+ $this->dieUsageMsg( array( 'show' ) );
$this->addTables( 'watchlist' );
$this->addFields( array( 'wl_namespace', 'wl_title' ) );