Jhernandez has uploaded a new change for review. https://gerrit.wikimedia.org/r/204499
Change subject: Error in regex broke User lists pages ...................................................................... Error in regex broke User lists pages Regex did not specify $ for end of match so everything after by was being matched... Change-Id: I66e79042b9e6b38e15f58dd6c1faebf893a93fd6 --- M includes/specials/SpecialGather.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather refs/changes/99/204499/1 diff --git a/includes/specials/SpecialGather.php b/includes/specials/SpecialGather.php index e968ca9..0cb4881 100644 --- a/includes/specials/SpecialGather.php +++ b/includes/specials/SpecialGather.php @@ -40,7 +40,7 @@ 'ext.gather.icons', 'ext.gather.styles', ) ); - if ( $subpage === '' || preg_match( '/^by\/?/', $subpage ) ) { + if ( $subpage === '' || preg_match( '/^by\/?$/', $subpage ) ) { // Root subpage. User owned collections. // / = /by = /by/ // For listing own lists, you need to be logged in -- To view, visit https://gerrit.wikimedia.org/r/204499 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I66e79042b9e6b38e15f58dd6c1faebf893a93fd6 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Gather Gerrit-Branch: master Gerrit-Owner: Jhernandez <jhernan...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits