Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F8202
bug30245.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 11:54 PM
2014-11-21 23:54:15 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
bug30245.patch
View Options
Index: includes/ChangesList.php
===================================================================
--- includes/ChangesList.php (revision 94048)
+++ includes/ChangesList.php (working copy)
@@ -551,7 +551,7 @@
$this->insertMove( $s, $rc );
// Log entries
} elseif( $rc->mAttribs['rc_log_type'] ) {
- $logtitle = Title::newFromText( 'Log/'.$rc->mAttribs['rc_log_type'], NS_SPECIAL );
+ $logtitle = SpecialPage::getTitleFor( 'Log', $rc->mAttribs['rc_log_type'] );
$this->insertLog( $s, $logtitle, $rc->mAttribs['rc_log_type'] );
// Log entries (old format) or log targets, and special pages
} elseif( $rc->mAttribs['rc_namespace'] == NS_SPECIAL ) {
Index: includes/RecentChange.php
===================================================================
--- includes/RecentChange.php (revision 94048)
+++ includes/RecentChange.php (working copy)
@@ -683,7 +683,7 @@
global $wgUseRCPatrol, $wgUseNPPatrol, $wgRC2UDPInterwikiPrefix, $wgLocalInterwiki;
if( $this->mAttribs['rc_type'] == RC_LOG ) {
- $titleObj = Title::newFromText( 'Log/' . $this->mAttribs['rc_log_type'], NS_SPECIAL );
+ $titleObj = SpecialPage::getTitleFor( 'Log', $this->mAttribs['rc_log_type'] );
} else {
$titleObj =& $this->getTitle();
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7726
Default Alt Text
bug30245.patch (1 KB)
Attached To
Mode
T32245: Use full localized name for Special:Log in IRC RC feed
Attached
Detach File
Event Timeline
Log In to Comment