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:
834129a
)
* (bug 29278) server error 500 when attempting to add text to a page via redirect...
author
Sam Reed
<reedy@users.mediawiki.org>
Mon, 20 Jun 2011 22:32:08 +0000
(22:32 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Mon, 20 Jun 2011 22:32:08 +0000
(22:32 +0000)
Needs 1.17 and 1.18 backporting, so release notes will go in 1.17
includes/api/ApiEditPage.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiEditPage.php
b/includes/api/ApiEditPage.php
index
2aa77c9
..
dbfcc3d
100644
(file)
--- a/
includes/api/ApiEditPage.php
+++ b/
includes/api/ApiEditPage.php
@@
-67,8
+67,6
@@
class ApiEditPage extends ApiBase {
$titles = Title::newFromRedirectArray( Revision::newFromTitle( $oldTitle )->getText( Revision::FOR_THIS_USER ) );
// array_shift( $titles );
- $apiResult->addValue( null, 'foo', $titles );
-
$redirValues = array();
foreach ( $titles as $id => $newTitle ) {