Just FYI, I'm getting this message in MW 1.26 (and presumably earlier). Not sure why recent pages needs skin info.
Use of User::getSkin was deprecated in MediaWiki 1.18.
Backtrace:
- RecentPages.php line 79 calls User->getSkin()
- - line - calls RecentPages::showRecentPages()