diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-03-18 06:45:23 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-03-18 06:45:23 +0000 |
commit | ff68dd388390a110897d37fc8eff2219eb6ed1aa (patch) | |
tree | d9ecb5a02719ae469ebe22df7a23a9b2e710426d /RELEASE-CHECKLIST | |
parent | d7e5bb96a71336b110eca3fea2f31bb0bd5e2f91 (diff) | |
download | pandoc-ff68dd388390a110897d37fc8eff2219eb6ed1aa.tar.gz |
MediaWiki writer: make links to relative URLs wikilinks.
The new rule: If the link target is an absolute URL, an external
link is created. Otherwise, a wikilink is created.
Examples:
1. [label](/foo/bar) => [[foo/bar|label]]
2. [label](foo) => [[foo|label]]
3. [label](http://gitit.net/foo) => [http://gitit.net/foo label]
Note on 1: We strip the leading / here, since otherwise we get a
link to Help:Links/foo/bar. would it be better for 1 to become
[http://{SERVERNAME}}/foo/bar label]? Perhaps, since this would
guarantee the same link destination as you'd get if you used the
HTML writer directly.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1904 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'RELEASE-CHECKLIST')
0 files changed, 0 insertions, 0 deletions