Commit graph

5254 commits

Author SHA1 Message Date
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
Timo Tijhof 9cc0ca983c template: Remove is_callable check for getIndicators()
The VectorTemplate class extends BaseTemplate, which has defined
this method since MW 1.25. The Vector skin master branch supports
MW 1.29+ only.

Change-Id: I83c6add9e8c02df028ca5905934e7d367dbe2209
2019-01-22 21:13:05 -08:00
Timo Tijhof a3ca2c3e16 Start extracting rendering from PHP into Mustache
Bug: T140664
Change-Id: I249fead8e1c7bc5dc295457bd46b05e7ed389414
2019-01-22 21:13:05 -08:00
Translation updater bot 4927c84ac6 Localisation updates from https://translatewiki.net.
Change-Id: I4a645f2affc41e1f0791c3ca41428d5191a10a8f
2019-01-22 21:59:19 +01:00
Translation updater bot c2a11b4e36 Localisation updates from https://translatewiki.net.
Change-Id: If388699ad4274f195eaa5b5c45657a5530303ef7
2019-01-19 21:55:43 +01:00
Translation updater bot 9e9c6a6604 Localisation updates from https://translatewiki.net.
Change-Id: Ic7fa953763c11e824f83a396897d7f8f4d99954f
2019-01-18 21:56:54 +01:00
Fomafix c68a21e78a Remove space before Xml::expandAttributes()
Xml::expandAttributes() outputs a space at the beginning before it
outputs the attributs.
This change avoids a double space between the attributes.

Before this change the HTML contains:

  <a class="mw-wiki-logo" href="..."  title="...">

After this change the HTML contains:

  <a class="mw-wiki-logo" href="..." title="...">

Change-Id: I486d26bd56a4410766f40b78466c2f3559f3a1ff
2019-01-14 06:46:33 +01:00
jenkins-bot e646669f1e Merge "Avoid empty class="" without value" 2019-01-13 22:55:05 +00:00
Translation updater bot fe252bb744 Localisation updates from https://translatewiki.net.
Change-Id: I03bd19f652bdf8b4338ccbfb1f5106f32d41de50
2019-01-13 21:56:54 +01:00
Fomafix 82cbdb8111 Avoid empty class="" without value
Before this change the HTML contains:

<div id="p-personal" role="navigation" class="" ...>
or
<div id="p-personal" role="navigation" class=" emptyPortlet" ...>

After this change the HTML contains:

<div id="p-personal" role="navigation" ...>
or
<div id="p-personal" role="navigation" class="emptyPortlet" ...>

Change-Id: Ic686b958940afc958693d0031ac31e5f783960a9
2019-01-13 20:02:01 +01:00
Translation updater bot 8994137e2a Localisation updates from https://translatewiki.net.
Change-Id: I4d336a357deda6ef021b979e7d4d5e38471ed607
2019-01-12 22:14:03 +01:00
Ed Sanders 8634a77d0e build: Update linters
Change-Id: I8b99db813f12dc2031b5a1c195e6480f5512792a
2019-01-11 13:03:15 +00:00
jenkins-bot b4355e039f Merge "Use opacity for a WikimediaUI aligned transition on opening menu" 2019-01-10 07:04:38 +00:00
Volker E 20cbac1f5b build: Remove 'stylelint' package as it gets pulled-in by 'stylelint-config-wikimedia'
Change-Id: I164512519c0b34fc9d9a9415e55f265ebf3d1ad0
2019-01-09 13:14:10 -08:00
Translation updater bot 41ae520d7a Localisation updates from https://translatewiki.net.
Change-Id: I4235d19bb182522d6375eb7c0e672e8d95f56882
2019-01-09 22:02:25 +01:00
Translation updater bot 6823fbd99e Localisation updates from https://translatewiki.net.
Change-Id: I2ffd35199f3a46bd8b680c520fd5219016d990b2
2019-01-07 22:21:59 +01:00
Translation updater bot a89613802d Localisation updates from https://translatewiki.net.
Change-Id: I91492a2b55201c1fd239df60d55db617fe4f6b7a
2019-01-06 22:15:11 +01:00
Translation updater bot 210c282aa5 Localisation updates from https://translatewiki.net.
Change-Id: I1526f8e073972336ebf463a588232c085fce70a7
2019-01-01 22:00:02 +01:00
Translation updater bot b2a37bc6a5 Localisation updates from https://translatewiki.net.
Change-Id: I530e257d1ed5e710decb33d849b5e914ebfe6887
2018-12-27 09:20:15 +01:00
Translation updater bot bd058c4940 Localisation updates from https://translatewiki.net.
Change-Id: I6a12a722d5cdcc30d590f24130496f3fc57602e6
2018-12-18 22:29:58 +01:00
Kunal Mehta 872da65bb0 build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: If3491ee3453bbd7591027986a2f0b678c1a51794
2018-12-17 19:02:54 -08:00
Translation updater bot 148aeb6260 Localisation updates from https://translatewiki.net.
Change-Id: Ia59b1ffd5b5a0ddeb296d06d8e0698f759663242
2018-12-05 22:09:38 +01:00
Translation updater bot 3a94725934 Localisation updates from https://translatewiki.net.
Change-Id: Ie7ded64b3058087e5ab8340026bdfa1b896a7242
2018-12-04 21:57:00 +01:00
Volker E 0e089a0d4c build: Update 'stylelint-config-wikimedia' and make pass
Change-Id: I147ea18307c58c5091c5ad79585b5acec9d46235
2018-12-02 14:40:28 -08:00
Translation updater bot da0fa6280b Localisation updates from https://translatewiki.net.
Change-Id: I2e70b81c0f321f489544e8f6edfc59f0df4ed098
2018-12-01 22:02:07 +01:00
Volker E 85cce3dcaa Use opacity for a WikimediaUI aligned transition on opening menu
Replacing `display` with `visibility` and add a transition to
overflow menu.

Change-Id: Iaef15dcd342c15410c56e00988f130056fe269e2
2018-11-26 20:08:53 -08:00
jenkins-bot b9555e4bb3 Merge "Vector menu: Simplify and cleanup LESS structure" 2018-11-27 00:27:36 +00:00
Ed Sanders 828452ff27 build: Update eslint-config-wikimedia to 0.9.0
Change-Id: I3ea907f6ef3b6337c1e793668ae889610fc6a635
2018-11-26 23:39:36 +00:00
Volker E d0360d0b04 Vector menu: Simplify and cleanup LESS structure
Grouping related things, nest selectors in LESS way for easier
readability.
Placing `.vectorTabs li` & `.vectorMenuCheckbox` styles mostly
in its own nested selector to lower specificity.

Change-Id: I8e45af51ffcec618d585a54417e6a7cc3a9b82ad
2018-11-26 10:21:42 -08:00
Translation updater bot 170d7c07a2 Localisation updates from https://translatewiki.net.
Change-Id: Idb0f4ec0107c8f413e5fdfda75d98babde993eff
2018-11-19 21:59:25 +01:00
Translation updater bot bef5514c56 Localisation updates from https://translatewiki.net.
Change-Id: If1797c95f1d35c54f50f7c8b05771d04c46488e8
2018-11-18 22:27:48 +01:00
Translation updater bot ecb9a60c35 Localisation updates from https://translatewiki.net.
Change-Id: I116a78b4423d3398818eb722cf2e0214af143889
2018-11-16 22:08:19 +01:00
jenkins-bot 9744648ffc Merge "Remove obsolete aliases from closures" 2018-11-16 17:28:18 +00:00
Ed Sanders b61ad3a9a7 Remove obsolete aliases from closures
Bug: T208951
Change-Id: I6ca9ca80473317e44a10c268c7058bc2cf4d7b58
2018-11-16 15:35:52 +00:00
libraryupgrader 0388cd7f69 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I1f518ca56c9eb193e9ca198a3a94600168bbc3dc
2018-11-16 14:47:11 +00:00
Volker E da6d4eb280 Remove unnecessary div wrapper on overflow menu
Unordered lists can be absolute positioned down to IE 7.
Outdated selector `.vectorMenu ul` remains for a release cycle
until HTML cache is renewed.

Bug: T209558
Change-Id: Id18ca9a8d705572b1f7e17920ef52b80e9aec373
2018-11-14 20:41:08 -08:00
Translation updater bot 8d7fa67747 Localisation updates from https://translatewiki.net.
Change-Id: I3b1bfe78bb932b1139bbea0fd71ff7bdd4ecbe51
2018-11-12 21:58:12 +01:00
Translation updater bot 155be74428 Localisation updates from https://translatewiki.net.
Change-Id: Ie15f225d9d60a4bcfb4f87d1ec0717b09e0a01e9
2018-11-11 21:54:42 +01:00
Translation updater bot 046a79ed2e Localisation updates from https://translatewiki.net.
Change-Id: I9e89df0ac95093efe92cff1b8a1817433a427188
2018-11-08 22:00:23 +01:00
jenkins-bot 3b6815c4d1 Merge "Remove obsolete Special:Preferences styles after its transformation to OOUI" 2018-11-08 11:41:01 +00:00
Translation updater bot 4e115ac969 Localisation updates from https://translatewiki.net.
Change-Id: I9a3656e2187a8204e3510083b3d81e265cc428e1
2018-11-07 22:03:12 +01:00
Volker E 221b0b165a Remove obsolete Special:Preferences styles after its transformation to OOUI
These removed styles match no elements in the
Special:Preferences page since the OOUI transformation.

Bug: T208923
Change-Id: Iccbdcea5d5f769edfd8640c536e31289da9ee954
2018-11-07 12:50:57 -08:00