Commit graph

62 commits

Author SHA1 Message Date
Translation updater bot 67a5effbd0
Localisation updates from https://translatewiki.net.
Change-Id: I8bab62ab54182a9e44a40bde14be279b7504bf3d
2024-07-23 09:46:47 +02:00
Jon Robson b119a36f62 Special:MobileDIff no longer exists so remove associated code
Bug: T360389
Change-Id: I0cd7e1269beb707b8e98d37e824dc260c8e670ea
2024-04-25 12:10:28 -07:00
Ed Sanders deeaf16bdb Remove unused messages
Not used since I4c49c12bcf1366.

Change-Id: If0ba3974bae314aa4e646703f46308a7eedfc69d
2023-11-30 11:41:34 +00:00
Translation updater bot 8b23018430 Localisation updates from https://translatewiki.net.
Change-Id: I44fe73021a89f088172db440516cbeceec279317
2022-04-18 10:06:57 +02:00
Translation updater bot b86678892c Localisation updates from https://translatewiki.net.
Change-Id: I879583a0925c9818172c12773611074ca9f51920
2021-05-14 08:45:40 +02:00
STran 43dd004a62 Allow partially blocking giving thanks
- Add hook to enable blocking thanks
- Check if user is blocked from 'thanks' action
  and disable giving thanks from  API and UI if so

Bug: T242785
Change-Id: I290a7c39c6fcb22a8ab4a9ecbad76a239cb18ea0
2021-05-12 13:06:09 -07:00
Reedy 4329060a7b $wgThanksLogTypeWhitelist has been replaced by $wgThanksAllowedLogTypes
Bug: T277963
Change-Id: I7ebc669b353bf6097cbcee3aca186d46419bb5c7
2021-03-20 04:43:48 +00:00
Translation updater bot 4fb83ccbf2 Localisation updates from https://translatewiki.net.
Change-Id: I6cd987f8509f1b15eee1648532e6d15f42a3ca81
2020-04-07 08:51:00 +02:00
Translation updater bot 2b3e0ecc7d Localisation updates from https://translatewiki.net.
Change-Id: I306567c2a60b3f985535f929d9a51e6d9291d8e6
2020-03-31 08:29:24 +02:00
Translation updater bot ea9e4cdd37 Localisation updates from https://translatewiki.net.
Change-Id: Ieb4062274762be02a1c00257d0cac79b5aebdddf
2019-02-13 22:38:32 +01:00
jdlrobson 4f276041f4 Add client side click to cancel on thank
When the thanks button is clicked a thanks will be
queued, that the user can cancel by clicking "cancel"
before the action is completed.

This should help the majority of users experiencing
accidental thanks.

Bug: T63737
Change-Id: I807f729c1b1a9e9b5952685bb18f540f81d70f47
2019-02-08 17:31:20 -05:00
Rafid Aslam b7cd517fb6 Move all apihelp translatable messages to separate files
Should be merged along with
Ie566f9b0b6ba267470c01f17c3f4ea74482e2d2d

Bug: T189982
Change-Id: Id3d44fe0e7884276f7c81253f6b765984f5c9945
2018-11-21 07:00:55 +07:00
Framawiki 801eed16b9 Better message when thanking on page creation
Add a new "revcreation" extra param to the stored echo event, that is set to "true" if it's a page creation.
Create notification-header-creation-thank message.

Bug: T201507
Change-Id: I80b206b1d24d53c9a60725bc25318e31f083aef0
2018-09-09 11:46:39 +02:00
Daimona Eaytoy e4eed78ded Add missing message for Special:Log filters
The form was converted to HTMLForm in
Iba3c6aa5ac40dcdee0792c2d045b238b02d76521 and some messages from core
were added. It also added a checkbox for the thanks log, but not the
associated message.

Bug: T199645
Bug: T199657
Change-Id: I4605a57fa8b4699a43dd5da30f51904b9cbd1aab
2018-07-17 19:49:53 +00:00
Kunal Mehta b8b892bb98 Hard depend upon Echo in extension.json
This extension is useless without Echo, and the API modules already
disable themselves if it's not installed. Just absolutely require Echo
to be installed.

Change-Id: I653eea78668bfe0875bc5a33e2d45607106d4ee5
2018-04-11 01:00:30 -07:00
Matěj Suchánek ac9f8908ca Add GENDER support to thanks-thanked-notice
Change-Id: If23ce8d7ee8ff1edf484c217a70aa34046590fd6
2018-03-22 08:35:26 +00:00
Translation updater bot 4a644bcff0 Localisation updates from https://translatewiki.net.
Change-Id: Ib7709158292454fcff081b4bfef9b920358b9028
2018-03-20 22:13:00 +01:00
Translation updater bot 8f6eff3aea Localisation updates from https://translatewiki.net.
Change-Id: Ib7cc46a4fddc9eea606671a0496e2fa36b165044
2018-03-19 22:20:01 +01:00
Sam Wilson 30e582bd96 Add support for log-thanks to Special:Thanks
A new "Special:Thanks/Log/123" subpage format is added for
sending thanks for the given log entry. The 'Log' part of the
subpage is case-insensitive.

The form field labels are removed because the fields are hidden
and need no labels.

Bug: T186920
Change-Id: Ic2279d9a6dc170d1eeee519392d3a930a37bc2ec
2018-03-19 10:59:20 +08:00
Max Semenik ed087b044c Reintroduce the API to thank for log entries
Originally introduced in b84eedc74e, it was reverted for security concerns.
New changes:
* Instead of bundling the log summary with notification, load it on display
* If the log event has been suppressed after the thanks for it has been sent,
  silently delete the event to prevent the confusion of linking to something
  zapped.
* Keep the 'already sent' cache key compatible with old format
* Validate the log id in the API
* Change ApiCoreThank::getRevisionFromParams() to ApiCoreThank::getRevisionFromId()

Bug: T186855
Bug: T188791
Depends-On: Ic5e9db0def857d9dcecbd06bf081c8c83712c1ea
Change-Id: I03aea7d9f4dfa0fe49639c53968deabf89999d2d
2018-03-06 13:08:47 +08:00
MaxSem 3b2397fea9 Revert "Add support to the Thanks API for thanking log entries"
This reverts commit b84eedc74e.

Bug: T188791
Change-Id: If55ed6cbb5da34c0034da3cc564c6a8ff82448d2
2018-03-02 22:59:20 +00:00
Sam Wilson b84eedc74e Add support to the Thanks API for thanking log entries
Add a 'log' API parameter (for the log ID to thank), and add
a whitelist config variable for specifying which log types are
thankable.

Bug: T186855
Change-Id: I58ae90c9729c0066f952e90fca2cf99b029d0d9b
2018-03-01 14:57:57 -08:00
Translation updater bot 23702ea2e8 Localisation updates from https://translatewiki.net.
Change-Id: I9c3712c1eb917ad0c51f061ba4500b7c136c085f
2018-01-20 14:43:12 +01:00
Translation updater bot d86a788d4e Localisation updates from https://translatewiki.net.
Change-Id: Ib8bd2f7d84999e0ff929d688eb4117316f79d39d
2018-01-18 22:49:57 +01:00
Matthew Flaschen 641c4a702f Fix Thanks messages not say "received your thanks"
We don't know if they'll receive it, due to Echo preferences
being private.

Bug: T168589
Change-Id: I45375ea3fdc48128513c53c945e55578307633d4
2017-06-21 20:31:37 -04:00
Brad Jorsch aa06381b02 API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: I9f1eaad0172a8e54001bf7fffbd41fcff663d12d
2017-06-13 13:27:51 -04:00
Translation updater bot be53cb0cd5 Localisation updates from https://translatewiki.net.
Change-Id: I36f0576029c4dc734556cfc339cb1b37f0cc79b2
2017-06-08 23:14:01 +02:00
Translation updater bot b252076f0a Localisation updates from https://translatewiki.net.
Change-Id: Idc3cbdfcfa2d2951717853b33c414046c10dad15
2017-05-08 22:58:42 +02:00
Translation updater bot 58ef43de93 Localisation updates from https://translatewiki.net.
Change-Id: Iac6f00019e14b1d06c7b39272ab18381a0b633bc
2016-12-06 22:47:50 +01:00
Brad Jorsch a9cbd9471b Update for API error i18n
See Iae0e2ce3. Since Thanks master requires core master, this just
depends on the master patch instead of trying to maintain BC.

Depends-On: Iae0e2ce3bd42dd4776a9779664086119ac188412
Change-Id: Ib6e66f7e94c41b7a27fe867f079626ac0ade4f1b
2016-11-15 03:22:14 +00:00
Translation updater bot 419044be56 Localisation updates from https://translatewiki.net.
Change-Id: I56a043e06ca8570b62aa291db036ead60960cdc9
2016-08-15 23:02:27 +02:00
Stephane Bisson 245190c451 Cleanup old notification config
* Remove unused formatters
* Remove old formatter config
* Remove unused messages

Bug: T121612
Change-Id: I4c49c12bcf1366cd7a786aadaab6dfed67a3428a
2016-07-20 11:25:05 -04:00
Translation updater bot d42a1c328a Localisation updates from https://translatewiki.net.
Change-Id: Iecbd4533d3799e989e2c4a043eefacbbd73d7d63
2016-07-01 23:28:15 +02:00
Stephane Bisson b52fd0ea6f Make thanks notifications expandable bundles
* edit-thank
* flow-thank

Bug: T120152
Depends-On: I1507cae360f45cc87f2d60e966b4d047abfa202d
Depends-On: I91abb2dded9ab7f124aaa798dd07c52576ee791b
Change-Id: I21e36d1874967495d9541f621481cfccf54b7f19
2016-06-27 10:02:59 -04:00
Translation updater bot c904fec80f Localisation updates from https://translatewiki.net.
Change-Id: I713e4f2ccd0306ee2b080f10bbcb5d40d4f0ec2b
2016-04-07 23:04:42 +02:00
Kunal Mehta 93c7a1048e Include error code in API failure message
Otherwise the error reports we get are completely useless.

Bug: T78697
Change-Id: Ic0244e2e947256c411c889a8850c8f18ee3658a4
2016-03-04 11:33:27 -08:00
Translation updater bot b186e9929f Localisation updates from https://translatewiki.net.
Change-Id: I3b90fec52b18dad2a0896316cfe4b4d0cc287300
2016-02-12 22:11:40 +01:00
Roan Kattouw 190ace1ed7 Convert Echo notifications to the new system
* Add ThanksPresentationModel and FlowThanksPresentationModel
* Rename notification-thanks-flyout2 to notification-header-edit-thank,
  shift parameters around and add GENDER support for thanked user
* Rename notification-flow-thanks-flyout to notification-header-flow-thank
  and shift parameters around; this one did already have GENDER support
  for the thanked user

Depends on Idb975feaec in Echo.

Bug: T116847
Change-Id: Iab0f2311e7ffb6a9ce21cd76e564511d03805530
2015-10-28 17:29:55 -07:00
haritha28 b753350e4e Remove unused key "notification-link-text-respond-to-user"
Bug:T56979
Change-Id: I628b3a02ba32ebeeefddce23f51d7ac2990b6479
2015-09-17 10:06:08 +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 9788868292 Localisation updates from https://translatewiki.net.
Change-Id: I5be60e0e666638fb7378c0d81c5efbc88003e8a3
2015-05-14 22:10:13 +02:00
Translation updater bot cb05a949c9 Localisation updates from https://translatewiki.net.
Change-Id: If8555e5ef5f7d0e1da5b601edbe206d0972caea8
2015-05-09 21:53:27 +02:00
Translation updater bot 55fa359ce1 Localisation updates from https://translatewiki.net.
Change-Id: I3ef1d2d7459fed54fe1f2e6935bc4b5a9ac3dce5
2015-05-06 22:02:41 +02:00
Matthew Flaschen b3a74b2953 Further document Thanks gender (both en and qqq), and fix bug
thanks-thank was using plain, but this did not get caught because
the en value did not have a no-op example GENDER.  I've added
these to all of them, for both $1 and $2.  This also tells translators
they're both available.

Bug: T96527
Change-Id: I5130bbd60fe3c1c8051729758c2f2f4bea2b2030
2015-05-05 00:35:20 -04:00
Moriel Schottlender 0a5664ce5e Check the thanked user's gender for Thanks messages
Retrieve gender data for the thanked user for i18n message parsing
with the correct {{GENDER...}} data.

Bug: T96527
Change-Id: I14c831be51482682f2b628a15c79341a4f372c16
2015-05-04 17:16:09 -07:00
jenkins-bot 506c928f66 Merge "Remove dead message" 2015-04-25 20:35:52 +00:00
Matthew Flaschen 1929dec28a Remove dead message
Change-Id: I9042ece1beea246a9a16ed9581be3b66f773370e
2015-04-22 23:50:53 -04:00
Translation updater bot 3a9b890cea Localisation updates from https://translatewiki.net.
Change-Id: Ib28666df1807f6400a6cc5157575d66c689c21f7
2015-03-23 22:08:42 +01:00
Matthew Flaschen b7cefb78ae Add custom title text for Yes and No Thank confirmations
Bug: T89572
Change-Id: I54bfaf7852182c2b22bd897fe55480c2b0e7f1ab
2015-02-17 21:55:36 -05:00