Page MenuHomePhabricator

Replace use of "mw-headline" in ContentTranslation's ViewTranslationPage.vue (Special:AutomaticTranslation)
Open, LowPublic

Description

Please replace the use of "mw-headline" in ContentTranslation's ViewTranslationPage.vue (Special:AutomaticTranslation).

https://gerrit.wikimedia.org/g/mediawiki/extensions/ContentTranslation/+/60b873dd943e68e43336c2bc98e132ccf3b8d3f5/minT/src/ViewTranslationPage.vue#86

The "mw-headline" CSS class is no longer used by MediaWiki (see https://www.mediawiki.org/wiki/Heading_HTML_changes), and will not be styled by the skins. I suggest updating the markup to the <div class="mw-heading"> structure described on that page, so that you don't have to maintain your own styles. The appearance of headings in the real article and a translated article is already a bit different:

Screenshot 2025-05-27 at 10-59-06 Automatic translation - Wikipedia.png (1×1 px, 269 KB)
Screenshot 2025-05-27 at 10-59-11 The Fighting Temeraire - Wikipedia.png (1×1 px, 273 KB)

Event Timeline

Nikerabbit removed a project: ContentTranslation.
Nikerabbit subscribed.

Probably not worth the effort for the experiment.

for the experiment

Does this mean that there are plans to undeploy Special:AutomaticTranslation? (I have not been able to find any documentation about this feature.)

We are soon starting a 6 month experiment for T359072: MinT for Wiki Readers MVP to see if this feature is useful or not.