Commit graph

2215 commits

Author SHA1 Message Date
Jackmcbarn 75c8853265 Remove misleading Thank button from some diffs
To prevent thanking someone for the wrong revision, don't show the Thank
button unless the old revision is the parent of the revision being thanked
for. This needs I6ee956c5 in core to function, but it degrades gracefully
if it's not present.

Bug: 57721
Change-Id: I8f973a8a54db35838ce4c697c0310f67b2dba1a0
2014-01-29 01:47:55 +00:00
Translation updater bot 10bd4bc434 Localisation updates from https://translatewiki.net.
Change-Id: I4a6a98dd13cd0390785aeaf5d83a75c46f8c4365
2014-01-28 21:23:52 +00:00
Jackmcbarn bafe6568e9 Make the diff the primary link in thanks
When viewing a thank message, make the link to the diff the primary link.
Visiting the user's user page is almost never the desired action when
viewing a thank notification. The link to the user page is no longer
present as a secondary link, but the notification-thanks-flyout2 and
notification-thanks messages both include a link from the user's name to
their user page.

Bug: 56225
Change-Id: If971385e6d1a47e394d06decf25db2c1b7cc2fb9
2014-01-28 16:43:53 +00:00
jenkins-bot 1a2fc5c7f1 Merge "Send Thanks log entries to UDP" 2014-01-27 19:22:26 +00:00
Translation updater bot 45d8f2ea03 Localisation updates from https://translatewiki.net.
Change-Id: Ia3249a9c8b62f4f7ea8b048920304b7da2b8ef27
2014-01-26 16:26:26 +00:00
jenkins-bot f774415822 Merge "Add basic unit test for dieOnBadUser api method" 2014-01-24 21:13:59 +00:00
addshore 4cdfa4e1f8 Add basic unit test for dieOnBadUser api method
Change-Id: Ic9fd4e63b0a7e3508c600f34decb8ce18abc1597
2014-01-24 13:13:25 -08:00
Translation updater bot e44cb5fccf Localisation updates from https://translatewiki.net.
Change-Id: Idb7729b4f60a4a4d436643404a588c1bd2f6067c
2014-01-24 20:13:47 +00:00
Translation updater bot 83d0458045 Localisation updates from https://translatewiki.net.
Change-Id: Ica3a4e355f87a11d149864b11849e2cef6b1dfc9
2014-01-19 20:20:30 +00:00
Translation updater bot 66a7092db0 Localisation updates from https://translatewiki.net.
Change-Id: I1e9f6f9ff33bfc559f3200169106eeb40daa2ca4
2014-01-18 21:17:09 +00:00
jenkins-bot f635813b98 Merge "Story 1604: Remember mobile thanks" 2014-01-18 00:40:30 +00:00
Translation updater bot f392d53a63 Localisation updates from https://translatewiki.net.
Change-Id: I1af6dc10a791ac736d8464da41254767e4e80484
2014-01-17 20:41:51 +00:00
Translation updater bot 08476daa30 Localisation updates from https://translatewiki.net.
Change-Id: If3e170d1aec6df0ffdc85d4e17495d5a79e30789
2014-01-16 23:09:13 +00:00
kaldari cdc91d7f54 Story 1604: Remember mobile thanks
If the user has already been thanked, make the button greyed out
and display the text "Thanked" instead of "Thank".

Dependency: Ife9f456a7a9cf74b1b54fdc6128feb230fd6f671
Bug: 59828
Change-Id: Ifab78fe62910c9c3f2a927a6a4bbe28fb953b160
2014-01-15 17:36:53 -08:00
Translation updater bot 35e6b44591 Localisation updates from https://translatewiki.net.
Change-Id: Iac15de09a29c8a3f9269446bf8d1487fd270b0e0
2014-01-15 21:04:49 +00:00
kaldari ea4646ae7f Regression: Update name of toast module so mobile thanks isn't broken.
Change-Id: I85d878d6b9452cbc3f21851f9bd63a4a1408cca1
2014-01-14 17:28:41 -08:00
Translation updater bot c9b87edf4c Localisation updates from https://translatewiki.net.
Change-Id: I47157412328b211ffe0acb0292e7a1cd1e41a7f1
2014-01-14 20:52:40 +00:00
Translation updater bot 884e95b4f0 Localisation updates from https://translatewiki.net.
Change-Id: I7a18e46ca4e80671ffb198b9fdbadf14ad559f2a
2014-01-13 21:34:54 +00:00
Translation updater bot ec2f3462c4 Localisation updates from https://translatewiki.net.
Change-Id: I989a4d0e4d9dbf783d35faa174eccd81dee5e2a2
2014-01-12 20:37:34 +00:00
Translation updater bot b123d92fe2 Localisation updates from https://translatewiki.net.
Change-Id: Ie110685e250130e3b4d6abac27941ce5a57df66f
2014-01-11 22:25:58 +00:00
Translation updater bot 9f1b9ae84f Localisation updates from https://translatewiki.net.
Change-Id: I02a7a6d9d5f3728454926b4ddd0db142125eceb7
2014-01-10 22:47:08 +00:00
Translation updater bot c02ced989c Localisation updates from https://translatewiki.net.
Change-Id: I020338208927fd34868446a4c56e27f0afc5508e
2014-01-07 20:46:42 +00:00
Translation updater bot 01d96db86b Localisation updates from https://translatewiki.net.
Change-Id: I531b07345d9c5e96a69fe3cd51f286dae3314cbe
2014-01-06 20:08:06 +00:00
Translation updater bot 182934de0e Localisation updates from https://translatewiki.net.
Change-Id: I47f727d25ec2b741e8350e8cd9dc7a269b6e0651
2014-01-05 20:13:39 +00:00
Translation updater bot 925e76344f Localisation updates from https://translatewiki.net.
Change-Id: Ibfe1c71b0224c0235da42d747b498cc0a1a24af0
2014-01-02 20:49:42 +00:00
Translation updater bot b3ff6c38fb Localisation updates from https://translatewiki.net.
Change-Id: I8cfb798d65953dc6d96024ac46d24de4341bf189
2014-01-01 20:00:18 +00:00
Translation updater bot 023b4515de Localisation updates from https://translatewiki.net.
Change-Id: I99c3fb5b2472b45cd23f5bc648025dfedc4c2403
2013-12-30 20:01:26 +00:00
Translation updater bot b38f27d5c2 Localisation updates from https://translatewiki.net.
Change-Id: Iae135ca08e8431e2349334506ce61ab05d25efc1
2013-12-29 19:33:33 +00:00
Translation updater bot 022400e402 Localisation updates from https://translatewiki.net.
Change-Id: If032179854cad6f518341e84139b851ba0b3dd79
2013-12-28 19:32:52 +00:00
Translation updater bot e58ec4857b Localisation updates from https://translatewiki.net.
Change-Id: I7cb1048e9bc4770db6abeffed466784f25551360
2013-12-26 19:40:09 +00:00
Translation updater bot f49d96da28 Localisation updates from https://translatewiki.net.
Change-Id: I33d541beea1f4f1741487ccc507a62e099e9f001
2013-12-25 20:02:49 +00:00
Translation updater bot d6f35b7d7c Localisation updates from https://translatewiki.net.
Change-Id: I708d066d2f6743470b89b8c50966a98627f252a0
2013-12-23 20:51:05 +00:00
jenkins-bot 43608d2fea Merge "Add special page alias file" 2013-12-22 21:34:15 +00:00
raymond 0d3acd530f Add special page alias file
Introduced with I7ba4664b92bb0da425784350487ed0e7ca352b4e

Change-Id: I9e308b17c9d90850fd92bbc6255317a0245b841c
2013-12-22 21:25:02 +00:00
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