title inputs
* (bug 20699) API watchlist should list log-events
* (bug 29070) Add token to action=watch
-* (bug 29120) ApiQueryLogEvents: let letype accept multiple values
* (bug 29221) Expose oldrevid in watchlist output
=== Languages updated in 1.19 ===
list( $type, $action ) = explode( '/', $params['action'] );
$this->addWhereFld( 'log_type', $type );
$this->addWhereFld( 'log_action', $action );
- } else if ( !is_null( $params['type'] ) ) {
+ }
+ else if ( !is_null( $params['type'] ) ) {
$this->addWhereFld( 'log_type', $params['type'] );
$index['logging'] = 'type_time';
}
)
),
'type' => array(
- ApiBase::PARAM_TYPE => $wgLogTypes,
- ApiBase::PARAM_ISMULTI => true,
+ ApiBase::PARAM_TYPE => $wgLogTypes
),
'action' => array(
ApiBase::PARAM_TYPE => array_keys( $wgLogActions )