Commit graph

773 commits

Author SHA1 Message Date
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
Kunal Mehta 514e9d4c7f Call mw.Api() constructor properly
Change-Id: I56b3c6e17a509056a5ed5ceb5b4dcb376cdec0c3
2015-06-15 19:58:07 -07:00
Translation updater bot 679e5518ce Localisation updates from https://translatewiki.net.
Change-Id: I8f58ada0036365b24904af1eadf5d77531947273
2015-06-15 22:53:50 +02:00
Translation updater bot 2f3e7e9348 Localisation updates from https://translatewiki.net.
Change-Id: I7ece61683b650b267fe219d3b96c4677a49638a1
2015-06-14 21:16:44 +02:00
Translation updater bot 825060215e Localisation updates from https://translatewiki.net.
Change-Id: I10bf2baa94679ce35dd1f193925b84bcd1ec071c
2015-06-13 22:32:45 +02:00
Kunal Mehta 4b886a4ae5 build: Adding configuration for jsonlint
Change-Id: Ib8b38fa5afaa25057c61d9b7e266d4b37382bea7
2015-06-11 21:50:10 -07:00
Translation updater bot 927547b944 Localisation updates from https://translatewiki.net.
Change-Id: Ie798d840225b8e5a7d3856fc457e1cf513134a0a
2015-06-10 22:47:59 +02:00
Translation updater bot f263746e4d Localisation updates from https://translatewiki.net.
Change-Id: Id81625c52ba879a52ccd4a344b39caa229d27a2f
2015-06-09 22:51:30 +02:00
Translation updater bot f73fd96543 Localisation updates from https://translatewiki.net.
Change-Id: I21ba10777c4a03526a1f3626607a3c54c2216db8
2015-06-08 22:01:16 +02:00
Kunal Mehta 4caf5effe1 Use __DIR__ directly
Change-Id: I26ede931a50cd7549a51e8df3cc4598c72eec52b
2015-06-07 18:00:45 -07:00
Translation updater bot fe19473346 Localisation updates from https://translatewiki.net.
Change-Id: I9fff9547b1d1fcc1fe999c9e7a22642fb4866bb5
2015-06-07 22:32:51 +02:00
Translation updater bot e8e0983ffe Localisation updates from https://translatewiki.net.
Change-Id: Ifbab980846941302bbe50d0649e79d66c714aa2c
2015-06-06 22:23:13 +02:00
Kunal Mehta 2e8f71ae58 Add explicit dependency upon grunt-cli
Change-Id: Iaaa8e2fb7846678973547663e2e6903d831b4b96
2015-06-05 17:29:11 -07:00
Kunal Mehta c737bc60e0 build: Updating development dependencies
* grunt-contrib-csslint: 0.2.0 → 0.4.0
* grunt-contrib-jshint: 0.10.0 → 0.11.2
* grunt-banana-checker: 0.2.0 → 0.2.2
* jshint: ~2.5.0 → 2.8.0

Change-Id: I4b3eb1270ed0ef83f4ee3c5399b83a86ae141a26
2015-06-05 17:16:47 -07:00
Translation updater bot c5b666ddea Localisation updates from https://translatewiki.net.
Change-Id: Ica3ee719d99c0c094ee595898a49eb10579ff038
2015-06-05 21:14:12 +02:00
Translation updater bot 09600586b1 Localisation updates from https://translatewiki.net.
Change-Id: I2c03003546feab689a131016106d3c0702078f1e
2015-05-31 22:17:15 +02:00
Translation updater bot 8588669de8 Localisation updates from https://translatewiki.net.
Change-Id: I6d8e0975e91bc422c830380b2db2e1e6c5fdaef7
2015-05-30 23:10:33 +02:00
Translation updater bot 02f804d27e Localisation updates from https://translatewiki.net.
Change-Id: Ic533b838bc2fbb1c608e0af4b38d57dbb58e93e2
2015-05-29 22:43:40 +02:00
Translation updater bot 6e40742533 Localisation updates from https://translatewiki.net.
Change-Id: Id1f5e6260830c109170d9b714cc12ccbdc278973
2015-05-27 22:31:38 +02:00
Translation updater bot 1d06723c10 Localisation updates from https://translatewiki.net.
Change-Id: I896d6f85ce0901cc78f094ac0d17b5b400aeeb78
2015-05-26 22:27:50 +02:00
Translation updater bot 8706f93c83 Localisation updates from https://translatewiki.net.
Change-Id: Ibe114887450290590f0d9983a634637780c257f6
2015-05-25 22:38:49 +02:00
jenkins-bot 94b79beb70 Merge "Remove message reuse for "send thanks"" 2015-05-25 10:11:01 +00:00
Translation updater bot 835a60b64f Localisation updates from https://translatewiki.net.
Change-Id: I6c3194d31443f598b54098cde1cd7ccfdf9ae766
2015-05-24 23:08:11 +02:00
Douglas Gardner dae848638e Remove message reuse for "send thanks"
Split the special page heading and the submit button into separate
messages. Previously, they used the same message key.

c.f. [[translatewiki:Thread:Support/About_MediaWiki:Thanks/en]].

Change-Id: I3611a0d7716ef3b0fd9d8b981a0445800906e039
2015-05-24 12:10:33 +02:00
Translation updater bot b634773b4e Localisation updates from https://translatewiki.net.
Change-Id: I542278cf57ec03280684c45201bf05a50a38f261
2015-05-24 00:17:18 +02:00
Translation updater bot 07922cfbbb Localisation updates from https://translatewiki.net.
Change-Id: I433ec845d344d52a847a6e4edfa0622cc4ff50e7
2015-05-21 23:02:19 +02:00
Translation updater bot 5068659221 Localisation updates from https://translatewiki.net.
Change-Id: Ie9b49e48480a47ff6631906c0ff69cf6888288fd
2015-05-20 22:18:41 +02:00