Internal link

"Ben Ki C ?" <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
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 !


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.