HomePhabricator

Anchor the regex for ./ stripping

Authored by Catrope.

Description

Anchor the regex for ./ stripping

So it doesn't strip ./ or ../ out of the middle of page names.
Apparently it's common to have user names on hewiki end with dots,
so their user subpages end up being of the form [[User:Foo./Bar]].
This unanchored regex corrupted links to those pages.

Bug: T110676
Change-Id: I0cb3e47afd2b3d0d9d953f6650f5858f9bdb58e9
(cherry picked from commit dc10381d1fe3506112bbabf374761291afe957d6)

Details

Committed
CatropeAug 28 2015, 5:05 PM
Parents
rEFLW6bdb5c793f75: Creating new wmf/1.26wmf20 branch
Branches
Unknown
Tags
Unknown
References
refs/changes/74/234574/1
ChangeId
I0cb3e47afd2b3d0d9d953f6650f5858f9bdb58e9