Commit graph

2771 commits

Author SHA1 Message Date
Ed Sanders 957e81747b eslint: Update to 0.15.3
Change-Id: Ide2bdfac7838408c39e1d26ea7662b90a6e3ddfd
2020-04-25 22:32:53 +01:00
Translation updater bot 0f755d3357 Localisation updates from https://translatewiki.net.
Change-Id: I0dfbbd638adceac0802244a6550a5d320ebcc3d7
2020-04-24 08:23:13 +02:00
Translation updater bot f552f5e173 Localisation updates from https://translatewiki.net.
Change-Id: I13f022c17802f0f325fb3e455c60d688984169ee
2020-04-21 08:46:00 +02:00
Translation updater bot c51f57b370 Localisation updates from https://translatewiki.net.
Change-Id: I476df0c3bd4c353ec1c10add8571c67defa32c23
2020-04-10 09:51:45 +02:00
Translation updater bot bfb6834537 Localisation updates from https://translatewiki.net.
Change-Id: I5961f8957837fb1c0f3f9fb1228ac6efa2de6825
2020-04-09 08:39:45 +02:00
Translation updater bot a0ce862741 Localisation updates from https://translatewiki.net.
Change-Id: I79254a2b916886d8e0f53660a6292e74672ba4d3
2020-04-08 09:05:04 +02:00
jenkins-bot 164cd987d4 Merge "Enable Popups module in mobile, use feature detection to enable" 2020-04-07 14:41:34 +00:00
Translation updater bot fdf07a5346 Localisation updates from https://translatewiki.net.
Change-Id: Ia5c5fa216e119f43766ffeea9d85e4fccefec463
2020-04-07 08:47:32 +02:00
Translation updater bot f3ca9cda10 Localisation updates from https://translatewiki.net.
Change-Id: I00b4233741a682fee362f435d203f76ecf32d2eb
2020-04-06 09:02:38 +02:00
jdlrobson c597522b7d Enable Popups module in mobile, use feature detection to enable
This means that users of the mobile site on a desktop browser will
now benefit from Popups.

Targets is not necessary for `ext.popups.images` as these modules are
enabled on mobile by default.

Bug: T236097
Change-Id: I401fbb522ec97fdc81259702c8283c95386531af
2020-04-02 18:23:31 +00:00
Translation updater bot e355d7a3b9 Localisation updates from https://translatewiki.net.
Change-Id: I1a71126d0951f37dca4f61c05e375c522a4875ff
2020-04-01 08:25:30 +02:00
Translation updater bot 7620884451 Localisation updates from https://translatewiki.net.
Change-Id: Ia361e6f7552b76a8e3e39745dba0617734852bf7
2020-03-31 08:29:15 +02:00
Translation updater bot c43581eeec Localisation updates from https://translatewiki.net.
Change-Id: I0a7760e80ace1de9fdf2ed3e469898ef645a0279
2020-03-30 09:14:55 +02:00
Translation updater bot 9d72260851 Localisation updates from https://translatewiki.net.
Change-Id: I5e9da31bea3b8ce4bbc5695986a720ca13859fb6
2020-03-27 08:41:51 +01:00
Translation updater bot 23798b2364 Localisation updates from https://translatewiki.net.
Change-Id: I1dc97eafccb6bb0f547ed5c2ba5641c4aac3ba1b
2020-03-23 09:04:11 +01:00
Translation updater bot 6cc492035c Localisation updates from https://translatewiki.net.
Change-Id: I9af2db8536991034476df9d7b55f9e9c93d8642a
2020-03-20 08:24:46 +01:00
Translation updater bot 909f414b8f Localisation updates from https://translatewiki.net.
Change-Id: If3c81e04fbb860f9136779347ab3ea13ece57e4a
2020-03-18 08:58:37 +01:00
Translation updater bot 137d1610a6 Localisation updates from https://translatewiki.net.
Change-Id: I0238f810429c56b4a2c1a08380b6d7683ed59645
2020-03-17 10:25:43 +01:00
Translation updater bot 7c8e9234aa Localisation updates from https://translatewiki.net.
Change-Id: I55e5a51e73b8c24813de5a218086cab2f0b26ac6
2020-03-16 16:02:19 +01:00
Thiemo Kreuz dc82c423fa Add the word "popups" to this extensions description
Previously, the name was "Page Previews". This is not true any more.
Reference as well as Math previews are developed. We changed the name
to "Previews".

This creates confusion because Special:Version does not contain the
word "popup" any more. I think it's worth fixing this.

Bug: T219153
Depends-On: Ie0060125cf4646d80f8c88eedd01551f66e3fb89
Change-Id: Id9862f45690f1c8b391f55d7fcaf88aa15f65912
2020-03-13 15:11:58 +00:00
Translation updater bot ec071e5a7f Localisation updates from https://translatewiki.net.
Change-Id: I9daceadfdde04ca2d5e448ed945363de97c1182e
2020-03-12 08:43:25 +01:00
Translation updater bot cd1461e5ca Localisation updates from https://translatewiki.net.
Change-Id: Icf896c21e9b3cad9598474909dbf8f4768789d5c
2020-03-10 08:15:34 +01:00
Ed Sanders 050911fe11 Use faster implicit conversion instead of Number.parseFloat
Change-Id: Ide478617475c73bfe6a81cdb171d606082a1448b
2020-03-03 17:26:55 +00:00
Translation updater bot 59dbc59a81 Localisation updates from https://translatewiki.net.
Change-Id: If0f234e85ddcbadd8b1293a4ced23bbf2b641af4
2020-03-03 08:14:52 +01:00
Translation updater bot d4ad999835 Localisation updates from https://translatewiki.net.
Change-Id: I85fe047bc897fbbf45f805eac4da49bbeb7f32bb
2020-03-02 09:11:12 +01:00
Umherirrender 731a9935ce build: Updating dependencies
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.2
* mediawiki/minus-x: 0.3.2 → 1.0.0

Change-Id: Ibbcaf9b631a735abdb6e06b8428bd44414f73ae6
2020-02-28 20:48:57 +01:00
Translation updater bot b770991d06 Localisation updates from https://translatewiki.net.
Change-Id: I03ae052f05bd23f16dbd22d0fc03649e0b32d477
2020-02-26 08:25:24 +01:00
jenkins-bot 7b1276d909 Merge "Replace grunt fix with grunt eslint --fix" 2020-02-25 17:23:08 +00:00
Sam Smith 2a75aa525b docs: Generate documentation with Doxygen
doc.wikimedia.org is a helpful resource when iterating on a codebase.
Like MobileFrontend, generate documentation with Doxygen so that it can
be published there.

Note well that:

- The CALL_GRAPH and CALLER_GRAPH statements have been removed as they
  were being set to the default value (NO)

- DOT_FONTSIZE was increased from 10 to 12

Bug: T242779
Change-Id: I41e4c6ca2b604382b036606ebcb40f11a1e8abc0
2020-02-24 17:10:53 +00:00
Ed Sanders 6de53e8681 Replace grunt fix with grunt eslint --fix
Appending --fix is what the eslint output suggests when
fixable errors are detectable, so better to just support
that than invent a new grunt sub-task.

Pass the same option to stylelint.

Change-Id: Ic8902f821d53a3fe6ca521ff1785c52baa99ceb1
2020-02-24 14:49:19 +00:00
Translation updater bot 0324efbbd5 Localisation updates from https://translatewiki.net.
Change-Id: I16f2b8b90908aeed6fe6588762c897ae1e628bcc
2020-02-24 09:03:36 +01:00
Translation updater bot 45d7b1b54c Localisation updates from https://translatewiki.net.
Change-Id: I86f962553315f5df13b7191a685274d6eeda0fb0
2020-02-17 08:47:25 +01:00
Translation updater bot 6f5ccd407c Localisation updates from https://translatewiki.net.
Change-Id: Ibde251723850a53942257f97c69a5753dfc98bfb
2020-02-14 08:26:24 +01:00
DannyS712 68d52f7fa9 Use assertTrue instead of assertSame to compare with true
Bug: T244552
Change-Id: I42c50e37515e49a15658041147edc1d644812c46
2020-02-07 07:17:04 +00:00
Translation updater bot afcba48cc0 Localisation updates from https://translatewiki.net.
Change-Id: I351b22f257bc2d42cd509d1d5429d0590a32f3dd
2020-02-06 08:19:50 +01:00
jenkins-bot 992f73ebab Merge "build: Upgrade jquery to version used in MediaWiki" 2020-02-04 09:21:14 +00:00
jdlrobson 62af052bf6 build: Upgrade jquery to version used in MediaWiki
Change-Id: Ied35038ad5c86cad847d9f5fc3d395d7a087124c
2020-02-04 17:04:25 +08:00
jenkins-bot ee6c902702 Merge "build: Upgrade nyc from 13.1.0 to 15.0.0" 2020-02-04 08:04:18 +00:00
jdlrobson 2337c84a78 build: Upgrade nyc from 13.1.0 to 15.0.0
Bug: T243790
Change-Id: Ib8cc7041d792bed0a19d18e14506627099a69bea
2020-02-04 15:35:29 +08:00
Piotr Miazga 0ab39f88e7 Enable by default
Popups is enabled on the Wikipedias but disabled by default, which makes
it more difficult to enable on third-party wikis.

Things should be enabled by default, and them WMF configs should disable
features when they are not used/available.

Supporting changes:

- Rename PopupsContextTest#testAnonUserHasDisabledPagePreviews and
  remove the associated data provider, which provided only one datum

- Set $wgPopupsReferencePreviews to false in
  PopupsContextTest#testShouldSendModuleToUser in order to isolate the
  code under test

Change-Id: Ib8cc7041d792bed0a19d18e14506627099a69bef
2020-01-29 15:40:23 +00:00
jenkins-bot fa7af0a187 Merge "[hygiene] [doc] consolidate docs in root readme" 2020-01-28 08:51:27 +00:00
jenkins-bot be746b567b Merge "[hygiene] [Git] anchor Storybook .gitignore path" 2020-01-27 08:00:53 +00:00
Umherirrender 9fa7f2071c build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
Change-Id: Ifb739130872b192b0fee54351555b65c3099981e
2020-01-26 20:22:03 +01:00
jenkins-bot acead3c76b Merge "Don't use double dash in refrence preview tests" 2020-01-24 17:55:39 +00:00
Translation updater bot df874266fd Localisation updates from https://translatewiki.net.
Change-Id: If352b8b36ad72dd382f370b4014c25b253772623
2020-01-24 08:15:29 +01:00
WMDE-Fisch 4f263bebfc Don't use double dash in refrence preview tests
The default way to build these ids is without a double dash afaik.

Change-Id: I068d97de517f9da09c203d543cf6eb51cf306465
2020-01-23 18:41:50 +01:00
Translation updater bot 06b19134c3 Localisation updates from https://translatewiki.net.
Change-Id: I063ce21138641c1c90cbcc1c670549a84733630b
2020-01-22 08:30:34 +01:00
Translation updater bot efb3f93d41 Localisation updates from https://translatewiki.net.
Change-Id: Ie691712e0d37dc5a6b73e8b234dee5f69be3d1b0
2020-01-20 08:50:21 +01:00
Stephen Niedzielski 7d86f0d732 [hygiene] [doc] consolidate docs in root readme
Move /docs/ui/README.md into /README.md. This fixes an issue where the
precommit script dirties the working directory on every commit (it
deletes docs/ui/README.md, which can be confusing) and makes the root
readme the single source of documentation.

Change-Id: Id99ca09b738a6fd3299f1acb4f238902461cdd95
2020-01-14 08:58:34 -07:00
Stephen Niedzielski f9473f1830 [hygiene] [Git] anchor Storybook .gitignore path
For consistency and best practice, anchor the .storybook/mocks/**/*.less
path at the repo root.

Change-Id: I6121d5de6eb53ba2839a97a867c079d8e044f97f
2020-01-14 08:50:12 -07:00