Commit graph

2152 commits

Author SHA1 Message Date
Sam Wilson 78831d2b68 Rename files and classes in preparation for adding log-thanks
Bug: T186855
Change-Id: I20f5d200c33e395aca9489b73d0ed9b1d0ad5b8c
2018-02-21 12:49:21 +08:00
Sam Wilson 84834d5b41 Add jquery.cookie dependency
Bug: T187851
Change-Id: I6158f557cbafcfbca7e6c7d3e0c5960250133e46
2018-02-21 11:50:22 +08:00
Translation updater bot 4f1238604b Localisation updates from https://translatewiki.net.
Change-Id: Ib29d255399cdff7e853e472ca3e58df2d13b2c5b
2018-02-20 22:29:07 +01:00
Stephane Bisson 3f139b3dd2 Send thank for the right link
Due to confusion between $thankLinks (plural)
and $thankLink (singular), clicking any thank link
was sending thank for the first thankable revision
on the page.

Introduced in I9097bd976f8da1632577a3f4438b9f1186baca88

Bug: T187757
Change-Id: I7993531206c46657908a66d73369928ccf5dc677
2018-02-20 14:16:18 +00:00
Translation updater bot 29aa780fed Localisation updates from https://translatewiki.net.
Change-Id: I2c254a603a23ae68620aed2d92e44290612dd433
2018-02-19 22:26:01 +01:00
Translation updater bot 7064cc6b1c Localisation updates from https://translatewiki.net.
Change-Id: I6f5c182e4a64cc3b236c2169f9f12fbf31a89571
2018-02-18 22:41:09 +01:00
libraryupgrader 95133ad2bb build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ie3ec8fad07c225a119a719117e8da17ec615eafb
2018-02-18 10:01:55 +00:00
libraryupgrader a97b396403 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Ieda88fa361aecf655f3829c9bbb4e65b16bd9315
2018-02-15 14:32:47 +00:00
James D. Forrester 16909df870 build: Bump devDependencies to latest
eslint-config-wikimedia   0.4.0  →   0.5.0
 grunt                     1.0.1  →   1.0.2
 grunt-eslint             20.0.0  →  20.1.0

Change-Id: I9aeca17ab3bae099b678d37232846bb6abf8ce39
2018-02-14 11:11:22 -08:00
Translation updater bot 2ea1ca659c Localisation updates from https://translatewiki.net.
Change-Id: I1fda08f515da74feb8a8e61340f19436b8d86ce1
2018-02-13 22:25:50 +01:00
jenkins-bot d87fed7b8a Merge "Remove a coding-standard exclusion" 2018-02-12 17:19:41 +00:00
jenkins-bot e614e62948 Merge "Simplify ext.thanks.mobilediff.js" 2018-02-12 17:19:40 +00:00
jenkins-bot ab04467c4b Merge "Simplify by using jQuery" 2018-02-12 17:19:39 +00:00
Sam Wilson 499dc04960 Remove a coding-standard exclusion
Add some parameter comments etc.

Change-Id: Ifb663c69711036ea01cb2b90acaa81d22c74a3af
2018-02-12 09:26:19 +08:00
Translation updater bot 0492a4ec5a Localisation updates from https://translatewiki.net.
Change-Id: I72cb0fdd60d95b0e23cea49baaf45a675e29ce8b
2018-02-11 10:42:25 +01:00
Fomafix 90eef72c48 Simplify ext.thanks.mobilediff.js
* Explicit return null instead of no return.
* Document right @return type.
* Avoid else paths by using early return.

Change-Id: I24c434ebb57188346ad7cd722f08390ba6da2c34
2018-02-10 20:31:17 +01:00
Fomafix 99baf3eff9 Simplify by using jQuery
Change-Id: I31262cc68d0e0d2c6bbdabf496f81da9c1089a0f
2018-02-10 19:33:48 +01:00
Translation updater bot c3586cd4f0 Localisation updates from https://translatewiki.net.
Change-Id: Ie6e57902fec159469627cbd53b921fc478772f44
2018-02-06 22:35:43 +01:00
jenkins-bot c32345f4c2 Merge "Add alias for Serbian Latin" 2018-02-06 17:21:38 +00:00
addshore d2c420878b Import MediaWikiServices in ThanksHooks
Bug: T186618
Change-Id: I62de4a2a88b81d27c12b364848cd237236484aa0
2018-02-06 17:01:25 +00:00
zoranzoki21 aed1969912 Add alias for Serbian Latin
Change-Id: I153a9b9490b661346b1010029cfda395db482dc7
2018-02-06 15:44:10 +00:00
Translation updater bot 901e965963 Localisation updates from https://translatewiki.net.
Change-Id: I9a58e19a3226ef19b2dd084f6f9ca7e44f40fec8
2018-02-05 22:37:03 +01:00
jenkins-bot 7356c813a6 Merge "Simplify promise by using .then()" 2018-02-05 19:27:17 +00:00
Translation updater bot ed197d6240 Localisation updates from https://translatewiki.net.
Change-Id: Ib4a705281efab1d05c3ef5f6f6ee07a792ab31c7
2018-02-04 22:44:07 +01:00
Alangi Derick 3ac9558024 Update minus-x from 0.2.1 to 0.3.0
Change-Id: Ib1f62ee0db480e5117052a6c5565cb974676e63b
2018-02-04 17:44:05 +01:00
Fomafix b1f27da62b Simplify promise by using .then()
Change-Id: I400c604a693f8786964f3710140b32ba74e3bd93
2018-02-04 16:46:39 +01:00
Translation updater bot b715e1ac0b Localisation updates from https://translatewiki.net.
Change-Id: I2fb04d1336999b755e4748ea13dc29e6188ef05b
2018-02-02 22:18:03 +01:00
Translation updater bot 21c34482bb Localisation updates from https://translatewiki.net.
Change-Id: I6c14bad553e40edd519529e9970f5e81960086cd
2018-01-31 22:20:22 +01:00
Sam Wilson 2e7e5e0190 Move classes to includes/ and rename some to match class names
For conformance to coding standards. This removes an exclusion
from the phpcs config.

Change-Id: I1481a3e7e68a81daf310ea3c7bf9dc48cdaf140b
2018-01-30 10:32:03 +08:00
Translation updater bot 833c9ce39a Localisation updates from https://translatewiki.net.
Change-Id: I7e2985f160ddf602a697bc64a58d18817499749e
2018-01-29 22:20:40 +01:00
Translation updater bot b9de4ede3e Localisation updates from https://translatewiki.net.
Change-Id: I4bab7f038ec181492bac619df6dbce94ab0370ec
2018-01-26 22:36:47 +01:00
Translation updater bot aa1a3b9820 Localisation updates from https://translatewiki.net.
Change-Id: Ie4098b5660391f9b5262a6b118daa1f9e257d535
2018-01-25 22:18:19 +01:00
jenkins-bot 211ac6849e Merge "Follow-up 6bb7939a79: use GenderCache" 2018-01-25 04:36:34 +00:00
Translation updater bot 6627c351ec Localisation updates from https://translatewiki.net.
Change-Id: I85e1c8b31cbb80aafeceb713638f63a075f8c631
2018-01-24 22:21:03 +01:00
Roan Kattouw ff4a5311a9 Follow-up 6bb7939a79: use GenderCache
Change-Id: I7511af52822ca2c99e08cf04cd07c880959325b4
2018-01-23 20:44:16 -08:00
jenkins-bot 849b175c34 Merge "revthank: Clarify confirmation message and change yes/no messages" 2018-01-24 00:36:42 +00:00
jenkins-bot a439341ecc Merge "revthank: Embed gender of thanks recipients in the page" 2018-01-24 00:01:23 +00:00
Translation updater bot c5781f7e1f Localisation updates from https://translatewiki.net.
Change-Id: I8aebd7d69628d587886265fc17e15ba5030e8196
2018-01-22 22:18:39 +01:00
jenkins-bot 1f06aa8d81 Merge "Fix member variable visbility and doc" 2018-01-22 06:19:17 +00:00
Translation updater bot 8fc16fb45a Localisation updates from https://translatewiki.net.
Change-Id: Iec9d2c390ccb0a07506c55e988ad234b8add00ca
2018-01-21 22:17:24 +01:00
Translation updater bot 23702ea2e8 Localisation updates from https://translatewiki.net.
Change-Id: I9c3712c1eb917ad0c51f061ba4500b7c136c085f
2018-01-20 14:43:12 +01:00
Roan Kattouw 6bb7939a79 revthank: Clarify confirmation message and change yes/no messages
Bug: T159302
Change-Id: I49ac7d644f207fe76a49efd650b727e33049b3af
2018-01-19 17:07:42 -08:00
Roan Kattouw 6184c79e72 revthank: Embed gender of thanks recipients in the page
That way we don't have to do an API request to get the gender,
and we'll also be able to use gender-sensitive messages in the
confirmation step.

Bug: T159302
Change-Id: I9097bd976f8da1632577a3f4438b9f1186baca88
2018-01-19 17:07:38 -08:00
Sam Wilson 55ceeb3fbe Fix member variable visbility and doc
Change-Id: I22d16b05d24c615f0c792063e33433d50a34ad8a
2018-01-19 16:38:58 +08:00
Translation updater bot d86a788d4e Localisation updates from https://translatewiki.net.
Change-Id: Ib8bd2f7d84999e0ff929d688eb4117316f79d39d
2018-01-18 22:49:57 +01:00
Translation updater bot 07598cbdbf Localisation updates from https://translatewiki.net.
Change-Id: Iab366efd7d5c4c405d3ffc9d3abf7508af3c77e4
2018-01-16 22:49:38 +01:00
Translation updater bot 101a5605e5 Localisation updates from https://translatewiki.net.
Change-Id: I89570f7c21b6938fdaa1f383431f1cbc2cd18dd9
2018-01-10 22:24:16 +01:00
Translation updater bot f70af5eed6 Localisation updates from https://translatewiki.net.
Change-Id: I8fc388cb085c2d83605ced0afe86e0de59474a62
2018-01-09 22:29:53 +01:00
Translation updater bot 790d5b34d2 Localisation updates from https://translatewiki.net.
Change-Id: I63ab398a74c5d292dae644151d6280f717689b87
2018-01-07 22:47:37 +01:00
Translation updater bot 9f9bad9c10 Localisation updates from https://translatewiki.net.
Change-Id: Ic4396a258979b71c9efa98982a0a6e431295375f
2018-01-06 09:14:32 +01:00