Index: trunk/phase3/includes/api/ApiQueryLangBacklinks.php |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | $this->addWhere( 'll_from = page_id' ); |
88 | 88 | |
89 | 89 | $this->addFields( array( 'page_id', 'page_title', 'page_namespace', 'page_is_redirect', |
90 | | - 'll_from', 'iwl_lang', 'll_title' ) ); |
| 90 | + 'll_from', 'll_lang', 'll_title' ) ); |
91 | 91 | |
92 | 92 | if ( isset( $params['lang'] ) ) { |
93 | 93 | $this->addWhereFld( 'll_lang', $params['lang'] ); |
— | — | @@ -129,11 +129,11 @@ |
130 | 130 | } |
131 | 131 | |
132 | 132 | if ( $lllang ) { |
133 | | - $entry['iwprefix'] = $row->ll_lang; |
| 133 | + $entry['lllang'] = $row->ll_lang; |
134 | 134 | } |
135 | 135 | |
136 | 136 | if ( $lltitle ) { |
137 | | - $entry['iwtitle'] = $row->ll_title; |
| 137 | + $entry['lltitle'] = $row->ll_title; |
138 | 138 | } |
139 | 139 | |
140 | 140 | $fit = $result->addValue( array( 'query', $this->getModuleName() ), null, $entry ); |
— | — | @@ -209,8 +209,8 @@ |
210 | 210 | |
211 | 211 | protected function getExamples() { |
212 | 212 | return array( |
213 | | - 'api.php?action=query&list=llbacklinks&lbltitle=Test&lbllang=fr', |
214 | | - 'api.php?action=query&generator=llbacklinks&glbltitle=Test&lbllang=fr&prop=info' |
| 213 | + 'api.php?action=query&list=langbacklinks&lbltitle=Test&lbllang=fr', |
| 214 | + 'api.php?action=query&generator=langbacklinks&glbltitle=Test&lbllang=fr&prop=info' |
215 | 215 | ); |
216 | 216 | } |
217 | 217 | |