MediaWiki
1.30.0
|
Public Member Functions | |
afterContent () | |
beforeContent () | |
bottomLinks () | |
execute () | |
Main function, used by classes that subclass QuickTemplate to show the actual HTML output. More... | |
otherLanguages () | |
pageTitleLinks () | |
processBottomLink ( $key, $navlink, $message=null) | |
Used in bottomLinks() to eliminate repetitive code. More... | |
processNavlinkForDocument ( $navlink, $idPrefix='cb-') | |
Takes a navigational link generated by SkinTemplate in whichever way and mangles attributes unsuitable for repeated use. More... | |
quickBar () | |
Compute the sidebar. More... | |
searchForm ( $which) | |
sidebarAdditions ( $bar) | |
Adds CologneBlue-specific items to the sidebar: qbedit, qbpageoptions and qbmyoptions menus. More... | |
sysLinks () | |
talkLink () | |
variantLinks () | |
Language/charset variant links for classic-style skins. More... | |
Public Member Functions inherited from BaseTemplate | |
getFooterIcons ( $option=null) | |
Returns an array of footer icons filtered down by options relevant to how the skin wishes to display them. More... | |
getFooterLinks ( $option=null) | |
Returns an array of footerlinks trimmed down to only those footer links that are valid. More... | |
getIndicators () | |
Get the suggested HTML for page status indicators: icons (or short text snippets) usually displayed in the top-right corner of the page, outside of the main content. More... | |
getMsg ( $name) | |
Get a Message object with its context set. More... | |
getPersonalTools () | |
Create an array of personal tools items from the data in the quicktemplate stored by SkinTemplate. More... | |
getSidebar ( $options=[]) | |
getToolbox () | |
Create an array of common toolbox items from the data in the quicktemplate stored by SkinTemplate. More... | |
getTrail () | |
Get the basic end-page trail including bottomscripts, reporttime, and debug stuff. More... | |
makeLink ( $key, $item, $options=[]) | |
Makes a link, usually used by makeListItem to generate a link for an item in a list used in navigation lists, portlets, portals, sidebars, etc... More... | |
makeListItem ( $key, $item, $options=[]) | |
Generates a list item for a navigation, portlet, portal, sidebar... More... | |
makeSearchButton ( $mode, $attrs=[]) | |
makeSearchInput ( $attrs=[]) | |
msg ( $str) | |
msgHtml ( $str) | |
msgWiki ( $str) | |
An ugly, ugly hack. More... | |
printTrail () | |
Output getTrail. More... | |
Public Member Functions inherited from QuickTemplate | |
__construct (Config $config=null) | |
extend ( $name, $value) | |
extends the value of data with name $name with the value $value More... | |
get ( $name, $default=null) | |
Gets the template data requested. More... | |
getHTML () | |
Fetch the output of a QuickTemplate and return it. More... | |
getSkin () | |
Get the Skin object related to this object. More... | |
haveData ( $str) | |
haveMsg ( $str) | |
html ( $str) | |
set ( $name, $value) | |
Sets the value $value to $name. More... | |
setRef ( $name, &$value) | |
setTranslator (&$t) | |
text ( $str) | |
Public Attributes | |
if( $this->translator->translate( 'tagline')) if( $this->getSkin() ->getOutput() ->getSubtitle()) if( $this->getSkin() ->subPageSubtitle()) | $s = ob_get_contents() |
return | $s |
$this | data ['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode() |
if( $this->data['newtalk']) | if ($this->getSkin() ->getSiteNotice()) |
Public Attributes inherited from QuickTemplate | |
array | $data |
MediaWikiI18N | $translator |
Protected Member Functions | |
renderAfterPortlet ( $name) | |
Protected Member Functions inherited from BaseTemplate | |
getAfterPortlet ( $name) | |
Allows extensions to hook into known portlets and add stuff to them. More... | |
getClear () | |
Get a div with the core visualClear class, for clearing floats. More... | |
getFooter ( $iconStyle='icononly', $linkStyle='flat') | |
Renderer for getFooterIcons and getFooterLinks. More... | |
Additional Inherited Members | |
Protected Attributes inherited from QuickTemplate | |
$config | |
Definition at line 57 of file SkinCologneBlue.php.
CologneBlueTemplate::afterContent | ( | ) |
Definition at line 398 of file SkinCologneBlue.php.
References $s, as, bottomLinks(), data, BaseTemplate\getFooterLinks(), QuickTemplate\getSkin(), captcha-old\p, php, quickBar(), searchForm(), sysLinks(), variantLinks(), and wfMessage().
Referenced by execute().
CologneBlueTemplate::beforeContent | ( | ) |
Definition at line 326 of file SkinCologneBlue.php.
References a, data, QuickTemplate\getSkin(), href, otherLanguages(), captcha-old\p, pageTitleLinks(), php, and wfMessage().
Referenced by execute().
CologneBlueTemplate::bottomLinks | ( | ) |
Definition at line 163 of file SkinCologneBlue.php.
References $lines, data, QuickTemplate\getSkin(), BaseTemplate\getToolbox(), otherLanguages(), processBottomLink(), and talkLink().
Referenced by afterContent().
CologneBlueTemplate::execute | ( | ) |
Main function, used by classes that subclass QuickTemplate to show the actual HTML output.
Reimplemented from QuickTemplate.
Definition at line 58 of file SkinCologneBlue.php.
References afterContent(), beforeContent(), QuickTemplate\html(), BaseTemplate\printTrail(), wfRestoreWarnings(), and wfSuppressWarnings().
CologneBlueTemplate::otherLanguages | ( | ) |
Definition at line 88 of file SkinCologneBlue.php.
References QuickTemplate\$data, $html, $s, as, data, QuickTemplate\getSkin(), BaseTemplate\makeListItem(), renderAfterPortlet(), and wfMessage().
Referenced by beforeContent(), and bottomLinks().
CologneBlueTemplate::pageTitleLinks | ( | ) |
Definition at line 126 of file SkinCologneBlue.php.
References $s, as, data, BaseTemplate\getFooterLinks(), and QuickTemplate\getSkin().
Referenced by beforeContent().
CologneBlueTemplate::processBottomLink | ( | $key, | |
$navlink, | |||
$message = null |
|||
) |
Used in bottomLinks() to eliminate repetitive code.
string | $key | Key to be passed to makeListItem() |
array | $navlink | Navlink suitable for processNavlinkForDocument() |
string | $message | Key of the message to use in place of standard text |
Definition at line 146 of file SkinCologneBlue.php.
References BaseTemplate\makeListItem(), processNavlinkForDocument(), and wfMessage().
Referenced by bottomLinks(), and talkLink().
CologneBlueTemplate::processNavlinkForDocument | ( | $navlink, | |
$idPrefix = 'cb-' |
|||
) |
Takes a navigational link generated by SkinTemplate in whichever way and mangles attributes unsuitable for repeated use.
In particular, this modifies the ids and removes the accesskeys. This is necessary to be able to use the same navlink twice, e.g. in sidebar and in footer.
array | $navlink | Navigational link generated by SkinTemplate |
mixed | $idPrefix | Prefix to add to id of this navlink. If false, id is removed entirely. Default is 'cb-'. |
Definition at line 307 of file SkinCologneBlue.php.
Referenced by processBottomLink().
CologneBlueTemplate::quickBar | ( | ) |
Compute the sidebar.
Definition at line 530 of file SkinCologneBlue.php.
References QuickTemplate\$data, $link, $s, as, data, BaseTemplate\getToolbox(), BaseTemplate\makeListItem(), renderAfterPortlet(), searchForm(), sidebarAdditions(), string, and wfMessage().
Referenced by afterContent().
|
protected |
string | $name |
Reimplemented from BaseTemplate.
Definition at line 117 of file SkinCologneBlue.php.
References $html, $name, and Hooks\run().
Referenced by otherLanguages(), and quickBar().
CologneBlueTemplate::searchForm | ( | $which | ) |
string | $label |
Definition at line 631 of file SkinCologneBlue.php.
References $s, data, QuickTemplate\getSkin(), BaseTemplate\makeSearchButton(), BaseTemplate\makeSearchInput(), and wfMessage().
Referenced by afterContent(), and quickBar().
CologneBlueTemplate::sidebarAdditions | ( | $bar | ) |
Adds CologneBlue-specific items to the sidebar: qbedit, qbpageoptions and qbmyoptions menus.
array | $bar | Sidebar data |
Definition at line 484 of file SkinCologneBlue.php.
References as, data, and BaseTemplate\getPersonalTools().
Referenced by quickBar().
CologneBlueTemplate::sysLinks | ( | ) |
Definition at line 450 of file SkinCologneBlue.php.
References $s, as, BaseTemplate\getPersonalTools(), QuickTemplate\getSkin(), Linker\linkKnown(), Linker\makeExternalLink(), Skin\makeInternalOrExternalUrl(), BaseTemplate\makeListItem(), Title\newFromText(), QuickTemplate\text(), and wfMessage().
Referenced by afterContent().
CologneBlueTemplate::talkLink | ( | ) |
Definition at line 249 of file SkinCologneBlue.php.
References $title, data, QuickTemplate\getSkin(), NS_CATEGORY, NS_FILE, NS_HELP, NS_MAIN, NS_MEDIAWIKI, NS_PROJECT, NS_SPECIAL, NS_TEMPLATE, NS_USER, and processBottomLink().
Referenced by bottomLinks().
CologneBlueTemplate::variantLinks | ( | ) |
Language/charset variant links for classic-style skins.
Definition at line 76 of file SkinCologneBlue.php.
References $link, $s, as, data, QuickTemplate\getSkin(), and BaseTemplate\makeListItem().
Referenced by afterContent().
if ($this->translator->translate('tagline')) if ($this->getSkin() ->getOutput() ->getSubtitle()) if ($this->getSkin() ->subPageSubtitle()) CologneBlueTemplate::$s = ob_get_contents() |
Definition at line 389 of file SkinCologneBlue.php.
Referenced by afterContent(), otherLanguages(), pageTitleLinks(), quickBar(), searchForm(), sysLinks(), and variantLinks().
return CologneBlueTemplate::$s |
Definition at line 392 of file SkinCologneBlue.php.
$this CologneBlueTemplate::data[ 'pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode() |
Definition at line 362 of file SkinCologneBlue.php.
Referenced by afterContent(), beforeContent(), bottomLinks(), otherLanguages(), pageTitleLinks(), quickBar(), searchForm(), sidebarAdditions(), talkLink(), and variantLinks().
Definition at line 354 of file SkinCologneBlue.php.