Page MenuHomePhabricator

CX creates summary with interwiki alias code
Open, Needs TriagePublic


Steps to reproduce

  1. Translate article from nowiki -> cswiki using the extension
  2. Save translation

Expected behavior
The page creation summary contains iw link to the original article. It should contain main interwiki code

Current behavior
Summary like this: Vytvořeno překladem stránky „[[:nb:Special:Redirect/revision/17011403|Wilhelm Peder Daniel Cappelen]]“ is produced. Note the "nb" part. It seems it either uses iw alias code instead of main iw code, or it uses language code intead of interwiki code.

The issue is this breaks bots using edit summary to fill into the template.

Event Timeline

Dvorapa created this task.Jun 12 2020, 3:23 PM
Restricted Application added subscribers: jeblad, Aklapper. · View Herald TranscriptJun 12 2020, 3:23 PM
Dvorapa renamed this task from CX creates summary with not current interwiki code to CX creates summary with interwiki alias code.Jun 12 2020, 3:27 PM
Dvorapa updated the task description. (Show Details)

This would be an easy fix for a volunteer. One needs to modify the code in to process the from parameter with ContentTranslation\SiteMapper::getDomainCode.

Dvorapa added a subscriber: Urbanecm.