Commit graph

2781 commits

Author SHA1 Message Date
Translation updater bot 27d1f07a38 Localisation updates from https://translatewiki.net.
Change-Id: I2196e88f40a9cbd57c33e157e699a74870778efd
2020-05-20 08:35:42 +02:00
DannyS712 751e05160a Fix PSR12.Properties.ConstantVisibility.NotFound
Bug: T253169
Change-Id: I6504b960d34726d94c79b68e186a4206a3cf386a
2020-05-19 23:38:59 +00:00
Translation updater bot 929e6c8bae Localisation updates from https://translatewiki.net.
Change-Id: Icf70a150954b0648fedc9fea07c29db9432185e2
2020-05-14 08:32:59 +02:00
Translation updater bot 78f5fddac6 Localisation updates from https://translatewiki.net.
Change-Id: Ib326e1223e48f784f476832074250635b603b67a
2020-05-12 08:21:44 +02:00
Yuki Shira e7c0997cf5 Add Special:MyLanguage for better user experience
Change-Id: If3617ed687ed25a1f0b92d51fa81e1a00c897528
2020-05-10 13:54:41 +09:00
Translation updater bot d1be1ec945 Localisation updates from https://translatewiki.net.
Change-Id: I423ac1c60ef3e441b3377b2c905f64c7838a43ae
2020-05-07 08:35:16 +02:00
Translation updater bot 5b9893d241 Localisation updates from https://translatewiki.net.
Change-Id: I37f77be5ade4eae241aba9b390792aadf12e67c6
2020-05-05 08:31:07 +02:00
Ed Sanders 1703736805 eslint: Fix selenium config
Change-Id: I7baea467c1d7ac44d9fb1788cf9a3fb8d520c6b1
2020-05-02 14:27:00 +01:00
Translation updater bot 6d909b676f Localisation updates from https://translatewiki.net.
Change-Id: I35f986bc877b76b5027406e70e69a3db89750129
2020-04-30 08:39:38 +02:00
Ed Sanders 85fc18d38d eslint: Cleanup linting of /dist
* Move eslintrc.es5.json to /dist to avoid extra Grunt config
* Upgrade clean-webpack-plugin and exclude dist/.eslintrc.js
  from cleaning
* Set root:true and just enable wikimedia/language/not-es5 instead
  of disabling dozens of rules
* Remove getOwnPropertySymbols rule as webpack uses this.

Change-Id: I802138a8a591dd4c3cb0cc637112e383570286df
2020-04-27 20:45:42 +01:00
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