dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge latest master into Wikidata branch
[lhc/web/wiklou.git]
/
includes
/
diff
/
DifferenceEngine.php
diff --git
a/includes/diff/DifferenceEngine.php
b/includes/diff/DifferenceEngine.php
index
48723a1
..
233e593
100644
(file)
--- a/
includes/diff/DifferenceEngine.php
+++ b/
includes/diff/DifferenceEngine.php
@@
-1150,13
+1150,13
@@
class DifferenceEngine extends ContextSource {
return false;
}
if ( $this->mOldRev ) {
return false;
}
if ( $this->mOldRev ) {
- $this->mOldContent = $this->mOldRev->getContent( Revision::FOR_THIS_USER );
+ $this->mOldContent = $this->mOldRev->getContent( Revision::FOR_THIS_USER
, $this->getUser()
);
if ( $this->mOldContent === false ) {
return false;
}
}
if ( $this->mNewRev ) {
if ( $this->mOldContent === false ) {
return false;
}
}
if ( $this->mNewRev ) {
- $this->mNewContent = $this->mNewRev->getContent( Revision::FOR_THIS_USER );
+ $this->mNewContent = $this->mNewRev->getContent( Revision::FOR_THIS_USER
, $this->getUser()
);
if ( $this->mNewContent === false ) {
return false;
}
if ( $this->mNewContent === false ) {
return false;
}
@@
-1178,7
+1178,7
@@
class DifferenceEngine extends ContextSource {
if ( !$this->loadRevisionData() ) {
return false;
}
if ( !$this->loadRevisionData() ) {
return false;
}
- $this->mNewContent = $this->mNewRev->getContent( Revision::FOR_THIS_USER );
+ $this->mNewContent = $this->mNewRev->getContent( Revision::FOR_THIS_USER
, $this->getUser()
);
return true;
}
}
return true;
}
}