HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/ContentTranslation…

Description

Updated mediawiki/extensions Project: mediawiki/extensions/ContentTranslation 2b6a0dd950ee78dda8f778906aa5579b5eef18fb

Support gallery translations

Adapt the galleries from the source article to the target article.

Copy the images and translate the captions if MT present.
Editing gallery text won't be allowed at present
in the translation interface.

Testplan:
Translate Radimlja article from English to Spanish.
Special:ContentTranslation&page=Radimlja&from=en&to=es&targettitle=Radimlja
Just click on the gallery in the page. You should see the gallery
copied to the translation and the gallery captions translated
using Apertium.
Publish the article and you should see the following
wikitext in the published page.

Galería

<gallery>
File:Radmilja 1.jpg|Radimlja
File:Radmilja 2.jpg|Señal en la entrada a Radimlja
File:Radmilja 3.jpg|Radimlja, stecak necrópolis
</gallery>

Bug: T96159
Change-Id: I5f1768c336a46a5534af1f90688d530b97f04e00

Details

Provenance
santhoshAuthored on
Gerrit Code ReviewCommitted on Jun 9 2015, 3:45 PM
Parents
rMEXTc4e05377f7dc: Updated mediawiki/extensions Project: mediawiki/extensions/CentralNotice…
Branches
Unknown
Tags
Unknown
ChangeId
I5f1768c336a46a5534af1f90688d530b97f04e00