MediaWiki  REL1_20
LegacyTemplate Class Reference
Inheritance diagram for LegacyTemplate:
Collaboration diagram for LegacyTemplate:

List of all members.

Public Member Functions

 afterContent ()
 This gets called shortly before the "</body>" tag.
 beforeContent ()
 This will be called immediately after the "<body>" tag.
 bottomLinks ()
 commentLink ()
 deleteThisPage ()
 doAfterContent ()
 overloaded by derived classes
 doBeforeContent ()
 editThisPage ()
 emailUserLink ()
 execute ()
 Main function, used by classes that subclass QuickTemplate to show the actual HTML output.
 extensionTabLinks ()
 Compatibility for extensions adding functionality through tabs.
 getQuickbarCompensator ($rows=1)
 getUploadLink ()
 historyLink ()
 moveThisPage ()
 nameAndLogin ()
 otherLanguages ()
 pageStats ()
 pageSubtitle ()
 pageTitle ()
 Gets the h1 element with the page title.
 pageTitleLinks ()
 printableLink ()
 protectThisPage ()
 searchForm ()
 specialPagesList ()
 Show a drop-down box of special pages.
 talkLink ()
 topLinks ()
 userContribsLink ()
 variantLinks ()
 Language/charset variant links for classic-style skins.
 watchPageLinksLink ()
 watchThisPage ()
 whatLinksHere ()

Protected Attributes

 $searchboxes = ''

Detailed Description

Definition at line 81 of file SkinLegacy.php.


Member Function Documentation

This gets called shortly before the "</body>" tag.

Returns:
String HTML to be put before "</body>"

Definition at line 165 of file SkinLegacy.php.

References doAfterContent().

Referenced by execute().

This will be called immediately after the "<body>" tag.

Split into two functions to make it easier to subclass.

Returns:
string

Definition at line 102 of file SkinLegacy.php.

References doBeforeContent().

Referenced by execute().

overloaded by derived classes

Returns:
string

Reimplemented in NostalgiaTemplate, CologneBlueTemplate, and StandardTemplate.

Definition at line 172 of file SkinLegacy.php.

Referenced by afterContent().

Main function, used by classes that subclass QuickTemplate to show the actual HTML output.

Reimplemented from QuickTemplate.

Definition at line 86 of file SkinLegacy.php.

References afterContent(), beforeContent(), echo, QuickTemplate\html(), and BaseTemplate\printTrail().

Compatibility for extensions adding functionality through tabs.

Eventually these old skins should be replaced with SkinTemplate-based versions, sigh...

Returns:
string
Todo:
Exterminate! ...that, and replace it with normal SkinTemplate stuff

Definition at line 281 of file SkinLegacy.php.

References $out, $s, $wgLang, Xml\element(), QuickTemplate\getSkin(), wfMessage(), and wfRunHooks().

Referenced by CologneBlueTemplate\sysLinks(), NostalgiaTemplate\topLinks(), and topLinks().

Deprecated:
in 1.19
Returns:
string

Definition at line 554 of file SkinLegacy.php.

References wfDeprecated().

Gets the h1 element with the page title.

Returns:
string

Definition at line 505 of file SkinLegacy.php.

References $s, and $wgOut.

Referenced by NostalgiaTemplate\doBeforeContent(), CologneBlueTemplate\doBeforeContent(), and doBeforeContent().

Language/charset variant links for classic-style skins.

Returns:
string

Definition at line 246 of file SkinLegacy.php.

References $s, $title, $wgLang, and QuickTemplate\getSkin().

Referenced by CologneBlueTemplate\sysLinks(), NostalgiaTemplate\topLinks(), and topLinks().


Member Data Documentation

LegacyTemplate::$searchboxes = '' [protected]

Definition at line 84 of file SkinLegacy.php.


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