Commit graph

2070 commits

Author SHA1 Message Date
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
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