From: <de...@de...> - 2010-07-13 04:04:34
|
Author: PeterThoeny Date: 2010-07-12 23:04:26 -0500 (Mon, 12 Jul 2010) New Revision: 19216 Trac url: http://develop.twiki.org/trac/changeset/19216 Modified: twiki/trunk/InterwikiPlugin/data/TWiki/InterwikiPlugin.txt twiki/trunk/InterwikiPlugin/lib/TWiki/Plugins/InterwikiPlugin.pm Log: Item6521: Add ~ and % to allowed characters in page part of Site:page link Modified: twiki/trunk/InterwikiPlugin/data/TWiki/InterwikiPlugin.txt =================================================================== --- twiki/trunk/InterwikiPlugin/data/TWiki/InterwikiPlugin.txt 2010-07-11 02:18:10 UTC (rev 19215) +++ twiki/trunk/InterwikiPlugin/data/TWiki/InterwikiPlugin.txt 2010-07-13 04:04:26 UTC (rev 19216) @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="TWikiContributor" date="1277277222" format="1.1" version="$Rev$"}% +%META:TOPICINFO{author="TWikiContributor" date="1278993542" format="1.1" version="$Rev$"}% ---+!! Interwiki Plugin <!-- Contributions to this TWiki plugin are appreciated. Please update the plugin page @@ -62,8 +62,9 @@ | Plugin Author: | TWiki:Main/AndreaSterbini, TWiki:Main/PeterThoeny | | Copyright: | © 2001-2009 Andrea Sterbini,%BR% © 2001-2010 Peter Thoeny ([[http://www.twiki.net/][Twiki, Inc.]]),%BR% © 2001-2010 TWiki:TWiki/TWikiContributor | | License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) | -| Plugin Version: | 2010-06-23 %$VERSION% | +| Plugin Version: | %$VERSION% | | Change History: | <!-- versions below in reverse order --> | +| 2010-07-12: | TWikibug:Item6521 - add ~ and % to allowed characters in page part of Site:page link | | 2010-06-23: | TWikibug:Item6503 - fix TWiki.org specific !TWiki:Web.Topic interwiki links to have .../view/Web/Topic type URLs | | 2010-05-15: | TWikibug:Item6433 - doc improvements; replacing TWIKIWEB with SYSTEMWEB | | 28 Feb 2009: | 17851 - TWikibug:Item5025 - Added === and =&= to page regex, allowing links such as =Site:ID=1234&sel=56= | Modified: twiki/trunk/InterwikiPlugin/lib/TWiki/Plugins/InterwikiPlugin.pm =================================================================== --- twiki/trunk/InterwikiPlugin/lib/TWiki/Plugins/InterwikiPlugin.pm 2010-07-11 02:18:10 UTC (rev 19215) +++ twiki/trunk/InterwikiPlugin/lib/TWiki/Plugins/InterwikiPlugin.pm 2010-07-13 04:04:26 UTC (rev 19216) @@ -51,7 +51,7 @@ ); $VERSION = '$Rev$'; -$RELEASE = '2010-06-23'; +$RELEASE = '2010-07-12'; BEGIN { # 'Use locale' for internationalisation of Perl sorting and searching - @@ -77,7 +77,7 @@ my $man = TWiki::Func::getRegularExpression('mixedAlphaNum'); my $ua = TWiki::Func::getRegularExpression('upperAlpha'); $sitePattern = "([$ua][$man]+)"; - $pagePattern = "([${man}_\/][$man" . '\.\/\+\_\,\&\;\:\=\!\?\%\#\@\-]*?)'; + $pagePattern = "([${man}\_\~\%\/][$man" . '\.\/\+\_\~\,\&\;\:\=\!\?\%\#\@\-]*?)'; # Get plugin preferences from InterwikiPlugin topic $interLinkFormat = |