![]() Run hooks relating to navigation menu data. RunOnSkinTemplateNavigationHooks ( SkinTemplate $skin, &$content_navigation) Initialize various variables and generate the template More. Insert legacy menu items from content navigation into the personal toolbar. InjectLegacyMenusIntoPersonalTools (array $contentNavigation) More.īuilds query params for the page to return to, used when building links. Generate strings used for xml 'id' names. Get template representation of the footer. More.īuildPersonalPageItem ( $id='pt-userpage')īuildPersonalUrls (bool $includeNotifications= true)īuild array of urls for personal toolbar. More.īuildLoginData ( $returnto, $ useCombinedLoginLink)īuild data required for "Logout" link. Wrapper for private buildContentNavigationUrlsInternal. More.įor QuickTemplate, the name of the subclass which will actually fill the template. Normalize a skin preference value to a form that can be loaded. MakeSpecialUrlSubpage ( $name, $subpage, $urlaction='') ![]() Make a URL for a Special Page using the given query and protocol. MakeSpecialUrl ( $name, $urlaction='', $proto=null) If url string starts with http, consider as external URL, else internal. Returns skin options for portlet links, used by addPortletLink. GetPortletLinkOptions ( RL\Context $context) Static Public Member Functions inherited from Skin MakeSearchButtonInternal ( $mode, $searchData, $attrs=) Get a Message object with context set Parameters are the same as wfMessage() More. Get a repository to obtain and match CSRF tokens. Get the action name for the current web request. More.Įxport the resolved user IP, HTTP headers, user ID, and session ID. Public Member Functions inherited from ContextSourceĬheck whether a WikiPage object can be get with getWikiPage(). Text with the to the source page, usually shown on the footer of a printed page. Prepare the subtitle of the page for output in the skin if one has been set. More.Īllows correcting the language of interlanguage links which, mostly due to legacy reasons, do not always match the standards compliant language tag. More.Ĭreate an array of common toolbox items from the data in the quicktemplate stored by SkinTemplate. Generates a list item for a navigation, portlet, portal, sidebar. 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. Renders a $wgFooterIcons icon according to the method's arguments. MakeFooterIcon ( $icon, $withImage='withImage') Gets the link to the wiki's privacy policy, about page, and disclaimer page. GetPersonalToolsForMakeListItem ( $urls, $appl圜lassesToListItems=false)Ĭreate an array of personal tools items from the data in the quicktemplate stored by SkinTemplate. Returns skin options Recommended to use SkinFactory::getSkinOptions instead. 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. Generates array of language links for the current page. More.ĭefines 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.Īllows extensions to hook into known portlets and add stuff to them. Given a pair of message keys for link and text label, return an HTML link for use in the footer. Return URL options for the 'edit page' link. More.ĭoEditSectionLink ( Title $nt, $section, $sectionTitle, Language $lang) More.īuild an array that represents the sidebar(s), the navigation bar among them. This gets called shortly before the "" tag. Public Member Functions inherited from SkinĪdd content from a sidebar system message Currently only used for MediaWiki:Sidebar (but may be used by Extensions) More. TabAction ( $title, $message, $selected, $query='', $checkEdit=false)īuilds an array with tab definition. Initialize various variables and generate the template to override. Get the HTML for the personal tools list. MakePersonalToolsList ( $personalTools=null, $options=) More.Įxtends category links with Skin::getAfterPortlet functionality. Subclasses not wishing to use the QuickTemplate render method can rewrite this method, for example to use TemplateParser::processTemplate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |