}
$skin = $wgOut->getSkin();
- return call_user_func_array(
- [ $skin, 'doEditSectionLink' ],
- [ $editsectionPage, $editsectionSection,
- $editsectionContent, $wgLang->getCode() ]
+ return $skin->doEditSectionLink( $editsectionPage,
+ $editsectionSection,
+ $editsectionContent,
+ $wgLang->getCode()
);
},
$text
* * To implement hidden categories, hiding pages from category listings
* by storing a property.
*
- * * Overriding the displayed article title.
- * @see ParserOutput::setDisplayTitle()
+ * * Overriding the displayed article title (ParserOutput::setDisplayTitle()).
*
* * To implement image tagging, for example displaying an icon on an
* image thumbnail to indicate that it is listed for deletion on
* @note You need to use getProperties() to check for boolean and null properties.
*/
public function getProperty( $name ) {
- return isset( $this->mProperties[$name] ) ? $this->mProperties[$name] : false;
+ return $this->mProperties[$name] ?? false;
}
public function unsetProperty( $name ) {