Page MenuHomePhabricator

{{#get_file_data:}} fails in directory mode under Windows
Closed, ResolvedPublicBUG REPORT

Description

{{#get_file_data:}} fails in directory mode under Windows as described here: https://www.mediawiki.org/wiki/Extension_talk:External_Data#File path_works_fine,_Directory_not_working.

Possible reason -- hardcoded Unix directory separator (/).

Event Timeline

alex-mashin changed the task status from Open to In Progress.Aug 16 2022, 4:25 AM
alex-mashin claimed this task.

Change 823273 had a related patch set uploaded (by Alex Mashin; author: mashin):

[mediawiki/extensions/ExternalData@master] Windows directory separator

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

Change 823273 merged by jenkins-bot:

[mediawiki/extensions/ExternalData@master] Windows directory separator

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

Yaron_Koren subscribed.

The original user didn't respond here, but I think it's safe to assume at this point that this patch did indeed fix the problem.