Skip to content

Commit

Permalink
Enable VectorLanguageAlertInSidebar on latest-release (#124)
Browse files Browse the repository at this point in the history
Additional change:
* Drop CSS for older Phabricator ticket.
  • Loading branch information
jdlrobson authored Sep 26, 2022
1 parent 271c42e commit 0868482
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,12 @@
$wgHooks['BeforePageDisplay'][] = function ( $out ) {
$css = <<<HTML
<style type="text/css">
/* https://phabricator.wikimedia.org/T313409 */
.mw-special-Specialpages #ca-nstab-special,
.mw-special-Blankpage #ca-nstab-special { display: none; }
</style>
HTML;
$out->addHTML( $css );
};

$wgVectorLanguageAlertInSidebar = [
"logged_in" => true,
"logged_out" => true
];

0 comments on commit 0868482

Please sign in to comment.