Commit graph

699 commits

Author SHA1 Message Date
addshore 9b864432fd Remove use of deprecated TestUser->user
Change-Id: I10f1809b08a6c39685dc3af8088019483f307e6d
2015-08-11 01:27:50 +00:00
Translation updater bot 5eea044014 Localisation updates from https://translatewiki.net.
Change-Id: I87a4b1d44d22880740e8d2471fa22762b9b90750
2015-08-10 22:00:10 +02:00
Translation updater bot 91276ab1a4 Localisation updates from https://translatewiki.net.
Change-Id: Iafe5e49dd156084a7732a17e98dcc6daf9c91bcb
2015-08-09 20:48:57 +02:00
Translation updater bot a3405f85ae Localisation updates from https://translatewiki.net.
Change-Id: I0961405e5530bb673850c158c629a3199e879196
2015-08-07 21:53:58 +02:00
Translation updater bot a0b5e85528 Localisation updates from https://translatewiki.net.
Change-Id: Ie35d9e383047d6f18993a3acfe62780978dceb1b
2015-08-06 21:39:02 +02:00
Translation updater bot 95dd1ac32e Localisation updates from https://translatewiki.net.
Change-Id: I460e90725b8f01de2372b3f4eb555ef234dcc617
2015-08-05 22:37:05 +02:00
Translation updater bot aa09984fe1 Localisation updates from https://translatewiki.net.
Change-Id: Ibc2975b1aebeb3a82929e18be1f9003fd7b00857
2015-08-04 23:17:52 +02:00
Translation updater bot 1fdd051ec2 Localisation updates from https://translatewiki.net.
Change-Id: Ie9a966186f643b00789d2d9f0cc3016a108d4634
2015-08-03 22:06:08 +02:00
Translation updater bot 17991b7191 Localisation updates from https://translatewiki.net.
Change-Id: I196ae9f7c25035f513141f6dde4e32b62581cfa3
2015-08-02 21:54:23 +02:00
Translation updater bot 2a3a410685 Localisation updates from https://translatewiki.net.
Change-Id: I9339fcaa5d0f3868fb162c5cc481de582f8c5154
2015-07-30 21:13:10 +02:00
Matthias Mullie 4bc8576f9a Don't fatal when context doesn't know the title
Not sure exactly how the fatal was being triggered, but getTitle()
is documented to return either null or Title, so we should actually
guard for null values.

Bug: T104689
Change-Id: Ic45bbcc71291dc473cd65a48d1840a78d5b64ae1
2015-07-30 13:11:15 +02:00
Translation updater bot abd2b715d3 Localisation updates from https://translatewiki.net.
Change-Id: I76a3e19cd136e16eeecef42555374538d2d23174
2015-07-28 21:50:54 +02:00
Translation updater bot 55f0c980f8 Localisation updates from https://translatewiki.net.
Change-Id: Ib1248f4a2ea2163eee1315a6a54969ce86b90f61
2015-07-27 21:36:22 +02:00
Translation updater bot 46d709568a Localisation updates from https://translatewiki.net.
Change-Id: I26436bbdf1becbd4e189355e34fee561463bcb8e
2015-07-26 21:41:58 +02:00
Translation updater bot 3faf5de94f Localisation updates from https://translatewiki.net.
Change-Id: Ib1393d7418f09cc4282e96df8ddd2f7ded5a2401
2015-07-25 21:58:20 +02:00
Translation updater bot a8f08c845d Localisation updates from https://translatewiki.net.
Change-Id: I27ea59b6961215e6c151671be3f7b556f81b2385
2015-07-22 22:17:34 +02:00
Translation updater bot 4ed71cba8f Localisation updates from https://translatewiki.net.
Change-Id: I78851c30a0a7c033db3130cefd6059ccb679e696
2015-07-21 21:48:10 +02:00
Translation updater bot d6e8cf692d Localisation updates from https://translatewiki.net.
Change-Id: I696ff9dd09fc5edbc993173de5baa04dfcaaae8b
2015-07-19 21:38:34 +02:00
Translation updater bot 9cb8afd9a2 Localisation updates from https://translatewiki.net.
Change-Id: I1e8419f19f292fe3c49ca567422f3f51712409dd
2015-07-18 22:02:30 +02:00
Translation updater bot e75778b5dc Localisation updates from https://translatewiki.net.
Change-Id: I9b99dc20a810980c060f1d6db7e950540c012b2c
2015-07-17 22:25:35 +02:00
Translation updater bot e0f7301f4f Localisation updates from https://translatewiki.net.
Change-Id: I5b6103014e31129cc91371c6ce23bb6a233dd449
2015-07-16 21:14:28 +02:00
Translation updater bot bdf0f1cdd5 Localisation updates from https://translatewiki.net.
Change-Id: Iaacf76bfc14ba764f941747a2677e28df3e7fc15
2015-07-14 22:02:43 +02:00
Translation updater bot 675dfb4792 Localisation updates from https://translatewiki.net.
Change-Id: I981d06d64a4ecdf84965f71edbfbe26b305ec094
2015-07-13 21:36:11 +02:00
Translation updater bot 180ec64733 Localisation updates from https://translatewiki.net.
Change-Id: I67536a68430b225f500378412242c05f8bf3b1ce
2015-07-12 21:51:47 +02:00
Translation updater bot 64962fd4df Localisation updates from https://translatewiki.net.
Change-Id: Ie4379874549fd76f417107d10616a73760225265
2015-07-11 22:07:40 +02:00
Translation updater bot 6306a66c14 Localisation updates from https://translatewiki.net.
Change-Id: I68232d14c6dcfd7cbf32829019f08667db9b8a4f
2015-07-10 21:16:11 +02:00
Translation updater bot 9381e42ca6 Localisation updates from https://translatewiki.net.
Change-Id: I14438abbcb21f100b4be6df9ca5d644472bdc9c1
2015-07-09 22:04:40 +02:00
Translation updater bot 8eea6d260f Localisation updates from https://translatewiki.net.
Change-Id: I8281d90bc5e56238fb0b0cefe8e07ea96d9d69b0
2015-07-07 22:11:15 +02:00
Translation updater bot 650e681876 Localisation updates from https://translatewiki.net.
Change-Id: I89e5fe37abd98dfc461d6dde049d772dd123c2c3
2015-07-06 21:48:20 +02:00
Translation updater bot 924af4682e Localisation updates from https://translatewiki.net.
Change-Id: I78c36bb4709caa56391d7fd64b776f2ba996789d
2015-07-05 22:01:47 +02:00
Translation updater bot 8a04155a2e Localisation updates from https://translatewiki.net.
Change-Id: Ib9648e8ee6d2aeb4ba6b791322ffcd30daa41fa4
2015-07-04 20:39:12 +02:00
Translation updater bot f69ce6ee43 Localisation updates from https://translatewiki.net.
Change-Id: I7b27b067a5de6abe2706bbb1ba30523aab7161b3
2015-07-03 20:44:43 +02:00
Translation updater bot e4a53d19ab Localisation updates from https://translatewiki.net.
Change-Id: I652aa7edde020abf9d5a268e4030918c12f4f337
2015-07-02 21:29:26 +02:00
Translation updater bot ef94091616 Localisation updates from https://translatewiki.net.
Change-Id: I89941cd35bcf148eaebb19e245338a9b9604a7d4
2015-06-30 21:25:30 +02:00
Translation updater bot 02ea5ce7fa Localisation updates from https://translatewiki.net.
Change-Id: I34d5bd35663e93e9ff755910657a41d39b98471c
2015-06-28 22:17:59 +02:00
Translation updater bot 08ffe7bc3b Localisation updates from https://translatewiki.net.
Change-Id: Ia522848ad2cdb2240e8628b0e9b47acc54ca6c70
2015-06-26 21:58:42 +02:00
Alexander Jones a6c8c093ab Make inclusion of API action=flowthank conditional on Flow being installed
This patch will only enable the API module 'flowthank' if Flow is installed,
instead of checking whether Flow is installed when the module is invoked.

Bug: T85521
Change-Id: I0183188dd17f035f3c89e40a9cb1a21421071aca
2015-06-25 17:05:51 -05:00
Translation updater bot a3acb0c19e Localisation updates from https://translatewiki.net.
Change-Id: I8b6f461d3062625adefb88f2f81e01672d00af2f
2015-06-25 20:48:08 +02:00
Translation updater bot 88b13b0f0e Localisation updates from https://translatewiki.net.
Change-Id: I935779d56a2d75013186d67a222a89144fe3191f
2015-06-24 22:07:31 +02:00
Translation updater bot 36119772cd Localisation updates from https://translatewiki.net.
Change-Id: Ic68cdd31b852483ef925378981dd33b26ebf8dbe
2015-06-23 21:28:59 +02:00
jenkins-bot a82d893fce Merge "Fix doc comment for BeforePageDisplay hook" 2015-06-22 21:19:41 +00:00
Kunal Mehta 5567537f62 Fix doc comment for BeforePageDisplay hook
The hook was changed in ccdca0d0d7.

Bug: T89676
Change-Id: Iea8c512d8cf14bc917deda357dcf5f4dca92ca12
2015-06-22 14:14:19 -07:00
Translation updater bot ac59b361b2 Localisation updates from https://translatewiki.net.
Change-Id: I4534b81706cd07a80d18da3c0b84e831eac12e15
2015-06-22 21:19:07 +02:00
Translation updater bot 5063335112 Localisation updates from https://translatewiki.net.
Change-Id: I14d5ea2ad9080634c1dce114e0a5308588ccdc8f
2015-06-21 20:05:45 +02:00
jenkins-bot 094758573d Merge "Use log_search to track already sent thanks" 2015-06-18 18:11:52 +00:00
Kunal Mehta d723a35f82 Remove unnecessary dependency upon user.tokens
All modules now use mw.Api#postWithToken

Change-Id: I6eb2f9bcbf0cbcbbbb7c2e9c6cfe2cd2a8f221cc
2015-06-18 18:06:46 +00:00
Kunal Mehta c4cf317241 Use mw.Api#postWithToken for mobilediff
Change-Id: I6821a9af1e05963364c768e2a39a84ae25883b64
2015-06-17 01:25:15 +00:00
Kunal Mehta 0837a1ef62 build: Add .jshintignore
For people who have Thanks cloned in a subdirectory of MediaWiki core

Bug: T102677
Change-Id: I4f0fe71c5bf63ecba8c07170a0d428ae6b1961ea
2015-06-16 17:20:01 -07:00
Translation updater bot 450919207d Localisation updates from https://translatewiki.net.
Change-Id: I993e1859e6b925c4fada2fb5b188611510ddd478
2015-06-16 22:42:48 +02:00
Kunal Mehta 956a476005 Use log_search to track already sent thanks
We currently use client-side storage to keep track of what revisions and
posts have already been thanked for. This is problematic because client-
side storage is not permanent, making it easy to send duplicate thanks
if you have logged out and in, or switched computers.

This starts storing new thanks in the log_search table, which is
designed for efficient querying of metadata associated with a specific
log entry. With this, we can easily check to see if a user has already
sent thanks for a specific revision.

The UX is a bit weird right now, we only check log_search when actually
sending thanks again, in which case the user thinks they have sent
thanks again, but no duplicate thanks is actually sent.

Bug: T88820
Bug: T53303
Change-Id: Iaf8cbe0776081dc69e82883d8727ba1cfe20e3e1
2015-06-16 11:52:34 -07:00