Commit graph

4467 commits

Author SHA1 Message Date
Translation updater bot 0520480800 Localisation updates from https://translatewiki.net.
Change-Id: I3f8b81f0786a9c9787aab314a474bd0cde15444c
2022-04-25 08:21:32 +02:00
Translation updater bot ffbf249590 Localisation updates from https://translatewiki.net.
Change-Id: I4ae3c7d04b744be2ea1782ed0a390774f171d7b0
2022-04-21 08:13:47 +02:00
Translation updater bot 4933732c73 Localisation updates from https://translatewiki.net.
Change-Id: I189db8554c8e7df19157f4a439cab26dba3683b1
2022-04-20 08:20:21 +02:00
lens0021 963eee3688 Set MobileFrontendEditorAvailableSkins attribute
The attribute tells MF this skin is ready to allow the user to show the
editor.

Bug: T257746
Depends-On: Iac3fc9571827782c2a9fe9531b885218e2159d29
Change-Id: Ib435929376bc34a1dcede1cd142b0e1cb186b6a9
2022-04-19 19:05:10 +00:00
jenkins-bot d10c082822 Merge "Style section headings using flexbox" 2022-04-19 10:35:06 +00:00
Translation updater bot 518a0d0304 Localisation updates from https://translatewiki.net.
Change-Id: If37425958928f18f6be167b5958c49d06d9455a2
2022-04-19 10:18:08 +02:00
Jon Robson 55419f9bcc [Tests] Strengthen the reference drawer test
Assert the drawer is visible before clicking it.

Bug: T266704
Change-Id: Iec1d2a2c0a4b34509f4b73ed87ccc63eeecad671
2022-04-18 23:05:29 +00:00
Translation updater bot 754d1d9781 Localisation updates from https://translatewiki.net.
Change-Id: I60d2d9d3ffd3060622335682fa09583f0e3051bb
2022-04-18 10:08:58 +02:00
libraryupgrader a86fd8e1d2 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* eslint-config-wikimedia: 0.21.0 → 0.22.1
* wdio-mediawiki: 1.1.1 → 1.2.0
* @wdio/cli: 7.16.4 → 7.19.5
* @wdio/local-runner: 7.16.4 → 7.19.5
* @wdio/sync: 7.16.4 → 7.19.5
* jsdoc: 3.6.7 → 3.6.10
* ansi-regex: 5.0.1 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 3.2.2 → 3.2.2
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 2.7.4 → 2.7.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* jake: 10.8.2 → 10.8.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* json-schema: 0.2.3 → 0.4.0
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* jsprim: 1.4.1 → 1.4.2
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* mocha: 9.1.3 → 9.2.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.3.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* shelljs: 0.8.4 → 0.8.5
  * https://github.com/advisories/GHSA-64g7-mvw6-v9qj
* url-parse: 1.5.3 → 1.5.10
  * https://github.com/advisories/GHSA-jf5r-8hm2-f872
  * https://github.com/advisories/GHSA-hgjh-723h-mx2j
  * https://github.com/advisories/GHSA-8v38-pw62-9cw2
  * https://github.com/advisories/GHSA-rqff-837h-mm52

Additional changes:
* Set `name` in package.json.
* .gitignore: Added .phpunit.result.cache (T242727).

Change-Id: Ic4993fac43fb42af08654aab03352281d663cce9
2022-04-16 08:43:11 +00:00
Translation updater bot 5632b8ccef Localisation updates from https://translatewiki.net.
Change-Id: I42f2c45282be78ff300a87ade374d23f05b6dba5
2022-04-15 09:59:23 +02:00
Bartosz Dziewoński 2690ea3a9c Style section headings using flexbox
Bug: T305971
Change-Id: I383971a1bebafd1af1e971ad02648bd943b0c5ee
2022-04-14 22:16:01 +02:00
Translation updater bot ff9e8f0a4f Localisation updates from https://translatewiki.net.
Change-Id: I2e61cdc7837d942fb9bc13041291d4ef26ddb27e
2022-04-13 08:34:17 +02:00
lens0021 ea8c30b65c phpunit: Implement the new BundleSizeTest::getSkinName()
Bug: T305779
Depends-On: Id77c6124c9b1fd20633cda47bbca89f9b6724a63
Change-Id: Ia82018a31ff6ce2fe80946fd8f8d05a1dddf9523
2022-04-12 00:50:24 +00:00
Translation updater bot 916e8bc9c1 Localisation updates from https://translatewiki.net.
Change-Id: Icb848b16eb90aa9456508a569ea50a925bd10274
2022-04-08 08:30:39 +02:00
Jon Robson 0fe451b23a FIXME cleanup
- Remove cached HTML relating to heading change
( I2ffdedd64414ffb3c6e441391a75fd6e744847a4)
- Update invalid instruction for selector in footer (I0bfc7f977cdaf5ce8873103346c64121d704b86c)
It appears this rule cannot yet be removed.
- Update classes for contributions icon on user pages
(I6c908acd70c0dca5bcb1754d1b25d3da2389feb8)

Change-Id: I271abf3d29dfcfd19d654514fb3f6d6e257505ab
2022-04-06 20:17:22 +00:00
jenkins-bot ce958d3616 Merge "Remove browser tests in Ruby" 2022-04-06 17:26:14 +00:00
Jon Robson 996b3fc36b Remove browser tests in Ruby
These are never run. We are not running them manually, so we should
remove them from the codebase.

Change-Id: If54b45dfc72f32c2631a4338096b568aae5d404a
2022-04-05 15:49:35 +00:00
Translation updater bot afb75bea22 Localisation updates from https://translatewiki.net.
Change-Id: I72b7d8b71cf6918e603b5499368cbd7aa3595fec
2022-04-05 08:27:41 +02:00
Thiemo Kreuz 73749969d6 Re-arrange getHistoryLink method for readability
Most notably: Bail out as early as possible.

Change-Id: Ibd22bd41e6d38a807edf45acdcd72c29537a0c06
2022-04-04 20:03:24 +00:00
Translation updater bot 53331f749a Localisation updates from https://translatewiki.net.
Change-Id: I3f383a9666d25d2add5b17dcf951a3ff12b55ef2
2022-04-04 09:37:21 +02:00
Translation updater bot 0c3332abb9 Localisation updates from https://translatewiki.net.
Change-Id: I14499873b0270b495a9ce5d10329485934f7a4fa
2022-04-01 08:29:38 +02:00
jenkins-bot 286eca0d50 Merge "Contributions headings should be border box" 2022-04-01 00:53:07 +00:00
Jon Robson 9ffc476b1d Contributions headings should be border box
On mobile devices this is adding horizontal scrolling

Bug: T301798
Change-Id: Ibee771dce4924b138d3dd3df502659b2ea17c66d
2022-03-31 10:30:11 -07:00
Translation updater bot 57df591896 Localisation updates from https://translatewiki.net.
Change-Id: Ie18a43c7ab76ff34c94c0e54390b2fd9e0f7a6d9
2022-03-31 08:37:47 +02:00
Translation updater bot 37a5529678 Localisation updates from https://translatewiki.net.
Change-Id: Ie93b300cc6db9828ffc027d1906889ec7450aa36
2022-03-30 08:19:58 +02:00
Translation updater bot e830c909cd Localisation updates from https://translatewiki.net.
Change-Id: Ieb9193f68045a2ddac2aeb28faad9a8c56c88a64
2022-03-28 08:24:37 +02:00
Translation updater bot ad622779d0 Localisation updates from https://translatewiki.net.
Change-Id: Ie3e86c1783e97f5dd29df98e07dcc89c5b9e280f
2022-03-25 08:37:23 +01:00
jenkins-bot 4ca578ea7f Merge "Remove message in en-gb.json" 2022-03-24 11:30:35 +00:00
Translation updater bot 0810addfc0 Localisation updates from https://translatewiki.net.
Change-Id: Ic7d541c36777cf1208926d85e5cd9b3eed8ded0e
2022-03-24 08:37:50 +01:00
Jon Robson 5586526d18 Show the mw-index-pager-list-header
Note this will not go into effect until Iae32ce9eab163bcb5b5b95dfd19c03276bc0f1a9
has been merged which enables skin styling.

The order is intentional to avoid leaving master in a state where
the heading is unstyled but shown.

Bug: T301798
Change-Id: Ia7836a42bfd90379fab981cbd6c64a1c00b29399
2022-03-23 19:22:12 +00:00
Ed Sanders a02b791c99 Remove message in en-gb.json
This was deleted upstream on 2022-03-10:
https://translatewiki.net/w/i.php?title=Special:Log&logid=7209161
but for some reason this file wasn't removed.

Change-Id: Ic985220546eb105c76679cea7b10836e29500fe8
2022-03-23 13:35:30 +00:00
Translation updater bot a6b8d0704e Localisation updates from https://translatewiki.net.
Change-Id: Ieb8681b9341d3f15a598a07157c6e48824a5eb84
2022-03-23 08:26:53 +01:00
jenkins-bot a0fa695ee2 Merge "Move TOC button fixes to wikipage.content hook" 2022-03-22 21:26:35 +00:00
Ed Sanders 8899efd4b9 Move TOC button fixes to wikipage.content hook
The content area can be updated, after which these changes
need to be re-applied.

Bug: T219420
Change-Id: I3cd89fe98f74be70bf1e58cf606b2c19be8db2cf
2022-03-22 21:05:03 +00:00
Translation updater bot 7f2166cf6c Localisation updates from https://translatewiki.net.
Change-Id: Icfdc20ea1eb36e47d33bd6c78cdec138d3013c8a
2022-03-22 08:32:03 +01:00
Translation updater bot a412266181 Localisation updates from https://translatewiki.net.
Change-Id: Ie07c29ab180c8749c4a679f17c2927ac29b8c76b
2022-03-21 08:17:15 +01:00
Translation updater bot b844f81516 Localisation updates from https://translatewiki.net.
Change-Id: I318a78443b23c8141180a2bb8be359da0fc9bc0b
2022-03-18 08:47:17 +01:00
Jon Robson c4f7c60f9f [Tests] Move beforeEach calls into tests
beforeEach failures do not have videos associated. We'd like to see
what's going wrong with these tests.

Change-Id: I1b723bcd7d00f15907647d5c7a4aa1f57578468c
2022-03-17 14:14:10 -07:00
jenkins-bot 366d37efb1 Merge "Revert "[Tests] Check for VisualEditor in editor overlay integration test"" 2022-03-16 22:01:31 +00:00
Jdlrobson 63e744d147 Revert "[Tests] Check for VisualEditor in editor overlay integration test"
This reverts commit 422e3a3b09.

Reason for revert: The Ruby tests don't run. This change should be in
the Node tests.

Change-Id: If59753569b1eb24ffaf2486242ea49e794d388b5
2022-03-16 21:44:55 +00:00
jenkins-bot ddc5252b52 Merge "[Tests] Check for VisualEditor in editor overlay integration test" 2022-03-16 17:22:47 +00:00
Translation updater bot 7a7b382ad6 Localisation updates from https://translatewiki.net.
Change-Id: I2db704eb88a806095111b9dd3feeb318a2866854
2022-03-16 08:09:33 +01:00
Jon Robson 422e3a3b09 [Tests] Check for VisualEditor in editor overlay integration test
The mobile editor can load in two modes - visual editor or wikitext
editor. On the beta cluster depending on user preferences, the
VisualEditor may be loaded.

Since this test is just a smoke test that checks it renders, it's
okay to look for both.

Bug: T301575
Change-Id: I8192fc6e71e064278f62fc41e80652860f319e37
2022-03-15 22:41:51 +00:00
Translation updater bot d1d8280ba0 Localisation updates from https://translatewiki.net.
Change-Id: If829bfb85efd8956a4328f8aa836d2a03f6826ea
2022-03-15 08:27:08 +01:00
Translation updater bot f37f30bbb8 Localisation updates from https://translatewiki.net.
Change-Id: Ib059c81a102f9bd84f540df0826b453a2923fe0d
2022-03-14 08:16:41 +01:00
jenkins-bot f3565a4d7c Merge "Replace Title::newFromText by Title::makeTitle" 2022-03-13 21:56:31 +00:00
jenkins-bot 45b99d0465 Merge "Reorder checks in Defintions from cheaper to expensive" 2022-03-13 21:53:57 +00:00
Translation updater bot af47967a67 Localisation updates from https://translatewiki.net.
Change-Id: I26a8885118cb63ed501cf815793e851709a9087a
2022-03-11 08:35:03 +01:00
Umherirrender 3ed8be2752 Reorder checks in Defintions from cheaper to expensive
Check the messages first and only parse the Title if needed
Use local variable to avoid repeated call to functions

Change-Id: I376d06b807183fb23cb07ad33ee54b387beea6f9
2022-03-10 23:05:13 +01:00
Umherirrender 4831549b14 Replace Title::newFromText by Title::makeTitle
* Prefer Title::makeTitle in unit tests where the title is known,
  this avoids title parsing and can improve the test performance.
* Use Title::makeTitle for the user page like done in User::getUserPage

Change-Id: I3901a6ed208a5ff90b216d01d3c4962cdcb48db1
2022-03-10 22:42:56 +01:00