[Mediawiki-l] Editing Link Parsing Code

Beans-v6 beans_v6 at the-beans.com
Mon Mar 21 16:36:36 UTC 2005


I am looking to edit the link parsing code in MediaWiki.  I would like 
[[Define:Something]] to create a mouse-over popup link message with the 
text contained on "Define:Something", and when you click it, it takes 
you to the Edit Article page for [[Define:Something]].

I have looked at the code contained in Parser.php, and I noticed that 
Image is a namespace:

   if ( $ns == NS_IMAGE )

I know that I could make 'Define' a namespace, but how would I go about 
making the namespace and customizing its code?




-------------
Beans-v6

Administrator,
the-BEANS.com
(http://www.the-beans.com/)

beans_v6 at the-beans.com




More information about the MediaWiki-l mailing list