When doing exporting pages include templates and images, (this should be an option that is not checked by default)
Version: unspecified
Severity: enhancement
When doing exporting pages include templates and images, (this should be an option that is not checked by default)
Version: unspecified
Severity: enhancement
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T29082 Enable importing files | |||
Open | Feature | None | T8071 Transwiki image import | ||
Resolved | None | T24025 Add option to "Include Images" to Special:Export like the "Include Templates" | |||
Open | Feature | None | T15827 Add image data option to Special:Export |
They should be off by default. and only work when getting the current version of the page.
The option for templates is already there.
Backend code exists for images, and sort of works with dumpBackup.php, but is not yet exposed to Special:Export.
Changing summary to aim at adding support for images to Special:Export.
This should also include the templates that are used on the page also. so if {{template:A}} is on a page the template is exported when exporting the page.
/me stabs himself I was looking at older versions of mediawiki, I guess. when was that introduced?
Looks like in SpecialExport theres code for most of this, just commented out... Presumably broken/similar..
rehman.wikimedia wrote:
(In reply to comment #12)
Its still pending resolution/implementation
What's holding back the implementation?
This probably needs a couple of things:
There's also the question of whether/how to handle full-data files... the current export format's upload data extension only includes a URL to the original file, so isn't suitable as an archival format for actual image data. And of course we wouldn't want it to include the actual images in standard data dumps because they're going to be wayyyyy too big.
Probably need to break a few bugs out...
Also see bug 29160 asking about file support on the CLI dumpBackup/importDump; the feature's there but incomplete and not on by default.
This old request is blocking the also old Bug 6071 - Transwiki image import
Are these still big problems we plan to solve some day?
If so, is this task a good candidate for https://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects ?
If not, should we change them to Lowest?
This has the potential to make moving data from project to project, and even having a standard import/export with default data much easier. Right now setting up and or importing templates/articles and similar are very time consuming as you have to track down every image that is being used and manually move that to the new project. This would also make moving data to and from commons much easier and enable maintaining attribution without having to jump through hoops.