Commit graph

1981 commits

Author SHA1 Message Date
Translation updater bot 4b2bda2f9b Localisation updates from https://translatewiki.net.
Change-Id: I4329d70910fa344df0b3fce34ca40b67b614f51c
2013-12-22 20:32:26 +00:00
Translation updater bot 7badb9274a Localisation updates from https://translatewiki.net.
Change-Id: Iebb74a79f18595cf61da75713a760142631e9936
2013-12-21 20:41:57 +00:00
Translation updater bot 2525587741 Localisation updates from https://translatewiki.net.
Change-Id: Ic990eb1510f43cd8337ccf394ca0d49229110da8
2013-12-20 20:35:58 +00:00
Translation updater bot 3f6eef7ba2 Localisation updates from https://translatewiki.net.
Change-Id: I51744ba539002b56b6a5b5f7abaf0577209120ad
2013-12-19 20:54:44 +00:00
jenkins-bot 31437cf89d Merge "Add Special:Thanks as a non-JS fallback" 2013-12-19 05:43:11 +00:00
Kunal Mehta 47e95c5852 Add handler for GetLogTypesOnUser hook
Change-Id: I2db58b81c40eec1ac0d858efad23001762269a6d
2013-12-19 03:35:48 +00:00
Translation updater bot b00537cb0f Localisation updates from https://translatewiki.net.
Change-Id: Iad11fcda8cabd7b47f1e598bfba4a789f3dceb46
2013-12-18 20:26:47 +00:00
Translation updater bot ecc6f161d3 Localisation updates from https://translatewiki.net.
Change-Id: If21375eef08cf626d135acdc13c23d42b265577c
2013-12-14 20:54:33 +00:00
Translation updater bot cc7af1f00f Localisation updates from https://translatewiki.net.
Change-Id: Ia7197344d5c899d00c14ab6174f7cfcf528ffde6
2013-12-13 20:08:47 +00:00
Translation updater bot d14e53840e Localisation updates from https://translatewiki.net.
Change-Id: Ieb1476801eb6800ebc96113245bf5d75693ff234
2013-12-11 20:28:57 +00:00
Translation updater bot 10564424a2 Localisation updates from https://translatewiki.net.
Change-Id: I53bc3a8d9e9175b18a89c95180624d6a85d032dc
2013-12-09 21:26:01 +00:00
Translation updater bot 8a6c59e39e Merge "Localisation updates from https://translatewiki.net." 2013-12-07 01:57:33 +00:00
Translation updater bot ab05de3dca Localisation updates from https://translatewiki.net.
Change-Id: Ie172ba4c19dce5d45afb76564e46d5ef196faa59
2013-12-07 01:52:43 +00:00
Matthew Flaschen 3b6d71ebb5 Fix broken notifications caused by invalid create parameters
Caused by 2e7c7d33d0

Bug: 58127
Change-Id: I883b8102ce023334b09d28d5620b050535818039
2013-12-06 17:13:54 -05:00
jenkins-bot 3573062156 Merge "Thanks is not using namespaces" 2013-12-06 08:00:55 +00:00
Kunal Mehta 06360b6d0d Add Special:Thanks as a non-JS fallback
If the user has JavaScript disabled, clicking
on "thank" will send the user to Special:Thanks
with the revision id already filled in. When
submitted, the form calls the API internally
and then shows the user an error or confirmation
message.

Special:Thanks is not a listed special page
since it's mainly intended as a fallback.

The API was modified to return the user name of the
editor who is being thanked if a new notification
was created.

Bug: 49161
Change-Id: I7ba4664b92bb0da425784350487ed0e7ca352b4e
2013-12-05 23:23:21 -08:00
Kunal Mehta 0172b6eb58 Send Thanks log entries to UDP
Change-Id: I57ff962f1f53b2236265381132c396fcd7ce8e20
2013-12-05 23:12:32 -08:00
Translation updater bot 4d35cddad9 Localisation updates from https://translatewiki.net.
Change-Id: I831f5c881177fa01c6329ab07dd582b99dff8f60
2013-12-04 20:25:44 +00:00
Translation updater bot da4a0864ec Localisation updates from https://translatewiki.net.
Change-Id: If5bf8cbb4eb7b8378f4a45802c09e0330dc2ce78
2013-12-02 20:40:44 +00:00
Translation updater bot d134ce8f87 Localisation updates from https://translatewiki.net.
Change-Id: I55586f92ba96e6855b757cf089e93357f44a4a15
2013-12-01 19:57:10 +00:00
Translation updater bot 559f494b14 Localisation updates from https://translatewiki.net.
Change-Id: Iebbe1b7430eefd06524ddb685e58af43ef5920bc
2013-11-29 19:31:42 +00:00
Translation updater bot 70b7367a59 Localisation updates from https://translatewiki.net.
Change-Id: Iefc4539fbe5b92e58f783f5c9322568d07b1ef21
2013-11-27 19:28:10 +00:00
Translation updater bot 1e3d375772 Localisation updates from https://translatewiki.net.
Change-Id: Icbb3009f729711a6041c68a2141192d576668e0c
2013-11-26 20:24:02 +00:00
theopolisme 72c0bf5d52 Perform checks before thanking via API
If the user attempts to thank an anonymous
user, a bot (when $wgThanksSendToBots is not true),
or him/herself, return an error. This is consistent
with the restrictions imposed in insertThankLink().

Bug: 56954
Change-Id: I9e8ae030a8ff1cc312bf98671e593c7367ca0ea2
2013-11-24 17:41:21 -06:00
addshore 2e7c7d33d0 Split Api Module into lovely small functions
Change-Id: I77abd54a50090229c7f3a3daa239bcb185702e46
2013-11-24 23:18:15 +00:00
Translation updater bot 59c2e2d8ee Localisation updates from https://translatewiki.net.
Change-Id: I26a8254e8cadedebe304211a18f3f5b1781efcda
2013-11-24 20:36:29 +00:00
Translation updater bot 8b0c92f13e Localisation updates from https://translatewiki.net.
Change-Id: I688d942e2033d33216beb6b4a2f51e639ab7727d
2013-11-23 10:48:54 +00:00
jenkins-bot f9bbdd02c0 Merge "Mark ApiThank as requiring write" 2013-11-23 07:57:11 +00:00
Matthew Flaschen 491ab99c33 Mark ApiThank as requiring write
Change-Id: Ic6bc0ec65ed0b39114f12a41551c25898d784110
2013-11-23 02:47:54 -05:00
Kunal Mehta 6240343103 Thanks is not using namespaces
Added in 422f0f6062

Change-Id: I8809348d30fdd8b569affd00cc061de22b38e6dc
2013-11-22 23:25:25 -08:00
Translation updater bot 87b2855e89 Localisation updates from https://translatewiki.net.
Change-Id: I2b8a033a9afc187edab61141235c2857422cc1a7
2013-11-21 20:40:41 +00:00
Translation updater bot e83da96620 Localisation updates from http://translatewiki.net.
Change-Id: I28fbbb5efebda48ef4543e400413afae0bf1e5e5
2013-11-20 20:44:19 +00:00
Translation updater bot cdaa20d9a5 Localisation updates from http://translatewiki.net.
Change-Id: Iff7f992ecb05746d71d04994ff6d65da73aaf27b
2013-11-18 20:40:10 +00:00
Translation updater bot 1f5872389a Localisation updates from http://translatewiki.net.
Change-Id: I7b79e17eab0c79495d0e92bc64ebdaae1aaf047f
2013-11-17 20:27:09 +00:00
Translation updater bot 26d1273351 Localisation updates from http://translatewiki.net.
Change-Id: I947cbeb999499617c9a413253e0619d16517546a
2013-11-14 20:37:10 +00:00
Translation updater bot b9bc38a18e Localisation updates from http://translatewiki.net.
Change-Id: Ib7f9b8d5879ad468b057cb3b6c2f55c777ecb201
2013-11-13 20:24:22 +00:00
Translation updater bot 9b9b65bb8f Localisation updates from http://translatewiki.net.
Change-Id: I86b36e8790140928398f6df827107464a4189a2e
2013-11-12 20:32:45 +00:00
Translation updater bot 9c5cdc1efd Localisation updates from http://translatewiki.net.
Change-Id: I2cac3b993fb4d0a3b4a477aa569ebc99df37acbe
2013-11-10 20:29:47 +00:00
Translation updater bot 916a0578d7 Localisation updates from http://translatewiki.net.
Change-Id: Ibcaec3bc0540d92222ecd9d499e0845956fa1523
2013-11-09 19:13:46 +00:00
Translation updater bot 9b00226171 Localisation updates from http://translatewiki.net.
Change-Id: I5c823f030af2c2c6deb7063f1e2e5f7e205aa9fa
2013-11-07 20:22:19 +00:00
Translation updater bot 6f3bb72a03 Localisation updates from http://translatewiki.net.
Change-Id: I08e2f3327c57dd8453e7e90cf3cd8e27d9e7e555
2013-11-05 21:08:47 +00:00
Translation updater bot bef04f544c Localisation updates from http://translatewiki.net.
Change-Id: I5548c776a94afb5a3716fea442e71574a732dd8e
2013-11-04 20:00:59 +00:00
addshore 422f0f6062 Add really basic API tests
This also includes the unit test hooks

Jenkings job will be added with I6ec2edf62b9

Change-Id: Id085db7096db420416e9fba72a65586d021f1c76
2013-11-04 16:38:23 +00:00
Translation updater bot e7f3c65fde Localisation updates from http://translatewiki.net.
Change-Id: I60aeb582c878f91e9112da32ff26a09ae02b4a32
2013-11-03 19:59:00 +00:00
Translation updater bot beb4260314 Localisation updates from http://translatewiki.net.
Change-Id: I88950b3db48c6cbdcde82cc48786d412c8fceb2c
2013-11-02 20:03:32 +00:00
Translation updater bot 5328aea8c5 Localisation updates from http://translatewiki.net.
Change-Id: Ib07e77027192ba9e6ef42de33ad7ccd3f893b292
2013-10-31 20:22:52 +00:00
Translation updater bot 0d06485e15 Localisation updates from http://translatewiki.net.
Change-Id: Ia8ab9cc561ddc4bfd627c29ff604e4bb942559a3
2013-10-30 19:37:12 +00:00
jenkins-bot 084bd53382 Merge "Only allow Thanks for public revisions" 2013-10-30 17:47:04 +00:00
Translation updater bot 8fe0b4028c Localisation updates from http://translatewiki.net.
Change-Id: Ib7afd2910e8e2f446b1c1160f8f8cd7fbcd4e60b
2013-10-27 20:07:24 +00:00
jenkins-bot e7c90ecd5f Merge "Add API help url" 2013-10-27 19:33:48 +00:00