Index: trunk/phase3/includes/api/ApiQueryLangLinks.php |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | break; |
89 | 89 | } |
90 | 90 | $entry = array( 'lang' => $row->ll_lang ); |
91 | | - if ( !is_null( $params['url'] ) ) { |
| 91 | + if ( $params['url'] ) { |
92 | 92 | $title = Title::newFromText( "{$row->ll_lang}:{$row->ll_title}" ); |
93 | 93 | if ( $title ) { |
94 | 94 | $entry['url'] = $title->getFullURL(); |
— | — | @@ -116,7 +116,7 @@ |
117 | 117 | ApiBase::PARAM_MAX2 => ApiBase::LIMIT_BIG2 |
118 | 118 | ), |
119 | 119 | 'continue' => null, |
120 | | - 'url' => null, |
| 120 | + 'url' => false, |
121 | 121 | ); |
122 | 122 | } |
123 | 123 | |