dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
442c3d4
)
Merge "Select column page_lang in prop=info"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 4 Nov 2014 20:35:04 +0000
(20:35 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 4 Nov 2014 20:35:04 +0000
(20:35 +0000)
includes/api/ApiQueryInfo.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryInfo.php
b/includes/api/ApiQueryInfo.php
index
7ecb429
..
5e61ed1
100644
(file)
--- a/
includes/api/ApiQueryInfo.php
+++ b/
includes/api/ApiQueryInfo.php
@@
-70,6
+70,9
@@
class ApiQueryInfo extends ApiQueryBase {
if ( $config->get( 'ContentHandlerUseDB' ) ) {
$pageSet->requestField( 'page_content_model' );
}
+ if ( $config->get( 'PageLanguageUseDB' ) ) {
+ $pageSet->requestField( 'page_lang' );
+ }
}
/**