MediaWiki  REL1_19
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 68 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 151 of file SkinLegacy.php.

References doAfterContent().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Split into two functions to make it easier to subclass.

Definition at line 88 of file SkinLegacy.php.

References doBeforeContent().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 761 of file SkinLegacy.php.

References $title, $wgOut, QuickTemplate\getSkin(), Linker\linkKnown(), and wfMsg().

Referenced by CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 565 of file SkinLegacy.php.

References $t, $title, $wgUser, QuickTemplate\getSkin(), Linker\linkKnown(), and wfMsg().

Referenced by bottomLinks(), StandardTemplate\quickBar(), and CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:

overloaded by derived classes

Reimplemented in NostalgiaTemplate, CologneBlueTemplate, and StandardTemplate.

Definition at line 156 of file SkinLegacy.php.

Referenced by afterContent().

Here is the caller graph for this function:

Reimplemented in CologneBlueTemplate, and NostalgiaTemplate.

Definition at line 92 of file SkinLegacy.php.

References $rows, $wgLang, QuickTemplate\getSkin(), nameAndLogin(), otherLanguages(), pageSubtitle(), pageTitle(), pageTitleLinks(), searchForm(), topLinks(), wfProfileIn(), and wfProfileOut().

Referenced by beforeContent().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 539 of file SkinLegacy.php.

References $t, $title, $wgOut, QuickTemplate\getSkin(), Linker\linkKnown(), and wfMsg().

Referenced by bottomLinks(), StandardTemplate\quickBar(), CologneBlueTemplate\quickBar(), NostalgiaTemplate\topLinks(), and topLinks().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 689 of file SkinLegacy.php.

References QuickTemplate\getSkin(), SpecialPage\getTitleFor(), Linker\linkKnown(), and wfMsgHtml().

Referenced by bottomLinks(), StandardTemplate\quickBar(), and CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented from QuickTemplate.

Definition at line 73 of file SkinLegacy.php.

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

Here is the call graph for this function:

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 265 of file SkinLegacy.php.

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

Deprecated:
in 1.19

Definition at line 534 of file SkinLegacy.php.

References wfDeprecated().

Here is the call graph for this function:

Definition at line 787 of file SkinLegacy.php.

References $wgUploadNavigationUrl, SpecialPage\getTitleFor(), Linker\linkKnown(), Linker\makeExternalLink(), and wfMsgHtml().

Referenced by StandardTemplate\quickBar(), CologneBlueTemplate\quickBar(), and NostalgiaTemplate\topLinks().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 666 of file SkinLegacy.php.

References QuickTemplate\getSkin(), Linker\link(), and wfMsgHtml().

Referenced by bottomLinks(), StandardTemplate\quickBar(), CologneBlueTemplate\quickBar(), NostalgiaTemplate\topLinks(), and topLinks().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 652 of file SkinLegacy.php.

References QuickTemplate\getSkin(), SpecialPage\getTitleFor(), Linker\linkKnown(), and wfMsg().

Referenced by bottomLinks(), StandardTemplate\quickBar(), and CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 801 of file SkinLegacy.php.

References $wgLang, $wgUser, QuickTemplate\getSkin(), SpecialPage\getTitleFor(), Linker\link(), Title\newFromText(), Linker\specialLink(), wfMsg(), and wfMsgForContent().

Referenced by doBeforeContent().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 347 of file SkinLegacy.php.

References $wgContLang, $wgHideInterlanguageLinks, $wgLang, $wgOut, Html\element(), Title\newFromText(), wfMsg(), and wfMsgExt().

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

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 185 of file SkinLegacy.php.

Referenced by StandardTemplate\doAfterContent(), CologneBlueTemplate\doAfterContent(), and NostalgiaTemplate\doAfterContent().

Here is the caller graph for this function:

Definition at line 493 of file SkinLegacy.php.

References $wgExtraSubtitle, $wgOut, QuickTemplate\getSkin(), and wfMsgExt().

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

Here is the call graph for this function:

Here is the caller graph for this function:

Gets the h1 element with the page title.

Returns:
string

Definition at line 487 of file SkinLegacy.php.

References $wgOut.

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

Here is the caller graph for this function:

Definition at line 510 of file SkinLegacy.php.

References $wgLang, $wgOut, QuickTemplate\getSkin(), wfMsg(), and wfMsgHtml().

Referenced by pageTitleLinks(), and CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 587 of file SkinLegacy.php.

References $title, $wgUser, QuickTemplate\getSkin(), Linker\linkKnown(), and wfMsg().

Referenced by bottomLinks(), StandardTemplate\quickBar(), and CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 160 of file SkinLegacy.php.

References $wgUseTwoButtonsSearchForm, QuickTemplate\getSkin(), and wfMsg().

Referenced by StandardTemplate\doAfterContent(), CologneBlueTemplate\doAfterContent(), NostalgiaTemplate\doAfterContent(), doBeforeContent(), and CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:

Show a drop-down box of special pages.

Definition at line 392 of file SkinLegacy.php.

References $wgScript, SpecialPageFactory\getPage(), SpecialPageFactory\getUsablePages(), Html\rawElement(), Xml\submitButton(), and wfMsg().

Referenced by NostalgiaTemplate\topLinks().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 709 of file SkinLegacy.php.

References $title, QuickTemplate\getSkin(), Linker\link(), wfFindFile(), and wfMsg().

Referenced by bottomLinks(), StandardTemplate\quickBar(), CologneBlueTemplate\quickBar(), and NostalgiaTemplate\topLinks().

Here is the call graph for this function:

Here is the caller graph for this function:

Reimplemented in NostalgiaTemplate.

Definition at line 198 of file SkinLegacy.php.

References $wgOut, editThisPage(), extensionTabLinks(), QuickTemplate\getSkin(), historyLink(), Linker\specialLink(), variantLinks(), and wfMsgExt().

Referenced by doBeforeContent().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 682 of file SkinLegacy.php.

References QuickTemplate\getSkin(), SpecialPage\getTitleFor(), Linker\linkKnown(), and wfMsgHtml().

Referenced by bottomLinks(), StandardTemplate\quickBar(), and CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:

Language/charset variant links for classic-style skins.

Returns:
string

Definition at line 230 of file SkinLegacy.php.

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 696 of file SkinLegacy.php.

References $wgOut, QuickTemplate\getSkin(), SpecialPage\getTitleFor(), Linker\linkKnown(), wfMsg(), and wfMsgHtml().

Referenced by bottomLinks(), StandardTemplate\quickBar(), and CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 615 of file SkinLegacy.php.

References $title, $wgOut, $wgUser, QuickTemplate\getSkin(), WatchAction\getUnwatchToken(), WatchAction\getWatchToken(), Linker\linkKnown(), and wfMsg().

Referenced by bottomLinks(), StandardTemplate\quickBar(), and CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 675 of file SkinLegacy.php.

References QuickTemplate\getSkin(), SpecialPage\getTitleFor(), Linker\linkKnown(), and wfMsgHtml().

Referenced by bottomLinks(), StandardTemplate\quickBar(), and CologneBlueTemplate\quickBar().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

LegacyTemplate::$searchboxes = '' [protected]

Definition at line 71 of file SkinLegacy.php.


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