Test /
MediaWiki
On Wed, Jan 05, 2005 at 01:07:17PM -0500, Neil Herber wrote:
Is there any clean way to have "hot words" like ⚠ MediaWiki
link to external
URLs? without any extra markup?
Try the following in config.php:
Markup('MediaWiki', '<wikilink', '/\\bMediaWiki\\b/e', "Keep(\"<a href='http://wikipedia.sourceforge.net'>MediaWiki</a>\",'L')");
This replaces any occurrence of ⚠ MediaWiki
with a link to the site (as demonstrated on this page).