Commit graph

5446 commits

Author SHA1 Message Date
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
Translation updater bot b4b48b1836 Localisation updates from https://translatewiki.net.
Change-Id: Ie824945ffb43387ecb03006d50257106f27ddba7
2018-11-03 10:39:58 +01:00
jenkins-bot 675e557b75 Merge "Add method scope visibility" 2018-11-01 20:28:10 +00:00
Umherirrender 4b5f4256e1 Add method scope visibility
Change-Id: If1705b4834fb1ebeb1260cde26a2e3e3c4ca94a0
2018-11-01 21:01:32 +01:00
Ed Sanders 329f0c7327 build: Update devDependencies
eslint-config-wikimedia  0.7.2  →  0.8.1

Change-Id: I7a5553e9abf44fb681825c83c1984aae883f9c72
2018-11-01 11:20:46 +00:00
Translation updater bot aa08cd2118 Localisation updates from https://translatewiki.net.
Change-Id: I4777d5f54a4484a985d2ea4fe410bb7895f59061
2018-10-25 22:21:40 +02:00
Translation updater bot a2d4ff658e Localisation updates from https://translatewiki.net.
Change-Id: If6f5b29bb2a5e86b0fd14e259c6d8cf24319c93d
2018-10-18 22:19:05 +02:00
Volker E 6c3e0b62f2 Use list-style shorthand with x-browser compatible values
Change-Id: I6e47cb2dc406b9cfa3e2ca9b63f8cecce7c59ce1
2018-10-15 19:13:07 -07:00
Volker E f42faabb49 Bring personal tools' icons on baseline with label
Put icons on baseline as good as possible cross-browser. It's
complete waste of time trying. And is partly originated
in different internal text node sizing in various browsers,
biggest browser share difference is Chrome/Yandex/Safari 5 on Windows
against all others. Partly it's a result of us relying on `sans-serif`
generic font family instead of `Arial` – it results in different letter
baseline position within font's virtual letter box, which eats my limited
time on Planet Earth uselessly away.
Also adding and renaming LESS variable for proper code style.

Bug: T207075
Change-Id: I92acb9851a3c0acdbc40a4a4528a91c7332c9293
2018-10-15 19:02:18 -07:00