Commit graph

2550 commits

Author SHA1 Message Date
Daimona Eaytoy dff83a4b24 Stop using deprecated Language methods
Change-Id: I46b6e388d96080ef0389601f01e2b2bb20cfd185
2021-02-27 15:59:17 +00:00
Umherirrender bc7b102141 build: Updating mediawiki/mediawiki-codesniffer to 35.0.0
Change-Id: Ic18538ccc62474ee9252e8ba7924fd84ec780410
2021-02-26 23:14:14 +01:00
Translation updater bot 9912d34b2c Localisation updates from https://translatewiki.net.
Change-Id: I7c37150eba66c7cd7b5f1bc12af30afceada0ee0
2021-02-26 08:59:47 +01:00
Translation updater bot 1ca23b823f Localisation updates from https://translatewiki.net.
Change-Id: I509985d58a4cefc52fc47010f5141f825719e0bc
2021-02-25 08:41:00 +01:00
Translation updater bot a93aa09ede Localisation updates from https://translatewiki.net.
Change-Id: Ic94e6a6f31d65acd43942d7bf1db168fcb55e91d
2021-02-22 08:57:47 +01:00
Translation updater bot 52a2709370 Localisation updates from https://translatewiki.net.
Change-Id: Iccd3b7d2b0ed8ecc8f9f8af1455491101996caa5
2021-02-19 08:34:37 +01:00
Translation updater bot d3fbbaf9a5 Localisation updates from https://translatewiki.net.
Change-Id: Iea08ae4237b0bd6752783688537c19a661ed95a7
2021-02-15 10:10:14 +01:00
Piotr Miazga (polishdeveloper) 82724b3c44 Add data-mw="interface" attribute to Menu elements
While dropping support of smart logout in favour of core ready.js
logout, we noticed that the logout selector is a little bit too weak.
Editors could make a link on a page that would work as a logout
button. The easiest way to prevent this (and any other possible
problems) is to add `data-mw="interface"` attribute to all generated
menu entries.

Change-Id: I22611b9641d82328623beb3f693bf7cddb2289ff
2021-02-11 20:35:40 +00:00
Piotr Miazga (polishdeveloper) 5a2527d71d Drop smart logout handling in favor of core ready.js
MediaWiki core added support of overrideLogoutSelector skin
config variable which allows us to define the logout button
selector. Thanks to that we do not have to ship our
custom/duplicated smart logout handler as we can use the
one shipped with ready.js.

Depends-On: Id313337c85229a5e8d0aada3a67d722048709597
Bug: T259200
Change-Id: Ie0192a176dfa8be994a544221aa71de75028d502
2021-02-11 17:26:47 +00:00
Translation updater bot f31db9edf5 Localisation updates from https://translatewiki.net.
Change-Id: I6659acb890002d687a35a10ddf8e52ec0f4ac8b9
2021-02-11 08:43:44 +01:00
Translation updater bot 4351eba58b Localisation updates from https://translatewiki.net.
Change-Id: I626b10da3e6a04d32fddc122cc6d24410c306304
2021-02-09 08:43:49 +01:00
Translation updater bot a63ee8156b Localisation updates from https://translatewiki.net.
Change-Id: Ibacb201a5f01fb8ed26d8b8123274faa12ede456
2021-02-01 08:51:43 +01:00
Translation updater bot fb3b989183 Localisation updates from https://translatewiki.net.
Change-Id: Idb9d584b33405ac5e85061eb6852ff320bb7289b
2021-01-29 08:40:41 +01:00
Translation updater bot b8e1509043 Localisation updates from https://translatewiki.net.
Change-Id: I9c32097220167443fdbcb90d4406261b3d90306e
2021-01-28 08:39:39 +01:00
Translation updater bot 3d5b7fabd5 Localisation updates from https://translatewiki.net.
Change-Id: Id214dfea5f5b4679966079aa7dbf5d09fbe2dc4c
2021-01-25 08:58:22 +01:00
jenkins-bot b9a0a9b38c Merge "Add max-width limit to empty watchlist page" 2021-01-21 20:19:46 +00:00
yash9265 b14d4e04af Add max-width limit to empty watchlist page
On the Watchlist, when there are no results, the page uses .info and
.empty-page classes. This results in text running without max-length.

Add max-width rule to contain it.

Bug: T222872
Change-Id: I768f800a49e756da1ad2c123c842c37d18fa3310
2021-01-21 19:49:32 +00:00
Translation updater bot 706365406e Localisation updates from https://translatewiki.net.
Change-Id: Idcf218fd058b4989cd9435954362ee99536cfd73
2021-01-18 08:44:37 +01:00
Umherirrender 09b331ab83 Improve function and property documentation
Change-Id: I16cc3831cd4c917aa679c7f7c535b97e498291a7
2021-01-16 14:35:10 +01:00
Edward Tadros fbd373b5d7 Selenium: Skip test Wikitext Editor (Makes actual saves)
Bug: T269051
Change-Id: I5680d98d9d3be8238c427f1baf0b1ac78658cbb7
2021-01-14 22:20:24 -08:00
Translation updater bot 874b3b1c9b Localisation updates from https://translatewiki.net.
Change-Id: Ief8e1d247d2c2825662419cd7720134ae95732d7
2021-01-11 08:37:47 +01:00
libraryupgrader 974bdb5ec4 build: Updating npm dependencies
* bundlesize: 0.18.0 → 0.18.1
  * https://npmjs.com/advisories/1594 (CVE-2020-28168)
* github-build: 1.2.1 → 1.2.2
  * https://npmjs.com/advisories/1594 (CVE-2020-28168)

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I31709fad756dfea5d47755f170a5b75952c793d2
2021-01-09 05:07:14 +00:00
Translation updater bot 47b755c519 Localisation updates from https://translatewiki.net.
Change-Id: I94343ec3b17f313b9ee8e20ffc2e402706a3958e
2021-01-07 08:34:11 +01:00
Translation updater bot e378f076eb Localisation updates from https://translatewiki.net.
Change-Id: I14a660a22cc065d7f7cc0ab642da842868e5ec4d
2021-01-04 08:48:21 +01:00
jenkins-bot ae33be4516 Merge "build: Remove maxWarnings: 0 from eslint configuration" 2020-12-29 13:33:25 +00:00
Translation updater bot 33aad208ab Localisation updates from https://translatewiki.net.
Change-Id: Ic15891f0043f3cde477ef2481b739e7e8c785c38
2020-12-29 09:51:35 +01:00
Kunal Mehta 1faf4d2a0d build: Remove maxWarnings: 0 from eslint configuration
This interferes with LibUp's ability to automatically downgrade newly failing
errors to warnings and is a deviation from the settings we typically use.

Bug: T263922
Change-Id: Ia76b2ade0de6b0d8971f209432ac93bd14b3a5ff
2020-12-28 22:26:50 -08:00
Translation updater bot a8324a2bc9 Localisation updates from https://translatewiki.net.
Change-Id: I59796c52dbe5bf61e0c02cfb565e8556f4e5d6ac
2020-12-28 10:44:01 +01:00
C. Scott Ananian 0d8bad3f9d Avoid using deprecated InterwikiLoadPrefix hook in test setup
Bug: T270444
Change-Id: I42d0474ae6f758207357373ecb6b4f2f5f853a7d
2020-12-22 15:06:29 -05:00
Translation updater bot 0ef3cb931f Localisation updates from https://translatewiki.net.
Change-Id: I110544b9744a3a31d092a1b4d19c27a199ed2ad8
2020-12-22 08:36:28 +01:00
Translation updater bot af02aba169 Localisation updates from https://translatewiki.net.
Change-Id: I2b8eec6752173668178812065d07386e0f94c2bc
2020-12-21 08:43:51 +01:00
libraryupgrader 4877070904 build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: Icaa4a91207613a869f16d4a3e3b561563c6ce655
2020-12-19 08:57:13 +00:00
James D. Forrester 592e1151b7 Use User->isRegistered(), not deprecated isLoggedIn()
Bug: T270450
Change-Id: I60f714f42848898cf27aa83da92ac1c691fe5ead
2020-12-17 19:09:15 -08:00
Translation updater bot 8e96c0320c Localisation updates from https://translatewiki.net.
Change-Id: I92fa076a24b1a1da79ab001d42006585465323ae
2020-12-15 08:39:12 +01:00
Translation updater bot a5293433af Localisation updates from https://translatewiki.net.
Change-Id: Ic43d5a163e5712b5f793a1118e4d5d02f89fad94
2020-12-14 08:47:25 +01:00
libraryupgrader db9fa8208f build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: Icfcccb22d28d89cf46b1537c58886232daaf7411
2020-12-12 07:52:59 +00:00
Translation updater bot 1cfe07d421 Localisation updates from https://translatewiki.net.
Change-Id: I03333ef9f1dadc119bfdc6a22e2f8cad9b24c5d1
2020-12-10 08:38:33 +01:00
jenkins-bot 6572c6fa3c Merge "build: Updating mediawiki/mediawiki-phan-config to 0.10.5" 2020-12-09 21:05:00 +00:00
libraryupgrader 68b3bcd63f build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: I69ee97acbdf8a1054b3be704ed9d7b87d3ed7152
2020-12-09 20:41:19 +00:00
DannyS712 ac6aaa1920 Bump required version of MediaWiki to 1.36
Bug: T252774
Follow-up: Ia2df978e2d0349a55620ef45f8c0827134b7c74d
Change-Id: Idd8243fbe261661e1d3cb3bce53c1c3cce3da1d3
2020-12-09 17:18:38 +00:00
jenkins-bot ddc8bf31ed Merge "Minerva no longer needs to remove mediawiki.toc.styles" 2020-12-08 22:49:53 +00:00
jdlrobson 0e61c55ea1 Minerva no longer needs to remove mediawiki.toc.styles
As of db3c8ea16b3 the mediawiki.toc.styles module is no longer
loaded by the skin, so Minerva no longer needs to remove it.

Bug: T252774
Change-Id: Ia2df978e2d0349a55620ef45f8c0827134b7c74d
2020-12-08 14:16:54 -08:00
jenkins-bot 8668fd1574 Merge "build: Updating mediawiki/mediawiki-codesniffer to 34.0.0" 2020-12-08 19:45:29 +00:00
Translation updater bot 52e425c117 Localisation updates from https://translatewiki.net.
Change-Id: Ic17e10b46cb5c0675d81e1ea2381f3a613278650
2020-12-08 08:24:19 +01:00
libraryupgrader accccf7372 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I03d13afd0d0af22aa2aa052252b15f9348f9315f
2020-12-07 21:58:29 +00:00
Translation updater bot b477cd1061 Localisation updates from https://translatewiki.net.
Change-Id: I0f27c92ffd0b985ed8d4a4488026f1f50ff92442
2020-12-07 08:57:07 +01:00
jdlrobson 99a78e6fae Avoid errors on malformed URIs when loading media viewer
Previously overlay manager required an Overlay or Deferred return
type, now it must be an Overlay.

On top of this, the media viewer must consider URIs that cannot
be decoded, so a try/catch is required.

Bug: T262703
Change-Id: Iac4bcfedba87c61021d7887155612c451f8e83b4
2020-12-04 19:34:51 +00:00
Florian 557529546e Change default of showing sitenotices to true
Wikimedia-related configuration (false) now lives in mediawiki-config
which allows us to move this value to the default of true, which should
fit most other wikis better.

Change-Id: I8060ed5e67370e35f7552b3191f2864fbeb6418e
2020-12-02 16:54:57 +00:00
Translation updater bot 947e79de79 Localisation updates from https://translatewiki.net.
Change-Id: I4b339d9f6f09ab18044d7c980cc18c5da6913999
2020-11-30 08:50:50 +01:00
Translation updater bot 3e1215fdfd Localisation updates from https://translatewiki.net.
Change-Id: Ifc582e0e5d3c91864f99df20f312fad1ae8e4be0
2020-11-27 08:32:27 +01:00