Author: bugzilla.wikimedia
Description:
I previously reported this bug but it was closed due a a lack of explanation
on how to reproduce it.
Here is how to reproduce it.
- On any wiki, create an article with the title :
Han s/ Lesse
(mind the slash)
and the content is e.g. :
''Han s/ Lesse'' is a nice belgian village located on the river ''Lesse''.
<br>''s/'' should be prononced ''sur'' and means, in english, ''on'' (in german
: oder)
- now use the export functionnality
(I'll upload the file han-sur-lesse.xml for your facility but you can easely
generate it your self).
- now, on a wiki where you are a sysop, try to import.
you'll get the error message : mismatched tag ...
- the reason of the message and the bug are that the title includes a slash,
(which is not something unusual, at least to name french or german towns and
villages).
- I had several similar bugs (mismatched tag, invalid token) when importing
data produced by an external source and converted to XML. This was more or less
normal :
let us say a 'feature', not a 'bug'... :-) (& < > in the text, etc)
- but, in this very situation, the slash was accepted by mediawiki and was
exported. However, we need that an XML file exported, and then untouched, would be
reimported without problem.
So, in this very situation, I think it should be considered as a bug.
Hope this helps...
marc
Version: 1.5.x
Severity: normal