|
| buildSidebar () |
|
| getLanguages () |
|
| getNewtalks () |
|
| getSiteNotice () |
|
| setupSkinUserCss (OutputPage $out) |
|
| formatLanguageName ($name) |
| Format language name for use in sidebar interlanguage links list. More...
|
|
| getLanguages () |
| Generates array of language links for the current page. More...
|
|
| getPersonalToolsList () |
| Get the HTML for the p-personal list. More...
|
|
| makeArticleUrlDetails ($name, $urlaction= '') |
|
| makeTalkUrlDetails ($name, $urlaction= '') |
|
| outputPage (OutputPage $out=null) |
| initialize various variables and generate the template More...
|
|
| printOrError ($str) |
| Output the string, or print error message if it's an error object of the appropriate type. More...
|
|
| setupSkinUserCss (OutputPage $out) |
| Add specific styles for this skin. More...
|
|
| setupTemplate ($classname, $repository=false, $cache_dir=false) |
| Create the template engine object; we feed it a bunch of data and eventually it spits out some HTML. More...
|
|
| tabAction ($title, $message, $selected, $query= '', $checkEdit=false) |
| Builds an array with tab definition. More...
|
|
| useCombinedLoginLink () |
| Output a boolean indicating if buildPersonalUrls should output separate login and create account links or output a combined link By default we simply return a global config setting that affects most skins This is setup as a method so that like with $wgLogo and getLogo() a skin can override this setting and always output one or the other if it has a reason it can't output one of the two modes. More...
|
|
| aboutLink () |
| Gets the link to the wiki's about page. More...
|
|
| addToBodyAttributes ($out, &$bodyAttrs) |
| This will be called by OutputPage::headElement when it is creating the "<body>" tag, skins can override it if they have a need to add in any body attributes or classes of their own. More...
|
|
| addToSidebar (&$bar, $message) |
| Add content from a sidebar system message Currently only used for MediaWiki:Sidebar (but may be used by Extensions) More...
|
|
| addToSidebarPlain (&$bar, $text) |
| Add content from plain text. More...
|
|
| bottomScripts () |
| This gets called shortly before the "</body>" tag. More...
|
|
| buildSidebar () |
| Build an array that represents the sidebar(s), the navigation bar among them. More...
|
|
| disclaimerLink () |
| Gets the link to the wiki's general disclaimers page. More...
|
|
| doEditSectionLink (Title $nt, $section, $tooltip=null, $lang=false) |
| Create a section edit link. More...
|
|
| drawCategoryBrowser ($tree) |
| Render the array as a series of links. More...
|
|
| editUrlOptions () |
| Return URL options for the 'edit page' link. More...
|
|
| escapeSearchLink () |
|
| footerLink ($desc, $page) |
| Returns an HTML link for use in the footer. More...
|
|
| getCategories () |
|
| getCategoryLinks () |
|
| getCopyright ($type= 'detect') |
|
| getCopyrightIcon () |
|
| getDefaultModules () |
| Defines the ResourceLoader modules that should be added to the skin It is recommended that skins wishing to override call parent::getDefaultModules() and substitute out any modules they wish to change by using a key to look them up. More...
|
|
| getHtmlElementAttributes () |
| Return values for <html> element. More...
|
|
| getLogo () |
| URL to the logo. More...
|
|
| getNewtalks () |
| Gets new talk page messages for the current user and returns an appropriate alert message (or an empty string if there are no messages) More...
|
|
| getPageClasses ($title) |
| TODO: document. More...
|
|
| getPoweredBy () |
| Gets the powered by MediaWiki icon. More...
|
|
| getRelevantTitle () |
| Return the "relevant" title. More...
|
|
| getRelevantUser () |
| Return the "relevant" user. More...
|
|
| getRevisionId () |
| Get the current revision ID. More...
|
|
| getSearchLink () |
|
| getSiteNotice () |
| Get the site notice. More...
|
|
| getSkinName () |
|
| getSkinStylePath ($name) |
| Return a fully resolved style path url to images or styles stored in the current skins's folder. More...
|
|
| getUndeleteLink () |
|
| initPage (OutputPage $out) |
|
| isRevisionCurrent () |
| Whether the revision displayed is the latest revision of the page. More...
|
|
| logoText ($align= '') |
|
| mainPageLink () |
| Gets the link to the wiki's main page. More...
|
|
| makeFooterIcon ($icon, $withImage= 'withImage') |
| Renders a $wgFooterIcons icon according to the method's arguments. More...
|
|
| outputPage (OutputPage $out=null) |
| Outputs the HTML generated by other functions. More...
|
|
| printSource () |
| Text with the permalink to the source page, usually shown on the footer of a printed page. More...
|
|
| privacyLink () |
| Gets the link to the wiki's privacy policy page. More...
|
|
| setRelevantTitle ($t) |
| Set the "relevant" title. More...
|
|
| setRelevantUser ($u) |
| Set the "relevant" user. More...
|
|
| setupSkinUserCss (OutputPage $out) |
| Add skin specific stylesheets Calling this method with an $out of anything but the same OutputPage inside ->getOutput() is deprecated. More...
|
|
| showEmailUser ($id) |
|
| showIPinHeader () |
|
| subPageSubtitle ($out=null) |
|
| canUseWikiPage () |
| Check whether a WikiPage object can be get with getWikiPage(). More...
|
|
| exportSession () |
| Export the resolved user IP, HTTP headers, user ID, and session ID. More...
|
|
| getConfig () |
| Get the Config object. More...
|
|
| getContext () |
| Get the base IContextSource object. More...
|
|
| getLanguage () |
| Get the Language object. More...
|
|
| getOutput () |
| Get the OutputPage object. More...
|
|
| getRequest () |
| Get the WebRequest object. More...
|
|
| getSkin () |
| Get the Skin object. More...
|
|
| getStats () |
| Get the Stats object. More...
|
|
| getTiming () |
| Get the Timing object. More...
|
|
| getTitle () |
| Get the Title object. More...
|
|
| getUser () |
| Get the User object. More...
|
|
| getWikiPage () |
| Get the WikiPage object. More...
|
|
| msg () |
| Get a Message object with context set Parameters are the same as wfMessage() More...
|
|
| setContext (IContextSource $context) |
| Set the IContextSource object. More...
|
|
|
static | checkTitle (&$title, $name) |
| make sure we have some title to operate on More...
|
|
static | getAllowedSkins () |
| Fetch the list of user-selectable skins in regards to $wgSkipSkins. More...
|
|
static | getDynamicStylesheetQuery () |
| Get the query to generate a dynamic stylesheet. More...
|
|
static | getSkinNameMessages () |
| Fetch the skinname messages for available skins. More...
|
|
static | getSkinNames () |
| Fetch the set of available skins. More...
|
|
static | makeI18nUrl ($name, $urlaction= '') |
|
static | makeInternalOrExternalUrl ($name) |
| If url string starts with http, consider as external URL, else internal. More...
|
|
static | makeKnownUrlDetails ($name, $urlaction= '') |
| Make URL details where the article exists (or at least it's convenient to think so) More...
|
|
static | makeMainPageUrl ($urlaction= '') |
|
static | makeNSUrl ($name, $urlaction= '', $namespace=NS_MAIN) |
| this can be passed the NS number as defined in Language.php More...
|
|
static | makeSpecialUrl ($name, $urlaction= '', $proto=null) |
| Make a URL for a Special Page using the given query and protocol. More...
|
|
static | makeSpecialUrlSubpage ($name, $subpage, $urlaction= '') |
|
static | makeUrl ($name, $urlaction= '') |
|
static | makeUrlDetails ($name, $urlaction= '') |
| these return an array with the 'href' and boolean 'exists' More...
|
|
static | makeVariablesScript ($data) |
|
static | normalizeKey ($key) |
| Normalize a skin preference value to a form that can be loaded. More...
|
|
| $mRelevantTitle = null |
|
| $mRelevantUser = null |
|
| $skinname = null |
|
SkinTemplate class for API output.
- Since
- 1.25
Definition at line 33 of file SkinApi.php.