dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3ec5811
)
Fix up last errors from r88047
author
Sam Reed
<reedy@users.mediawiki.org>
Sat, 14 May 2011 12:14:25 +0000
(12:14 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Sat, 14 May 2011 12:14:25 +0000
(12:14 +0000)
includes/api/ApiQueryLangBacklinks.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryLangBacklinks.php
b/includes/api/ApiQueryLangBacklinks.php
index
19d7472
..
4e2e8fa
100644
(file)
--- a/
includes/api/ApiQueryLangBacklinks.php
+++ b/
includes/api/ApiQueryLangBacklinks.php
@@
-86,7
+86,7
@@
class ApiQueryLangBacklinks extends ApiQueryGeneratorBase {
$this->addWhere( 'll_from = page_id' );
$this->addFields( array( 'page_id', 'page_title', 'page_namespace', 'page_is_redirect',
$this->addWhere( 'll_from = page_id' );
$this->addFields( array( 'page_id', 'page_title', 'page_namespace', 'page_is_redirect',
- 'll_from', '
iw
l_lang', 'll_title' ) );
+ 'll_from', '
l
l_lang', 'll_title' ) );
if ( isset( $params['lang'] ) ) {
$this->addWhereFld( 'll_lang', $params['lang'] );
if ( isset( $params['lang'] ) ) {
$this->addWhereFld( 'll_lang', $params['lang'] );
@@
-129,11
+129,11
@@
class ApiQueryLangBacklinks extends ApiQueryGeneratorBase {
}
if ( $lllang ) {
}
if ( $lllang ) {
- $entry['
iwprefix
'] = $row->ll_lang;
+ $entry['
lllang
'] = $row->ll_lang;
}
if ( $lltitle ) {
}
if ( $lltitle ) {
- $entry['
iw
title'] = $row->ll_title;
+ $entry['
ll
title'] = $row->ll_title;
}
$fit = $result->addValue( array( 'query', $this->getModuleName() ), null, $entry );
}
$fit = $result->addValue( array( 'query', $this->getModuleName() ), null, $entry );
@@
-209,8
+209,8
@@
class ApiQueryLangBacklinks extends ApiQueryGeneratorBase {
protected function getExamples() {
return array(
protected function getExamples() {
return array(
- 'api.php?action=query&list=l
l
backlinks&lbltitle=Test&lbllang=fr',
- 'api.php?action=query&generator=l
l
backlinks&glbltitle=Test&lbllang=fr&prop=info'
+ 'api.php?action=query&list=l
ang
backlinks&lbltitle=Test&lbllang=fr',
+ 'api.php?action=query&generator=l
ang
backlinks&glbltitle=Test&lbllang=fr&prop=info'
);
}
);
}