Added getCompactHeaderMessage() to EchoThanksPresentationModel
as done in EchoFlowThanksPresentationModel and fixed message
params. (Previously the message only supported $1 and $2, $4
had no effect.)
Change-Id: I98743751657607f61c9d461f4327ffca5a6a99b5
* 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
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
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
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.
Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.
Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
Change the UI to ask for confirmation instead of allowing the user to
change the revision ID, disallow using Special:Thanks directly, and add
support for Flow Thanks.
Bug: 63509
Change-Id: I48ef5e51fd3ac76ff5caf6907bc53d09357634bd