diff options
author | Wen Heping <wen@FreeBSD.org> | 2014-04-29 05:41:30 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2014-04-29 05:41:30 +0000 |
commit | 185a98665028113e0491b53c08d9d7e18b0a66ab (patch) | |
tree | 24da153079a76a93580d61bb0712fbf1d90c881b /www/mediawiki121 | |
parent | 50649382a2d77c8f90d14bbc0d392a4165c31b82 (diff) | |
download | ports-185a98665028113e0491b53c08d9d7e18b0a66ab.tar.gz ports-185a98665028113e0491b53c08d9d7e18b0a66ab.zip |
Notes
Diffstat (limited to 'www/mediawiki121')
-rw-r--r-- | www/mediawiki121/files/patch-includes-MagicWord.php | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/www/mediawiki121/files/patch-includes-MagicWord.php b/www/mediawiki121/files/patch-includes-MagicWord.php deleted file mode 100644 index 3996e767d188..000000000000 --- a/www/mediawiki121/files/patch-includes-MagicWord.php +++ /dev/null @@ -1,13 +0,0 @@ ---- includes/MagicWord.php.orig 2014-02-12 22:03:25.000000000 +0800 -+++ includes/MagicWord.php 2014-02-12 22:05:10.000000000 +0800 -@@ -704,7 +704,9 @@ - $magic = MagicWord::get( $name ); - $case = intval( $magic->isCaseSensitive() ); - foreach ( $magic->getSynonyms() as $i => $syn ) { -- $group = "(?P<{$i}_{$name}>" . preg_quote( $syn, '/' ) . ')'; -+ // Group name must start with a non-digit in PCRE 8.34+ -+ $it = strtr( $i, '0123456789', 'abcdefghij' ); -+ $group = "(?P<{$it}_{$name}>" . preg_quote( $syn, '/' ) . ')'; - if ( $this->baseRegex[$case] === '' ) { - $this->baseRegex[$case] = $group; - } else { |