[Moin-devel] Internal link

Ben Ki C ? kic at nerim.net
Wed Feb 18 01:01:04 EST 2004


Hello all :)

First thank for all your job !

I like the way of Media Wiki to create internal link with[["The Real Wiki
Page"|NameShowOnThePage]]
For example a link can be create on the page "PostGreSQL quick
presentation" but appear just like "postgres" with [["PostGreSQL quick
presentation"|postgres]]
Impossible in moinmoin :(

but ...

In your moin_config.py add :
url_mappings = {'int:' : ''}
url_schemas  = ['int']

Now you can do a [int:PostGreSQL postgres] or if the name have space
[int:PostGreSQL%20quick%20presentation postgres]

That's work :)

To hide the mini world icon without loosing the others (ftp, telnet, etc.)
or choose Hide icon in user preferences

In getListIcon of util/web.py add in first place
if scheme == "int": return ''

I hope this will be usefull for some people.
Is it a feature already requested by other people ?

Thank again !




More information about the Moin-devel mailing list