MediaWiki  REL1_19
SkinLegacy Class Reference
Inheritance diagram for SkinLegacy:
Collaboration diagram for SkinLegacy:

List of all members.

Public Member Functions

 commonPrintStylesheet ()
 Should we load mediawiki.legacy.wikiprintable? Skins that have their own print stylesheet should override this and return false.
 isQuickbarSuppressed ()
 Return whether the quickbar should be suppressed from the output.
 qbSetting ()
 setupSkinUserCss (OutputPage $out)
 Add skin specific stylesheets.
 suppressQuickbar ()
 Suppress the quickbar from the output, only for skin supporting the quickbar.

Public Attributes

 $mSuppressQuickbar = false
 This was for the old skins and for users with 640x480 screen.
 $useHeadElement = true
 Whether this skin use OutputPage::headElement() to generate the <head> tag.

Protected Attributes

 $mWatchLinkNum = 0

Detailed Description

Definition at line 10 of file SkinLegacy.php.


Member Function Documentation

Should we load mediawiki.legacy.wikiprintable? Skins that have their own print stylesheet should override this and return false.

(This is an ugly hack to get Monobook to play nicely with OutputPage::headElement().)

Returns:
bool

Reimplemented from SkinTemplate.

Definition at line 23 of file SkinLegacy.php.

Return whether the quickbar should be suppressed from the output.

Returns:
Boolean

Definition at line 47 of file SkinLegacy.php.

Referenced by qbSetting().

Here is the caller graph for this function:

Definition at line 51 of file SkinLegacy.php.

References $wgLang, $wgUser, and isQuickbarSuppressed().

Referenced by SkinStandard\setupSkinUserCss(), and SkinCologneBlue\setupSkinUserCss().

Here is the call graph for this function:

Here is the caller graph for this function:

Add skin specific stylesheets.

Parameters:
$outOutputPage

Reimplemented from SkinTemplate.

Reimplemented in SkinCologneBlue, SkinNostalgia, and SkinStandard.

Definition at line 18 of file SkinLegacy.php.

References OutputPage\addModuleStyles().

Here is the call graph for this function:

Suppress the quickbar from the output, only for skin supporting the quickbar.

Definition at line 38 of file SkinLegacy.php.


Member Data Documentation

SkinLegacy::$mSuppressQuickbar = false

This was for the old skins and for users with 640x480 screen.

Please note old skins are still used and might prove useful for users having old computers or visually impaired.

Definition at line 32 of file SkinLegacy.php.

SkinLegacy::$mWatchLinkNum = 0 [protected]

Definition at line 12 of file SkinLegacy.php.

SkinLegacy::$useHeadElement = true

Whether this skin use OutputPage::headElement() to generate the <head> tag.

Reimplemented from SkinTemplate.

Definition at line 11 of file SkinLegacy.php.


The documentation for this class was generated from the following file: