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:
47bafc7
)
Provisional revert of r105831: as noted it's not safe; alternative fix was a weird...
author
Brion Vibber
<brion@users.mediawiki.org>
Tue, 20 Dec 2011 21:37:04 +0000
(21:37 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Tue, 20 Dec 2011 21:37:04 +0000
(21:37 +0000)
includes/api/ApiQueryBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryBase.php
b/includes/api/ApiQueryBase.php
index
e3cf51f
..
4fe82de
100644
(file)
--- a/
includes/api/ApiQueryBase.php
+++ b/
includes/api/ApiQueryBase.php
@@
-296,7
+296,7
@@
abstract class ApiQueryBase extends ApiBase {
}
/**
- * Add information (title
, ID
and namespace) about a Title object to a
+ * Add information (title and namespace) about a Title object to a
* result array
* @param $arr array Result array à la ApiResult
* @param $title Title
@@
-304,7
+304,6
@@
abstract class ApiQueryBase extends ApiBase {
*/
public static function addTitleInfo( &$arr, $title, $prefix = '' ) {
$arr[$prefix . 'ns'] = intval( $title->getNamespace() );
- $arr[$prefix . 'pageid'] = $title->getArticleID();
$arr[$prefix . 'title'] = $title->getPrefixedText();
}