* 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
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.
Bug: T206485
Change-Id: Icb98126a5024478784216eb0b04fcbde7cf8421f
Prevent anchors from putting headers, cite notes, etc behind fixed
header when jumping around. Use js to avoid previous issue of mucked
up highlighting... (T162649)
bug: T181484, T162649
Change-Id: I6bdb450b24df50f39e14bc2b254c6adb6cc7f7d7
These removed styles match no elements in the
Special:Preferences page since the OOUI transformation.
Bug: T208923
Change-Id: I27918a66751c40a52d7a54be9be6f77d05bbfc15
I don't actually know if it's 1.31 that it requires, but it
definitely doesn't work in 1.27, the previous LTS. And we're on 1.32
anyway now.
Change-Id: I8bd8dcc8a58f605e79d4f0c92f58febcad834f6a