Multiline items should now be clearly distinguishable from new
single-line items. On, like, mobile, or something. Not truly insane
pages I never should have created in the first place.
Change-Id: Ia0ea69519da865b76299b62ee94b33d3b0b60a94
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
SkinTemplateToolboxEnd hook really shouldn't be used and extensions should have been using BaseTemplateToolbox hook instead, for that hook's been around since MW 1.18.
Also this code was broken because $boxes was undefined.
Change-Id: I34537e8eb6ec0109253b5470d12d12d86c4dada0
Note that this wraps localNotice in a box and may mess up custom
sitenotice css that does not expect a box to already be there.
Bug: T182517
Change-Id: I7d25017ba89cb833317aea61f9ea5f8f0a145df8
* 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
Config copied from core MW master with a few additional scenarios (Special:BlankPage, Special:Version) added.
Bug: T219725
Change-Id: Id4d4a51de4d6c16f26130d5b699818b793474a5f
It's easier to read and also type hint and do a lot of
things when class properties are declared this way. I think
this is the standard way and it's an improvement :)
Also, added soft type hint phpdoc for these class properties.
Change-Id: I6f2bee7d5cd771f25241abcaebfacd6eb540175f
I applied a series of manual optimizations, most notably:
* Remove unused IDs.
* Remove attributes with standard values, e.g. opacity="1" is the
default anyway.
* Remove attributes that don't have an effect, e.g. font styling
where no fonts are used, or stroke attributes when there is no
stroke anyway.
* Replace millimeters with pixels.
* I also tried to remove most translations. A lot of files had all
their coordinates offset by -1032.362. I gave up for a few files.
It might be worth looking into these later.
* brackets-grey.svg not only had a translation applied, but a
non-standard viewBox as well. I wrote a tiny script to re-calculate
all the numbers in this file. As a result it's much more crisp now.
Note that some of these optimizations might alter the appearence of
the image. I mean, they shouldn't, but better check each file manually
before merging this patch.
I did not touched the two files "cat-grey.svg" (I assume this is a
placeholder) as well as "editing icons.svg" (seems to be a temporary
file that should be removed).
Change-Id: Ie2dadef9d5979b563aa0ed0f5d8a69c534b76a4e
Adding 'grunt-svgmin' package and corresponding 'svgmin' task and
also crush SVGs. Additionally remove unnecessary attributes like
`version` & `id`s and Inkscape specific styles according to SVG
coding conventions.
Total savings about 75kB.
Change-Id: Id3a6e73d648693f21633fac123db0f26e6502a03