Commit graph

2314 commits

Author SHA1 Message Date
Timo Tijhof 0fddc4a258 tests: Remove use of QUnit 1.x setup()/teardown()
No longer supported upstream. Was kept compatible via monkey-patch
in MW core testrunner.js. While at it, also:

* Convert one file from an ad-hoc closure to using the QUnit.module()
  scop, as per <https://api.qunitjs.com/QUnit/module/>.

* Use inline variable declarations per current code conventions.

* Remove needless duplication and description from hardcoded
  assertion message.

Bug: T250045
Change-Id: If556b338c6151108aeebd241b828ccb420c8b857
2022-05-04 10:46:10 +02:00
Translation updater bot df91d9b95b Localisation updates from https://translatewiki.net.
Change-Id: I33901977372dc5bf07921d382be621b22908519e
2022-05-03 08:45:47 +02:00
Translation updater bot 71b7dac7e4 Localisation updates from https://translatewiki.net.
Change-Id: I792e4c56f414835de50b2afae82d2bb76648d640
2022-05-02 08:20:27 +02:00
Translation updater bot 0161772f6a Localisation updates from https://translatewiki.net.
Change-Id: I009b126a107981fc0f44a668ec7a3cf69ec26ced
2022-04-25 08:19:07 +02:00
Translation updater bot fec49aaf0e Localisation updates from https://translatewiki.net.
Change-Id: I2cef1bd8445e73cb4e07eeeb3b63c854630846bb
2022-04-21 08:12:40 +02:00
Translation updater bot 8b23018430 Localisation updates from https://translatewiki.net.
Change-Id: I44fe73021a89f088172db440516cbeceec279317
2022-04-18 10:06:57 +02:00
Translation updater bot fe0254b0f0 Localisation updates from https://translatewiki.net.
Change-Id: I401f5cff63359d4fd9c8032dd82fa7f83977a8db
2022-04-14 08:27:23 +02:00
Translation updater bot 0841853dd2 Localisation updates from https://translatewiki.net.
Change-Id: I94d8034c1c4a4e3b1510185a0af68e2b1526cb21
2022-04-12 08:14:56 +02:00
Translation updater bot c72fe41a31 Localisation updates from https://translatewiki.net.
Change-Id: I893058b492aa3eed21ede9e2168d55172f1ccb6b
2022-04-11 08:14:42 +02:00
Translation updater bot ed2536a125 Localisation updates from https://translatewiki.net.
Change-Id: I23cbcad3d4684def528a98e8553357a7e01a0cfd
2022-04-06 08:27:15 +02:00
gerritbot dedcbc2fbe Fix usage of ApiBase::PARAM_* deprecated constants
The ones that are replaced with ParamValidator

Bug: T275455
Change-Id: I8e022b0df8e10bce39cecc34dde2f74a486f2aa6
2022-04-04 01:30:00 +02:00
gerritbot b76da576d9 Replace deprecated ApiBase::PARAM_ with IntegerDef ones
The rest of ApiBase::PARAM_  will be done in separate patches

Bug: T275455
Change-Id: Ia12b3578ee820fe366baf7b0c5e049ebde1d0de5
2022-04-03 22:16:45 +02:00
Translation updater bot aabc828961 Localisation updates from https://translatewiki.net.
Change-Id: Ibfe3f3d609304fb3474204c17a9c6943e28a7742
2022-03-30 08:18:43 +02:00
Translation updater bot 86dfcef832 Localisation updates from https://translatewiki.net.
Change-Id: I94dda29595e4fee85810e947eb6479fe93c2cfbc
2022-03-28 08:22:09 +02:00
Translation updater bot 5aa47dce6b Localisation updates from https://translatewiki.net.
Change-Id: I66a011ceb6894aab9f03d33d339065d8f771723c
2022-03-23 08:25:46 +01:00
Translation updater bot ad971f2b59 Localisation updates from https://translatewiki.net.
Change-Id: I00323a83e8d1ea6a65c81c995d876cd5c502f21e
2022-03-11 08:33:17 +01:00
Translation updater bot c86b0a28b1 Localisation updates from https://translatewiki.net.
Change-Id: Ie5c1f164eebdf2954dd7f2dc45f8605ec8a22c54
2022-03-08 09:02:15 +01:00
Translation updater bot 43bd39941c Localisation updates from https://translatewiki.net.
Change-Id: I2901bd7cf95d26cff838c633c3b9cc5759cf93d8
2022-02-28 14:29:31 +01:00
Translation updater bot ba3b360c69 Localisation updates from https://translatewiki.net.
Change-Id: Ia9440933a9b80393411904f0d4ca9abf3816b362
2022-02-25 09:45:58 +01:00
Translation updater bot 29e59bf122 Localisation updates from https://translatewiki.net.
Change-Id: Ifa95cb2745da229f0b82e8c6f2df7306da73707b
2022-02-24 08:50:05 +01:00
Translation updater bot ba46e3bb5e Localisation updates from https://translatewiki.net.
Change-Id: I801b6bf1c5c0488cedd9a5418293b8994c7e137c
2022-02-23 08:19:33 +01:00
Translation updater bot 2a4ca5d6aa Localisation updates from https://translatewiki.net.
Change-Id: I772e5eaf53c58d37c5f0da4ddb13115c3d16bf0d
2022-02-18 08:41:09 +01:00
Translation updater bot 045b3a3d89 Localisation updates from https://translatewiki.net.
Change-Id: Iba8e4328cb4cc4025bba5bd97ba8c464e20574aa
2022-02-16 08:13:33 +01:00
Translation updater bot 5d7c908c1a Localisation updates from https://translatewiki.net.
Change-Id: Ic4c024a3e3cfa2b34d3c894f13599448cf157ca2
2022-02-14 08:15:16 +01:00
Umherirrender 778980cba6 Replace deprecated User::newFromIdentity with UserFactory
Moved the factory deeper into the code right before the one usage it
still needed a full user object.

Narrow done method arguments from User to UserIdentity
and use the identity directly

Change-Id: I2231db43f525a74e93dba8ea5865b256efd2dfce
2022-02-11 20:35:47 +00:00
bwang f2a7007931 Cleanup: Remove deprecated hasText option from MobileFrontend Icon
Depends-on: I6f4b0b914fbd329bdc64be89b512a377712600e6
Change-Id: I6344b51edcbe5b69d892b5867f983d2fadde9178
2022-02-11 16:23:07 +00:00
Translation updater bot 6373411442 Localisation updates from https://translatewiki.net.
Change-Id: I7ed3b22f429cf9d72c3d4e9b925e4c8e496a88ee
2022-02-09 08:13:15 +01:00
Volker E bb54b8a122 build: Add SVGO latest v2.8.0 and re-crush SVGs
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.

Bug: T283068
Change-Id: I24c4f386c83fd9412e7b861341add9838a898f7b
2022-02-07 05:12:10 -08:00
Translation updater bot 3d93c407e0 Localisation updates from https://translatewiki.net.
Change-Id: Ide88f7c89175f8e33144c9dfb19f5650d4b89977
2022-02-07 08:23:00 +01:00
David Lynch 7e05c0f97a Correct attribute for flow thanks
This is a follow up to aaaa5b63da.

Bug: T300831
Change-Id: I984a45c330a3f28dde11d80c520d40aac3b4aacb
2022-02-03 14:06:17 -06:00
Translation updater bot 6bfc52eb32 Localisation updates from https://translatewiki.net.
Change-Id: I16a6c162b060fa23910ac12732b1633913896dab
2022-02-02 08:20:26 +01:00
Translation updater bot 909e2c4791 Localisation updates from https://translatewiki.net.
Change-Id: I187ff9c1a73591632b6ed48698db8d49b1482dd2
2022-02-01 08:27:36 +01:00
Ed Sanders aaaa5b63da JS: Update APIs to make more extensible
* Don't require a jQuery element with a specific attribute
  to record thanks. Instead pass in the thanked ID directly.
* In Flow, don't override the cookieName static property,
  instead pass it in as an argument.
  Change the static property (effectively a global) prevents
  us from having multiple types of thanks on the same page.

Change-Id: Ia569f8636f070f2af69f89d7da66c9a6f9821d24
2022-01-25 22:02:15 +00:00
Ed Sanders 1daf4bcf2d build: Update eslint config
Change-Id: If0871326eb35f8cb6ef026784cd04fca5754ab59
2022-01-25 22:01:31 +00:00
Translation updater bot f25bb7c735 Localisation updates from https://translatewiki.net.
Change-Id: Idf0057666e7f61603841da313d76f2ca247e0c0b
2022-01-24 08:27:54 +01:00
Translation updater bot b12290d38a Localisation updates from https://translatewiki.net.
Change-Id: If921cf3207f338eab8729b269ef5b02ad9adbc68
2022-01-20 09:18:12 +01:00
Translation updater bot 7b5eb40fc3 Localisation updates from https://translatewiki.net.
Change-Id: I24298a24b20c6b026f455f2602e0782a54f91c9c
2022-01-17 08:13:08 +01:00
Translation updater bot 8011de7e30 Localisation updates from https://translatewiki.net.
Change-Id: Ib814479a53ae421aa6b2a07a36e855f6956d0e67
2022-01-10 08:11:52 +01:00
bwang b1ea8ca01b Update MobileFrontend Icon usage to include 'type' option
Change-Id: I4674dd8489acd9cf75c55faaf67666b10efb3d72
2022-01-04 17:18:47 -06:00
Translation updater bot bb561a910a Localisation updates from https://translatewiki.net.
Change-Id: I585bd45717e3aa35421e6fef13f939cd11d13704
2022-01-03 08:11:47 +01:00
Translation updater bot 5f2cd448c0 Localisation updates from https://translatewiki.net.
Change-Id: I8fd884f7d2b9b97975111508eca2406982558a9d
2021-12-31 09:42:25 +01:00
Translation updater bot b3ab126b8c Localisation updates from https://translatewiki.net.
Change-Id: Ic10c497eac30be005d598de80cc8b21b0b70a858
2021-12-28 09:30:41 +01:00
Translation updater bot 26003f0e54 Localisation updates from https://translatewiki.net.
Change-Id: Ic6565e5b24be31d34db5010624f883c9f3dcd6d4
2021-12-27 09:31:06 +01:00
Translation updater bot fb65184578 Localisation updates from https://translatewiki.net.
Change-Id: I806485e1b7beb2b509530809b0f72fdb3d6b8527
2021-12-24 09:09:59 +01:00
Translation updater bot 589f527f9b Localisation updates from https://translatewiki.net.
Change-Id: I3d95a23a0a69dcaafff7019b2194e160c0d5d02f
2021-12-23 08:38:32 +01:00
jenkins-bot df9241902b Merge "Replace usages of deprecated wfWikiID()" 2021-12-21 20:15:24 +00:00
Translation updater bot e5dcb84f2b Localisation updates from https://translatewiki.net.
Change-Id: Ie57e2282abb7796fa054f264e65cb6c3e123293a
2021-12-21 08:12:25 +01:00
Alexander Vorwerk d7b1bfe6f3 Replace usages of deprecated wfWikiID()
The global function wfWikiID() is deprecated since 1.35 and it's usages
should be replaced with WikiMap::getCurrentWikiId().

Bug: T298059
Change-Id: I0cb8e96b7e988aa1d6dce0cb3cddf65fc627b214
2021-12-21 02:32:37 +01:00
Translation updater bot 52e68a94ac Localisation updates from https://translatewiki.net.
Change-Id: Ib67f0a1631ed5aa8051838509c76566fb6a70be5
2021-12-20 08:21:44 +01:00
Alexander Vorwerk c60c7f01f9 Avoid using WikiPage::factory()
WikiPage::factory() is deprecated since 1.36 and should be replaced
with WikiPageFactory::newFromTitle().

Bug: T297688
Change-Id: I8a141512c51b5f7901ce1af36062f9b1ae64ef7b
2021-12-14 22:49:30 +01:00