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