Commit graph

359 commits

Author SHA1 Message Date
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
jenkins-bot cb791abf09 Merge changes I551c5b5a,Ibaa277b5
* changes:
  Fix phpdoc
  Remove outdated comment
2013-10-27 08:09:22 +00:00
Kunal Mehta 05c7f89a8e Only allow Thanks for public revisions
Bug: 54100
Change-Id: Ied2846076ecf86b7045563fe5f2b0c002bd42647
2013-10-26 20:18:04 -07:00
Kunal Mehta c597db50d9 Add API help url
Change-Id: I9886163ad2492a5030059d45853b15964279362a
2013-10-26 18:56:37 -07:00
Translation updater bot 217249c6e3 Localisation updates from http://translatewiki.net.
Change-Id: Iaba65e598ee36126bbbf2fee639d7fa26003c2dc
2013-10-26 19:35:54 +00:00
Translation updater bot 8232c03aba Localisation updates from http://translatewiki.net.
Change-Id: I90fa7a14f0e9d75f22386b582c7f840ded3aa6ee
2013-10-25 18:59:41 +00:00
Translation updater bot 22333e0bbb Localisation updates from http://translatewiki.net.
Change-Id: Icced69980d959921ed5cb740e6fc08a1fa47a8df
2013-10-24 20:50:46 +00:00
Kunal Mehta 73554fa0ab Fix phpdoc
See https://www.mediawiki.org/wiki/Manual:Hooks/DiffViewHeader

Change-Id: I551c5b5a4f98503dad01c763032c5b1b86daba6f
2013-10-23 21:16:50 -07:00
Kunal Mehta 5e0277e9a5 Remove outdated comment
Preference was removed in 4c88b5973a.

Change-Id: Ibaa277b5468eda29a0c6b11eeed9c9985ed15580
2013-10-23 20:45:53 -07:00
Translation updater bot 163407e3ea Localisation updates from http://translatewiki.net.
Change-Id: Iec3a1225b7eaef4cc937591e804e9ec88bc8583d
2013-10-23 19:03:19 +00:00
Translation updater bot 5f34616a83 Localisation updates from http://translatewiki.net.
Change-Id: Iaa12b76a68cfa6ea29d728d919de4eb9bb97070d
2013-10-22 19:21:39 +00:00
Translation updater bot 938e836bb5 Localisation updates from http://translatewiki.net.
Change-Id: I911549ba8c3cd9273b689854784734d0bc8813b2
2013-10-21 19:40:47 +00:00
Translation updater bot c863eb88fe Localisation updates from http://translatewiki.net.
Change-Id: I66f2e3a9112586d5973d3a1ea2e47bd04bf843fc
2013-10-20 21:48:10 +00:00
Translation updater bot a89301aeb5 Localisation updates from http://translatewiki.net.
Change-Id: Id06a25f36b97e2d18aaa4c2c80bad18ebdf9e2dd
2013-10-18 19:25:10 +00:00
Translation updater bot 96f978999f Localisation updates from http://translatewiki.net.
Change-Id: Ib35f279d0305f29274ad7b00593938f70d537dbb
2013-10-16 21:45:29 +00:00
Translation updater bot 7386b77b13 Localisation updates from http://translatewiki.net.
Change-Id: I58edc239e27afd1562ccb5e3230fb0fff47233a3
2013-10-15 20:53:41 +00:00
Translation updater bot 28990066f3 Merge "Localisation updates from http://translatewiki.net." 2013-10-15 19:40:37 +00:00
Translation updater bot 3915157fdd Localisation updates from http://translatewiki.net.
Change-Id: I84f6b68654ac5883a1b7ee334a71e39808ccad1c
2013-10-15 19:32:56 +00:00
jenkins-bot 16bc19e2da Merge "Add GENDER support for 'thanks-error-ratelimited'" 2013-10-15 16:06:42 +00:00
Translation updater bot 4c328b9ba5 Localisation updates from http://translatewiki.net.
Change-Id: I9509698698f29ffadd5ba82ebca923d446920771
2013-10-14 09:31:26 +00:00
Translation updater bot 7de089c5d9 Localisation updates from http://translatewiki.net.
Change-Id: Icfb88039794f98d35342474a07154a3450fc2ee8
2013-10-13 19:30:54 +00:00
Translation updater bot 1e57bc2b4e Localisation updates from http://translatewiki.net.
Change-Id: Ic3e9b6e7dc40f8b0eae86c25979477a4e5098037
2013-10-12 18:43:13 +00:00
Translation updater bot dfd2782449 Localisation updates from http://translatewiki.net.
Change-Id: Iefee8ac6b2cde051dd2af645bc1980bab70aefa4
2013-10-11 19:13:22 +00:00