Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -194,7 +194,7 @@ |
195 | 195 | $this->addWhere( 'iw_local = 1' ); |
196 | 196 | elseif( $filter === '!local' ) |
197 | 197 | $this->addWhere( 'iw_local = 0' ); |
198 | | - elseif( $filter !== false ) |
| 198 | + elseif( $filter ) |
199 | 199 | ApiBase :: dieDebug( __METHOD__, "Unknown filter=$filter" ); |
200 | 200 | |
201 | 201 | $this->addOption( 'ORDER BY', 'iw_prefix' ); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -343,6 +343,7 @@ |
344 | 344 | path naming (/thumbs/hash/file), retired 'apiThumbCacheDir' as a result. |
345 | 345 | * (bug 5530) Consistency between character encoding in {{PAGENAMEE}}, |
346 | 346 | {{SUBPAGENAMEE}} and {{FULLPAGENAMEE}} |
| 347 | +* API siteinfo query no longer throws an exception for empty sifilter parameter. |
347 | 348 | |
348 | 349 | === API changes in 1.14 === |
349 | 350 | |