Page MenuHomePhabricator

Warn users about sending sections unmarked for translation
Open, Needs TriagePublic

Description

Steps

  1. Create a new page and mark it for translation
  2. Translate that page to a language say, Spanish
  3. Add a new section to the translatable page, but do not mark the page for translation again
  4. Try to send the newly added section via MassMessage

Expected result

Expecting the user to be warned that the section is not marked for translation.

Current result

Getting an error on sending that: massmessage-page-section-invalid

Background

I tried sending this page: https://meta.wikimedia.org/wiki/User:APatro_(WMF)/T165128_TestPage before marking it for translations to this list: https://meta.wikimedia.org/wiki/Test_mass_message_delivery_list_for_APatro_(WMF)_2020-06-29

Getting the following error code: massmessage-page-section-invalid (https://www.mediawiki.org/wiki/Special:Log?type=massmessage&user=&page=&wpdate=&tagfilter=&subtype=failure)

I think this is because, the latest changes in the page that have the section have not been marked for translation.