Page MenuHomePhabricator

Categories get replaced by "dummyLink0" while Special:CSV Import
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • create CSV File with "Free Text" column (Freitext in German) containing [[Category:EXAMPLE]]
  • Import pages by csv file on Special:Import CSV
  • select "Overwrite only fields contained in the file"

What happens?:

  • Instead of getting Categories at the end of the page, dummyLink0 appears for each category.
  • Some properties that shoud not be affected by CSV-import get changed / loose data.

What should have happened instead?:

  • Category tags appear at the free text space on the page - already existing ones and those from the CSV import.
  • Properties that are not contained in the csv file have to untouched

ps. This worked in V1.0 but no longer in V1.3

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

  • MediaWiki 1.35.5
  • DataTransfer 1.3

2022-01-26 16_54_33-Bearbeiten von „01TO001“ – Aquanautwebwiki11205.png (342×137 px, 2 KB)

In the following case i didn't affect the "Freetext" area.

2022-01-31 14_44_52-C__test_result.csv.png (1,090×721 px, 46 KB)

2022-01-31 14_32_29-00TL003_ Unterschied zwischen den Versionen.png (1,654×743 px, 48 KB)

Event Timeline

Carchaias updated the task description. (Show Details)
Carchaias updated the task description. (Show Details)

Change 928941 had a related patch set uploaded (by Yaron Koren; author: Yaron Koren):

[mediawiki/extensions/DataTransfer@master] Remove wikitext parsing for ImportCSV "merge" option

https://gerrit.wikimedia.org/r/928941

Change 928941 merged by jenkins-bot:

[mediawiki/extensions/DataTransfer@master] Remove wikitext parsing for ImportCSV "merge" option

https://gerrit.wikimedia.org/r/928941

Yaron_Koren claimed this task.
Yaron_Koren subscribed.

@Carchaias - sorry for the long delay. This was a real bug, caused by unnecessary parsing; I believe it's fixed now.