Last modified: 2011-04-14 15:13:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12568, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10568 - Export pages matching a regular expression
Export pages matching a regular expression
Status: NEW
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-07-13 15:48 UTC by Thorsten Staerk
Modified: 2011-04-14 15:13 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Thorsten Staerk 2007-07-13 15:48:22 UTC
I want to be able to easily get backups from my complete wiki. For this, I propose to change Special:Exportpages so that you can specify the pages to be exported by a regular expression.
Comment 1 Andrew Garrett 2007-07-13 15:49:19 UTC
Should be done by an extension or maintenance script, IMO.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-07-13 17:05:20 UTC
Regex would mean you would need a table scan to find the correct pages.  Not acceptable for Wikimedia projects for arbitrary users (Special:Export/.* on enwiki anyone?).  The number of pages that could potentially be returned might also be worrying, and remember that if it takes too long, PHP will time out and nothing will happen.  So I don't think this should be enabled by default, either, for the same reasons.  Whether it's allowed as a shell script, an extension, or an optional feature I dunno.  I predict it will be allowed as whatever the first person to write it decides to write it as.
Comment 3 Rob Church 2007-07-13 17:56:09 UTC
To back up an entire wiki, use the maintenance/dumpBackup.php maintenance script, it's more convenient. I don't think this is an unreasonable option for inclusion in core code, although I would suggest it's switched off when miser mode is on, for obvious reasons. Overall, a more flexible specification of items to be exported might be nice.
Comment 4 Siebrand Mazeland 2008-08-18 18:47:36 UTC
Mass compoment change: <some> -> Export/Import
Comment 5 Vitaliy Filippov 2010-03-18 14:23:17 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.