Page MenuHomePhabricator

6976a.patch

Authored By
bzimport
Nov 21 2014, 9:20 PM
Size
602 B
Referenced Files
None
Subscribers
None

6976a.patch

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2610
Default Alt Text
6976a.patch (602 B)

Event Timeline