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:
1402422
)
API: Allow redirecting a page to itself using action=edit
author
Kevin Israel
<pleasestand@live.com>
Wed, 10 Dec 2014 11:48:13 +0000
(06:48 -0500)
committer
Kevin Israel
<pleasestand@live.com>
Wed, 10 Dec 2014 11:48:13 +0000
(06:48 -0500)
Follows-up
02660685708747d5
.
Change-Id: I60aa15ac9f33c560c940c55cf98626bb9ff4b822
includes/api/ApiEditPage.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiEditPage.php
b/includes/api/ApiEditPage.php
index
c1598c8
..
80589c3
100644
(file)
--- a/
includes/api/ApiEditPage.php
+++ b/
includes/api/ApiEditPage.php
@@
-253,7
+253,8
@@
class ApiEditPage extends ApiBase {
'model' => $contentHandler->getModelID(),
'wpEditToken' => $params['token'],
'wpIgnoreBlankSummary' => '',
- 'wpIgnoreBlankArticle' => true
+ 'wpIgnoreBlankArticle' => true,
+ 'wpIgnoreSelfRedirect' => true,
);
if ( !is_null( $params['summary'] ) ) {