User "Reedy" posted a comment on MediaWiki.r96669.
Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96669#c22270
Commit summary:
Kill off $wg{Request,User,Lang,Output} usage within skins/ and redundant
$this->skin local vars.
Comment:
<pre>
class SkinSimple extends SkinTemplate {
class SkinTemplate extends Skin {
abstract class Skin extends ContextSource {
class RequestContext implements IContextSource {
<pre>
</pre>
interface IContextSource {
/**
* Get the WebRequest object
*
* @return WebRequest
*/
public function getRequest();
/**
* Get the Title object
*
* @return Title
*/
public function getTitle();
/**
* Get the OutputPage object
*
* @return OutputPage object
*/
public function getOutput();
/**
* Get the User object
*
* @return User
*/
public function getUser();
/**
* Get the Language object
*
* @return Language
*/
public function getLang();
/**
* Get the Skin object
*
* @return Skin
*/
public function getSkin();
}
</pre>
Yes there is
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview