Santhosh has uploaded a new change for review. https://gerrit.wikimedia.org/r/295668
Change subject: Avoid template name only adaptation for Cite web ...................................................................... Avoid template name only adaptation for Cite web Cite web template usually has mandatory parameters like url and title We can do language pair parameter mapping, but not in all cases. For rest of languages, when template name alone get adapted and parameters not, adaptation results wrong wikitext. It is better to use 'Cite web' itself as template name in such cases since that template might exist as such in those wikis. In this commit we instruct the template adaptation to do that using the common configuration. Testplan: Translate Eleanor Parker from en to no without this patch Translate the section "Source: "Eleanor Parker". IMDb....." Inspect the translation. You will see tempalte name changed tp Kilde www, but parameters not changed. With this patch you will see the template name changed to Cite web itself. Publish the aritcle and make sure the published article is clean. Change-Id: Idc58cc06951e080943fcc8ad1ba1e0210938ef2a --- M modules/source/conf/common.json 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation refs/changes/68/295668/1 diff --git a/modules/source/conf/common.json b/modules/source/conf/common.json index a801331..3872e60 100644 --- a/modules/source/conf/common.json +++ b/modules/source/conf/common.json @@ -3,6 +3,10 @@ "Reflist": { "targetname": "Reflist", "editable": false + }, + "Cite web": { + "targetname": "Cite web", + "editable": false } } } -- To view, visit https://gerrit.wikimedia.org/r/295668 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idc58cc06951e080943fcc8ad1ba1e0210938ef2a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ContentTranslation Gerrit-Branch: master Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits