HomePhabricator

Reduce confusion for mw.util.getUrl()

Description

Reduce confusion for mw.util.getUrl()

Currently, this is passed as the parameter for pageName, making it
seem like getUrl() can take in an object as the first parameter, when
it should be a string. This works right now because of a tertiary
operator that fetches what we need. To reduce confusion, we should
pass null instead.

Change-Id: Ieea30a4933f3e3fdeb8331c5c544bf1eb034e6b7

Details

Provenance
MtDuAuthored on Aug 10 2017, 6:49 PM
Parents
rERSLea187d69446c: Convert date in Revision Slider tooltip to link
Branches
Unknown
Tags
Unknown
ChangeId
Ieea30a4933f3e3fdeb8331c5c544bf1eb034e6b7