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

Ed Sanders <esand...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|roan.katt...@gmail.com      |esand...@wikimedia.org

--- Comment #1 from Ed Sanders <esand...@wikimedia.org> ---
Another issue this presents is that opening a document and typing in a full URL
suggests that your text will be plain, when in fact it is autolinked.
Re-opening the page after saving and you now have linked text.

This could all be fixed in Parsoid with the following rules:

Label matches URL (and has no annotations)
html: <a href="http://www.google.com";>http://www.google.com</a>
wiki: http://www.google.com

Plain text URL with no link annotation
html: http://www.google.com
wiki: <nowiki>http://www.google.com</nowiki>

Label doesn't match URL (already works)
html: <a href="http://www.google.com";>http://www.google.co.uk</a>
wiki: [http://www.google.com http://www.google.co.uk]

The case with annotations also already works as expected:
html: http://www.<b>google</b>.com
wiki: http://www.'''google'''.com
(which disables the auto linker)

-- 
You are receiving this mail because:
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