Commit graph

5095 commits

Author SHA1 Message Date
Fomafix 3aeac1615b SkinVector: Call parent::__construct in constructor
With this change the constructor of the parent class gets called like if
there is no local constructor. This allows the ancestor classes to
initialize themself in their constructor.

Change-Id: I4ec1ec935afa25b59be4020fca9ac71f23e62ad0
2019-05-12 11:36:38 +02:00
Translation updater bot afbe0aa76a Localisation updates from https://translatewiki.net.
Change-Id: Ic1351f7569641450ac5c795d151c280d499551a0
2019-05-10 08:35:21 +02:00
Translation updater bot d73cd16e0a Localisation updates from https://translatewiki.net.
Change-Id: I65e227e2f36784e47e1f0b94563f12f284825d7e
2019-05-08 22:02:23 +02:00
Translation updater bot b1dc5e3f48 Localisation updates from https://translatewiki.net.
Change-Id: Id514797baa51581aae8c2367ba5a48572f5a725c
2019-05-05 21:58:31 +02:00
Translation updater bot 117a0abb98 Localisation updates from https://translatewiki.net.
Change-Id: Ie5dd52acd195e1bcb0b2ac667c09e5d5f900e62c
2019-05-03 22:06:46 +02:00
Translation updater bot 794e7523b7 Localisation updates from https://translatewiki.net.
Change-Id: I0456232b12ca0e4b1760262597cbaa547ef51848
2019-04-29 21:58:50 +02:00
Translation updater bot 250013c90c Localisation updates from https://translatewiki.net.
Change-Id: I11cf90e7977f2f666b98cfa9ace95791d6428322
2019-04-26 22:03:35 +02:00
Translation updater bot 0ce056c909 Localisation updates from https://translatewiki.net.
Change-Id: Ie58065cd015cda9bbdef5fd0b2ab1857ebb973d0
2019-04-22 09:04:04 +02:00
Translation updater bot 22a8380609 Localisation updates from https://translatewiki.net.
Change-Id: I3aaa0463bbd73ba1c2e2e123c901a4a7a874a672
2019-04-14 22:03:37 +02:00
Translation updater bot 878c1e8987 Localisation updates from https://translatewiki.net.
Change-Id: I25d9db143af9b5bb81aceaa06561dffa38d10993
2019-04-09 08:42:21 +02:00
Volker E 835bfa785f Update list bullet icon
Removing IE 6-8 fallback treatment and only provide SVG as
`list-style-image`. Also updating SVG fill color to use
text color.

Bug: T220327
Bug: T220328
Change-Id: I50ed85e420d6158e9ace5d879b6cf218a6a591b9
2019-04-07 23:08:38 -07:00
Volker E ec6b201456 Remove re-definition of default list-style-type value
Bug: T220317
Change-Id: I5bc0668011ee0ae553391888de35208acb8105b3
2019-04-07 17:42:39 -07:00
Timo Tijhof d56792addb Fix <h1> to be present even if title is "0"
Regression from 74b9803d9a, caused by a bug in LightNCandy which
caused {{foo}} to render "0", and {{#foo}} to pass as true with "0", but then
in {{#foo}}<b>{{foo}}</b>{{/foo} render as empty string producing "<b></b>".
In other words, the conditional is passing and the inner block is executed,
but the placeholder is mistakenly converting "0" => null => "" (empty string),
causing the <h1> to render but without any text in it.

Work around this bug by simply removing the conditional. Several other skins
already don't have this conditional and it's unclear why or in what
situation MediaWiki would send OutputPage to SkinTemplate without a title.

I think it would make sense in such rare case to still have a consistent
layout for extensions and gadgets to interact with and not omit the H1
element, but render it with the value that OutputPage gave it, even if it
is the empty string.

Bug: T219864
Change-Id: I6e04b512d2fe2e949ff5385cb38ceebe392fb255
2019-04-02 19:47:38 +01:00
jenkins-bot 10eaeeb5d3 Merge "Match frame and overlay appearance of ui-dialog to match WMUI" 2019-04-01 19:39:47 +00:00
Ed Sanders e2abfbd0db Match frame and overlay appearance of ui-dialog to match WMUI
Change-Id: I2098d28310e7fad61e7e9961b536bcac2890e1fd
2019-04-01 15:10:12 +01:00
Translation updater bot 6f2751d0e2 Localisation updates from https://translatewiki.net.
Change-Id: I1620304a2b222c56f3050cb63061f146064a8e17
2019-03-31 22:00:07 +02:00
jenkins-bot 9a0acd0288 Merge "Remove jquery.ui.spinner skin styles" 2019-03-28 21:17:15 +00:00
Ed Sanders 10ed1061bf Remove jquery.ui.spinner skin styles
Bug: T219403
Depends-On: Ifed9074cb49d146b4cd7e366bfc028854daf027b
Change-Id: If10a09e2bd2266244c4916ce480a77048de8736d
2019-03-28 19:19:41 +00:00
Michael Große 3669843c9f Fix invalid lang attribute on first heading
Bug: T219359
Change-Id: I0d6e036b65da024278fb492c6dfe44c79efb1e98
2019-03-28 11:54:40 +01:00
Translation updater bot 8b3688c946 Localisation updates from https://translatewiki.net.
Change-Id: Ib8c4cdf22b5822be8a6d1e9f34fc9fc7ce8a2180
2019-03-27 22:06:52 +01:00
Translation updater bot 558488b792 Localisation updates from https://translatewiki.net.
Change-Id: Ic0ce4e242abd430ddfe8921dc6fed8c4a41509f5
2019-03-26 08:53:30 +01:00
jenkins-bot 671d14d351 Merge "Upgrade to newer phan" 2019-03-21 06:55:46 +00:00
Kunal Mehta a21735b270 Upgrade to newer phan
Change-Id: If7d8badf4f5c564b7a9d6ab3575f9307ee98e9e7
2019-03-20 19:37:59 -07:00
jenkins-bot 787057fe20 Merge "Start extracting rendering from PHP into Mustache" 2019-03-18 22:34:11 +00:00
Translation updater bot 1923944b49 Localisation updates from https://translatewiki.net.
Change-Id: Id918dbc4611489bac3605a34a78ec77f5332daf5
2019-03-17 21:57:53 +01:00
Translation updater bot 0c147dd7aa Localisation updates from https://translatewiki.net.
Change-Id: I31469ee041516071fe116df93be632b3e7779415
2019-03-15 22:08:42 +01:00
Translation updater bot 34315f0311 Localisation updates from https://translatewiki.net.
Change-Id: I90ef1cbcf8131f3370fad18b94a426790a955404
2019-03-14 22:45:55 +01:00
Ed Sanders 7e76377bf8 build: Update eslint-config-wikimedia to 0.11.0
Change-Id: Idae38d2dff51827f7aff510d40b2358bf939b5e2
2019-03-13 23:23:14 +00:00
Translation updater bot f0b209ba50 Localisation updates from https://translatewiki.net.
Change-Id: I4ee588f853d72a26dc18cc1b70e66d62f4e8449c
2019-03-12 22:13:15 +01:00
Translation updater bot 5ffc988b5b Localisation updates from https://translatewiki.net.
Change-Id: Ieb33c15a3d01536980129c22e3bdc7e7364ad58e
2019-03-11 21:59:31 +01:00
Translation updater bot 5892f66a95 Localisation updates from https://translatewiki.net.
Change-Id: I121a379be3c2ddb86273cbc95c4b1d4f55266197
2019-03-08 22:08:01 +01:00
Translation updater bot 9fff19a87f Localisation updates from https://translatewiki.net.
Change-Id: I4b3f25e1086202a0e7f9116c50c486404851e906
2019-03-06 23:27:30 +01:00
Jdlrobson 74b9803d9a Start extracting rendering from PHP into Mustache
This reverts commit 8d0377d926
now a conversation has happened.

Bug: T217172
Change-Id: Id51bbd4358bdcc1131c11e13d5548e9c0474e711
2019-03-05 13:22:24 +00:00
Translation updater bot 26e880061f Localisation updates from https://translatewiki.net.
Change-Id: I95d4c187808d14b27eb4dc68523c83b8ae725ac5
2019-02-24 22:25:05 +01:00
Translation updater bot fa2831da39 Localisation updates from https://translatewiki.net.
Change-Id: I6993f81f8dbb8f67af593bcef565e1dc29610ee3
2019-02-21 21:58:58 +01:00
Translation updater bot 36e5af4cba Localisation updates from https://translatewiki.net.
Change-Id: I851311d2ca6f305ee796e1400d9b7ccfcfc9e90b
2019-02-19 22:03:45 +01:00
Translation updater bot bf675c6c53 Localisation updates from https://translatewiki.net.
Change-Id: I17c7ff15542316b62bbb5e5d8a2d719bfe03762a
2019-02-18 22:08:36 +01:00
Translation updater bot 255c18bb39 Localisation updates from https://translatewiki.net.
Change-Id: Ic0e005a51305062dafc9d9366d85b2f9101e552c
2019-02-17 21:57:51 +01:00
Translation updater bot 3a406ba1c1 Localisation updates from https://translatewiki.net.
Change-Id: I39150c4d3e169c80a3e3da9367794a0740b14203
2019-02-14 22:11:57 +01:00
Translation updater bot 4a62987dfa Localisation updates from https://translatewiki.net.
Change-Id: Ie04bcb62c257bb2bbdd371fdff0d03374c1b72d9
2019-02-11 22:01:21 +01:00
Translation updater bot 7d491a9ca0 Localisation updates from https://translatewiki.net.
Change-Id: I650f355551fbcbf982ffd847d8fedab8a43c5a4d
2019-02-10 22:02:30 +01:00
Ed Sanders e09e880e2f build: Update to eslint-config-wikimedia 0.10.1
Change-Id: Ie4363abc9c60291ef4a69f35973f3c25f5e3a3ec
2019-02-09 18:17:44 +00:00
libraryupgrader 317127137d build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I489f9a1e7d84de1cafe350e6a68c5ce2e29e93a3
2019-02-07 07:56:01 +00:00
Translation updater bot 6f7d0f8df4 Localisation updates from https://translatewiki.net.
Change-Id: I57ff218eb2ee6d364708127cc9fe3c1a99f313de
2019-02-05 22:15:24 +01:00
Translation updater bot 33833249a5 Localisation updates from https://translatewiki.net.
Change-Id: I22d3b8482787be33078f955f629cd0a9a350d7e2
2019-02-03 22:03:14 +01:00
Translation updater bot 479d13c0b9 Localisation updates from https://translatewiki.net.
Change-Id: Ib2708d4ea2d5d7d2981f2027448f1fe1d171b0c4
2019-01-30 21:56:09 +01:00
Translation updater bot 0161ab11ea Localisation updates from https://translatewiki.net.
Change-Id: Ie7662871bc4ee5b1f9a8b8d1eaf1ba70e99d2e71
2019-01-28 22:11:52 +01:00
Isarra 8d0377d926 Revert "Start extracting rendering from PHP into Mustache"
This reverts commit a3ca2c3e16.

Reason for revert: This requires wider discussion before moving
forward, and a more complete implementation even once we do have
consensus.

No associated task exists on which to view or continue this
discussion: linked task briefly mentions Mustache in general as an
option as part of a much wider topic, but doesn't concern this
specifically.

Issues that should be discussed include:
* What the intent even is here: is this for one skin only? Is this
  the intended path forward for all of them? Depending on which, we
  have other issues: for the former case, that it is quite
  unhelpful in terms of maintenance and further development having
  more random code diversity out there, especially in this
  half-completed state; or if it is indeed intended for all of them,
  that an RfC is needed before anything is merged, as that is a very
  significant change.
* That using Mustache in MediaWiki does add (usually minor)
  performance overhead; we need to clearly establish in the task that
  this is indeed worth it here.

Change-Id: I0bafa55b554aa8a38553e20c75859ec5eec2c062
2019-01-28 16:49:48 +00:00
Translation updater bot 8234491577 Localisation updates from https://translatewiki.net.
Change-Id: I73cf495e717fd3f4d9a175bad03d6999a76dc689
2019-01-24 22:37:48 +01:00
Timo Tijhof d306e07824 template: Avoid raw HTML parameter for jump link labels
Change-Id: I6c638118988b6fbea95697817edf8c59c0ef6a6b
2019-01-22 21:13:05 -08:00