737 Commits (aaa5188bea61738fbde821d55fa6d7d4e6467e52)
 

Author SHA1 Message Date
Isarra f0fc1a4362 Custom logo rendering, including text wordmark images
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
5 years ago
Isarra a8710c87cc Apply content padding to data-after-content on small resolutions
Doesn't matter on the large layouts because there's padding around content, but on
these it's only the content padding applying everywhere...

Also maybe kinda sorta included half this patch in the previous. Oops.

Change-Id: I7319ad49098fa6593cda498196ce2d89ca843537
5 years ago
Isarra 8bca35dec0 Put languages back in sidebar on desktop
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
5 years ago
jenkins-bot 92c4333bd0 Merge "Style datatables consistently with wikitables" 5 years ago
jenkins-bot 3480e4ad71 Merge "Better contrast on wikitable borders" 5 years ago
jenkins-bot 3aea4b0e99 Merge "Make editsection icon part of first editsection link" 5 years ago
jenkins-bot 5acd20bd8d Merge "Better position notifications area (watchlist ajax, preferences changes, etc) to account for fixed header" 5 years ago
jenkins-bot 53b78d7310 Merge "Remove extra padding on thumbcaptions" 5 years ago
jenkins-bot 9d2c0a08c3 Merge "Kill weird table normalisation" 5 years ago
Translation updater bot 85adfae9aa Localisation updates from https://translatewiki.net.
Change-Id: I734419cbc05d5fd09b7d70a984b55a934a9786bc
5 years ago
Isarra e0d18e3298 Style datatables consistently with wikitables
Bug: T220232
Change-Id: Idd286a154f1b615502e0c1bee4db4f704d9bd176
5 years ago
Isarra 1c079f55d4 Better contrast on wikitable borders
Bug: T220255
Change-Id: If19024a9566e55078036d3429251f832099e30b1
5 years ago
Isarra 2cc41bbbff Make editsection icon part of first editsection link
It's sort of attached to it regardless; might as well make it clickable
(especially since the first one is going to be shorter usually regardless)

Change-Id: I40f02240c0c6e447a7042546a0392a52a0f4910c
5 years ago
Isarra fa969cf9df Better position notifications area (watchlist ajax, preferences changes,
etc) to account for fixed header

Change-Id: I2387866cbc1aef0fa4edb202b1af73659230045b
5 years ago
Isarra 8138b52ff8 Remove extra padding on thumbcaptions
Plenty of padding already in the thumb itself.

Change-Id: I063341cbfd3fd71ef272ebd8dcd3ff335b9678ca
5 years ago
Translation updater bot ecfb7e640c Localisation updates from https://translatewiki.net.
Change-Id: I3d8e907091fa556dd1d34cbbb60a446a8b4a8d79
5 years ago
Isarra 488be95b2a Kill weird table normalisation
Given all the special table stuff we do is onwiki junk largely targetted
at vector, making this randomly different probably doesn't add a whole lot.

Bug: T215608
Bug: T181184
Change-Id: Id5ad605d7179ac8c4b6766a110f98d44627c06ee
5 years ago
Isarra 9d76730e96 Add icons to desktop cactions and overhaul icon alignment and usage
throughout

* Still need to redo how we're using mixins, but whatever.
* Cleans up a bit from the edit/view source etc changes too, since now
  we have a little more context (oops)...
* Just hide 'view' in general because a, how much does it really add,
  and b, it doesn't fit in a lot of cases when we have the extra width
  from these icons regardless.
* Rename view and add section tabs to make more sense with icons/in
  context/whatever ('view' is now only targeted at screen readers, and
  we use a + for the new section icon, so saying 'add' is kinda...
  redundant)

Bug: T197520
Change-Id: I1ab12ccda60e51035c4adec43c42508ac297c00a
5 years ago
jenkins-bot 5c2c302430 Merge "Add custom WikiLove heart icon" 5 years ago
Isarra ed055b9487 Add custom WikiLove heart icon
Requires I7188a3ee318db80484037733ab058a5a0b42d732 for support for the
replacement with the icon on desktop, as otherwise we can't tell if we're
correctly heeding the configuration setting there.

Removing as a depends-on because we still need this for mobile regardless.

Bug: T173219
Change-Id: I6ee0b6d94d96ee359321b203f235b2d25f06cea6
5 years ago
Translation updater bot e08948cb0e Localisation updates from https://translatewiki.net.
Change-Id: I48f9f826785eea31164ce94c33d2adb1cb08ca35
5 years ago
Timo Tijhof 8ddbd36d25 Merge 'skins.timeless.misc' back into 'skins.timeless'
Follows-up f450f7e13 and 1bb12ffaae which introduce and
explaine that module's need based on what I believe was a
misunderstanding.

Specifying an options object (e.g. with a "media" key) is optional
for a stylesheet, and a module can have any number of CSS or LESS
files that are packaged together. The syntax for this was designed
for PHP and unfortunately does not translate elegantly to JSON,
but it does work. In PHP, examples of this can be found that look
as follows:

 'styles' => [
   'foo.css',
   'bar.css' => [ 'media' => 'print' ],
   'quux.css',
 ],

Other examples of this in JSON can be found in Nostalgia.git
and ArticlePlaceholder.git.

Change-Id: Ie2a39a79c0892a1c5699a05071216eb5fe660bc1
5 years ago
Isarra 9206ada9b7 Fix text cropping issues in h1, h2 for tall scripts etc
We put overflow:hidden on headers so the underline doesn't undercut
thumbs weirdly; this results in actual stuff getting chopped off at
times as well. Main example is burmese, which does line heights a
bit differently, such that overlap is kind of expected.

Solution: move underline to its own pseudo-element. May fix some other
stuff (extensions?), or just as likely break them. Only bother with
parser output because I can't even think of anywhere else we use such
floating to begin with.

Bug: T195822
Change-Id: Ib17b444b2d8720ede860e42c72c8c69e62a9f4ac
5 years ago
jenkins-bot 658ea55e16 Merge "Better styles for category area on desktop-small layout" 5 years ago
jenkins-bot e4c339c820 Merge "Move email user to userpage tools, move print/export down to bottom of page tools" 5 years ago
Isarra 31daa2ed38 Better styles for category area on desktop-small layout
Change-Id: I634ca38d904c4a4d3496370370f84c3d70a42f81
5 years ago
jenkins-bot 9cf7eb04ef Merge "Better icons/handling for view source, VE edit links" 5 years ago
Isarra dedcecd245 Move email user to userpage tools, move print/export down to bottom of page tools
Change-Id: Ie6b5bb092153dd2fa87f46aa606893915c421610
5 years ago
Translation updater bot 4bda850f3d Localisation updates from https://translatewiki.net.
Change-Id: Ifc96ea711acb2f8f723cb5804663b9c964ce40c4
5 years ago
jenkins-bot d9e3a5d1ec Merge "Migrate backdrop image style generation to set a variable we use in the LESS instead of adding the styles prebaked" 5 years ago
Isarra 898ee0fdc1 Better icons/handling for view source, VE edit links
* New icon for edit source as variant of normal edit icon
* Use old brackets icon for view source instead
* Put icon for editsection links outside the links themselves and only use one
  for VE when there's two links

Bug: T173531
Bug: T229184
Change-Id: Ia178c487c8e6c175944868646d36064ebde8182c
5 years ago
Translation updater bot 2d9e6fb462 Localisation updates from https://translatewiki.net.
Change-Id: I0115a65ac885c96c89706b0689d7c083a83298c8
5 years ago
Isarra 70128730f5 Fix offsets for CodeMirror in VE
Bug: T230756
Depends-On: Ia7168341bcadbc60e307b58b67afc1975a2424f9
Change-Id: Ic64b9786cb7186dba3eb2042a3238149c3bb44c6
5 years ago
Isarra b2519cb240 Fix a bunch of VE alignment issues
Bug: T205149
Change-Id: I7a839fa95b42cfd541da5880ad70a76be607c7d8
5 years ago
Isarra b1901210d9 Migrate backdrop image style generation to set a variable we use in
the LESS instead of adding the styles prebaked

Bug: T223112
Change-Id: I773dbd9bd6d318144685d691e72627a00906472b
6 years ago
Isarra c668fb91d7 Fix logo/sidebar alignment on two-column mode *properly*
Followup on Ib2a93fa0c24f693375fb8c959e77dd47c8087121

Change-Id: I166dc9c00bb8682735a15234d19eb5ca9151fe8a
6 years ago
Isarra 5e98906353 Make font smaller on OAuth approval dialog
Bug: T197910
Change-Id: I3f1c530b654d11a07f2d8715f8b8e69132aaf419
6 years ago
Simon Legner 4028c2504c Revert "Drop `redundant` attribute from `a` elements"
This reverts commit c9e9bb97e2.

No longer needed due to I630410aea2852f7a72fea67bbf256b3561ea0f3f.

Change-Id: I179aa6c52da9452f39c9f816c58af44288604863
6 years ago
Translation updater bot 754703269a Localisation updates from https://translatewiki.net.
Change-Id: I65f0eb28aecb51512f68cfaa8a58dbd17a1d5afa
6 years ago
jenkins-bot 02e576ca43 Merge "Be more specific with form formatting" 6 years ago
jenkins-bot f0150509dd Merge "Move some more page tools to 'page tools'" 6 years ago
jenkins-bot 89583faabd Merge "Prevent icon label overflow in focus state" 6 years ago
Translation updater bot 7de15af456 Localisation updates from https://translatewiki.net.
Change-Id: Ibdd6faf489ecc8cc3803c18f860792f9edae9bf1
6 years ago
jenkins-bot 76b65f29c7 Merge "Slightly reduce header margins" 6 years ago
jenkins-bot 92dfb4d773 Merge "Add a margin for frameless images" 6 years ago
jenkins-bot a227dd0a22 Merge "Fix portlet layout for proper handling of non-ul content" 6 years ago
jenkins-bot 98351f8503 Merge "More descriptive label for new section link" 6 years ago
Isarra 91b22e854a Move some more page tools to 'page tools'
Extensions:
* Cite
* Wikibase
* Collection

Change-Id: If3f1627f91d398596d8e4e9c648688e42377b64d
6 years ago
Isarra e217b0ace6 Prevent icon label overflow in focus state
...or something?

Bug: T174314
Change-Id: I3068cd1379ebbade93be784364101bad768a5dfc
6 years ago
Translation updater bot 57e3c63a4b Localisation updates from https://translatewiki.net.
Change-Id: I03b6277c901d0d82fe77ff71352dc1ccfb536c01
6 years ago