Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -29,6 +29,7 @@ |
30 | 30 | === API changes in 1.19 === |
31 | 31 | * (bug 19838) siprop=interwikimap can now use the interwiki cache. |
32 | 32 | * (bug 29748) Add API search prefix support |
| 33 | +* (bug 29684) Set forgotten parameter types in ApiQueryIWLinks |
33 | 34 | |
34 | 35 | === Languages updated in 1.19 === |
35 | 36 | |
Index: trunk/phase3/includes/api/ApiQueryIWLinks.php |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | } |
111 | 111 | $entry = array( 'prefix' => $row->iwl_prefix ); |
112 | 112 | |
113 | | - if ( !is_null( $params['url'] ) ) { |
| 113 | + if ( $params['url'] ) { |
114 | 114 | $title = Title::newFromText( "{$row->iwl_prefix}:{$row->iwl_title}" ); |
115 | 115 | if ( $title ) { |
116 | 116 | $entry['url'] = wfExpandUrl( $title->getFullURL() ); |
— | — | @@ -131,7 +131,7 @@ |
132 | 132 | |
133 | 133 | public function getAllowedParams() { |
134 | 134 | return array( |
135 | | - 'url' => null, |
| 135 | + 'url' => false, |
136 | 136 | 'limit' => array( |
137 | 137 | ApiBase::PARAM_DFLT => 10, |
138 | 138 | ApiBase::PARAM_TYPE => 'limit', |