mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
Only match article path until first '?' when parsing links
Bug: T324028 Change-Id: I7aca1a8f20695b9ecd3f63f2d0a3f5684616655e
This commit is contained in:
parent
ea54a8facc
commit
be012ced04
|
@ -494,7 +494,7 @@ class CommentUtils {
|
|||
|
||||
$articlePathRegexp = '/' . str_replace(
|
||||
preg_quote( '$1', '/' ),
|
||||
'(.*)',
|
||||
'([^?]*)',
|
||||
preg_quote( $config->get( 'ArticlePath' ), '/' )
|
||||
) . '/';
|
||||
$matches = null;
|
||||
|
|
Loading…
Reference in a new issue