https://bugzilla.wikimedia.org/show_bug.cgi?id=5814
This, that and the other (TTO) <at.li...@live.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |at.li...@live.com.au
Resolution|--- |WORKSFORME
--- Comment #5 from This, that and the other (TTO) <at.li...@live.com.au> ---
(In reply to Rob Church from comment #4)
> If a bogus title is encountered, a more intuitive error message makes sense.
$ php maintenance/importDump.php ~/documents/temp/invalidtitle
Page "Template:In>valid" was not imported because the name to which it would be
imported is invalid on this wiki.
Done!
You might want to run rebuildrecentchanges.php to regenerate RecentChanges
$ cat ~/documents/temp/invalidtitle
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.8/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.8/
http://www.mediawiki.org/xml/export-0.8.xsd" version="0.8" xml:lang="en">
<page>
<title>Template:In>valid</title>
<ns>10</ns>
<id>456</id>
<revision>
<id>456</id>
<timestamp>1972-01-01T00:00:00Z</timestamp>
<contributor>
<ip>::5</ip>
</contributor>
<comment>Created page with 'ha'</comment>
<text xml:space="preserve" bytes="2">ha</text>
<sha1>t78jgj4yk5qdbeuu0kfwdxdrxmvfl65</sha1>
<model>wikitext</model>
<format>text/x-wiki</format>
</revision>
</page>
</mediawiki>
--
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