Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -93,7 +93,6 @@ |
94 | 94 | title inputs |
95 | 95 | * (bug 20699) API watchlist should list log-events |
96 | 96 | * (bug 29070) Add token to action=watch |
97 | | -* (bug 29120) ApiQueryLogEvents: let letype accept multiple values |
98 | 97 | * (bug 29221) Expose oldrevid in watchlist output |
99 | 98 | |
100 | 99 | === Languages updated in 1.19 === |
Index: trunk/phase3/includes/api/ApiQueryLogEvents.php |
— | — | @@ -111,7 +111,8 @@ |
112 | 112 | list( $type, $action ) = explode( '/', $params['action'] ); |
113 | 113 | $this->addWhereFld( 'log_type', $type ); |
114 | 114 | $this->addWhereFld( 'log_action', $action ); |
115 | | - } else if ( !is_null( $params['type'] ) ) { |
| 115 | + } |
| 116 | + else if ( !is_null( $params['type'] ) ) { |
116 | 117 | $this->addWhereFld( 'log_type', $params['type'] ); |
117 | 118 | $index['logging'] = 'type_time'; |
118 | 119 | } |
— | — | @@ -370,8 +371,7 @@ |
371 | 372 | ) |
372 | 373 | ), |
373 | 374 | 'type' => array( |
374 | | - ApiBase::PARAM_TYPE => $wgLogTypes, |
375 | | - ApiBase::PARAM_ISMULTI => true, |
| 375 | + ApiBase::PARAM_TYPE => $wgLogTypes |
376 | 376 | ), |
377 | 377 | 'action' => array( |
378 | 378 | ApiBase::PARAM_TYPE => array_keys( $wgLogActions ) |