Revision | 9718389717cc598ee66bfb1628821ba69456dbd0 (tree) |
---|---|
Time | 2017-10-30 01:34:53 |
Author | umorigu <umorigu@gmai...> |
Commiter | umorigu |
BugTrack/2308 Fix WikiName linking on no-AutoLink pages
@@ -660,7 +660,7 @@ function get_autolink_pattern(& $pages) | ||
660 | 660 | $auto_pages[] = $page; |
661 | 661 | |
662 | 662 | if (empty($auto_pages)) { |
663 | - $result = $result_a = $nowikiname ? '(?!)' : $WikiName; | |
663 | + $result = $result_a = '(?!)'; | |
664 | 664 | } else { |
665 | 665 | $auto_pages = array_unique($auto_pages); |
666 | 666 | sort($auto_pages, SORT_STRING); |