Page MenuHomePhabricator

Allow {{#get_file_data:}} and {{#get_web_data:}} to enter archives
Closed, ResolvedPublicFeature

Description

Allow {{#get_file_data:}} and {{#get_web_data:}} to enter archives.

The url or filepath should be automatically recognised as either leading to a regular file, or consisting of a path to an archive followed by a path within the archive.

For {{#get_file_data:}} this behaviour should be (dis)allowed in the extension settings per configured datasource; for {{#get_web_data:}}, in general.

In addition, the size of archive to unpack should be limited in the extension settings.

Event Timeline

alex-mashin changed the task status from Open to In Progress.Sep 16 2022, 5:03 AM
alex-mashin claimed this task.

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

[mediawiki/extensions/ExternalData@master] Handle some types of archives

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

Change 832727 merged by jenkins-bot:

[mediawiki/extensions/ExternalData@master] Handle some types of archives

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

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

[mediawiki/extensions/ExternalData@master] Handle archives with subfolders correctly

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

Change 834415 merged by jenkins-bot:

[mediawiki/extensions/ExternalData@master] Handle archives with subfolders correctly

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