Go to the source code of this file.
Classes | |
class | Skin |
The main skin class that provide methods and properties for all other skins. More... | |
Functions | |
setupUserCss (OutputPage $out) | |
setupSkinUserCss (OutputPage $out) | |
Add skin specific stylesheets. | |
getBodyOptions () | |
getPageClasses ($title) | |
getLogo () | |
URL to the logo. | |
beforeContent () | |
This will be called immediately after the <body> tag. | |
doBeforeContent () | |
getCategoryLinks () | |
drawCategoryBrowser ($tree, &$skin) | |
Render the array as a serie of links. | |
getCategories () | |
getQuickbarCompensator ($rows=1) | |
afterContentHook () | |
This runs a hook to allow extensions placing their stuff after content and article metadata (e.g. | |
generateDebugHTML () | |
Generate debug data HTML for displaying at the bottom of the main content area. | |
afterContent () | |
This gets called shortly before the </body> tag. | |
bottomScripts () | |
This gets called shortly before the </body> tag. | |
printSource () | |
printFooter () | |
doAfterContent () | |
overloaded by derived classes | |
pageTitleLinks () | |
getUndeleteLink () | |
printableLink () | |
pageTitle () | |
pageSubtitle () | |
subPageSubtitle () | |
showIPinHeader () | |
Returns true if the IP should be shown in the header. | |
nameAndLogin () | |
getSearchLink () | |
escapeSearchLink () | |
searchForm () | |
topLinks () | |
extensionTabLinks () | |
Compatibility for extensions adding functionality through tabs. | |
variantLinks () | |
Language/charset variant links for classic-style skins. | |
bottomLinks () | |
pageStats () | |
getCopyright ($type= 'detect') | |
getCopyrightIcon () | |
getPoweredBy () | |
lastModified () | |
logoText ($align= '') | |
specialPagesList () | |
show a drop-down box of special pages | |
mainPageLink () | |
copyrightLink () | |
footerLink ($desc, $page) | |
privacyLink () | |
aboutLink () | |
disclaimerLink () | |
editThisPage () | |
editUrlOptions () | |
Return URL options for the 'edit page' link. | |
deleteThisPage () | |
protectThisPage () | |
watchThisPage () | |
moveThisPage () | |
historyLink () | |
whatLinksHere () | |
userContribsLink () | |
showEmailUser ($id) | |
emailUserLink () | |
watchPageLinksLink () | |
trackbackLink () | |
otherLanguages () | |
talkLink () | |
commentLink () | |
static | makeMainPageUrl ($urlaction= '') |
static | makeSpecialUrl ($name, $urlaction= '') |
static | makeSpecialUrlSubpage ($name, $subpage, $urlaction= '') |
static | makeI18nUrl ($name, $urlaction= '') |
static | makeUrl ($name, $urlaction= '') |
static | makeInternalOrExternalUrl ($name) |
static | makeNSUrl ($name, $urlaction= '', $namespace=NS_MAIN) |
static | makeUrlDetails ($name, $urlaction= '') |
static | makeKnownUrlDetails ($name, $urlaction= '') |
Make URL details where the article exists (or at least it's convenient to think so). | |
static | checkTitle (&$title, $name) |
buildSidebar () | |
Build an array that represents the sidebar(s), the navigation bar among them. | |
Variables | |
END | |
if($wgUser->getOption( 'justify')) if(!$wgUser-> getOption( 'showtoc')) if(!$wgUser-> getOption( 'editsection')) return | $s |
aboutLink | ( | ) |
Definition at line 1502 of file Skin.php.
References footerLink().
Referenced by SkinMonoBookCBT::about(), SkinStandard::doAfterContent(), SkinNostalgia::doAfterContent(), SkinCologneBlue::doAfterContent(), and SkinTemplate::outputPage().
afterContent | ( | ) |
This gets called shortly before the </body> tag.
Definition at line 911 of file Skin.php.
References doAfterContent(), generateDebugHTML(), and printFooter().
Referenced by Skin::outputPage().
afterContentHook | ( | ) | [protected] |
This runs a hook to allow extensions placing their stuff after content and article metadata (e.g.
categories). Note: This function has nothing to do with afterContent().
This hook is placed here in order to allow using the same hook for all skins, both the SkinTemplate based ones and the older ones, which directly use this class to get their data.
The output of this function gets processed in SkinTemplate::outputPage() for the SkinTemplate based skins, all other skins should directly echo it.
Returns an empty string by default, if not changed by any hook function.
Definition at line 871 of file Skin.php.
References wfDebug(), and wfRunHooks().
Referenced by SkinTemplate::outputPage(), and Skin::outputPage().
beforeContent | ( | ) |
This will be called immediately after the <body> tag.
Split into two functions to make it easier to subclass.
Definition at line 687 of file Skin.php.
References doBeforeContent().
Referenced by Skin::outputPage().
bottomLinks | ( | ) |
Definition at line 1260 of file Skin.php.
References $s, $sep, $wgOut, $wgTitle, $wgUseTrackbacks, deleteThisPage(), editThisPage(), emailUserLink(), historyLink(), User::idFromName(), User::isIP(), moveThisPage(), otherLanguages(), protectThisPage(), showEmailUser(), talkLink(), trackbackLink(), userContribsLink(), watchPageLinksLink(), watchThisPage(), wfMsgExt(), and whatLinksHere().
Referenced by SkinStandard::doAfterContent(), SkinNostalgia::doAfterContent(), and SkinCologneBlue::doAfterContent().
bottomScripts | ( | ) |
This gets called shortly before the </body> tag.
Definition at line 920 of file Skin.php.
References $wgJsMimeType, and wfRunHooks().
Referenced by SkinTemplate::outputPage(), and Skin::outputPage().
buildSidebar | ( | ) |
Build an array that represents the sidebar(s), the navigation bar among them.
Definition at line 1857 of file Skin.php.
References $key, $parserMemc, $text, $title, $wgEnableSidebarCache, $wgLang, $wgSidebarCacheExpiry, Title::newFromText(), wfEmptyMsg(), wfMemcKey(), wfMsgExt(), wfMsgForContent(), wfProfileIn(), wfProfileOut(), wfRunHooks(), and wfUrlProtocols().
Referenced by SkinTemplate::outputPage(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
static checkTitle | ( | &$ | title, | |
$ | name | |||
) | [static] |
Definition at line 1843 of file Skin.php.
References $name, $title, and Title::newFromText().
Referenced by SkinTemplate::makeArticleUrlDetails(), makeI18nUrl(), makeKnownUrlDetails(), makeMainPageUrl(), makeNSUrl(), SkinTemplate::makeTalkUrlDetails(), makeUrl(), and makeUrlDetails().
commentLink | ( | ) |
copyrightLink | ( | ) |
deleteThisPage | ( | ) |
Definition at line 1546 of file Skin.php.
References $s, $t, $wgRequest, $wgTitle, and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
disclaimerLink | ( | ) |
Definition at line 1506 of file Skin.php.
References footerLink().
Referenced by SkinMonoBookCBT::disclaimer(), SkinTemplate::outputPage(), and pageTitleLinks().
doAfterContent | ( | ) |
overloaded by derived classes
Definition at line 940 of file Skin.php.
Referenced by afterContent().
doBeforeContent | ( | ) |
Definition at line 691 of file Skin.php.
References $fname, $rows, $s, $wgContLang, getCategories(), getQuickbarCompensator(), logoText(), nameAndLogin(), otherLanguages(), pageSubtitle(), pageTitle(), pageTitleLinks(), searchForm(), topLinks(), wfGetSiteNotice(), wfProfileIn(), and wfProfileOut().
Referenced by beforeContent().
drawCategoryBrowser | ( | $ | tree, | |
&$ | skin | |||
) |
Render the array as a serie of links.
$tree | Array: categories tree returned by Title::getParentCategoryTree | |
&skin | Object: skin passed by reference |
Definition at line 821 of file Skin.php.
References Title::newFromText().
Referenced by getCategoryLinks().
editThisPage | ( | ) |
Definition at line 1510 of file Skin.php.
References $s, $t, $wgOut, $wgTitle, editUrlOptions(), and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), SkinCologneBlue::quickBar(), SkinNostalgia::topLinks(), and topLinks().
editUrlOptions | ( | ) |
Return URL options for the 'edit page' link.
This may include an 'oldid' specifier, if the current page view is such.
Definition at line 1536 of file Skin.php.
References $wgArticle.
Referenced by SkinTemplate::buildContentActionUrls(), editThisPage(), getBodyOptions(), and SkinMonoBookCBT::getEditUrl().
emailUserLink | ( | ) |
Definition at line 1642 of file Skin.php.
References $wgTitle, SpecialPage::getTitleFor(), and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
escapeSearchLink | ( | ) |
Definition at line 1159 of file Skin.php.
References getSearchLink().
Referenced by SkinTemplate::outputPage(), SkinCologneBlue::searchForm(), and searchForm().
extensionTabLinks | ( | ) |
Compatibility for extensions adding functionality through tabs.
Eventually these old skins should be replaced with SkinTemplate-based versions, sigh...
Definition at line 1219 of file Skin.php.
References $out, $s, $wgLang, Xml::element(), wfMsgExt(), and wfRunHooks().
Referenced by SkinCologneBlue::sysLinks(), SkinNostalgia::topLinks(), and topLinks().
footerLink | ( | $ | desc, | |
$ | page | |||
) | [private] |
Definition at line 1484 of file Skin.php.
References $page, wfMsgExt(), and wfMsgForContent().
Referenced by aboutLink(), disclaimerLink(), and privacyLink().
generateDebugHTML | ( | ) | [protected] |
Generate debug data HTML for displaying at the bottom of the main content area.
Definition at line 897 of file Skin.php.
References $wgOut, and $wgShowDebug.
Referenced by afterContent(), and SkinTemplate::outputPage().
getBodyOptions | ( | ) |
Definition at line 637 of file Skin.php.
References $s, $wgContLang, $wgOut, $wgRequest, $wgTitle, editUrlOptions(), Sanitizer::escapeClass(), and getPageClasses().
Referenced by Skin::outputPage().
getCategories | ( | ) |
Definition at line 838 of file Skin.php.
References $classes, and getCategoryLinks().
Referenced by SkinMonoBookCBT::catlinks(), doBeforeContent(), and SkinTemplate::outputPage().
getCategoryLinks | ( | ) |
Definition at line 754 of file Skin.php.
References $msg, $s, $sep, $t, $wgContLang, $wgOut, $wgTitle, $wgUseCategoryBrowser, drawCategoryBrowser(), Title::newFromText(), wfMsgExt(), and wfMsgForContent().
Referenced by SkinNostalgia::doBeforeContent(), SkinCologneBlue::doBeforeContent(), and getCategories().
getCopyright | ( | $ | type = 'detect' |
) |
Definition at line 1349 of file Skin.php.
References $msg, $out, $type, $wgArticle, $wgRequest, $wgRightsPage, $wgRightsText, $wgRightsUrl, and wfMsgForContent().
Referenced by SkinMonoBookCBT::historycopyright(), SkinMonoBookCBT::normalcopyright(), SkinTemplate::outputPage(), and pageStats().
getCopyrightIcon | ( | ) |
Definition at line 1383 of file Skin.php.
References $out, $text, $url, $wgCopyrightIcon, $wgRightsIcon, $wgRightsText, and $wgRightsUrl.
Referenced by SkinMonoBookCBT::copyrightico(), and SkinTemplate::outputPage().
getLogo | ( | ) |
URL to the logo.
Definition at line 678 of file Skin.php.
References $wgLogo.
Referenced by logoText().
getPageClasses | ( | $ | title | ) |
Definition at line 662 of file Skin.php.
References $name, $title, $type, and Sanitizer::escapeClass().
Referenced by getBodyOptions(), and SkinTemplate::outputPage().
getPoweredBy | ( | ) |
Definition at line 1403 of file Skin.php.
References $url, and $wgStylePath.
Referenced by SkinTemplate::outputPage(), and SkinMonoBookCBT::poweredbyico().
getQuickbarCompensator | ( | $ | rows = 1 |
) |
Definition at line 853 of file Skin.php.
Referenced by SkinStandard::doAfterContent(), SkinCologneBlue::doAfterContent(), and doBeforeContent().
getSearchLink | ( | ) |
Definition at line 1154 of file Skin.php.
References $searchPage, and SpecialPage::getTitleFor().
Referenced by escapeSearchLink(), and SkinMonoBookCBT::searchaction().
getUndeleteLink | ( | ) |
Definition at line 995 of file Skin.php.
References $action, $msg, $n, $wgContLang, $wgLang, $wgTitle, SpecialPage::getTitleFor(), wfMsg(), and wfMsgExt().
Referenced by SkinTemplate::outputPage(), pageTitleLinks(), and SkinMonoBookCBT::undelete().
historyLink | ( | ) |
Definition at line 1612 of file Skin.php.
References $wgTitle, and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), SkinCologneBlue::quickBar(), SkinNostalgia::topLinks(), and topLinks().
lastModified | ( | ) |
Definition at line 1410 of file Skin.php.
References $s, $t, $wgArticle, $wgLang, Revision::getTimestampFromId(), wfGetLB(), and wfMsg().
Referenced by SkinMonoBookCBT::lastmod(), SkinTemplate::outputPage(), and pageStats().
logoText | ( | $ | align = '' |
) |
Definition at line 1430 of file Skin.php.
References $s, $url, getLogo(), Title::newMainPage(), and wfMsg().
Referenced by doBeforeContent(), SkinTemplate::outputPage(), and SkinStandard::quickBar().
mainPageLink | ( | ) |
Definition at line 1473 of file Skin.php.
References $s, Title::newMainPage(), and wfMsg().
Referenced by SkinStandard::doAfterContent(), SkinNostalgia::doAfterContent(), SkinCologneBlue::sysLinks(), SkinNostalgia::topLinks(), and topLinks().
static makeI18nUrl | ( | $ | name, | |
$ | urlaction = '' | |||
) | [static] |
Definition at line 1791 of file Skin.php.
References $name, $title, checkTitle(), Title::newFromText(), and wfMsgForContent().
static makeInternalOrExternalUrl | ( | $ | name | ) | [static] |
Definition at line 1805 of file Skin.php.
References $name, makeUrl(), and wfUrlProtocols().
Referenced by EditPage::showEditForm(), and SkinMonoBookCBT::sidebar().
static makeKnownUrlDetails | ( | $ | name, | |
$ | urlaction = '' | |||
) | [static] |
Make URL details where the article exists (or at least it's convenient to think so).
Definition at line 1833 of file Skin.php.
References $name, $title, checkTitle(), and Title::newFromText().
Referenced by SkinTemplate::outputPage().
static makeMainPageUrl | ( | $ | urlaction = '' |
) | [static] |
Definition at line 1775 of file Skin.php.
References $title, checkTitle(), and Title::newMainPage().
Referenced by SkinTemplate::buildNavUrls(), and SkinMonoBookCBT::mainpage().
static makeNSUrl | ( | $ | name, | |
$ | urlaction = '' , |
|||
$ | namespace = NS_MAIN | |||
) | [static] |
Definition at line 1814 of file Skin.php.
References $name, $title, checkTitle(), and Title::makeTitleSafe().
Referenced by setupUserCss(), and SkinMonoBookCBT::sitecss().
static makeSpecialUrl | ( | $ | name, | |
$ | urlaction = '' | |||
) | [static] |
Definition at line 1781 of file Skin.php.
References $name, $title, and SpecialPage::getTitleFor().
Referenced by SkinTemplate::buildNavUrls(), SkinTemplate::buildPersonalUrls(), SkinMonoBookCBT::makeSpecialTemplateLink(), SkinMonoBookCBT::nav_specialpages(), and SkinMonoBookCBT::nav_upload().
static makeSpecialUrlSubpage | ( | $ | name, | |
$ | subpage, | |||
$ | urlaction = '' | |||
) | [static] |
Definition at line 1786 of file Skin.php.
References $name, $title, and SpecialPage::getSafeTitleFor().
Referenced by SkinTemplate::buildNavUrls(), and SkinTemplate::buildPersonalUrls().
static makeUrl | ( | $ | name, | |
$ | urlaction = '' | |||
) | [static] |
Definition at line 1797 of file Skin.php.
References $name, $title, checkTitle(), and Title::newFromText().
Referenced by SkinMonoBookCBT::gencss(), Skin::getHeadScripts(), SkinMonoBookCBT::jsvarurl(), makeInternalOrExternalUrl(), SkinTemplate::outputPage(), setupUserCss(), SkinTemplate::setupUserJs(), SkinMonoBookCBT::usercss(), and SkinMonoBookCBT::userjs().
static makeUrlDetails | ( | $ | name, | |
$ | urlaction = '' | |||
) | [static] |
Definition at line 1821 of file Skin.php.
References $name, $title, checkTitle(), and Title::newFromText().
Referenced by SkinTemplate::outputPage().
moveThisPage | ( | ) |
Definition at line 1600 of file Skin.php.
References $wgTitle, SpecialPage::getTitleFor(), and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
nameAndLogin | ( | ) |
Definition at line 1096 of file Skin.php.
References $name, $wgContLang, $wgLang, $wgTitle, SpecialPage::getTitleFor(), Title::newFromText(), showIPinHeader(), wfGetIP(), wfMsg(), and wfMsgForContent().
Referenced by doBeforeContent().
otherLanguages | ( | ) |
Definition at line 1669 of file Skin.php.
References $s, $text, $url, $wgContLang, $wgHideInterlanguageLinks, $wgOut, Title::newFromText(), wfMsg(), and wfMsgExt().
Referenced by bottomLinks(), SkinNostalgia::doBeforeContent(), SkinCologneBlue::doBeforeContent(), and doBeforeContent().
pageStats | ( | ) |
Definition at line 1307 of file Skin.php.
References $count, $dbr, $res, $s, $sql, $wgArticle, $wgDisableCounters, $wgLang, $wgMaxCredits, $wgOut, $wgPageShowWatchingUsers, $wgRequest, $wgShowCreditsIfMax, $wgTitle, getCopyright(), Credits::getCredits(), lastModified(), wfGetDB(), and wfMsgExt().
Referenced by SkinStandard::doAfterContent(), SkinNostalgia::doAfterContent(), SkinCologneBlue::doAfterContent(), and printFooter().
pageSubtitle | ( | ) |
Definition at line 1036 of file Skin.php.
References $s, $wgExtraSubtitle, $wgOut, subPageSubtitle(), and wfMsgExt().
Referenced by SkinNostalgia::doBeforeContent(), SkinCologneBlue::doBeforeContent(), and doBeforeContent().
pageTitle | ( | ) |
Definition at line 1030 of file Skin.php.
Referenced by SkinNostalgia::doBeforeContent(), SkinCologneBlue::doBeforeContent(), doBeforeContent(), WikiImporter::in_page(), WikiImporter::out_append(), and WikiImporter::out_page().
pageTitleLinks | ( | ) |
Definition at line 942 of file Skin.php.
References $action, $name, $s, $wgLang, $wgOut, $wgRequest, $wgTitle, disclaimerLink(), getUndeleteLink(), printableLink(), privacyLink(), wfFindFile(), wfMsg(), and wfMsgHtml().
Referenced by SkinNostalgia::doBeforeContent(), SkinCologneBlue::doBeforeContent(), and doBeforeContent().
printableLink | ( | ) |
Definition at line 1014 of file Skin.php.
References $s, $wgFeedClasses, $wgLang, $wgOut, $wgRequest, wfMsg(), and wfMsgHtml().
Referenced by pageTitleLinks(), and SkinCologneBlue::quickBar().
printFooter | ( | ) |
Definition at line 934 of file Skin.php.
References pageStats(), and printSource().
Referenced by afterContent().
printSource | ( | ) |
Definition at line 928 of file Skin.php.
References $url, $wgTitle, and wfMsg().
Referenced by SkinTemplate::outputPage(), and printFooter().
privacyLink | ( | ) |
Definition at line 1498 of file Skin.php.
References footerLink().
Referenced by SkinTemplate::outputPage(), pageTitleLinks(), and SkinMonoBookCBT::privacy().
protectThisPage | ( | ) |
Definition at line 1560 of file Skin.php.
References $s, $t, $wgRequest, $wgTitle, and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
searchForm | ( | ) |
Definition at line 1163 of file Skin.php.
References $s, $wgRequest, $wgUseTwoButtonsSearchForm, escapeSearchLink(), and wfMsg().
Referenced by SkinStandard::doAfterContent(), SkinNostalgia::doAfterContent(), and doBeforeContent().
setupSkinUserCss | ( | OutputPage $ | out | ) |
Add skin specific stylesheets.
$out | OutputPage |
Definition at line 630 of file Skin.php.
References OutputPage::addStyle().
Referenced by setupUserCss().
setupUserCss | ( | OutputPage $ | out | ) |
Definition at line 560 of file Skin.php.
References $action, $wgAllowUserCss, $wgContLang, $wgHandheldStyle, $wgRequest, $wgSquidMaxage, $wgStylePath, $wgUseSiteCss, OutputPage::addStyle(), OutputPage::getExtStyle(), makeNSUrl(), makeUrl(), setupSkinUserCss(), wfArrayToCGI(), wfProfileIn(), and wfProfileOut().
Referenced by SkinTemplate::outputPage().
showEmailUser | ( | $ | id | ) |
Definition at line 1635 of file Skin.php.
References User::newFromId().
Referenced by bottomLinks(), SkinTemplate::buildNavUrls(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
showIPinHeader | ( | ) |
Returns true if the IP should be shown in the header.
Definition at line 1091 of file Skin.php.
References $wgShowIPinHeader.
Referenced by SkinTemplate::buildPersonalUrls(), nameAndLogin(), and SkinTemplate::outputPage().
specialPagesList | ( | ) |
show a drop-down box of special pages
Definition at line 1446 of file Skin.php.
References $name, $page, $s, $wgContLang, $wgRedirectScript, $wgServer, SpecialPage::getRegularPages(), SpecialPage::getRestrictedPages(), and wfMsg().
Referenced by SkinNostalgia::topLinks().
subPageSubtitle | ( | ) |
Definition at line 1050 of file Skin.php.
References $wgOut, $wgTitle, MWNamespace::hasSubpages(), Title::newFromText(), wfMsgExt(), and wfRunHooks().
Referenced by SkinTemplate::outputPage(), pageSubtitle(), and SkinMonoBookCBT::subtitle().
talkLink | ( | ) |
Definition at line 1700 of file Skin.php.
References $s, $text, $wgTitle, wfFindFile(), and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
topLinks | ( | ) |
Definition at line 1186 of file Skin.php.
References $s, $wgOut, editThisPage(), extensionTabLinks(), historyLink(), mainPageLink(), variantLinks(), and wfMsgExt().
Referenced by doBeforeContent().
trackbackLink | ( | ) |
Definition at line 1662 of file Skin.php.
References $wgTitle, and wfMsg().
Referenced by bottomLinks().
userContribsLink | ( | ) |
Definition at line 1627 of file Skin.php.
References $wgTitle, SpecialPage::getTitleFor(), and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
variantLinks | ( | ) |
Language/charset variant links for classic-style skins.
Definition at line 1244 of file Skin.php.
References $code, $s, $wgContLang, $wgDisableLangConversion, $wgLang, and $wgTitle.
Referenced by SkinCologneBlue::sysLinks(), SkinNostalgia::topLinks(), and topLinks().
watchPageLinksLink | ( | ) |
Definition at line 1650 of file Skin.php.
References $wgOut, $wgTitle, SpecialPage::getTitleFor(), and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
watchThisPage | ( | ) |
Definition at line 1579 of file Skin.php.
References $s, $t, $wgOut, $wgTitle, and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
whatLinksHere | ( | ) |
Definition at line 1619 of file Skin.php.
References $wgTitle, SpecialPage::getTitleFor(), and wfMsg().
Referenced by bottomLinks(), SkinStandard::quickBar(), and SkinCologneBlue::quickBar().
if ($wgUser->getOption( 'justify')) if (!$wgUser->getOption( 'showtoc')) if (!$wgUser->getOption( 'editsection')) return $s |
Definition at line 551 of file Skin.php.
Referenced by Site::__construct(), ExplodeIterator::__construct(), MimeMagic::__construct(), WhiteSpaceNode::__construct(), PPCustomFrame_Hash::__toString(), PPTemplateFrame_Hash::__toString(), PPNode_DOM::__toString(), PPCustomFrame_DOM::__toString(), PPTemplateFrame_DOM::__toString(), MediaWikiBagOStuff::_blobdecode(), MediaWikiBagOStuff::_blobencode(), MediaWikiBagOStuff::_strencode(), ChangeText::addHtml(), LinkCache::addLinkObj(), PPDAccum_Hash::addLiteral(), PPDStackElement::addPart(), PPDStack::addPart(), DatabaseSqlite::addQuotes(), DatabasePostgres::addQuotes(), DatabaseOracle::addQuotes(), DatabaseIbm_db2::addQuotes(), Database::addQuotes(), DatabaseIbm_db2::addQuotesSmart(), ParserOutput::addWarning(), UploadForm::ajaxGetExistsWarning(), SkinMonoBookCBT::anonlogin(), SkinMonoBookCBT::anontalk(), SkinMonoBookCBT::anonuserpage(), PageHistory::beginHistoryList(), bottomLinks(), PPDStackElement::breakSyntax(), SkinMonoBookCBT::ca_variant(), Language::caseFold(), Language::checkTitleEncoding(), LanguageEo::checkTitleEncoding(), ParserTest::chomp(), ApiResult::cleanUp_helper(), Article::commitRollback(), CBTProcessor::compile(), ExtensionInstaller::confirm(), copyrightLink(), Profiler::debug(), User::decodeOptions(), deleteThisPage(), SkinStandard::doAfterContent(), SkinNostalgia::doAfterContent(), SkinCologneBlue::doAfterContent(), SkinNostalgia::doBeforeContent(), SkinCologneBlue::doBeforeContent(), doBeforeContent(), WatchedItem::doDuplicateEntries(), LinkHolderArray::doVariants(), editThisPage(), User::encodeOptions(), PageHistory::endHistoryList(), Database::escapeLike(), RestrictUserForm::existingRestrictions(), PPFrame_Hash::expand(), PPFrame_DOM::expand(), extensionTabLinks(), EditPage::extractMetaDataFromArticle(), SkinMonoBookCBT::extratabs(), Xml::fieldset(), Language::firstChar(), Language::formatNum(), IPUnblockForm::formatRow(), TablePager::formatRow(), PageHistoryPager::formatRow(), CoreParserFunctions::fullurl(), CoreParserFunctions::fullurle(), Skin::generateUserJs(), Skin::generateUserStylesheet(), IndexPager::getBody(), ImageHistoryPseudoPager::getBody(), getBodyOptions(), getCategoryLinks(), Credits::getContributors(), Credits::getCredits(), Title::getEditURL(), PageHistoryPager::getEndBody(), ImageListPager::getForm(), OutputPage::getHeadItems(), SkinStandard::getHeadScripts(), TablePager::getHiddenFields(), SpecialListUserRestrictionsForm::getHTML(), Interwiki::getInterwikiCached(), TablePager::getLimitSelect(), RevisionDeleter::getLogMessage(), TablePager::getNavigationBar(), Title::getPrefixedDBkey(), Title::getPrefixedText(), Title::getPrefixedURL(), PPFuzzTest::getReport(), TablePager::getStartBody(), Status::getWikiText(), Language::hebrewNumeral(), PageHistory::historyLine(), StringUtils::hungryDelimiterReplace(), User::idForName(), User::idFromName(), ImagePage::imageLinks(), PPFrame_Hash::implode(), PPFrame_DOM::implode(), PPFrame_Hash::implodeWithFlags(), PPFrame_DOM::implodeWithFlags(), ChangesList::insertAction(), ChangesList::insertArticleLink(), ChangesList::insertComment(), ChangesList::insertDateHeader(), ChangesList::insertDiffHist(), ChangesList::insertLog(), ChangesList::insertMove(), ChangesList::insertRollback(), ChangesList::insertTags(), ChangesList::insertTimestamp(), ChangesList::insertUserRelatedLinks(), SkinMonoBookCBT::language_urls(), lastModified(), CoreParserFunctions::lc(), CoreParserFunctions::lcfirst(), Language::listToText(), EditPage::livePreview(), User::loadFromDatabase(), CoreParserFunctions::localurl(), CoreParserFunctions::localurle(), SkinMonoBookCBT::login(), logoText(), SkinMonoBookCBT::logout(), mainPageLink(), DatabasePostgres::makeConnectionString(), Linker::makeImageLink2(), PPFuzzTester::makeInputText(), Linker::makeThumbLink2(), Parser::markerSkipCallback(), SkinCologneBlue::menuHead(), SkinMonoBookCBT::mycontris(), SkinMonoBookCBT::mytalk(), Title::nameOf(), SkinMonoBookCBT::numberofwatchingusers(), CBTCompiler::opsToString(), otherLanguages(), pageStats(), pageSubtitle(), pageTitle(), pageTitleLinks(), LanguageConverter::parseCachedTable(), Language::parseFormattedNumber(), ApiBase::parseMultiValue(), SkinMonoBookCBT::personal_urls(), SearchHighlighter::position(), SkinMonoBookCBT::preferences(), printableLink(), ImagePage::printSharedImageText(), ExtensionInstaller::prompt(), protectThisPage(), SquidUpdate::purge(), SkinStandard::quickBar(), SkinCologneBlue::quickBar(), DatabaseSqlite::quote_ident(), DatabasePostgres::quote_ident(), DatabaseOracle::quote_ident(), SkinStandard::reallyGenerateUserStylesheet(), SkinSimple::reallyGenerateUserStylesheet(), SkinCologneBlue::reallyGenerateUserStylesheet(), Skin::reallyGenerateUserStylesheet(), rebuildTextIndex(), OldChangesList::recentChangesLine(), Language::recodeForEdit(), Language::recodeInput(), Parser::replaceExternalLinks(), LinkHolderArray::replaceInternal(), Parser::replaceInternalLinks(), Parser_LinkHooks::replaceInternalLinks2(), Parser::replaceInternalLinks2(), DatabaseSqlite::replaceVars(), Language::romanNumeral(), SkinCologneBlue::searchForm(), searchForm(), SkinMonoBookCBT::selecttab(), RestrictUserForm::selectUserForm(), SpecialAllpages::showChunk(), ProtectedTitlesForm::showList(), ProtectedPagesForm::showList(), Credits::showPage(), SpecialPrefixindex::showPrefixChunk(), SpecialAllpages::showToplevel(), SkinMonoBookCBT::sidebar(), ApiResult::size(), specialPagesList(), Parser::splitWhitespace(), Language::sprintfDate(), DatabaseSqlite::strencode(), DatabasePostgres::strencode(), DatabaseOracle::strencode(), DatabaseMssql::strencode(), DatabaseIbm_db2::strencode(), Database::strencode(), LanguageJa::stripForSearch(), SkinMonoBookCBT::subtitle(), SkinCologneBlue::sysLinks(), talkLink(), ImageGallery::toHTML(), SkinNostalgia::topLinks(), topLinks(), Job::toString(), SpecialListUserRestrictionsForm::typeSelector(), CoreParserFunctions::uc(), CoreParserFunctions::ucfirst(), CoreParserFunctions::urlencode(), CoreParserFunctions::urlFunction(), SkinMonoBookCBT::userpage(), PreferencesForm::validateTimeZone(), variantLinks(), Article::view(), SkinMonoBookCBT::watchlist(), watchThisPage(), SpecialRecentChanges::webOutput(), wfAllMessagesMakeHTMLText(), wfGzipHandler(), wfHtmlValidationHandler(), wfMangleFlashPolicy(), wfNumLink(), wfOut(), wfOutputHandler(), wfRFC822Phrase(), wfSpecialLinkSearch(), wfSpecialListusers(), wfSpecialNewimages(), wfSpecialWatchlist(), wfStrencode(), wfUrlencode(), wfVarDump(), wlDaysLink(), wlHoursLink(), and OutputPage::wrapWikiMsg().
Definition at line 543 of file Skin.php.
Referenced by fixDupes(), PostgresField::fromText(), IBM_DB2Field::fromText(), UploadDumper::help(), importPage(), importPages(), SearchEngineTest::insertSearchData(), pg_describe_index(), pg_describe_table(), pg_fkey_deltype(), pg_rule_def(), SkinSimple::reallyGenerateUserStylesheet(), Skin::reallyGenerateUserStylesheet(), EditPage::showEditForm(), DBUnlockForm::showForm(), DBLockForm::showForm(), showUsage(), DatabasePostgres::triggerExists(), and usage().