Thread:Project:Support desk/After Upgrading to Mediawiki 1.21.1 with custom skin: How to deal with/resolve "Use of wfMsg was deprecated in MediaWiki 1.21" warnings

Hi all,

I've searched for my problem but couldn't find any topic for this yet.

I have taken over a mediawiki from someone else which uses a custom skin. Version before upgrading was mediawiki 1.19.1. After Upgrading the mediawiki to 1.21.1, the debug.log displays the following messages:

Use of wfMsg was deprecated in MediaWiki 1.21. [Called from csTemplate::execute in xxx/wiki/skins/cs.php at line 164] Use of wfMsgReal was deprecated in MediaWiki 1.21. [Called from wfMsg in xxx/wiki/includes/GlobalFunctions.php at line 1444] Use of wfMsgGetKey was deprecated in MediaWiki 1.21. [Called from wfMsgReal in xxx/wiki/includes/GlobalFunctions.php at line 1542] Use of wfEmptyMsg was deprecated in MediaWiki 1.21. [Called from csTemplate::execute in xxx/wiki/skins/cs.php at line 164]

Is this something to be concerned of and which should be resolved? And if so, what needs to be changed? I found this document but I don't really understand what would need to be changed exactly in line 164 of my custom skin.php (if it needs to be changed at all).

the corresponding line in my custom skin cs.php are

line 164 

I can understand that this custom skin maybe somewhat outdated, but why is is also displaying the use of deprecated wfMsg* in the GlobalFunctions.php (or is this a result of the action of the customskin?)

The custom skin is working without any problems in the FrontEnd, as far as I can tell.

Any help is hugely appreciated.

regards,