Submitted by : at: 2004-11-18T14:55:51+00:00 (16 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Our company name (DataSplice?) is a WikiName, which gets annoying to see it linked every time the name is mentioned in our documentation. One workaround is to escape the name with '!', but this is difficult since the word is used so often.

It would be nice to have a list of names to always ignore.

Below is a patch that accomplishes this: it allows a 'ignore_wikinames' property to be defined for a folder that contains a list of names to ignore. The type of the property should be 'Lines'. This simply adds a check in renderLink to ignore the name if it is listed.

+++        2004-11-18 15:36:04.618030700 -0700
@@ -544,6 +544,12 @@
       # is this link escaped ?
       if link[0] == '!': return link[1:]

+        # ignore certain [WikiName]
+        if hasattr(self, 'ignore_wikinames'):
+            ignoreList = getattr(self, 'ignore_wikinames')
+            if link in ignoreList:
+                return link
       # is it an interwiki link ?
       if re.match(interwikilink,link): return self.renderInterwikiLink(link)


Matt Kunze (kunzem at

The tough part will be the documentation... --betabug, Thu, 15 Mar 2007 08:21:05 +0000 reply

which will really only get easier when we have a proper admin interface.

patch is in darcs --betabug, Thu, 15 Mar 2007 08:48:32 +0000 reply

Category: general => admin-configuring

Thanks for submittting this! I simplified the patch a little bit, retested it and sent it to darcs. I'm leaving this open, as we need to document this yet.

bah --simon, Sat, 24 Mar 2007 05:16:10 +0000 reply

I'm right now -0.5 on this.. here's my argument: We already have the ability to select which kinds of wiki linking are used (across the wiki) and the ability to escape a link or whole line in (in individual cases). This fits between those two cases and adds a small convenience to a minority of users but it confuses the simple predictable model of wikilinking and adds another option to remember/forget/misconfigure. Seems like featuritis to me.

bah --simon, Sat, 24 Mar 2007 05:17:02 +0000 reply

PS and, thank you both for the work. What do others think of it.

bah --Frank Laurijssens, Sat, 24 Mar 2007 11:41:17 +0000 reply

I've always solved/avoided this by deliberately creating the wikilink and have a page show some general information about the company/subject/person, or a URL pointing at the company's intranet or web site.

My €0,02

in 0.59 --betabug, Sun, 25 Mar 2007 19:11:00 +0000 reply

Status: open => closed