Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F5358
bugfix.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 10:27 PM
2014-11-21 22:27:09 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
bugfix.patch
View Options
Index: EditPage.php
===================================================================
--- EditPage.php (revision 51947)
+++ EditPage.php (working copy)
@@ -2465,7 +2465,8 @@
global $wgUser;
$loglist = new LogEventsList( $wgUser->getSkin(), $out );
$pager = new LogPager( $loglist, array('move', 'delete'), false,
- $this->mTitle->getPrefixedText(), '', array('log_action'=>'delete') );
+ $this->mTitle->getPrefixedText(), '', array("log_action!= 'revision'"));
+
$count = $pager->getNumRows();
if ( $count > 0 ) {
$pager->mLimit = 10;
Index: Article.php
===================================================================
--- Article.php (revision 51947)
+++ Article.php (working copy)
@@ -1078,7 +1078,8 @@
protected function showLogs() {
global $wgUser, $wgOut;
$loglist = new LogEventsList( $wgUser->getSkin(), $wgOut );
- $pager = new LogPager( $loglist, array('move', 'delete'), false, $this->mTitle->getPrefixedText() );
+ $pager = new LogPager( $loglist, array('move', 'delete'), false,
+ $this->mTitle->getPrefixedText(), '', array("log_action!= 'revision'") );
if( $pager->getNumRows() > 0 ) {
$pager->mLimit = 10;
$wgOut->addHTML( '<div class="mw-warning-with-logexcerpt">' );
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4918
Default Alt Text
bugfix.patch (1 KB)
Attached To
Mode
T18950: Show move log when viewing/creating a deleted page
Attached
Detach File
Event Timeline
Log In to Comment