HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/Popups…

Authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/Popups 8e694d13b7b90a75bf7c411a4885d07c9ce796d4

core: getTitle: Return undefined for non URI links

mw.Uri throws an exception when dealing with -

href="javascript:void(0);"
href="mailto:abc@example.com"
etc.

Using a try…catch to return undefined in this case.

Bug: T95215
Change-Id: I632e9dc0e70a5fddf9f2573572bfc8e7f6232923

Details

Committed
Gerrit Code ReviewApr 22 2015, 2:14 PM
Parents
rMEXTeca3cc565129: Updated mediawiki/extensions Project…
Branches
Unknown
Tags
Unknown
ChangeId
I632e9dc0e70a5fddf9f2573572bfc8e7f6232923

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT3492f6e8b528: Updated mediawiki/extensions Project: mediawiki/extensions/Popups… (authored by jenkins-bot <jenkins-bot@gerrit.wikimedia.org>).Apr 22 2015, 2:14 PM