WikiTuning

DefaultOnline | RecentChanges | Preferences

patch to avoid "Innen" becomes a wikilink - 2005-08-12

  sub GetPageOrEditAnchoredLink? {
  (....)

   if ($EditNameLink?) {
    return &GetEditLink?($id, $name);
  } else {
    return $name . &GetEditLink?($id, '?');
  }

lines added:

   if ($EditNameLink?) {
    return &GetEditLink?($id, $name);
   } elsif ( $id =~ /Innen$/ ) {   # quick'n'dirty: german syntax for gender-neutral naming should not become a wikilink!
     return $name;
  } else {
    return $name . &GetEditLink?($id, '?');
  }

diff

 1192,1193d1191
 <   } elsif ( $id =~ /Innen$/ ) {   # quick'n'dirty: german syntax for gender-neutral naming should not become a wikilink!
 <   return $name;


DefaultOnline | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited August 12, 2005 10:30 pm by Ulf T (diff)
Search: