]> git.pld-linux.org Git - packages/dokuwiki-plugin-data.git/blob - interwiki.patch
- unify %attr() %ghost order
[packages/dokuwiki-plugin-data.git] / interwiki.patch
1 --- data/helper.php     2009-02-13 16:26:25.000000000 +0200
2 +++ data/helper.php     2009-07-28 16:50:23.128325628 +0300
3 @@ -105,6 +105,10 @@
4                  case 'nspage':
5                      $outs[] = $R->internallink(":$key:$val",NULL,NULL,true);
6                      break;
7 +                case 'interwiki':
8 +                                       list($wikiName, $wikiUri) = explode('>', $val, 2);
9 +                    $outs[] = $R->interwikilink($val, NULL, $wikiName, $wikiUri, true);
10 +                    break;
11                  case 'mail':
12                      list($id,$title) = explode(' ',$val,2);
13                      $id = obfuscate(hsc($id));
This page took 0.079827 seconds and 3 git commands to generate.