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:
0482a70
)
wgAction incorrectly asumes 'view' instead of 'historysubmit' on diff-pages without...
author
Leo Koppelkamm
<diebuche@users.mediawiki.org>
Mon, 11 Jul 2011 10:54:05 +0000
(10:54 +0000)
committer
Leo Koppelkamm
<diebuche@users.mediawiki.org>
Mon, 11 Jul 2011 10:54:05 +0000
(10:54 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
d7c8a54
..
56c3e78
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-371,6
+371,8
@@
class Article extends Page {
# If we got diff in the query, we want to see a diff page instead of the article.
if ( $wgRequest->getCheck( 'diff' ) ) {
wfDebug( __METHOD__ . ": showing diff page\n" );
+ # Manually setting action=diff. Bug 25800
+ $wgRequest->setVal( 'action', 'diff' );
$this->showDiffPage();
wfProfileOut( __METHOD__ );