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:
9907c91
)
Use getId() accessors for Revision object (fixes fatal)
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 23 Oct 2011 09:38:52 +0000
(09:38 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sun, 23 Oct 2011 09:38:52 +0000
(09:38 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
1c44c3b
..
f84e0a5
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-237,7
+237,7
@@
class EditPage {
wfMsgNoTrans( 'undo-success' ) . '</div>', true, /* interface */true );
$firstrev = $oldrev->getNext();
# If we just undid one rev, use an autosummary
- if ( $firstrev->
mId
== $undo ) {
+ if ( $firstrev->
getId()
== $undo ) {
$undoSummary = wfMsgForContent( 'undo-summary', $undo, $undorev->getUserText() );
if ( $this->summary === '' ) {
$this->summary = $undoSummary;