Subject: | Misstatement of what links are marked |
Kwiki-ForeignLinkGlyphs plugin marks fully qualified links, not necessarily outlinks from the wiki as described. Links which specify a fully-qualified URI to a specific page or facility within the same Wiki are marked _as_if_ foreign. Yet some facilities in Kwiki (so far), that's the only way to mark them within a flow of text that uses alternative (literate) display text for a WikiWord link.
Wishlist: Specify a UTF-8 glyph instead of. or as an alternative to the PNG graphic, such as U+219D or U+2197, or U+21D7, or U+27A6, or U+279A, or U+2B08 (which last at a small size is almost identical to provided foreignlinkglyph.png). An HTML class for truly foreign (outlinked) similar to that for empty (no-such-page) CamelCase and [noncamelpagename] would allow a simple CSS style transform to append link indicators, similar to the hack used now for class="empty" (added to theme/*/css/kwiki.css). I have not tested using &entity constructs in lieu of literal UTF-8 values in Kwiki, yet. Couldn't this be combined, by using url() in CSS instead of content:? Or that idea in the yaml.
/* Clearscreen glyph for empty pages */
a.empty:after {
content: "⎚"
color: "brown";
}
/* some form of up-right-arrow for outlinks */
a.foreignlink:after {
content: "<literalglyph, such as UTF-8 for U+2B08>";
color: "red";
font-size: 8px;
}
a.foreignwiki:after {
content: "↗";
color: #660000;
}
/* Encase mailto: links in <> and tack on an envelope glyph */
a.mailtolink:before {
content: "<";
}
a.mailtolink:after {
content: ">&9993;"
}
etc.