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:
39080a1
)
Undo feature: Add a wpUndidRevision field that can be used to distinguish (undo)...
author
Andrew Garrett
<agarrett@wikimedia.org>
Wed, 18 Jul 2012 19:25:02 +0000
(12:25 -0700)
committer
Andrew Garrett
<agarrett@wikimedia.org>
Wed, 18 Jul 2012 19:26:42 +0000
(12:26 -0700)
Change-Id: I85d485d89ab87c9478552183ffdb10b0bfaad648
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
f034153
..
b4a6792
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-1837,6
+1837,10
@@
class EditPage {
$wgOut->addHTML( Html::hidden( 'wpIgnoreBlankSummary', true ) );
}
+ if ( $this->undidRev ) {
+ $wgOut->addHTML( Html::hidden( 'wpUndidRevision', $this->undidRev ) );
+ }
+
if ( $this->hasPresetSummary ) {
// If a summary has been preset using &summary= we dont want to prompt for
// a different summary. Only prompt for a summary if the summary is blanked.