Manual talk:Linker.php

From mediawiki.org
Latest comment: 10 years ago by HappyDog in topic $wgUser->getSkin()

Hi all,

In this file:

function formatComment($comment, $title = NULL, $local = false) {
...
	$comment = $this->formatAutoComments( $comment, $title, $local );
...

call function formatAutoComments, but we write:

private function formatAutocomments( $comment, $title = null, $local = false ) {
...

Note: "formatAutoComments" vs "formatAutocomments"

--Nguyễn Thế Phúc(talk at VLOS) 06:06, 17 November 2009 (UTC)Reply

$wgUser->getSkin()[edit]

Apparently, $wgUser->getSkin() was deprecated in MW 1.18, but this page still recommends using it. What is the recommended way of getting the user's skin now? Can someone who knows please update the page?

-- HappyDog (talk) 00:14, 22 August 2013 (UTC)Reply