Skip to content

Commit

Permalink
HACK more visible login button upper-right corner
Browse files Browse the repository at this point in the history
Partial backport of Mediawiki fix for bug T289212 in the Vector skin.

The full bugfix moves the login button out of the upper right '...' menu
to make it more visible. This fix seems to be present in REL1_40.
However, the full commit didn't merge in cleanly with our REL1_39 Vector
skin. It looks like it requires a bunch of other changes that I would
rather not bring in, as it probably has some dependency on Mediawiki
REL1_40.

So I've only done a partial backport, which results in two login links.
One in the upper right corner and one still inside the '...' menu.

This hack can safely removed when we upgrade to REL1_40+
  • Loading branch information
ionparticle committed Nov 7, 2023
1 parent df28287 commit 88ab363
Show file tree
Hide file tree
Showing 2 changed files with 805 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ RUN EXTS=`curl https://extdist.wmflabs.org/dist/extensions/ | awk 'BEGIN { FS =
# WARNING: Below fix is only for DynamicPageList3 3.5.1
# Patch to fix Math Exam Resources DPL
COPY ./extensions/DynamicPageList/includes/Query.php /var/www/html/extensions/DynamicPageList/includes/Query.php
# TODO: Remove if >REL1_40, as this is a backport from Vector REL1_40
# Add login button next to "..." menu in top-right corner
COPY skins/Vector/includes/Hooks.php /var/www/html/skins/Vector/includes/Hooks.php

# composer.local.json merges in composer.json from caliper extension, so we
# need to run composer update after getting the extensions.
Expand Down
Loading

0 comments on commit 88ab363

Please sign in to comment.