Jump to content

Topic on Manual talk:$wgFooterIcons/Flow

90.177.12.108 (talkcontribs)

From 1.27.0 it may not be ideal to use unset unset( $wgFooterIcons['copyright'] ); to disable CopyrightIcon. It may cause PHP Notice:  Undefined index: copyright in /usr/share/webapps/mediawiki/includes/skins/Skin.php on line 783.

Workaround: Do not unset $wgFooterIcons['copyright'], leave it as it is.

Set $wgRightsIcon to null value (default).

Ciencia Al Poder (talkcontribs)

Ok, I've changed that

Deletedaccount4567435 (talkcontribs)

same error in MW 1.28.0. & set $wgRightsIcon to null value (default) does not work for me

Deletedaccount4567435 (talkcontribs)

Seems to related to extension pageimages. Once I disable this extension when $wgRightsIcon to null value, error message disappear.

Ciencia Al Poder (talkcontribs)

It's strange because nothing in the code of Extension:PageImages references $wgFooterIcons. Maybe your first change to LocalSettings.php where you set it to null instead of unset wasn't actually saved?

Deletedaccount4567435 (talkcontribs)

Retest this problem with no extensions and all cache disabled. Confirmed that Extension:PageImages do no effect on Undefined index error.

The previous problem might caused by cache....

Reply to "Re: Disabling icons"