From: Arthaey A. <ar...@gm...> - 2004-08-04 09:21:37
|
I want to add a new inline syntax, to make a word link to its dictionary entry. I would like to be able to type as the page source, for example: The Spanish word Spanish:hablar means to speak. I want "hablar" to be a wiki link to index.php/Spanish/Dictonary/Hablar, with a tooltip that says "to speak" and without the text "Spanish:" actually being displayed. I can get the link to happen by adding the line Spanish Spansh/Dictionary/ to the InterWikiMap page. This doesn't solve the tooltip problem, nor does it allow me to not display the "Spanish:" tag. Will I need to create a dictionary database to get this done? Is there already something similar in the code that I could use as a model? What functions should I be studying? -- AA Homepage: http://arthaey.mine.nu:8080/wiki/ PS -- I'm not actually creating my own Spanish dictionary; there are plenty of good ones already on the 'net. I'm documenting my invented language Asha'ille, so I'm the only dictionary-maker out there for this language. :) |