Page MenuHomePhabricator

Export titles matching a wildcard
Open, LowPublicFeature


It would be useful for the Special:Export page to accept wildcards in the list
of pages, e.g. "Help:*" to export all help pages, or "MyProject*" to export all
pages relating to a particular project you are working on (including sub-pages).

To be 100% useful, this would need a special alias for the main namespace, e.g.
a colon. This would mean that ":*" would export the entire main namespace,
whilst "*" would export the whole wiki, and ":help*" would export pages in the
main namespace beginning 'help', but nothing from the 'help' namespace.

It would also be useful to have an option to 'include talk pages' so these do
not need to be entered separately.

(apologies if either of these features available, but I found no mention of them
in the manual or interface text - which incidentally still claims that there is
no 'import' function).

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:53 PM
bzimport set Reference to bz3760.

Mass compoment change: <some> -> Export/Import

mike.lifeguard+bugs wrote:

Can you use a prefixindex (possibly using API) to get the titles, then feed that back to Special:Export?

See also Bug 22881 - Greatly improved Export and Import for 1.14.1 (with support for advanced page selection, exporting and importing file uploads, and detection of "conflicts" during import). There's a patch written by me which is related to or fixes your issue.

Change 108487 had a related patch set uploaded by Hydriz:
(bug 3760) Export titles matching a wildcard

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:02 AM