]> git.pld-linux.org Git - packages/dokuwiki-plugin-pageredirect.git/commitdiff
- match anything in page name, to wiki path it is converted internally
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 25 Jan 2008 09:40:56 +0000 (09:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-plugin-pageredirect-pagematch.patch -> 1.1
    dokuwiki-plugin-pageredirect.spec -> 1.2

dokuwiki-plugin-pageredirect-pagematch.patch [new file with mode: 0644]
dokuwiki-plugin-pageredirect.spec

diff --git a/dokuwiki-plugin-pageredirect-pagematch.patch b/dokuwiki-plugin-pageredirect-pagematch.patch
new file mode 100644 (file)
index 0000000..f66b458
--- /dev/null
@@ -0,0 +1,11 @@
+--- pageredirect/syntax.php~   2007-01-24 12:36:50.000000000 +0200
++++ pageredirect/syntax.php    2008-01-25 11:36:14.597898649 +0200
+@@ -36,7 +36,7 @@
+       function getSort() { return 1; }
+       
+       function connectTo($mode) { 
+-              $this->Lexer->addSpecialPattern('~~REDIRECT>[a-zA-Z0-9_\-:]+~~', $mode, 'plugin_pageredirect');
++              $this->Lexer->addSpecialPattern('~~REDIRECT>.+~~', $mode, 'plugin_pageredirect');
+       }
+       
+       /** 
index 3058ff397c637a2b1c93eca3fd514fd071180c0c..8fca1238ae6515ded875e8c28ffe78f3b25eb9d8 100644 (file)
@@ -2,12 +2,13 @@
 Summary:       DokuWiki Page Redirect Plugin
 Name:          dokuwiki-plugin-%{plugin}
 Version:       2
-Release:       0.1
+Release:       0.2
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://wiki.zyberdog.dk/_media/php/dw/pageredirect/pageredirect_current.zip
 # Source0-md5: ee8fbe1f5686c43441e07e2dc4c82e37
 Source1:       dokuwiki-find-lang.sh
+Patch0:                %{name}-pagematch.patch
 URL:           http://wiki.splitbrain.org/plugin:page_redirector
 Requires:      dokuwiki >= 20061106
 BuildArch:     noarch
@@ -22,6 +23,7 @@ by adding a particular pattern to a page.
 
 %prep
 %setup -q -n %{plugin}
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.192139 seconds and 4 git commands to generate.