Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3040
6976a.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:20 PM
2014-11-21 21:20:25 (UTC+0)
Size
602 B
Referenced Files
None
Subscribers
None
6976a.patch
View Options
Index: includes/Skin.php
===================================================================
--- includes/Skin.php (revision 16014)
+++ includes/Skin.php (working copy)
@@ -442,7 +442,7 @@
}
function getBodyOptions() {
- global $wgUser, $wgTitle, $wgOut, $wgRequest;
+ global $wgUser, $wgTitle, $wgOut, $wgRequest, $wgContLang;
extract( $wgRequest->getValues( 'oldid', 'redirect', 'diff' ) );
@@ -465,6 +465,7 @@
}
$a['onload'] .= 'setupRightClickEdit()';
}
+ $a['class'] = 'ns-'.$wgTitle->getNamespace().' '.($wgContLang->isRTL() ? "rtl" : "ltr");
return $a;
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2610
Default Alt Text
6976a.patch (602 B)
Attached To
Mode
T8976: "ns-xx" class missing from some skins.
Attached
Detach File
Event Timeline
Log In to Comment