https://bugzilla.wikimedia.org/show_bug.cgi?id=71166
Bug ID: 71166
Summary: MediaWiki external link syntax parsing of URI schemes
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: trivial
Priority: Unprioritized
Component: Page editing
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Web browser: ---
Mobile Platform: ---
MediaWiki external link syntax parsing does not appear to support the
view-source [URI schemes][1] potentially others as well. [Live example][2].
Here, I attempted to add an external link directly to view the source of a
webpage to validate the licensing of a public domain image but the link renders
only the rendered HTML page link.
In HTML an anchor tag can be assigned a view-source link like so..[ref][3]
<A HREF="view-source://...>
and MediaWiki documents external linking syntax to be like so..
[href value|visible text]
I attempted to add the external wikilink
// should be the accurate value
[view-source:sacred-texts.com/nam/nw/tmt/index.htm][4]
// doesn't seem accurate because view-source and http are both defining the
URI scheme but this is how it works if you copy/paste it into the address bar
[view-source:http://sacred-texts.com/nam/nw/tmt/index.htm][5]
// tried a few other variations as well
[view-source://sacred-texts.com/nam/nw/tmt/index.htm][6]
[view-source://http://sacred-texts.com/nam/nw/tmt/index.htm][7]
[1]: https://en.wikipedia.org/wiki/URI_scheme#Official_IANA-registered_schemes
[2]:
https://en.wikipedia.org/wiki/Talk:Raven_Tales#Undeletion_of_image_requested
[3]: http://ccd.uab.es/recursos/manualhtml/Anchors/anchor.htm
[4]: view-source:sacred-texts.com/nam/nw/tmt/index.htm
[5]: view-source:http://sacred-texts.com/nam/nw/tmt/index.htm
[6]: view-source://sacred-texts.com/nam/nw/tmt/index.htm
[7]: view-source://http://sacred-texts.com/nam/nw/tmt/index.htm
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l