https://bugzilla.wikimedia.org/show_bug.cgi?id=25542

--- Comment #3 from Umherirrender <umherirrender_de...@web.de> 2011-06-19 
16:16:24 UTC ---
(In reply to comment #2)
> The dump preamble includes the full list of content namespace prefixes in the
> <siteinfo> section, which makes it a pretty straightforward string comparison.
> Adding a namespace attribute on the <page>'s <title> wouldn't hurt terribly,
> but would be redundant and could cause confusion if xml dump files are edited
> in some way such that the namespaces no longer match.
> Would require update to the .xsd schema file as well.
> May require updates to other dump processing infrastructure to maintain it
> through bulk data dumps, otherwise it's not of much use.

String comparison can be expensive (depends on language) and you have also to
check with a colon after the namespace to avoid false namespace (a page named
"Template Test" is not a template).

If you find, that this is redundant and each dump user can find the namespace
himself, than WONTFIX this, it is only a idea for easy work with the dump.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to