* (bug 4167) Fix regression caused by patch for bug 153
* (bug 1850) Additional fixes so existing local and remote images
get a blue link even if there's no local description page
+* (bug 4169) Use $wgLegalTitleChars in pipe trick conversions
=== Caveats ===
# Context links: [[|name]] and [[name (context)|]]
#
- $tc = "[&;%\\-,.\\(\\)' _0-9A-Za-z\\/:\\x80-\\xff]";
- $np = "[&;%\\-,.' _0-9A-Za-z\\/:\\x80-\\xff]"; # No parens
+ global $wgLegalTitleChars;
+ $tc = "[$wgLegalTitleChars]";
+ $np = str_replace( array( '(', ')' ), array( '', '' ), $tc ); # No parens
+
$namespacechar = '[ _0-9A-Za-z\x80-\xff]'; # Namespaces can use non-ascii!
$conpat = "/^({$np}+) \\(({$tc}+)\\)$/";