Use a file upload onwiki for simplest approach, or specify srcset info in an
array if that's not an option or otherwise not desired.
For instance to just reuse a $wgLogo and $wgLogoHD already set for a 160x160px
logo, but where the HD versions actually come out the right size:
$wgTimelessLogo = [
'1x' => $wgLogo,
'1.5x' => $wgLogoHD['1.5x']",
'2x' => $wgLogoHD['2x'],
'width' => 160,
'height' => 160
];
Or to use File:Cows.svg uploaded onwiki:
$wgTimelessLogo = 'Cows.svg';
And the same thing with $wgTimelessWordmark to replace the site title string
with an image version.
Fallback behaviour remains unchanged, if just not using these.
Bug: T132004
Bug: T230663
Change-Id: I0d7b398935045ba69462252d40832ed95ad2d5ed
Partially reverts I148707085059f458512d328c415ea0bf134163f3 plus some random
cleanup and stuff
Both of the following bugs involve wikibase stuff so I can't actually be entirely
sure this resolves them, but I thiiiink it does because it should be killing the
offending parts of the above change that caused this? Probably?
Bug: T231256
Bug: T231234
Change-Id: Id7c0d90a805450b577271a321572fcd552ecbc3e
(margins get lost/combined into larger one unless container... stuff;
on three-column flexbox takes care of this for us)
Change-Id: Ib2a93fa0c24f693375fb8c959e77dd47c8087121
Kill js solution even for other browsers because it doesn't even really
work to begin with. And I have no clue how to make it work, because I
can't find any examples that do, either.
Fixes current firefox and chrome. Users of old browsers/other
proprietary or whatever things can, uh, suffer, I guess.
Bug: T181484
Change-Id: Ic3415702eaa33cf56ed0b1fabf9ca607c88d1863
No more need to add in an html pokey element every potential dropdown menu.
Aaaaaagh that made it bigger, didn't it.
Change-Id: I5d3817aa026849a5304710a32a3585f3e698321d
Hopefully saner access, also clears up some of the sidebar space.
Also forces moving the wikibase other-projects blob into its own
blob entirely.
Not done:
* Pokeys (need to migrate them all to css-only; later patch)
* Handling for no languages for wikidata stuff (may not be possible;
minerva likewise has no handling)
Bug: T213510
Bug: T181309
Change-Id: I148707085059f458512d328c415ea0bf134163f3
option to set configurable background image for the skin as a whole
Defaults to the cat, but can ideally be set to anything appropriate
to the wiki in question. Recommendation is a 20-50% opacity black/
white background image, where the alpha values of the b/w parts are
likewise around 10-50/255.
Bug: T193330
Change-Id: Ica3e2ce2568557ef157d06d1b7127b030f3c38f0
Follow-up on https://gerrit.wikimedia.org/r/501850:
* new font stack stolen from phabricator and then rearranged a
bit to be less ornery
* restored searchinput fonts and prodded some other alignment
issues
* p-personal alignment issues maybe addressed, maybe made worse;
cannot test windows/mac because don't have either of them or
any remaining budget with which to purchase either of them
because holy crap expensive
* some very basic generic form styles to align the base ones a
tad more consistently
* dumb fix for dateinput widgets being mixed into otherwise
non-ooui forms
Bug: T221345
Change-Id: I43312b23197ed1ce5ea9cb75fb0b8e8466bac6a1
* Remove most of the special styles; most things are migrated to ooui
now, and that thing is soup, but at least mostly matches the skin
anyway
* Kill the special snowflake content/monospace fonts; these were
actually messing up the ooui styles more than anything else
* Also make body text smaller, headers bigger to more clearly
differentiate between them, with some of the larger sans serif
options people might wind up with
* Override some overrides. Let's override these and then override the
overrides for the overrides, and add more overrides later?
* Make whole thing slightly wider, because sheesh, this is narrow
* Make toctoggle show up like how rclegend toggle does
Either affects or should resolve the following:
Bug: T207610
Bug: T211360
Bug: T188968
Bug: T196243
Bug: T204780
Bug: T207601
Change-Id: I767562e4bbc0a9cdf13db61ce3ed493322edc054
properly with rest of user dropdown things
Also resolves issues with multiline messages.
bug: T202226
Change-Id: I5635511c4dd51d82fba55dc2c8ef1ca79104993d
* Used nominal values of background-position so CSSJanus can apply
CSS flipping correctly
* Added the missed RTL search icons, optimized SVG source of the
LTR search icon, optimized PNG rsvg-convert result of both
SVGs using optipng
Change-Id: I6a56f8ee448b60742b92d3613394a0d61b9235a1
* Increased selector specificy so that .emptyPortlet works on portlets within
#mw-page-header-links
* Moved the `ca-more` dropdown, only shown on mobile, into a new portlet so that
`p-views` is really empty on Special pages, and has class .emptyPortlet
* Moved languages dropdown, also only shown on mobile, into the new portlet too.
This way on special pages the two dropdowns are in a single <ul> list with two
items, rather than two adjacent list each with one item. Also, grouping the
mobile-only items together means the desktop CSS only has to hide the portlet,
rather than the individual ietms.
Bug: T182533
Change-Id: I496af1805d200e1fd67b1232e1b3b029b08b82ca
This rule seems to no longer apply to the skin in it's current state,
and seems to be causing problems with references. These rules are an issue
for that it creates a fake block element (which adds extra spacing at the
top), creates a static height, and pulls it up with a negative top margin.
It seems best to remove this CSS block.
Bug: T181490
Change-Id: Id109e42731202f0c6e1ef6ff8855617e0795b35d
Apparently not defining the height property makes everything just plain
messed up, and to fix things, all you need is the height property that has
a value (other than "auto") of some kind.
Bug: T173769
Change-Id: Ie8c86e01c77b3f5de11c1bd7c6bf491c8ef0fb26
Structure is generally the same. All html is rendered into a
single variable, output with a single unholy 'echo'.
getPortlet is now more general, and generally used.
Should generally address the issues raised in T158011.
Should also be technically compatible with VE (DOM), but
without styling, and requiring the user to edit
LocalSettings.php (hopefully that gets fixed soon).
Fixed a slight bug with the languages rendering on mobile.
Some randomly missing things were added back in. (Variants,
some hooks)
bug: T161428
bug: T158011
bug: T132005
Change-Id: I3b691c8bfe7aed4a544236d5ac031b77ec4e8337
And some other stuff too just because I ran into it on the way:
* Added indicators
* Fixed js in general
* Bumped version number
* Added some stupid hacks
* Cleaned stuff up
* I don't actually know
Change-Id: Ifa557c6f0f8a972d8986c3bffdfe08ddb4b39664
* Consistent dark colours stolen from wikimediadc.org, probably stolen from
that header template
* More consistent colours for headers
* Fixes for extension:templatesandbox
* pre and center rules, which for some reason aren't in core
* Fix for anchor offset issues caused by the fixed header
* Fixes for the personal dropdown menu
* Update font stack to use only ones with known consistent metrics
Change-Id: I88350e837b96de812c9d5f1308ae83703da6d0b4
Just makes the font smaller if over a certain length. Not actually
smart. Will later add an option to replace it entirely with an image.
Change-Id: I7157c80132330c525ac2cb2027307550cee282b4
Lowered font size, better menus (maybe), white header bar thingy with
colour
Probably other things.
Change-Id: Ia1b4c3ce0fed3752a9bae529573aa45912cb01ad
Thanks to Skizzers for the catlist db query.
Thanks to HORROR for the tool parsing.
Lots of css and stuff.
Change-Id: I9b6b4c2e3a206d909972929ae32777c933d0be46