Mailing List Archive

ILocalizedException refactor
Hello everyone,

We are planning to rework ILocalizedException, which will break anything
implementing the interface. Ticket: T287405
<https://phabricator.wikimedia.org/T287405>

TL;DR: The change will deprecate ILocalizedException::getMessageObject()
and replace it with ::getMessageValue()

Of course, we will take care of updating affected Wikimedia deployed
extensions.

Please refer to the ticket and comment if you have any questions or
concerns.

Best,

--
*Thomas Chin <https://meta.wikimedia.org/wiki/User:TChin_(WMF)>* (he/him)
Software Engineer - Platform Engineering
Wikimedia Foundation <https://wikimediafoundation.org/>
Re: ILocalizedException refactor [ In reply to ]
Are the larger plans around refactoring the message system written down
somewhere?

On Thu, Sep 9, 2021 at 11:51 AM Thomas Chin <tchin@wikimedia.org> wrote:

> Hello everyone,
>
> We are planning to rework ILocalizedException, which will break anything
> implementing the interface. Ticket: T287405
> <https://phabricator.wikimedia.org/T287405>
>
> TL;DR: The change will deprecate ILocalizedException::getMessageObject()
> and replace it with ::getMessageValue()
>
> Of course, we will take care of updating affected Wikimedia deployed
> extensions.
>
> Please refer to the ticket and comment if you have any questions or
> concerns.
>
> Best,
>
> --
> *Thomas Chin <https://meta.wikimedia.org/wiki/User:TChin_(WMF)>* (he/him)
> Software Engineer - Platform Engineering
> Wikimedia Foundation <https://wikimediafoundation.org/>
> _______________________________________________
> Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
> To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/