Parser: Make makeKnownLinkHolder() protected, and remove $query handling
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 26 May 2016 22:00:49 +0000 (15:00 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 26 May 2016 22:00:49 +0000 (15:00 -0700)
commit96e15c9bd2753b3c5b7dc664a7f887d9afd4bbad
treedcb41c7bba24785953bc6f45a1408a74ce1ab48b
parentdaec34bbfc1c70044b76c0a25385c49a6b9e5c32
Parser: Make makeKnownLinkHolder() protected, and remove $query handling

Extensions shouldn't be calling this, just the Parser, so make it
protected. And since the only caller passes an empty array for $query,
we can just remove it entirely.

Change-Id: I3adbcaabbb40870eb3df1495c3c2743ff21f0c64
includes/parser/Parser.php