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:
db7207f
)
wpUndidRevision should be passed along during 'preview' and 'diff'
author
bsitu
<bsitu@wikimedia.org>
Fri, 23 Aug 2013 22:57:52 +0000
(15:57 -0700)
committer
bsitu
<bsitu@wikimedia.org>
Fri, 23 Aug 2013 23:00:03 +0000
(16:00 -0700)
bug: 53176
Change-Id: Ie0b71b0cd8a3e94d92f9b275cdc623cfde154de2
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
7c7bfe9
..
be1e75e
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-666,6
+666,11
@@
class EditPage {
$this->edittime = $request->getVal( 'wpEdittime' );
$this->starttime = $request->getVal( 'wpStarttime' );
+ $undidRev = $request->getInt( 'wpUndidRevision' );
+ if ( $undidRev ) {
+ $this->undidRev = $undidRev;
+ }
+
$this->scrolltop = $request->getIntOrNull( 'wpScrolltop' );
if ( $this->textbox1 === '' && $request->getVal( 'wpTextbox1' ) === null ) {