MediaWiki renders:
[[Albert
Einstein]]
as written (i.e. it does not identify it as a link).
Mwlib renders it as:
ArticleLink target=u'Albert\nEinstein' ns=0
Allowing newlines (and other strange whitespace) inside links is dangerous
for a few reasons:
- it does not emulate MediaWiki
- it allows for crazy bugs like the one I sent yesterday where links
consume everything following them
- the link target still can't be correctly followed, as it is
un-normalised by nshandling
- directly printing out link targets from a document lands up with
badly-formed output
~J
--
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mwlib?hl=en.