https://bugzilla.wikimedia.org/show_bug.cgi?id=41969
Web browser: ---
Bug #: 41969
Summary: Import should allow mapping of namespace names and
aliases
Product: MediaWiki
Version: unspecified
Platform: All
URL: https://bugzilla.wikimedia.org/show_bug.cgi?id=30723#c
6
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: Export/Import
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected],
[email protected]
Blocks: 30723
Classification: Unclassified
Mobile Platform: ---
Import data and the importing Wiki may contain differing and/or more or less
name space names and name space name aliases. Currently, if adjustemns are
needed, one needs to know that before the import is started, and has to alter
the import data so as to match the importing wikis names space names and
aliases. This can be cumbersome and time consuming for. It is error prone, and
next to impossible for large automated imports.
We could add an option (checkbox) asking dor a stepwise approach like this:
1) Show a list of all namespace names in the import and in the local wiki with
an automatically generated mapping suggestion.
2) Allow the importer to adjust the mapping.
3) Do the final import.
The downsides:
A) An uploaded file has to be preserved over some time including possibly
multiple data submissions by the importer.
B) The import file has to be read twice. It has to be read and analyzed in its
entirity during the 1st scan already since the the list of original namespaces
in the beginning does not deal with possible occurrences of
name space name aliases embedded in page data. Those need to be part of the
mapping, however.
The good sides:
- Most flexible.
- Often used mappings can be preserved and automagically be recalled by the
import process.
- Step 1) could by the way reveal some statistics to the importer, allowing
e.g. to not import implausible data.
This looks like a major revaming of the import code, however.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l