Commit graph

1725 commits

Author SHA1 Message Date
Max Semenik 469117ff28 tests: getMock() is deprecated
Bug: T192167
Change-Id: I460f9c5457483b9350c4f88c24d24425fd46a9a8
2019-10-21 22:18:33 -07:00
Derick Alangi 1acb40ee42 Avoid using deprecated Revision class constants, use RevisionRecord
Change-Id: I1932a66c5e6d815680d79770116111266c9db9e3
2019-10-21 15:12:06 +01:00
Translation updater bot ceeae1b628 Localisation updates from https://translatewiki.net.
Change-Id: I158f424468755da1635c7d840e7202c368862cf4
2019-10-21 10:00:47 +02:00
Translation updater bot 9e5faca90d Localisation updates from https://translatewiki.net.
Change-Id: I58f9bf91290a0478bf572ffdea8e9415664701c3
2019-10-16 20:42:05 +02:00
jenkins-bot 3b93df37db Merge "Clean up some PHPUnit 4 bc stuff" 2019-10-16 11:25:43 +00:00
Translation updater bot 8020db4d7d Localisation updates from https://translatewiki.net.
Change-Id: Ieee463d07784079a15795b1cc6e66d1e194cae81
2019-10-16 10:41:22 +02:00
Daimona Eaytoy 2b81f0333f Clean up some PHPUnit 4 bc stuff
Bug: T192167
Change-Id: I5b08e479329503ee651580005fe7347f22939ca4
2019-10-13 11:41:05 +02:00
Max Semenik be060b3d07 tests: setExpectedException() is deprecated
Change-Id: Ie9500ff2dabb9315f6fe8344acdfbb1f3f1aac33
2019-10-12 15:55:31 -07:00
James D. Forrester 951d171e6b build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I67fef60b34f8d2b6f5e4920a3caf99bef75fd214
2019-10-11 12:16:59 -07:00
Translation updater bot 04ec6deb74 Localisation updates from https://translatewiki.net.
Change-Id: I42df99e71e28546b5c719540164aa024c5e55f01
2019-10-08 09:34:29 +02:00
Translation updater bot 59f4a73497 Localisation updates from https://translatewiki.net.
Change-Id: I99ae430f56dbe8698d9147b585840a533ee1822a
2019-10-03 10:06:14 +02:00
Translation updater bot 1b2e8fd762 Localisation updates from https://translatewiki.net.
Change-Id: I9cc7810693e31bdab96757e362716d46b03460a7
2019-10-02 09:23:14 +02:00
Translation updater bot 774f66a2b3 Localisation updates from https://translatewiki.net.
Change-Id: I72b37a18817973e170f8a696faac3a46f7cc8805
2019-10-01 09:26:18 +02:00
Translation updater bot f74fe5d91d Localisation updates from https://translatewiki.net.
Change-Id: Icfcde748653e4e3b7414c07d6b01e169b1e4f8b9
2019-09-26 09:15:20 +02:00
Translation updater bot fabd067fa0 Localisation updates from https://translatewiki.net.
Change-Id: Ic9efb293de9bc366b5516177bc6b9aa503e8b5bd
2019-09-24 09:59:11 +02:00
Translation updater bot 8b10f48f6f Localisation updates from https://translatewiki.net.
Change-Id: I24d6e55fc1b641d8a6e15462118b74299ff7d2af
2019-09-23 09:26:58 +02:00
Fomafix fdc02d0d15 Avoid double HTML escaping
Also use the shorter

 mw.msg( ... )

instead of

 mw.message( ... ).text()

Change-Id: Ifb379960d875b090a14fd990c479df0b5aeb146d
2019-09-17 10:14:38 +02:00
Translation updater bot fbac7adbff Localisation updates from https://translatewiki.net.
Change-Id: I595692628c95570d0a4f50e3d855d383574a386e
2019-09-16 09:57:27 +02:00
jdlrobson 7a7f751b42 Create mobile thanks using the mobile library
The thanks icon had styling issues as it didn't use the mobile
icon and button fundamental components.

The icon should also be inside the button, the element should not
be both a button and an icon.

Bug: T229440
Change-Id: I0136466fe1452f904961b89ae7677fc1a511adab
2019-09-13 19:23:49 +00:00
Ammar eae0f237df Remove unneeded CSS for thanks toast link
Minerva now provides default styling for these links.
Also removing 'grunt-stylelint' package as there are no
CSS/LESS files in this extension any more.

Bug: T232102
Change-Id: I4e8b44d3159ab4a87103fa8471c7b1b145ac6016
2019-09-06 09:23:12 -07:00
Translation updater bot 5ad0464e25 Localisation updates from https://translatewiki.net.
Change-Id: Ia6d2c9d294a97c7250805ee63d426c5017af741a
2019-09-04 10:15:43 +02:00
Derick Alangi 649d070d22 Fix function name mismatch, wfWikiId() -> wfWikiID()
Change-Id: I78df6e6bbd19315bb4dc7bcb41b3506a182ce8bb
2019-08-31 21:07:14 +01:00
David Barratt c773e01787 Read the block status from the replicas for the 'thank' link
User::isBlocked() by default reads from the replicas;
PermissionManager::isBlockedFrom() reads from master by default. The
'thank' link is not critical so it should be read from the replicas.

Bug: T231617
Change-Id: I262ed63df82e97862a8dfc8da49fc09465ac8507
2019-08-30 13:28:59 +01:00
Translation updater bot 85ba384d05 Localisation updates from https://translatewiki.net.
Change-Id: Id09a4d2cd12ed3ad3c8fe00bbb9517b33a81c503
2019-08-28 10:53:49 +02:00
Matěj Suchánek 2c94ba17ed Replace $wgUser
Bug: T159299
Change-Id: I023c46a99b96ae9141ac75830c03979e90263ae0
2019-08-27 14:20:39 +02:00
Translation updater bot c4d7d38bde Localisation updates from https://translatewiki.net.
Change-Id: Ib0b853478f6959ddbafa5e679df3717a7f763cd5
2019-08-27 11:05:33 +02:00
libraryupgrader 1c7e5c3e0c build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I0a9e4a94efeacf82cc21f17a52b5fd7998839146
2019-08-23 06:47:37 +00:00
Translation updater bot 862c1193c7 Localisation updates from https://translatewiki.net.
Change-Id: I4b7d471c303cc4a3e863c07018581c4bee34b596
2019-08-22 10:10:18 +02:00
Translation updater bot b916ed95c4 Localisation updates from https://translatewiki.net.
Change-Id: I76c44a42d8947eee3fca72d0b6f3ccd447e8a745
2019-08-21 10:10:19 +02:00
Translation updater bot 8783305669 Localisation updates from https://translatewiki.net.
Change-Id: I2a1467f049e67df5a55c4333b16e8fa1e455c5a9
2019-08-20 10:27:07 +02:00
Translation updater bot 741098bbc7 Localisation updates from https://translatewiki.net.
Change-Id: I08e1d5b6a03fe9bd9a1172ff5c65e3df93aeb0e0
2019-08-18 09:33:34 +02:00
Translation updater bot 4752d81405 Localisation updates from https://translatewiki.net.
Change-Id: If1ad85c7bdd61b376f908fdab807a233207a306f
2019-08-15 09:16:56 +02:00
Translation updater bot f462c5bffd Localisation updates from https://translatewiki.net.
Change-Id: I7fb802cd3e7068cb52cf94705a6d9d52e63ae7cd
2019-08-10 22:50:10 +02:00
Translation updater bot 3add727c71 Localisation updates from https://translatewiki.net.
Change-Id: Ifc2eb9ed0f3ecf9c1e49e2b406a9d6af64b51b4c
2019-08-08 09:33:49 +02:00
jenkins-bot e044574c08 Merge "Improve EchoCoreThanksPresentationModel" 2019-08-06 23:14:51 +00:00
Matěj Suchánek 8a05d03f67 Improve EchoCoreThanksPresentationModel
Call EchoEvent::getRevision to use cache.

Don't hide notification about thanks for log
when just the comment was hidden.

Also simplify code using ternary ?:

Change-Id: I279291727ecd404db18dd68699744284e17a27ef
2019-08-06 10:28:15 +02:00
Translation updater bot 2dec9f8ede Localisation updates from https://translatewiki.net.
Change-Id: Ibdf0567e96b468733e9a46bb88f97bc3ecc85474
2019-08-06 09:11:39 +02:00
Timo Tijhof bfa2bd3f72 Merge jquery.findWithParent.js into 'ext.thanks.flowthank'
Never loaded directly as entry point, and only used by one module
as dependency. Does not need to be its own module bundle.

Bug: T202154
Change-Id: I8bfcdc82f96fac6e3e269fcef351a822acd860bd
2019-08-05 16:09:10 +01:00
Translation updater bot d6c8beb6da Localisation updates from https://translatewiki.net.
Change-Id: If835df5b97688d9b2bcec7dd083e0fe35a919d7a
2019-07-29 09:16:09 +02:00
Translation updater bot b724b864a1 Localisation updates from https://translatewiki.net.
Change-Id: I92dabdb83ff373126206dc6c19321131cc9d4cd8
2019-07-27 09:31:08 +02:00
libraryupgrader f10a681867 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: Ib56cfcea4fa6d8818a280ddbab673a245c54e36f
2019-07-16 03:05:19 +00:00
Translation updater bot 00d3e004cc Localisation updates from https://translatewiki.net.
Change-Id: I175e8788c71dc55507512a014459c68c22f23e3e
2019-07-12 08:44:42 +02:00
Martin Urbanec 003172c157 SECURITY: Do not let users thank for a log entry if actor was deleted
This prevents users from accessing information about the actor
by abusing uselang=qqx and the thank button.

Bug: T224240
Change-Id: I3f42d56874776cfa0c9d364217f43253efc14782
2019-07-11 15:39:16 -07:00
James D. Forrester ba50cab989 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I1afbea8038a4de900584e42eee77c96fdab99564
2019-07-09 14:18:55 -07:00
Translation updater bot 01a08b22c4 Localisation updates from https://translatewiki.net.
Change-Id: I53b7910eb1f9f36c0cee765f1a53cb10c9fcc4ab
2019-07-07 22:41:42 +02:00
Translation updater bot fb2341325a Localisation updates from https://translatewiki.net.
Change-Id: If4cc3b0727ffafcb75a3608e3fb62dae80cc47db
2019-07-03 22:46:35 +02:00
Translation updater bot eb625a9952 Localisation updates from https://translatewiki.net.
Change-Id: I21872a294dbf46c5fe56a9118545668aaae02bee
2019-06-30 22:39:41 +02:00
Translation updater bot bf72f01a6a Localisation updates from https://translatewiki.net.
Change-Id: I90bc135ec0ac005347daf40ca383e083992f5238
2019-06-24 08:40:00 +02:00
Translation updater bot 2679492902 Localisation updates from https://translatewiki.net.
Change-Id: Ic86c31e647b88c9274364a4d6bbd73f391915187
2019-06-17 22:34:17 +02:00
Translation updater bot 16db0bcff4 Localisation updates from https://translatewiki.net.
Change-Id: I155ee2009a76b4859628d5b870f3165d32ca418a
2019-06-16 22:36:45 +02:00