Force type Language for $lang of doEditSectionLink
authorFomafix <fomafix@googlemail.com>
Mon, 23 Jul 2018 19:50:14 +0000 (21:50 +0200)
committerFomafix <fomafix@googlemail.com>
Wed, 17 Oct 2018 04:19:18 +0000 (06:19 +0200)
commit62b7f12418566ec24ed6b10ed749aca060e84b85
tree0c5ca1f09af6799ee6ad19f081f4a4eac5d17695
parent59502c9ae7ff889b8d82786fd6a791f9a069ea99
Force type Language for $lang of doEditSectionLink

Also make the parameter $tooltip mandatory to ensure that a mandatory
parameter does follow an optional parameter. ParserOutput always fill
all parameters of doEditSectionLink.

The call of wfGetLangObj( $lang ) is not necessary anymore.

This change is a follow-up to Id49201957e716ef8a2ea930b3616ca4fe6e35633.

Change-Id: Ic49d76c7d9357f99b462471696f7e1eb86e70e3d
RELEASE-NOTES-1.33
includes/skins/Skin.php