BlueSpice MediaWiki REL1_27
|
Public Member Functions | |
getMFConfig () | |
doEditSectionLink (Title $nt, $section, $tooltip=null, $lang=false) | |
getPageClasses ($title) | |
__construct () | |
initPage (OutputPage $out) | |
getLoginUrl ($query) | |
getSkinConfigVariables () | |
getContextSpecificModules () | |
getDefaultModules () | |
addToBodyAttributes ($out, &$bodyAttrs) | |
setupSkinUserCss (OutputPage $out) | |
![]() | |
setupSkinUserCss (OutputPage $out) | |
getLanguages () | |
outputPage (OutputPage $out=null) | |
getPersonalToolsList () | |
useCombinedLoginLink () | |
tabAction ($title, $message, $selected, $query= '', $checkEdit=false) | |
makeTalkUrlDetails ($name, $urlaction= '') | |
makeArticleUrlDetails ($name, $urlaction= '') | |
![]() | |
getSkinName () | |
initPage (OutputPage $out) | |
getDefaultModules () | |
preloadExistence () | |
getRevisionId () | |
isRevisionCurrent () | |
setRelevantTitle ($t) | |
getRelevantTitle () | |
setRelevantUser ($u) | |
getRelevantUser () | |
outputPage (OutputPage $out=null) | |
setupSkinUserCss (OutputPage $out) | |
getPageClasses ($title) | |
getHtmlElementAttributes () | |
addToBodyAttributes ($out, &$bodyAttrs) | |
getLogo () | |
getCategoryLinks () | |
drawCategoryBrowser ($tree) | |
getCategories () | |
bottomScripts () | |
printSource () | |
getUndeleteLink () | |
subPageSubtitle () | |
showIPinHeader () | |
getSearchLink () | |
escapeSearchLink () | |
getCopyright ($type= 'detect') | |
getCopyrightIcon () | |
getPoweredBy () | |
logoText ($align= '') | |
makeFooterIcon ($icon, $withImage= 'withImage') | |
mainPageLink () | |
footerLink ($desc, $page) | |
privacyLink () | |
aboutLink () | |
disclaimerLink () | |
showEmailUser ($id) | |
getSkinStylePath ($name) | |
buildSidebar () | |
addToSidebar (&$bar, $message) | |
addToSidebarPlain (&$bar, $text) | |
getNewtalks () | |
getSiteNotice () | |
doEditSectionLink (Title $nt, $section, $tooltip=null, $lang=false) | |
commentBlock ($comment, $title=null, $local=false, $wikiId=null) | |
generateRollback ($rev, IContextSource $context=null, $options=[ 'verify']) | |
link ($target, $html=null, $customAttribs=[], $query=[], $options=[]) | |
linkKnown ($target, $html=null, $customAttribs=[], $query=[], $options=[ 'known', 'noclasses']) | |
userLink ($userId, $userName, $altUserName=false) | |
userToolLinks ($userId, $userText, $redContribsWhenNoEdits=false, $flags=0, $edits=null) | |
![]() | |
getContext () | |
setContext (IContextSource $context) | |
getConfig () | |
getRequest () | |
getTitle () | |
canUseWikiPage () | |
getWikiPage () | |
getOutput () | |
getUser () | |
getLanguage () | |
getSkin () | |
getTiming () | |
getStats () | |
msg () | |
exportSession () | |
Public Attributes | |
$skinname = 'minerva' | |
$template = 'MinervaTemplate' | |
$useHeadElement = true | |
$isUserPage = false | |
![]() | |
$skinname = 'monobook' | |
$template = 'QuickTemplate' | |
$thispage | |
$titletxt | |
$userpage | |
$thisquery | |
$loggedin | |
$username | |
$userpageUrlDetails | |
![]() | |
$stylename = null | |
Protected Attributes | |
$isMobileMode = false | |
$mode = 'stable' | |
$mobileContext | |
$shouldSecondaryActionsIncludeLanguageBtn = true | |
$doesPageHaveLanguages = false | |
![]() | |
$skinname = null | |
$mRelevantTitle = null | |
$mRelevantUser = null | |
Additional Inherited Members | |
![]() | |
static | getSkinNames () |
static | getSkinNameMessages () |
static | getAllowedSkins () |
static | normalizeKey ($key) |
static | makeVariablesScript ($data) |
static | getDynamicStylesheetQuery () |
static | makeMainPageUrl ($urlaction= '') |
static | makeSpecialUrl ($name, $urlaction= '', $proto=null) |
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= '') |
static | checkTitle (&$title, $name) |
Minerva: Born from the godhead of Jupiter with weapons! A skin that works on both desktop and mobile
SkinMinerva::__construct | ( | ) |
Initiate class
SkinMinerva::addToBodyAttributes | ( | $out, | |
& | $bodyAttrs | ||
) |
This will be called by OutputPage::headElement when it is creating the "<body>" tag, - adds output property bodyClassName to the existing classes
OutputPage | $out | |
array | $bodyAttrs |
|
protected |
Creates element relating to secondary button
string | $title | Title attribute value of secondary button |
string | $url | of secondary button |
string | $spanLabel | text of span associated with secondary button. |
string | $spanClass | the class of the secondary button |
SkinMinerva::doEditSectionLink | ( | Title | $nt, |
$section, | |||
$tooltip = null , |
|||
$lang = false |
|||
) |
Overrides Skin::doEditSectionLink
Title | $nt | |
string | $section | |
string | null | $tooltip | |
string | bool | $lang |
SkinMinerva::getContextSpecificModules | ( | ) |
Returns an array of modules related to the current context of the page.
SkinMinerva::getDefaultModules | ( | ) |
Returns the javascript entry modules to load. Only modules that need to be overriden or added conditionally should be placed here.
|
protected |
Prepares a list of links that have the purpose of discovery in the main navigation menu
|
protected |
Returns the HTML representing the header.
|
protected |
|
protected |
Returns an array with details for a language button.
SkinMinerva::getLoginUrl | ( | $query | ) |
Prepares a url to the Special:UserLogin with query parameters, taking into account $wgSecureLogin
array | $query |
|
protected |
Returns a data representation of the main menus
SkinMinerva::getMFConfig | ( | ) |
|
protected |
Get the current mode of the skin [stable|beta] that is running
|
protected |
SkinMinerva::getPageClasses | ( | $title | ) |
|
protected |
Prepares and returns urls and links personal to the given user
|
protected |
Return a url to a resource or to a login screen that redirects to that resource.
Title | $title | |
string | $warning | Key of message to display on login page (optional) |
array | $query | representation of query string parameters (optional) |
|
protected |
|
protected |
Returns an array of sitelinks to add into the main menu footer.
SkinMinerva::getSkinConfigVariables | ( | ) |
Returns array of config variables that should be added only to this skin for use in JavaScript.
|
protected |
Get the needed styles for this skin
|
protected |
SkinMinerva::initPage | ( | OutputPage | $out | ) |
Initializes output page and sets up skin-specific parameters
OutputPage | $out | object to initialize |
|
protected |
Creates a login or logout button
MenuBuilder | $menu |
|
protected |
Returns true, if the pageaction is configured to be displayed.
string | $action |
|
protected |
Check whether the current user is authenticated or not.
|
protected |
Checks to see if the current page is (probably) editable.
This is the same check that sets wgIsProbablyEditable later in the page output process.
|
protected |
Returns true, if the page can have a talk page and user is logged in.
|
protected |
Load internal banner content to show in pre content in template Beware of HTML caching when using this function. Content set as "internalbanner"
BaseTemplate | $tpl |
|
protected |
Create and prepare header and footer content
BaseTemplate | $tpl |
|
protected |
Rewrites the language list so that it cannot be contaminated by other extensions with things other than languages See bug 57094.
QuickTemplate | $tpl |
|
protected |
Prepare the button opens the main side menu
BaseTemplate | $tpl |
|
protected |
Prepare configured and available page actions
When adding new page actions make sure each menu item has is_js_only
key set to true
or false
. The key will be used to decide whether to display the page actions wrapper on the front end. The key will be considered false if not set.
BaseTemplate | $tpl |
|
protected |
Prepares the header and the content of a page Stores in QuickTemplate prebodytext, postbodytext keys
QuickTemplate | $tpl |
|
protected |
initialize various variables and generate the template
|
protected |
Prepares the user button.
QuickTemplate | $tpl |
|
protected |
Prepare warnings for mobile output
BaseTemplate | $tpl |
SkinMinerva::setupSkinUserCss | ( | OutputPage | $out | ) |
Add skin-specific stylesheets
OutputPage | $out |
|
protected |
Returns, if Extension:Echo should be used. return boolean