CINXE.COM
Manual talk:Special pages - MediaWiki
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-disabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Manual talk:Special pages - MediaWiki</title> <script>(function(){var className="client-js vector-feature-language-in-header-disabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )mediawikiwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"dda589f0-ede4-4109-b318-d7866a2b58c3","wgCanonicalNamespace":"Manual_talk","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":101,"wgPageName":"Manual_talk:Special_pages","wgTitle":"Special pages","wgCurRevisionId":6454670,"wgRevisionId":6454670,"wgArticleId":16010,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Manual_talk:Special_pages","wgRelevantArticleId":16010,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"mediawiki","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgVisualEditor":{ "pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":50000,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":true,"visualenhancements_reply":true,"visualenhancements_pageframe":true},"wgDiscussionToolsFallbackEditMode":"visual","wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":true,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"wgSiteNoticeId":"2.7"};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready", "user.options":"loading","ext.pygments":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","oojs-ui.styles.icons-interactions":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.pt":"ready","ext.wikimediaBadges":"ready","ext.dismissableSiteNotice.styles":"ready"};RLPAGEMODULES=["ext.pygments.view","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.urlShortener.toolbar","ext.centralauth.centralautologin","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.compactlinks", "ext.uls.interface","ext.checkUser.clientHints","ext.dismissableSiteNotice"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.discussionTools.init.styles%7Cext.dismissableSiteNotice.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.icons-interactions%2Cindicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.8"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:site_name" content="MediaWiki"> <meta property="og:title" content="Manual talk:Special pages - MediaWiki"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.mediawiki.org/wiki/Manual_talk:Special_pages"> <link rel="alternate" type="application/x-wiki" title="Edit" href="/w/index.php?title=Manual_talk:Special_pages&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/mediawiki.png"> <link rel="icon" href="/static/favicon/mediawiki.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="MediaWiki (en)"> <link rel="EditURI" type="application/rsd+xml" href="//www.mediawiki.org/w/api.php?action=rsd"> <link rel="canonical" href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> <link rel="alternate" type="application/atom+xml" title="MediaWiki Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled ext-discussiontools-visualenhancements-enabled ext-discussiontools-visualenhancements_reply-enabled ext-discussiontools-visualenhancements_pageframe-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-101 ns-talk mw-editable page-Manual_talk_Special_pages rootpage-Manual_talk_Special_pages skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/MediaWiki" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-mw-download" class="mw-list-item"><a href="/wiki/Download"><span>Get MediaWiki</span></a></li><li id="n-mw-extensions" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Category:Extensions"><span>Get extensions</span></a></li><li id="n-blog-text" class="mw-list-item"><a href="https://techblog.wikimedia.org/"><span>Tech blog</span></a></li><li id="n-mw-contribute" class="mw-list-item"><a href="/wiki/Special:MyLanguage/How_to_contribute"><span>Contribute</span></a></li> </ul> </div> </div> <div id="p-support" class="vector-menu mw-portlet mw-portlet-support" > <div class="vector-menu-heading"> Support </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>User help</span></a></li><li id="n-mw-faq" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Manual:FAQ"><span>FAQ</span></a></li><li id="n-mw-manual" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Manual:Contents"><span>Technical manual</span></a></li><li id="n-mw-supportdesk" class="mw-list-item"><a href="/wiki/Project:Support_desk"><span>Support desk</span></a></li><li id="n-mw-communication" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Communication"><span>Communication</span></a></li> </ul> </div> </div> <div id="p-development" class="vector-menu mw-portlet mw-portlet-development" > <div class="vector-menu-heading"> Development </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mw-developerportal" class="mw-list-item"><a href="https://developer.wikimedia.org/"><span>Developer portal</span></a></li><li id="n-svn-statistics" class="mw-list-item"><a href="/wiki/Development_statistics"><span>Code statistics</span></a></li> </ul> </div> </div> <div id="p-mediawiki.org" class="vector-menu mw-portlet mw-portlet-mediawiki_org" > <div class="vector-menu-heading"> mediawiki.org </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Project:Help" title="About the project, what you can do, where to find things"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-mw-translate" class="mw-list-item"><a href="/wiki/Special:LanguageStats"><span>Translate content</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Load a random page [x]" accesskey="x"><span>Random page</span></a></li><li id="n-mw-discussion" class="mw-list-item"><a href="/wiki/Project:Village_Pump"><span>Village pump</span></a></li><li id="n-Sandboxlink-portlet-label" class="mw-list-item"><a href="/wiki/Project:Sandbox"><span>Sandbox</span></a></li> </ul> </div> </div> <div id="vector-main-menu" class="vector-menu " > <div class="vector-menu-heading"> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/MediaWiki" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/mediawikiwiki.svg" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="MediaWiki" src="/static/images/mobile/copyright/mediawikiwiki-wordmark.svg" style="width: 7.5em; height: 1.125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search MediaWiki [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search MediaWiki" aria-label="Search MediaWiki" autocapitalize="sentences" title="Search MediaWiki [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-uls" class="mw-list-item active user-links-collapsible-item"><a data-mw="interface" href="#" class="uls-trigger cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet"><span class="vector-icon mw-ui-icon-wikimedia-language mw-ui-icon-wikimedia-wikimedia-language"></span> <span>English</span></a> </li> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=www.mediawiki.org&uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&returnto=Manual+talk%3ASpecial+pages" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&returnto=Manual+talk%3ASpecial+pages" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="More options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=www.mediawiki.org&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Manual+talk%3ASpecial+pages" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Manual+talk%3ASpecial+pages" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><div id="mw-dismissablenotice-anonplace"></div><script>(function(){var node=document.getElementById("mw-dismissablenotice-anonplace");if(node){node.outerHTML="\u003Cdiv class=\"mw-dismissable-notice\"\u003E\u003Cdiv class=\"mw-dismissable-notice-close\"\u003E[\u003Ca tabindex=\"0\" role=\"button\"\u003Edismiss\u003C/a\u003E]\u003C/div\u003E\u003Cdiv class=\"mw-dismissable-notice-body\"\u003E\u003C!-- CentralNotice --\u003E\u003Cdiv id=\"localNotice\" data-nosnippet=\"\"\u003E\u003Cdiv class=\"sitenotice\" lang=\"en\" dir=\"ltr\"\u003E\u003Ccenter\u003E\n\u003Cdiv style=\"width:100%;border-style:solid; border-width:2px; border-color:var(--color-placeholder, black); text-align:center; padding: 6px;\"\u003Eđłď¸đĽď¸ The Wikimedia Foundation \u003Ca href=\"/wiki/Special:MyLanguage/Developer_Satisfaction_Survey/December_2024/announcement\" title=\"Special:MyLanguage/Developer Satisfaction Survey/December 2024/announcement\"\u003EDecember 2024 Developer Satisfaction Survey\u003C/a\u003E is now live.\nThis survey is used to measure developer satisfaction, \u0026amp; determine where to invest resources in the future.\u003C/div\u003E\n\u003C/center\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E";}}());</script></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Beginning</div> </a> </li> <li id="toc-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Fixing lt and gt (< and >) on Special:SpecialPages</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Outdated?" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Outdated?"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Outdated?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">4 comments</span> <ul id="toc-Outdated?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-create_a_new_special_page" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#create_a_new_special_page"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>create a new special page</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-create_a_new_special_page-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-clear_title_<_>" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#clear_title_<_>"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>clear title < ></span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">4 comments</span> <ul id="toc-clear_title_<_>-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-sysops_only?" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#sysops_only?"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>sysops only?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">4 comments</span> <ul id="toc-sysops_only?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Modification_needed_for_1.6" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Modification_needed_for_1.6"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Modification needed for 1.6</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Modification_needed_for_1.6-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Revert_to_previous_version" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Revert_to_previous_version"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Revert to previous version</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Revert_to_previous_version-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Add_setHeaders()_to_example?" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Add_setHeaders()_to_example?"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>Add setHeaders() to example?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">4 comments</span> <ul id="toc-Add_setHeaders()_to_example?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Passing_Parameters_to_a_Special_Page?" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Passing_Parameters_to_a_Special_Page?"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>Passing Parameters to a Special Page?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Passing_Parameters_to_a_Special_Page?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Special:Example" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Special:Example"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>Special:Example</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Special:Example-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Special_Characters_in_$wgMessageCache->addMessages" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Special_Characters_in_$wgMessageCache->addMessages"> <div class="vector-toc-text"> <span class="vector-toc-numb">11</span> <span>Special Characters in $wgMessageCache->addMessages</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">5 comments</span> <ul id="toc-Special_Characters_in_$wgMessageCache->addMessages-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Modifying_permissions_for_existing_special_pages" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Modifying_permissions_for_existing_special_pages"> <div class="vector-toc-text"> <span class="vector-toc-numb">12</span> <span>Modifying permissions for existing special pages</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Modifying_permissions_for_existing_special_pages-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Defining_functions/classes_from_a_function" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Defining_functions/classes_from_a_function"> <div class="vector-toc-text"> <span class="vector-toc-numb">13</span> <span>Defining functions/classes from a function</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Defining_functions/classes_from_a_function-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-BoardVote_example_--_where_is_it?" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#BoardVote_example_--_where_is_it?"> <div class="vector-toc-text"> <span class="vector-toc-numb">14</span> <span>BoardVote example -- where is it?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-BoardVote_example_--_where_is_it?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Question..." class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Question..."> <div class="vector-toc-text"> <span class="vector-toc-numb">15</span> <span>Question...</span> </div> </a> <ul id="toc-Question...-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Special_Page_with_MW_Version_1.6.9" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Special_Page_with_MW_Version_1.6.9"> <div class="vector-toc-text"> <span class="vector-toc-numb">16</span> <span>Special Page with MW Version 1.6.9</span> </div> </a> <ul id="toc-Special_Page_with_MW_Version_1.6.9-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Other_Important_Files?" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Other_Important_Files?"> <div class="vector-toc-text"> <span class="vector-toc-numb">17</span> <span>Other Important Files?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <button aria-controls="toc-Other_Important_Files?-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Other Important Files? subsection</span> </button> <ul id="toc-Other_Important_Files?-sublist" class="vector-toc-list"> <li id="toc-Making_a_Special_Page_Printable" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Making_a_Special_Page_Printable"> <div class="vector-toc-text"> <span class="vector-toc-numb">17.1</span> <span>Making a Special Page Printable</span> </div> </a> <ul id="toc-Making_a_Special_Page_Printable-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Cache_Question" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Cache_Question"> <div class="vector-toc-text"> <span class="vector-toc-numb">18</span> <span>Cache Question</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Cache_Question-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Special:Statistics" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Special:Statistics"> <div class="vector-toc-text"> <span class="vector-toc-numb">19</span> <span>Special:Statistics</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Special:Statistics-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Problem_with_SpecialPage_hooks" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Problem_with_SpecialPage_hooks"> <div class="vector-toc-text"> <span class="vector-toc-numb">20</span> <span>Problem with SpecialPage hooks</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Problem_with_SpecialPage_hooks-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-php4" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#php4"> <div class="vector-toc-text"> <span class="vector-toc-numb">21</span> <span>php4</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-php4-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-landing_page" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#landing_page"> <div class="vector-toc-text"> <span class="vector-toc-numb">22</span> <span>landing page</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-landing_page-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-looking_for_developer_to_modify_wiki" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#looking_for_developer_to_modify_wiki"> <div class="vector-toc-text"> <span class="vector-toc-numb">23</span> <span>looking for developer to modify wiki</span> </div> </a> <ul id="toc-looking_for_developer_to_modify_wiki-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION_in" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION_in"> <div class="vector-toc-text"> <span class="vector-toc-numb">24</span> <span>Error message: Parse error: syntax error, unexpected $end, expecting T_FUNCTION in</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION_in-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Problem_with_the_setup_instructions_under_1.13.3" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Problem_with_the_setup_instructions_under_1.13.3"> <div class="vector-toc-text"> <span class="vector-toc-numb">25</span> <span>Problem with the setup instructions under 1.13.3</span> </div> </a> <ul id="toc-Problem_with_the_setup_instructions_under_1.13.3-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Download_further_down?" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Download_further_down?"> <div class="vector-toc-text"> <span class="vector-toc-numb">26</span> <span>Download further down?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Download_further_down?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-setup_special_page" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#setup_special_page"> <div class="vector-toc-text"> <span class="vector-toc-numb">27</span> <span>setup special page</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-setup_special_page-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Wann_endlich_in_Deutsch?" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Wann_endlich_in_Deutsch?"> <div class="vector-toc-text"> <span class="vector-toc-numb">28</span> <span>Wann endlich in Deutsch?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Wann_endlich_in_Deutsch?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Make_special_page_transcludable" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Make_special_page_transcludable"> <div class="vector-toc-text"> <span class="vector-toc-numb">29</span> <span>Make special page transcludable</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Make_special_page_transcludable-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Hello_world_example_(MyExtension)" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Hello_world_example_(MyExtension)"> <div class="vector-toc-text"> <span class="vector-toc-numb">30</span> <span>Hello world example (MyExtension)</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Hello_world_example_(MyExtension)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Adding_tools" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Adding_tools"> <div class="vector-toc-text"> <span class="vector-toc-numb">31</span> <span>Adding tools</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Adding_tools-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()"> <div class="vector-toc-text"> <span class="vector-toc-numb">32</span> <span>$wgOut->setPagetitle() funktioniert nicht bei $wgOut->addWikiText()</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Hiding_some_pages_causes_syntax_errors" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Hiding_some_pages_causes_syntax_errors"> <div class="vector-toc-text"> <span class="vector-toc-numb">33</span> <span>Hiding some pages causes syntax errors</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Hiding_some_pages_causes_syntax_errors-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-My_WORKING_solution_to_controlling_Special_Pages_access." class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#My_WORKING_solution_to_controlling_Special_Pages_access."> <div class="vector-toc-text"> <span class="vector-toc-numb">34</span> <span>My WORKING solution to controlling Special Pages access.</span> </div> </a> <ul id="toc-My_WORKING_solution_to_controlling_Special_Pages_access.-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Don't_overwrite_original_page_title_when_transcluding_special_page" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Don't_overwrite_original_page_title_when_transcluding_special_page"> <div class="vector-toc-text"> <span class="vector-toc-numb">35</span> <span>Don't overwrite original page title when transcluding special page</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Don't_overwrite_original_page_title_when_transcluding_special_page-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Update_documentation_to_use_RequestContext" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Update_documentation_to_use_RequestContext"> <div class="vector-toc-text"> <span class="vector-toc-numb">36</span> <span>Update documentation to use RequestContext</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Update_documentation_to_use_RequestContext-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Possible_error_in_sample_code" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Possible_error_in_sample_code"> <div class="vector-toc-text"> <span class="vector-toc-numb">37</span> <span>Possible error in sample code</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Possible_error_in_sample_code-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Consistency" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Consistency"> <div class="vector-toc-text"> <span class="vector-toc-numb">38</span> <span>Consistency</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Consistency-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Special_Contact_Information_Page" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Special_Contact_Information_Page"> <div class="vector-toc-text"> <span class="vector-toc-numb">39</span> <span>Special Contact Information Page</span> </div> </a> <ul id="toc-Special_Contact_Information_Page-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-T121_:_where_is_the_parameter_???" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#T121_:_where_is_the_parameter_???"> <div class="vector-toc-text"> <span class="vector-toc-numb">40</span> <span>T121 : where is the parameter ???</span> </div> </a> <ul id="toc-T121_:_where_is_the_parameter_???-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Example_code_broken_in_1.34" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Example_code_broken_in_1.34"> <div class="vector-toc-text"> <span class="vector-toc-numb">41</span> <span>Example code broken in 1.34</span> </div> </a> <ul id="toc-Example_code_broken_in_1.34-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-better_documentation_for_key_identifier_strings" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#better_documentation_for_key_identifier_strings"> <div class="vector-toc-text"> <span class="vector-toc-numb">42</span> <span>better documentation for key identifier strings</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <button aria-controls="toc-better_documentation_for_key_identifier_strings-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle better documentation for key identifier strings subsection</span> </button> <ul id="toc-better_documentation_for_key_identifier_strings-sublist" class="vector-toc-list"> <li id="toc-Crucial_Bits_List" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Crucial_Bits_List"> <div class="vector-toc-text"> <span class="vector-toc-numb">42.1</span> <span>Crucial Bits List</span> </div> </a> <ul id="toc-Crucial_Bits_List-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-JSON_files" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#JSON_files"> <div class="vector-toc-text"> <span class="vector-toc-numb">42.2</span> <span>JSON files</span> </div> </a> <ul id="toc-JSON_files-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Broken_template_for_class_documentation" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Broken_template_for_class_documentation"> <div class="vector-toc-text"> <span class="vector-toc-numb">43</span> <span>Broken template for class documentation</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Broken_template_for_class_documentation-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Manual talk</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Special pages</span></h1> <a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=new" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive" id="ca-addsection" data-event-name="addsection-header"><span class="vector-icon mw-ui-icon-speechBubbleAdd-progressive mw-ui-icon-wikimedia-speechBubbleAdd-progressive"></span> <span>Add topic</span> </a> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-manual" class="vector-tab-noicon mw-list-item"><a href="/wiki/Manual:Special_pages" title="View the subject page [c]" accesskey="c"><span>Manual</span></a></li><li id="ca-talk" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Manual_talk:Special_pages" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Manual_talk:Special_pages"><span>Read</span></a></li><li id="ca-edit" class="istalk vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit" title="Edit the source code of this page [e]" accesskey="e"><span>Edit source</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Manual_talk:Special_pages&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Manual_talk:Special_pages"><span>Read</span></a></li><li id="ca-more-edit" class="istalk vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit" title="Edit the source code of this page [e]" accesskey="e"><span>Edit source</span></a></li><li id="ca-more-addsection" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=new"><span>Add topic</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Manual_talk:Special_pages&action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Manual_talk:Special_pages" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Manual_talk:Special_pages" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Manual_talk:Special_pages&oldid=6454670" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Manual_talk:Special_pages&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlQ%C4%B1sald%C4%B1c%C4%B1s%C4%B1&url=https%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FManual_talk%3ASpecial_pages"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrKodu&url=https%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FManual_talk%3ASpecial_pages"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Special:Book&bookcmd=book_creator&referer=Manual+talk%3ASpecial+pages"><span>Create a book</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Manual_talk%3ASpecial_pages&action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Manual_talk:Special_pages&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects emptyPortlet" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From mediawiki.org</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><div class="ext-discussiontools-init-pageframe-latestcomment">Latest comment: <a href="#c-GregRundlett-20240405202000-Broken_template_for_class_documentation">8 months ago</a> by GregRundlett in topic <a href="#Broken_template_for_class_documentation">Broken template for class documentation</a></div></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div style="border:2px solid #9bf; padding:0.4em; border-bottom:none; border-right:none; background:#f9f9ff"><b>The following discussion has been transferred from <a href="https://meta.wikimedia.org/wiki/" class="extiw" title="meta:">Meta-Wiki</a>.</b><br/> <small>Any user names refer to users of that site, who are not <b>necessarily</b> users of MediaWiki.org (even if they share the same username).</small></div> <div style="border-left:2px dashed #9bf; padding-left:1em"> <meta property="mw:PageProp/toc"/> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Rstockbower-2012-08-29T12:56:00.000Z","type":"heading","level":0,"id":"h-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages-2012-08-29T12:56:00.000Z","replies":["c-Rstockbower-2012-08-29T12:56:00.000Z-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages"],"text":"Fixing lt and gt (< and >) on Special:SpecialPages","linkableTitle":"Fixing lt and gt (< and >) on Special:SpecialPages"}--><h2 id="Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages" data-mw-thread-id="h-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages-2012-08-29T12:56:00.000Z"><span id="Fixing_lt_and_gt_.28.3C_and_.3E.29_on_Special:SpecialPages"></span><span data-mw-comment-start="" id="h-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages-2012-08-29T12:56:00.000Z"></span>Fixing lt and gt (< and >) on Special:SpecialPages<span data-mw-comment-end="h-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages-2012-08-29T12:56:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=1" title="Edit section: Fixing lt and gt (< and >) on Special:SpecialPages"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Rstockbower-2012-08-29T12:56:00.000Z-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages">12 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Rstockbower-2012-08-29T12:56:00.000Z","type":"heading","level":0,"id":"h-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages-2012-08-29T12:56:00.000Z","replies":["c-Rstockbower-2012-08-29T12:56:00.000Z-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages"],"text":"Fixing lt and gt (< and >) on Special:SpecialPages","linkableTitle":"Fixing lt and gt (< and >) on Special:SpecialPages"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Rstockbower-2012-08-29T12:56:00.000Z-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages"></span>If your Special Page's name is surrounded by < and >, it means you haven't defined a string mapping in your i18n file. Suppose you have an extension named <code>FooBar</code>. Your first line should be <code>'foobar' => 'My Foobar extension'</code>. Here's an actual example that would live in <code>FooBar.i18n.php</code>: </p> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">$messages</span> <span class="o">=</span> <span class="k">array</span> <span class="p">(</span> <span class="s1">'en'</span> <span class="o">=></span> <span class="k">array</span> <span class="p">(</span> <span class="s1">'foobar'</span> <span class="o">=></span> <span class="s1">'The FooBar extension'</span><span class="p">,</span> <span class="s1">'thing1'</span> <span class="o">=></span> <span class="s1">'This is a fancy string that I can call using wfMessage()!'</span><span class="p">,</span> <span class="p">)</span> <span class="p">);</span> </pre></div> <p>Now when you view your Special:SpecialPages index, your extension will appear as: </p> <pre>Special:The FooBar extension </pre> <p>instead of </p> <pre>Special:<foobar> </pre> <p><a href="/wiki/User:Rstockbower" class="mw-redirect" title="User:Rstockbower">Rstockbower</a> (<a href="/w/index.php?title=User_talk:Rstockbower&action=edit&redlink=1" class="new" title="User talk:Rstockbower (page does not exist)">talk</a>) <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Rstockbower-2012-08-29T12:56:00.000Z-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages" class="ext-discussiontools-init-timestamplink">12:56, 29 August 2012 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Rstockbower-2012-08-29T12:56:00.000Z-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages"><span id="ooui-php-1" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Rstockbower-2012-08-29T12:56:00.000Z-Fixing_lt_and_gt_(<_and_>)_on_Special:SpecialPages"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Ambush_Commander-2005-12-22T00:09:00.000Z","type":"heading","level":0,"id":"h-Outdated?-2005-12-22T00:09:00.000Z","replies":["c-Ambush_Commander-2005-12-22T00:09:00.000Z-Outdated?"],"text":"Outdated?","linkableTitle":"Outdated?"}--><h2 id="Outdated?" data-mw-thread-id="h-Outdated?-2005-12-22T00:09:00.000Z"><span id="Outdated.3F"></span><span data-mw-comment-start="" id="h-Outdated?-2005-12-22T00:09:00.000Z"></span>Outdated?<span data-mw-comment-end="h-Outdated?-2005-12-22T00:09:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=2" title="Edit section: Outdated?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Suso-2006-05-30T22:29:00.000Z-Ambush_Commander-2006-05-05T21:30:00.000Z">18 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>4 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>2 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Ambush_Commander-2005-12-22T00:09:00.000Z","type":"heading","level":0,"id":"h-Outdated?-2005-12-22T00:09:00.000Z","replies":["c-Ambush_Commander-2005-12-22T00:09:00.000Z-Outdated?"],"text":"Outdated?","linkableTitle":"Outdated?"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Ambush_Commander-2005-12-22T00:09:00.000Z-Outdated?"></span>I think this page has to be updated? It seems that you only need a file in the extension directory to create special page now. </p><p>An example is the <a rel="nofollow" class="external text" href="http://cvs.sourceforge.net/viewcvs.py/wikipedia/extensions/BoardVote/BoardVote.php?rev=1.3&only_with_tag=MAIN&view=markup">Board Vote file</a> </p> <dl><dd>I have accordingly updated the word of warning section. I think the old material is for 1.4, so it's still relevant, so I'm going to try to rewrite the whole thing for 1.5. <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2005-12-22T00:09:00.000Z-Outdated?" class="ext-discussiontools-init-timestamplink">00:09, 22 December 2005 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2005-12-22T00:09:00.000Z-Outdated?"><span id="ooui-php-2" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2005-12-22T00:09:00.000Z-Outdated?"></span></dd></dl> <dl><dd><dl><dd><span data-mw-comment-start="" id="c-Suso-2006-05-05T13:44:00.000Z-Ambush_Commander-2005-12-22T00:09:00.000Z"></span>As of 1.6.x, my PageCreateOrder extension broke and I spent some time trying to figure out why until I looked at the BoardVote extension you mentioned. I now see that the class I was defining needs to be done inside the loader function and the includes file no longer needs to be there. I've updated the documentation to reflect this. -- <a href="/wiki/User:Suso" title="User:Suso">Suso</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Suso-2006-05-05T13:44:00.000Z-Ambush_Commander-2005-12-22T00:09:00.000Z" class="ext-discussiontools-init-timestamplink">13:44, 5 May 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Suso-2006-05-05T13:44:00.000Z-Ambush_Commander-2005-12-22T00:09:00.000Z"><span id="ooui-php-3" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Suso-2006-05-05T13:44:00.000Z-Ambush_Commander-2005-12-22T00:09:00.000Z"></span></dd></dl></dd></dl> <dl><dd><dl><dd><dl><dd><span data-mw-comment-start="" id="c-Ambush_Commander-2006-05-05T21:30:00.000Z-Suso-2006-05-05T13:44:00.000Z"></span>Hey, Suso, are you <a href="/w/index.php?title=User:216.9.137.122&action=edit&redlink=1" class="new" title="User:216.9.137.122 (page does not exist)">User:216.9.137.122</a>? (because that's the only edit I see) <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-05-05T21:30:00.000Z-Suso-2006-05-05T13:44:00.000Z" class="ext-discussiontools-init-timestamplink">21:30, 5 May 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-05-05T21:30:00.000Z-Suso-2006-05-05T13:44:00.000Z"><span id="ooui-php-4" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-05-05T21:30:00.000Z-Suso-2006-05-05T13:44:00.000Z"></span></dd></dl></dd></dl></dd></dl> <dl><dd><dl><dd><dl><dd><dl><dd><span data-mw-comment-start="" id="c-Suso-2006-05-30T22:29:00.000Z-Ambush_Commander-2006-05-05T21:30:00.000Z"></span>Yes I am. Sorry, I must have logged out or something when I made the edit. It happens. -- <a href="/wiki/User:Suso" title="User:Suso">Suso</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Suso-2006-05-30T22:29:00.000Z-Ambush_Commander-2006-05-05T21:30:00.000Z" class="ext-discussiontools-init-timestamplink">22:29, 30 May 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Suso-2006-05-30T22:29:00.000Z-Ambush_Commander-2006-05-05T21:30:00.000Z"><span id="ooui-php-5" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Suso-2006-05-30T22:29:00.000Z-Ambush_Commander-2006-05-05T21:30:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Ambush_Commander-2005-12-22T00:09:00.000Z","type":"heading","level":0,"id":"h-create_a_new_special_page-2005-12-22T00:09:00.000Z","replies":["c-Ambush_Commander-2005-12-22T00:09:00.000Z-create_a_new_special_page"],"text":"create a new special page","linkableTitle":"create a new special page"}--><h2 id="create_a_new_special_page" data-mw-thread-id="h-create_a_new_special_page-2005-12-22T00:09:00.000Z"><span data-mw-comment-start="" id="h-create_a_new_special_page-2005-12-22T00:09:00.000Z"></span>create a new special page<span data-mw-comment-end="h-create_a_new_special_page-2005-12-22T00:09:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=3" title="Edit section: create a new special page"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Ambush_Commander-2005-12-22T00:09:00.000Z-create_a_new_special_page">18 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Ambush_Commander-2005-12-22T00:09:00.000Z","type":"heading","level":0,"id":"h-create_a_new_special_page-2005-12-22T00:09:00.000Z","replies":["c-Ambush_Commander-2005-12-22T00:09:00.000Z-create_a_new_special_page"],"text":"create a new special page","linkableTitle":"create a new special page"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Ambush_Commander-2005-12-22T00:09:00.000Z-create_a_new_special_page"></span>Hello, I would like to insert forms in pages related to my wiki, which is necessary to modify in the quick template to have a special page? </p><p>a: I didn't have to change anything in the template. Try using BoardVote.php as a model for your page, put it in the extensions directory. You can put your forms in the 'execute' function as this is what gets called automatically when the special page is loaded. To get mediawiki to recognize the existence of your new page, just include it at the end of LocalSettings.php. </p> <dl><dd>You probably want to read into <a href="/wiki/Extending_wiki_markup" class="mw-redirect" title="Extending wiki markup">Extending wiki markup</a>, which lets you add arbitrary HTML to a page and is great for creating really quick extensions for creating forms. <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2005-12-22T00:09:00.000Z-create_a_new_special_page" class="ext-discussiontools-init-timestamplink">00:09, 22 December 2005 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2005-12-22T00:09:00.000Z-create_a_new_special_page"><span id="ooui-php-6" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2005-12-22T00:09:00.000Z-create_a_new_special_page"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Barbux-2005-10-01T22:10:00.000Z","type":"heading","level":0,"id":"h-clear_title_<_>-2005-10-01T22:10:00.000Z","replies":["c-Barbux-2005-10-01T22:10:00.000Z-clear_title_<_>","c-76.8.128.114-2009-11-18T18:59:00.000Z-clear_title_<_>"],"text":"clear title < >","linkableTitle":"clear title < >"}--><h2 id="clear_title_<_>" data-mw-thread-id="h-clear_title_<_>-2005-10-01T22:10:00.000Z"><span id="clear_title_.3C_.3E"></span><span data-mw-comment-start="" id="h-clear_title_<_>-2005-10-01T22:10:00.000Z"></span>clear title < ><span data-mw-comment-end="h-clear_title_<_>-2005-10-01T22:10:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=4" title="Edit section: clear title < >"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-76.8.128.114-2009-11-18T18:59:00.000Z-clear_title_<_>">15 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>4 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>4 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Barbux-2005-10-01T22:10:00.000Z","type":"heading","level":0,"id":"h-clear_title_<_>-2005-10-01T22:10:00.000Z","replies":["c-Barbux-2005-10-01T22:10:00.000Z-clear_title_<_>","c-76.8.128.114-2009-11-18T18:59:00.000Z-clear_title_<_>"],"text":"clear title < >","linkableTitle":"clear title < >"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Barbux-2005-10-01T22:10:00.000Z-clear_title_<_>"></span>I can't remove the < > witch appears on both sides of the page title. First, I added a line in the $wgValidSpecialPagesFr array and then in all arrays of my language file. I read the explanation with the addMessage() function but y didn't very understand because of my bad english. <a href="/w/index.php?title=User:Barbux&action=edit&redlink=1" class="new" title="User:Barbux (page does not exist)">Barbux</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Barbux-2005-10-01T22:10:00.000Z-clear_title_<_>" class="ext-discussiontools-init-timestamplink">22:10, 1 October 2005 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Barbux-2005-10-01T22:10:00.000Z-clear_title_<_>"><span id="ooui-php-7" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Barbux-2005-10-01T22:10:00.000Z-clear_title_<_>"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Ambush_Commander-2005-12-22T00:09:00.000Z-Barbux-2005-10-01T22:10:00.000Z"></span>Put <code>$wgMessageCache->addMessages(array('page' => 'My Page Name'));</code> into the start of your wfExampleExtension() after the globals declaration.</dd> <dd>Failing that, create this page: <a href="/w/index.php?title=MediaWiki:Yourpagename&action=edit&redlink=1" class="new" title="MediaWiki:Yourpagename (page does not exist)">MediaWiki:Yourpagename</a> and put the name of your page there. <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2005-12-22T00:09:00.000Z-Barbux-2005-10-01T22:10:00.000Z" class="ext-discussiontools-init-timestamplink">00:09, 22 December 2005 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2005-12-22T00:09:00.000Z-Barbux-2005-10-01T22:10:00.000Z"><span id="ooui-php-8" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2005-12-22T00:09:00.000Z-Barbux-2005-10-01T22:10:00.000Z"></span></dd> <dd><span data-mw-comment-start="" id="c-Happy_Joe-2008-12-30T13:59:00.000Z-Barbux-2005-10-01T22:10:00.000Z"></span>Had same problem. Solution was to make sure that keys in i18n file were lower-case. <a href="/w/index.php?title=User:Happy_Joe&action=edit&redlink=1" class="new" title="User:Happy Joe (page does not exist)">Happy Joe</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Happy_Joe-2008-12-30T13:59:00.000Z-Barbux-2005-10-01T22:10:00.000Z" class="ext-discussiontools-init-timestamplink">13:59, 30 December 2008 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Happy_Joe-2008-12-30T13:59:00.000Z-Barbux-2005-10-01T22:10:00.000Z"><span id="ooui-php-9" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Happy_Joe-2008-12-30T13:59:00.000Z-Barbux-2005-10-01T22:10:00.000Z"></span></dd></dl> <p><span data-mw-comment-start="" id="c-76.8.128.114-2009-11-18T18:59:00.000Z-clear_title_<_>"></span>Had same problem, brute-forced by adding </p> <pre>$wgOut->setPageTitle(wfMsg('myextension'));</pre> <p>in execute function under wfLoadExtensionMessages... --<a href="/wiki/Special:Contributions/76.8.128.114" title="Special:Contributions/76.8.128.114">76.8.128.114</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-76.8.128.114-2009-11-18T18:59:00.000Z-clear_title_<_>" class="ext-discussiontools-init-timestamplink">18:59, 18 November 2009 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-76.8.128.114-2009-11-18T18:59:00.000Z-clear_title_<_>"><span id="ooui-php-10" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-76.8.128.114-2009-11-18T18:59:00.000Z-clear_title_<_>"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-ImaTard-2005-10-31T20:06:00.000Z","type":"heading","level":0,"id":"h-sysops_only?-2005-10-31T20:06:00.000Z","replies":["c-ImaTard-2005-10-31T20:06:00.000Z-sysops_only?","c-Ambush_Commander-2005-12-22T00:12:00.000Z-sysops_only?","c-Duke33-2006-12-20T22:31:00.000Z-sysops_only?"],"text":"sysops only?","linkableTitle":"sysops only?"}--><h2 id="sysops_only?" data-mw-thread-id="h-sysops_only?-2005-10-31T20:06:00.000Z"><span id="sysops_only.3F"></span><span data-mw-comment-start="" id="h-sysops_only?-2005-10-31T20:06:00.000Z"></span>sysops only?<span data-mw-comment-end="h-sysops_only?-2005-10-31T20:06:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=5" title="Edit section: sysops only?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Duke33-2006-12-20T22:31:00.000Z-sysops_only?">17 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>4 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>3 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-ImaTard-2005-10-31T20:06:00.000Z","type":"heading","level":0,"id":"h-sysops_only?-2005-10-31T20:06:00.000Z","replies":["c-ImaTard-2005-10-31T20:06:00.000Z-sysops_only?","c-Ambush_Commander-2005-12-22T00:12:00.000Z-sysops_only?","c-Duke33-2006-12-20T22:31:00.000Z-sysops_only?"],"text":"sysops only?","linkableTitle":"sysops only?"}--></div></div></div> <p><a href="/wiki/User:ImaTard" title="User:ImaTard"><span data-mw-comment-start="" id="c-ImaTard-2005-10-31T20:06:00.000Z-sysops_only?"></span>ImaTard</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-ImaTard-2005-10-31T20:06:00.000Z-sysops_only?" class="ext-discussiontools-init-timestamplink">20:06, 31 October 2005 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-ImaTard-2005-10-31T20:06:00.000Z-sysops_only?"><span id="ooui-php-11" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-ImaTard-2005-10-31T20:06:00.000Z-sysops_only?"></span> </p><p><span data-mw-comment-start="" id="c-Ambush_Commander-2005-12-22T00:12:00.000Z-sysops_only?"></span>How would i go about making a sysops only special page? im using v1.5 </p><p>a:I thought it might help to show what I have in my code at the beginning of my execute function: </p> <pre> if (! $wgUser->isBureaucrat() && ! $wgUser->isDeveloper() ){ $wgOut->errorpage( "bureaucrattitle", "bureaucrattext" ); return; } </pre> <p>This code only allows admins to use the page. Note that i have only tested this on v1.4.6 though. </p> <dl><dd>This is a good idea for a section on the page, but it's fairly obvious if you just look at some of the code. Those functions are deprecated, you can use: <code>$this->isAllowed( 'protect' );</code>. <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2005-12-22T00:12:00.000Z-sysops_only?" class="ext-discussiontools-init-timestamplink">00:12, 22 December 2005 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2005-12-22T00:12:00.000Z-sysops_only?"><span id="ooui-php-12" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2005-12-22T00:12:00.000Z-sysops_only?"></span></dd></dl> <dl><dd><dl><dd><span data-mw-comment-start="" id="c-Ambush_Commander-2005-12-22T00:13:00.000Z-Ambush_Commander-2005-12-22T00:12:00.000Z"></span>Extra note: the code given earlier does not make the page sysops only. <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2005-12-22T00:13:00.000Z-Ambush_Commander-2005-12-22T00:12:00.000Z" class="ext-discussiontools-init-timestamplink">00:13, 22 December 2005 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2005-12-22T00:13:00.000Z-Ambush_Commander-2005-12-22T00:12:00.000Z"><span id="ooui-php-13" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2005-12-22T00:13:00.000Z-Ambush_Commander-2005-12-22T00:12:00.000Z"></span></dd></dl></dd></dl> <p><span data-mw-comment-start="" id="c-Duke33-2006-12-20T22:31:00.000Z-sysops_only?"></span>I'm using 1.8, and i'm having problems as well...Here's what i have in my function: </p> <pre>SpecialPage::addPage(new SpecialPage('ArchiveNews', 'sysop', true, 'ArchiveNews', false));</pre> <p>I thought that passing "sysop" as the second parameter would only allow sysops to see the page. But, when i do that and go to the page, I get: </p> <pre>Permission error You are not allowed to execute the action you have requested.</pre> <p>I am a sysop, so i can't figure out why it wouldn't work...is this by chance deprecated? I've tried everything...sysop, admin, administrator, etc, and nothing works. The only thing that made any difference, was when i set it to "bot" just for fun, and I got a different message, stating that I was not in the group "bots". Any help would be appreciated. --<a href="/wiki/User:Duke33" title="User:Duke33">Duke33</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Duke33-2006-12-20T22:31:00.000Z-sysops_only?" class="ext-discussiontools-init-timestamplink">22:31, 20 December 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Duke33-2006-12-20T22:31:00.000Z-sysops_only?"><span id="ooui-php-14" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Duke33-2006-12-20T22:31:00.000Z-sysops_only?"></span> </p> <dl><dd>The second parameter of <code>SpecialPage</code>'s constructor is the <i>right</i> needed to view the page, not the <i>group.</i> Since (by default at least) a bureaucrat's only right is <b>userrights</b>, pass <code>"userrights"</code> as the second parameter to limit the page to bureaucrats. To limit the page to sysops, consider why -- because sysops can <code>delete</code> pages? Or <code>upload</code> files? A full list of default user group/rights settings is in <code>DefaultSettings.php</code>. 23:18, 22 May 2007 (UTC)</dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Phroziac-2005-11-08T20:34:00.000Z","type":"heading","level":0,"id":"h-Modification_needed_for_1.6-2005-11-08T20:34:00.000Z","replies":["c-Phroziac-2005-11-08T20:34:00.000Z-Modification_needed_for_1.6"],"text":"Modification needed for 1.6","linkableTitle":"Modification needed for 1.6"}--><h2 id="Modification_needed_for_1.6" data-mw-thread-id="h-Modification_needed_for_1.6-2005-11-08T20:34:00.000Z"><span data-mw-comment-start="" id="h-Modification_needed_for_1.6-2005-11-08T20:34:00.000Z"></span>Modification needed for 1.6<span data-mw-comment-end="h-Modification_needed_for_1.6-2005-11-08T20:34:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=6" title="Edit section: Modification needed for 1.6"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Ambush_Commander-2005-12-22T00:09:00.000Z-Phroziac-2005-11-08T20:34:00.000Z">18 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>2 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>2 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Phroziac-2005-11-08T20:34:00.000Z","type":"heading","level":0,"id":"h-Modification_needed_for_1.6-2005-11-08T20:34:00.000Z","replies":["c-Phroziac-2005-11-08T20:34:00.000Z-Modification_needed_for_1.6"],"text":"Modification needed for 1.6","linkableTitle":"Modification needed for 1.6"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Phroziac-2005-11-08T20:34:00.000Z-Modification_needed_for_1.6"></span>I just made a special page using the example found on this page. But, apparently on 1.6 you need to add this to the execute(); function. </p> <pre> $wgOut->setPagetitle( wfMsg( 'messagename' ) ); </pre> <p>--<span style="color:red"><a href="/w/index.php?title=User:Phroziac&action=edit&redlink=1" class="new" title="User:Phroziac (page does not exist)">Phroziac</a><b> <sup>(<a href="/w/index.php?title=User_talk:Phroziac&action=edit&redlink=1" class="new" title="User talk:Phroziac (page does not exist)">talk</a>)</sup></b></span> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Phroziac-2005-11-08T20:34:00.000Z-Modification_needed_for_1.6" class="ext-discussiontools-init-timestamplink">20:34, 8 November 2005 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Phroziac-2005-11-08T20:34:00.000Z-Modification_needed_for_1.6"><span id="ooui-php-15" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Phroziac-2005-11-08T20:34:00.000Z-Modification_needed_for_1.6"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Ambush_Commander-2005-12-22T00:09:00.000Z-Phroziac-2005-11-08T20:34:00.000Z"></span>This is not necessary. Read about how MediaWiki can be used to dynamically load extensions and their functions. <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2005-12-22T00:09:00.000Z-Phroziac-2005-11-08T20:34:00.000Z" class="ext-discussiontools-init-timestamplink">00:09, 22 December 2005 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2005-12-22T00:09:00.000Z-Phroziac-2005-11-08T20:34:00.000Z"><span id="ooui-php-16" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2005-12-22T00:09:00.000Z-Phroziac-2005-11-08T20:34:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Ambush_Commander-2006-01-05T02:52:00.000Z","type":"heading","level":0,"id":"h-Revert_to_previous_version-2006-01-05T02:52:00.000Z","replies":["c-Ambush_Commander-2006-01-05T02:52:00.000Z-Revert_to_previous_version"],"text":"Revert to previous version","linkableTitle":"Revert to previous version"}--><h2 id="Revert_to_previous_version" data-mw-thread-id="h-Revert_to_previous_version-2006-01-05T02:52:00.000Z"><span data-mw-comment-start="" id="h-Revert_to_previous_version-2006-01-05T02:52:00.000Z"></span>Revert to previous version<span data-mw-comment-end="h-Revert_to_previous_version-2006-01-05T02:52:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=7" title="Edit section: Revert to previous version"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Ambush_Commander-2006-01-05T02:52:00.000Z-Revert_to_previous_version">18 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Ambush_Commander-2006-01-05T02:52:00.000Z","type":"heading","level":0,"id":"h-Revert_to_previous_version-2006-01-05T02:52:00.000Z","replies":["c-Ambush_Commander-2006-01-05T02:52:00.000Z-Revert_to_previous_version"],"text":"Revert to previous version","linkableTitle":"Revert to previous version"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Ambush_Commander-2006-01-05T02:52:00.000Z-Revert_to_previous_version"></span>In <a class="external text" href="https://meta.wikimedia.org/w/index.php?title=Writing_a_new_special_page&diff=264522&oldid=259634">this edit</a> <a href="/w/index.php?title=User:Slanted&action=edit&redlink=1" class="new" title="User:Slanted (page does not exist)">User:Slanted</a> reverted the new set of instructions to a pre-1.5 state. The edit was marked minor and had no edit summary, so I chose to revert him before posting an inquiry on his talk page. So... discussion? <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-01-05T02:52:00.000Z-Revert_to_previous_version" class="ext-discussiontools-init-timestamplink">02:52, 5 January 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-01-05T02:52:00.000Z-Revert_to_previous_version"><span id="ooui-php-17" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-01-05T02:52:00.000Z-Revert_to_previous_version"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Jmcneil86043-2006-01-07T19:09:00.000Z","type":"heading","level":0,"id":"h-Add_setHeaders()_to_example?-2006-01-07T19:09:00.000Z","replies":["c-Jmcneil86043-2006-01-07T19:09:00.000Z-Add_setHeaders()_to_example?","c-Jmcneil86043-2006-01-08T03:58:00.000Z-Add_setHeaders()_to_example?"],"text":"Add setHeaders() to example?","linkableTitle":"Add setHeaders() to example?"}--><h2 id="Add_setHeaders()_to_example?" data-mw-thread-id="h-Add_setHeaders()_to_example?-2006-01-07T19:09:00.000Z"><span id="Add_setHeaders.28.29_to_example.3F"></span><span data-mw-comment-start="" id="h-Add_setHeaders()_to_example?-2006-01-07T19:09:00.000Z"></span>Add setHeaders() to example?<span data-mw-comment-end="h-Add_setHeaders()_to_example?-2006-01-07T19:09:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=8" title="Edit section: Add setHeaders() to example?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Ambush_Commander-2006-01-09T00:36:00.000Z-Jmcneil86043-2006-01-08T03:58:00.000Z">18 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>4 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>2 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Jmcneil86043-2006-01-07T19:09:00.000Z","type":"heading","level":0,"id":"h-Add_setHeaders()_to_example?-2006-01-07T19:09:00.000Z","replies":["c-Jmcneil86043-2006-01-07T19:09:00.000Z-Add_setHeaders()_to_example?","c-Jmcneil86043-2006-01-08T03:58:00.000Z-Add_setHeaders()_to_example?"],"text":"Add setHeaders() to example?","linkableTitle":"Add setHeaders() to example?"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Jmcneil86043-2006-01-07T19:09:00.000Z-Add_setHeaders()_to_example?"></span>The code in SpecialPage.php says you should call setHeaders() in your execute function. This turns out to be necessary to set the window title and other stuff (Thanks to Michael on Wikitech-l for pointing this out). Shouldn't we add something like the following to the example on this page? </p> <pre>$this->setHeaders(); // call this method of the super class to set the window title </pre> <p>--<a href="/w/index.php?title=User:Jmcneil86043&action=edit&redlink=1" class="new" title="User:Jmcneil86043 (page does not exist)">Jmcneil86043</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Jmcneil86043-2006-01-07T19:09:00.000Z-Add_setHeaders()_to_example?" class="ext-discussiontools-init-timestamplink">19:09, 7 January 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jmcneil86043-2006-01-07T19:09:00.000Z-Add_setHeaders()_to_example?"><span id="ooui-php-18" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Jmcneil86043-2006-01-07T19:09:00.000Z-Add_setHeaders()_to_example?"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Ambush_Commander-2006-01-08T00:01:00.000Z-Jmcneil86043-2006-01-07T19:09:00.000Z"></span>SpecialPage automatically calls the function from its base method. Notice how in the code examples, I do not inherit a new class from SpecialPage. Calling this is only necessary if you overload execute() and you don't call the original. Generally, inherited classes are overkill: UnlistedSpecialPage and IncludableSpecialPage should have all the alternate functionality you need, and there probably <i>should not</i> be any domain logic inside the SpecialPage class (perhaps somewhat counterintuitively).</dd></dl> <dl><dd>However, if you followed the instructions correctly, it should have worked. Where did you get your special page template anyway? <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-01-08T00:01:00.000Z-Jmcneil86043-2006-01-07T19:09:00.000Z" class="ext-discussiontools-init-timestamplink">00:01, 8 January 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-01-08T00:01:00.000Z-Jmcneil86043-2006-01-07T19:09:00.000Z"><span id="ooui-php-19" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-01-08T00:01:00.000Z-Jmcneil86043-2006-01-07T19:09:00.000Z"></span></dd></dl> <p><span data-mw-comment-start="" id="c-Jmcneil86043-2006-01-08T03:58:00.000Z-Add_setHeaders()_to_example?"></span>I based my code on BoardVote.php, which was recommended in the old code as an example (I started this code a few months ago when that doc was current). It was over-complicated for my purposes, but I am implementing a form, so it was helpful. These new docs are more simple, but It's not completely obvious how to do a form, although I guess I could figure it out with a little work. Do you recommend calling the base-class' execute method, or re-writing so I don't sub-class? I'm going to be doing several more of these, so I'd like to do this prototype correctly. Thanks, --<a href="/w/index.php?title=User:Jmcneil86043&action=edit&redlink=1" class="new" title="User:Jmcneil86043 (page does not exist)">Jmcneil86043</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Jmcneil86043-2006-01-08T03:58:00.000Z-Add_setHeaders()_to_example?" class="ext-discussiontools-init-timestamplink">03:58, 8 January 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jmcneil86043-2006-01-08T03:58:00.000Z-Add_setHeaders()_to_example?"><span id="ooui-php-20" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Jmcneil86043-2006-01-08T03:58:00.000Z-Add_setHeaders()_to_example?"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Ambush_Commander-2006-01-09T00:36:00.000Z-Jmcneil86043-2006-01-08T03:58:00.000Z"></span>The developers likely aren't in agreement about everything. After all, I am just an outside. My observations are based off the upload special page, which Vibber does say is a, and I paraphrase, piece of crap. I'll do some more research on the other standard special pages. I think that this simply way is a lot better though.</dd></dl> <dl><dd>Regarding your question about rewriting versus calling the base class's execute method, you can't call the base class's execute method because it will go off and call the function anyway (even if it doesn't exist). You will have to rewrite it, or give it a dud function. Not that you'd want to: just put all the logic inside the function that it calls. Do you understand that idea?</dd></dl> <dl><dd>Regarding the creation of forms, I do need to add some documentation about <code>WebRequest</code>. I'm concerned, however, that the page is getting a bit long. <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-01-09T00:36:00.000Z-Jmcneil86043-2006-01-08T03:58:00.000Z" class="ext-discussiontools-init-timestamplink">00:36, 9 January 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-01-09T00:36:00.000Z-Jmcneil86043-2006-01-08T03:58:00.000Z"><span id="ooui-php-21" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-01-09T00:36:00.000Z-Jmcneil86043-2006-01-08T03:58:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-84.137.220.251-2006-03-02T14:12:00.000Z","type":"heading","level":0,"id":"h-Passing_Parameters_to_a_Special_Page?-2006-03-02T14:12:00.000Z","replies":["c-84.137.220.251-2006-03-02T14:12:00.000Z-Passing_Parameters_to_a_Special_Page?","c-Nazly.elshazly-2007-01-17T09:35:00.000Z-Passing_Parameters_to_a_Special_Page?"],"text":"Passing Parameters to a Special Page?","linkableTitle":"Passing Parameters to a Special Page?"}--><h2 id="Passing_Parameters_to_a_Special_Page?" data-mw-thread-id="h-Passing_Parameters_to_a_Special_Page?-2006-03-02T14:12:00.000Z"><span id="Passing_Parameters_to_a_Special_Page.3F"></span><span data-mw-comment-start="" id="h-Passing_Parameters_to_a_Special_Page?-2006-03-02T14:12:00.000Z"></span>Passing Parameters to a Special Page?<span data-mw-comment-end="h-Passing_Parameters_to_a_Special_Page?-2006-03-02T14:12:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=9" title="Edit section: Passing Parameters to a Special Page?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Nazly.elshazly-2007-01-17T09:35:00.000Z-Passing_Parameters_to_a_Special_Page?">17 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>2 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>2 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-84.137.220.251-2006-03-02T14:12:00.000Z","type":"heading","level":0,"id":"h-Passing_Parameters_to_a_Special_Page?-2006-03-02T14:12:00.000Z","replies":["c-84.137.220.251-2006-03-02T14:12:00.000Z-Passing_Parameters_to_a_Special_Page?","c-Nazly.elshazly-2007-01-17T09:35:00.000Z-Passing_Parameters_to_a_Special_Page?"],"text":"Passing Parameters to a Special Page?","linkableTitle":"Passing Parameters to a Special Page?"}--></div></div></div> <p><span data-mw-comment-start="" id="c-84.137.220.251-2006-03-02T14:12:00.000Z-Passing_Parameters_to_a_Special_Page?"></span>Is there any way to pass parameters to a special page? <small>â<i>The preceding <a href="https://en.wikipedia.org/wiki/Wikipedia:Sign_your_posts_on_talk_pages" class="extiw" title="w:Wikipedia:Sign your posts on talk pages">unsigned</a> comment was added by</i> <a href="/wiki/User:Behrang_Amini" title="User:Behrang Amini">Behrang Amini</a> (<a href="/w/index.php?title=User_talk:Behrang_Amini&action=edit&redlink=1" class="new" title="User talk:Behrang Amini (page does not exist)">talk</a> ⢠<a href="/wiki/Special:Contributions/Behrang_Amini" title="Special:Contributions/Behrang Amini">contribs</a>) .</small> </p> <dl><dd>Yes, see "Special Parameters" on article page<br/></dd> <dd><a href="/w/index.php?title=User:84.137.220.251&action=edit&redlink=1" class="new" title="User:84.137.220.251 (page does not exist)">84.137.220.251</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-84.137.220.251-2006-03-02T14:12:00.000Z-Passing_Parameters_to_a_Special_Page?" class="ext-discussiontools-init-timestamplink">14:12, 2 March 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-84.137.220.251-2006-03-02T14:12:00.000Z-Passing_Parameters_to_a_Special_Page?"><span id="ooui-php-22" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-84.137.220.251-2006-03-02T14:12:00.000Z-Passing_Parameters_to_a_Special_Page?"></span></dd></dl> <p><br/><span data-mw-comment-start="" id="c-Nazly.elshazly-2007-01-17T09:35:00.000Z-Passing_Parameters_to_a_Special_Page?"></span> How about calling SpecialPage::executePath in the php code. How can I pass parameters to the page? <a href="/w/index.php?title=User:Nazly.elshazly&action=edit&redlink=1" class="new" title="User:Nazly.elshazly (page does not exist)">Nazly.elshazly</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Nazly.elshazly-2007-01-17T09:35:00.000Z-Passing_Parameters_to_a_Special_Page?" class="ext-discussiontools-init-timestamplink">09:35, 17 January 2007 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Nazly.elshazly-2007-01-17T09:35:00.000Z-Passing_Parameters_to_a_Special_Page?"><span id="ooui-php-23" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Nazly.elshazly-2007-01-17T09:35:00.000Z-Passing_Parameters_to_a_Special_Page?"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Ambush_Commander-2006-01-18T21:46:00.000Z","type":"heading","level":0,"id":"h-Special:Example-2006-01-18T21:46:00.000Z","replies":["c-Ambush_Commander-2006-01-18T21:46:00.000Z-Special:Example"],"text":"Special:Example","linkableTitle":"Special:Example"}--><h2 id="Special:Example" data-mw-thread-id="h-Special:Example-2006-01-18T21:46:00.000Z"><span data-mw-comment-start="" id="h-Special:Example-2006-01-18T21:46:00.000Z"></span>Special:Example<span data-mw-comment-end="h-Special:Example-2006-01-18T21:46:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=10" title="Edit section: Special:Example"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Ambush_Commander-2006-01-18T21:46:00.000Z-Special:Example">18 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Ambush_Commander-2006-01-18T21:46:00.000Z","type":"heading","level":0,"id":"h-Special:Example-2006-01-18T21:46:00.000Z","replies":["c-Ambush_Commander-2006-01-18T21:46:00.000Z-Special:Example"],"text":"Special:Example","linkableTitle":"Special:Example"}--></div></div></div> <p><a href="/wiki/Special:Example" class="new" title="Special:Example (page does not exist)"><span data-mw-comment-start="" id="c-Ambush_Commander-2006-01-18T21:46:00.000Z-Special:Example"></span>Special:Example</a> is dead. <small>â<i>The preceding <a href="https://en.wikipedia.org/wiki/Wikipedia:Sign_your_posts_on_talk_pages" class="extiw" title="w:Wikipedia:Sign your posts on talk pages">unsigned</a> comment was added by</i> <a href="/w/index.php?title=User:80.185.25.241&action=edit&redlink=1" class="new" title="User:80.185.25.241 (page does not exist)">80.185.25.241</a> (<a href="/w/index.php?title=User_talk:80.185.25.241&action=edit&redlink=1" class="new" title="User talk:80.185.25.241 (page does not exist)">talk</a> ⢠<a href="/wiki/Special:Contributions/80.185.25.241" title="Special:Contributions/80.185.25.241">contribs</a>) .</small> </p> <dl><dd>Of course. There's no special page by the name of Example on this wiki. <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-01-18T21:46:00.000Z-Special:Example" class="ext-discussiontools-init-timestamplink">21:46, 18 January 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-01-18T21:46:00.000Z-Special:Example"><span id="ooui-php-24" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-01-18T21:46:00.000Z-Special:Example"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-84.137.220.251-2006-03-02T14:10:00.000Z","type":"heading","level":0,"id":"h-Special_Characters_in_$wgMessageCache->addMessages-2006-03-02T14:10:00.000Z","replies":["c-84.137.220.251-2006-03-02T14:10:00.000Z-Special_Characters_in_$wgMessageCache->addMessages","c-Ambush_Commander-2006-03-31T23:09:00.000Z-Special_Characters_in_$wgMessageCache->addMessages"],"text":"Special Characters in $wgMessageCache->addMessages","linkableTitle":"Special Characters in $wgMessageCache->addMessages"}--><h2 id="Special_Characters_in_$wgMessageCache->addMessages" data-mw-thread-id="h-Special_Characters_in_$wgMessageCache->addMessages-2006-03-02T14:10:00.000Z"><span id="Special_Characters_in_.24wgMessageCache-.3EaddMessages"></span><span data-mw-comment-start="" id="h-Special_Characters_in_$wgMessageCache->addMessages-2006-03-02T14:10:00.000Z"></span>Special Characters in $wgMessageCache->addMessages<span data-mw-comment-end="h-Special_Characters_in_$wgMessageCache->addMessages-2006-03-02T14:10:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=11" title="Edit section: Special Characters in $wgMessageCache->addMessages"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Ambush_Commander-2006-03-31T23:09:00.000Z-Special_Characters_in_$wgMessageCache->addMessages">18 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>5 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>3 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-84.137.220.251-2006-03-02T14:10:00.000Z","type":"heading","level":0,"id":"h-Special_Characters_in_$wgMessageCache->addMessages-2006-03-02T14:10:00.000Z","replies":["c-84.137.220.251-2006-03-02T14:10:00.000Z-Special_Characters_in_$wgMessageCache->addMessages","c-Ambush_Commander-2006-03-31T23:09:00.000Z-Special_Characters_in_$wgMessageCache->addMessages"],"text":"Special Characters in $wgMessageCache->addMessages","linkableTitle":"Special Characters in $wgMessageCache->addMessages"}--></div></div></div> <p><span data-mw-comment-start="" id="c-84.137.220.251-2006-03-02T14:10:00.000Z-Special_Characters_in_$wgMessageCache->addMessages"></span>Hi, how is it possible to put german umlauts in $wgMessageCache->addMessages? (&ouml; or &#246; don't work)<br/> <a href="/w/index.php?title=User:84.137.220.251&action=edit&redlink=1" class="new" title="User:84.137.220.251 (page does not exist)">84.137.220.251</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-84.137.220.251-2006-03-02T14:10:00.000Z-Special_Characters_in_$wgMessageCache->addMessages" class="ext-discussiontools-init-timestamplink">14:10, 2 March 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-84.137.220.251-2006-03-02T14:10:00.000Z-Special_Characters_in_$wgMessageCache->addMessages"><span id="ooui-php-25" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-84.137.220.251-2006-03-02T14:10:00.000Z-Special_Characters_in_$wgMessageCache->addMessages"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Ambush_Commander-2006-03-03T22:38:00.000Z-84.137.220.251-2006-03-02T14:10:00.000Z"></span>I suppose MediaWiki expects pure text. I recommend using <code>$string = 'needsumlat' . chr(246) . 'textafterumlat';</code>. Remember, you can always edit the corresponding system message if you don't want to put special characters in the source code. <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-03-03T22:38:00.000Z-84.137.220.251-2006-03-02T14:10:00.000Z" class="ext-discussiontools-init-timestamplink">22:38, 3 March 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-03-03T22:38:00.000Z-84.137.220.251-2006-03-02T14:10:00.000Z"><span id="ooui-php-26" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-03-03T22:38:00.000Z-84.137.220.251-2006-03-02T14:10:00.000Z"></span></dd></dl> <dl><dd><dl><dd><span data-mw-comment-start="" id="c-Otterstedt-2006-03-04T21:22:00.000Z-Ambush_Commander-2006-03-03T22:38:00.000Z"></span>> Remember, you can always edit the corresponding system message if you don't want to put special characters in the source code.</dd> <dd>That's a splendid Idea. I'm going to do it like that, thanks!<br/>By the way, I tried "<code>chr(246)</code>" and it didn'd work either (allways get a question mark instead of the special character).</dd> <dd><a href="/wiki/User:Otterstedt" title="User:Otterstedt">Otterstedt</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Otterstedt-2006-03-04T21:22:00.000Z-Ambush_Commander-2006-03-03T22:38:00.000Z" class="ext-discussiontools-init-timestamplink">21:22, 4 March 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Otterstedt-2006-03-04T21:22:00.000Z-Ambush_Commander-2006-03-03T22:38:00.000Z"><span id="ooui-php-27" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Otterstedt-2006-03-04T21:22:00.000Z-Ambush_Commander-2006-03-03T22:38:00.000Z"></span></dd></dl></dd></dl> <dl><dd><dl><dd><dl><dd><span data-mw-comment-start="" id="c-Ambush_Commander-2006-03-04T23:20:00.000Z-Otterstedt-2006-03-04T21:22:00.000Z"></span>Hmm... that's interesting. Probably 246 is the incorrect number (it's in decimal, not hex, and remember, it has to be UTF-8 encoded). I'll have to look into that (or a developer, in their infinite wisdom, will give us the answer). Glad you resolved your problem though. <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-03-04T23:20:00.000Z-Otterstedt-2006-03-04T21:22:00.000Z" class="ext-discussiontools-init-timestamplink">23:20, 4 March 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-03-04T23:20:00.000Z-Otterstedt-2006-03-04T21:22:00.000Z"><span id="ooui-php-28" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-03-04T23:20:00.000Z-Otterstedt-2006-03-04T21:22:00.000Z"></span></dd></dl></dd></dl></dd></dl> <dl><dd><dl><dd><dl><dd><dl><dd><span data-mw-comment-start="" id="c-Ambush_Commander-2006-03-31T23:09:00.000Z-Special_Characters_in_$wgMessageCache->addMessages"></span>I'm getting a little bit annoyed with not finding information on how to actually achieve this. I'm writing an extension with finnish texts. Nothing so far has been displayed correctly. Including the above tip. And the tip about being able to edit the messages <a href="/wiki/Special:AllMessages" title="Special:AllMessages">Special:Allmessages</a> page doesn't work either for some reason. In my extensions/SpecialDigitemp.php I have this</dd> <dd><code>$wgMessageCache->addMessages(array('digitemp' => 'LämpĂśtila'));</code></dd> <dd>The message name and the message itself are present in the Special:Allmessages page, but when trying to edit the message I get a page saying that the page doesn't exist. The link on the Special:Allmessages page for the word digitemp is</dd> <dd><a rel="nofollow" class="external free" href="http://xxx/wiki/index.php?title=MediaWiki:Digitemp&action=edit">http://xxx/wiki/index.php?title=MediaWiki:Digitemp&action=edit</a> when for other texts it's</dd> <dd><a rel="nofollow" class="external free" href="http://xxx/wiki/index.php/MediaWiki:Diff">http://xxx/wiki/index.php/MediaWiki:Diff</a></dd> <dd>So what's the deal? And how to get ä's and Ăś's to work? <small>â<i>The preceding <a href="https://en.wikipedia.org/wiki/Wikipedia:Sign_your_posts_on_talk_pages" class="extiw" title="w:Wikipedia:Sign your posts on talk pages">unsigned</a> comment was added by</i> <a href="/w/index.php?title=User:193.167.88.25&action=edit&redlink=1" class="new" title="User:193.167.88.25 (page does not exist)">193.167.88.25</a> (<a href="/w/index.php?title=User_talk:193.167.88.25&action=edit&redlink=1" class="new" title="User talk:193.167.88.25 (page does not exist)">talk</a> ⢠<a href="/wiki/Special:Contributions/193.167.88.25" title="Special:Contributions/193.167.88.25">contribs</a>) .</small> <dl><dd>You need to use the <code>&#nn;</code> (HTML Unicode format) encoding when hard coding messages. Nn is equivalent to the decimal number representing the character. For example:</dd> <dd><code>wgOut->HTML('L&#138;mp&#154;tila');</code></dd> <dd>When using messageCache you could use php's <a rel="nofollow" class="external text" href="http://us2.php.net/manual/en/function.utf8-encode.php">utf8_encode()</a> function to convert your strings to <a href="https://en.wikipedia.org/wiki/UTF-8" class="extiw" title="w:UTF-8">UTF-8</a> like in the following:</dd> <dd><code>$wgMessageCache->addMessages(array('digitemp' => utf8_encode('LämpĂśtila')));</code></dd> <dd>Hope this helps. <small>â<i>The preceding <a href="https://en.wikipedia.org/wiki/Wikipedia:Sign_your_posts_on_talk_pages" class="extiw" title="w:Wikipedia:Sign your posts on talk pages">unsigned</a> comment was added by</i> <a href="/w/index.php?title=User:213.186.252.201&action=edit&redlink=1" class="new" title="User:213.186.252.201 (page does not exist)">213.186.252.201</a> (<a href="/w/index.php?title=User_talk:213.186.252.201&action=edit&redlink=1" class="new" title="User talk:213.186.252.201 (page does not exist)">talk</a> ⢠<a href="/wiki/Special:Contributions/213.186.252.201" title="Special:Contributions/213.186.252.201">contribs</a>) .</small></dd></dl></dd></dl></dd></dl></dd></dl></dd></dl> <p>The system messages aren't supposed to exist. Here's the thing: as an aide to you, the MediaWiki installer automatically populates the core set of system messages. Most extensions don't do so. Just create the page and it will work as normal. I strongly discourage non-ASCII characters in source code, just because of encoding issues (if you're using the wrong encoding, they'll show up weird in the source (unlikely, since Latin-1 is the most widely used character set (but still possible, esp. for non-European languages))). <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-03-31T23:09:00.000Z-Special_Characters_in_$wgMessageCache->addMessages" class="ext-discussiontools-init-timestamplink">23:09, 31 March 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-03-31T23:09:00.000Z-Special_Characters_in_$wgMessageCache->addMessages"><span id="ooui-php-29" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-03-31T23:09:00.000Z-Special_Characters_in_$wgMessageCache->addMessages"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Ambush_Commander-2006-03-30T04:18:00.000Z","type":"heading","level":0,"id":"h-Modifying_permissions_for_existing_special_pages-2006-03-30T04:18:00.000Z","replies":["c-Ambush_Commander-2006-03-30T04:18:00.000Z-Modifying_permissions_for_existing_special_pages","c-Ambush_Commander-2006-03-30T21:31:00.000Z-Modifying_permissions_for_existing_special_pages"],"text":"Modifying permissions for existing special pages","linkableTitle":"Modifying permissions for existing special pages"}--><h2 id="Modifying_permissions_for_existing_special_pages" data-mw-thread-id="h-Modifying_permissions_for_existing_special_pages-2006-03-30T04:18:00.000Z"><span data-mw-comment-start="" id="h-Modifying_permissions_for_existing_special_pages-2006-03-30T04:18:00.000Z"></span>Modifying permissions for existing special pages<span data-mw-comment-end="h-Modifying_permissions_for_existing_special_pages-2006-03-30T04:18:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=12" title="Edit section: Modifying permissions for existing special pages"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Ambush_Commander-2006-03-30T21:31:00.000Z-Modifying_permissions_for_existing_special_pages">18 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>2 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Ambush_Commander-2006-03-30T04:18:00.000Z","type":"heading","level":0,"id":"h-Modifying_permissions_for_existing_special_pages-2006-03-30T04:18:00.000Z","replies":["c-Ambush_Commander-2006-03-30T04:18:00.000Z-Modifying_permissions_for_existing_special_pages","c-Ambush_Commander-2006-03-30T21:31:00.000Z-Modifying_permissions_for_existing_special_pages"],"text":"Modifying permissions for existing special pages","linkableTitle":"Modifying permissions for existing special pages"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Ambush_Commander-2006-03-30T04:18:00.000Z-Modifying_permissions_for_existing_special_pages"></span>An anon posted this. I don't agree with it's methodology, but the main reason it's not appropriate for this article is that it has nothing to do with <i>new</i> special pages. Just old ones. Anyone know of a more appropriate place to put it? <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-03-30T04:18:00.000Z-Modifying_permissions_for_existing_special_pages" class="ext-discussiontools-init-timestamplink">04:18, 30 March 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-03-30T04:18:00.000Z-Modifying_permissions_for_existing_special_pages"><span id="ooui-php-30" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-03-30T04:18:00.000Z-Modifying_permissions_for_existing_special_pages"></span> </p><p><span data-mw-comment-start="" id="c-Ambush_Commander-2006-03-30T21:31:00.000Z-Modifying_permissions_for_existing_special_pages"></span>This was my post. I postet it because I was looking for that kind of solution for preventing access for some hours in the documentation in here before I used my own brain ;-) But you are totally right, it is not about writing a new page. So I fitted it now in there, where I would have expected it at first and where it is fully logical: at <a href="/wiki/Preventing_Access" class="mw-redirect" title="Preventing Access">Preventing_Access</a>. </p> <dl><dd>Great job. (removed text) :-D <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-03-30T21:31:00.000Z-Modifying_permissions_for_existing_special_pages" class="ext-discussiontools-init-timestamplink">21:31, 30 March 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-03-30T21:31:00.000Z-Modifying_permissions_for_existing_special_pages"><span id="ooui-php-31" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-03-30T21:31:00.000Z-Modifying_permissions_for_existing_special_pages"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Ambush_Commander-2006-05-05T22:23:00.000Z","type":"heading","level":0,"id":"h-Defining_functions\/classes_from_a_function-2006-05-05T22:23:00.000Z","replies":["c-Ambush_Commander-2006-05-05T22:23:00.000Z-Defining_functions\/classes_from_a_function","c-Ambush_Commander-2006-05-07T04:27:00.000Z-Defining_functions\/classes_from_a_function"],"text":"Defining functions\/classes from a function","linkableTitle":"Defining functions\/classes from a function"}--><h2 id="Defining_functions/classes_from_a_function" data-mw-thread-id="h-Defining_functions/classes_from_a_function-2006-05-05T22:23:00.000Z"><span id="Defining_functions.2Fclasses_from_a_function"></span><span data-mw-comment-start="" id="h-Defining_functions/classes_from_a_function-2006-05-05T22:23:00.000Z"></span>Defining functions/classes from a function<span data-mw-comment-end="h-Defining_functions/classes_from_a_function-2006-05-05T22:23:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=13" title="Edit section: Defining functions/classes from a function"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Ambush_Commander-2006-05-07T04:27:00.000Z-Defining_functions/classes_from_a_function">18 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>2 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Ambush_Commander-2006-05-05T22:23:00.000Z","type":"heading","level":0,"id":"h-Defining_functions\/classes_from_a_function-2006-05-05T22:23:00.000Z","replies":["c-Ambush_Commander-2006-05-05T22:23:00.000Z-Defining_functions\/classes_from_a_function","c-Ambush_Commander-2006-05-07T04:27:00.000Z-Defining_functions\/classes_from_a_function"],"text":"Defining functions\/classes from a function","linkableTitle":"Defining functions\/classes from a function"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Ambush_Commander-2006-05-05T22:23:00.000Z-Defining_functions/classes_from_a_function"></span>I don't think that defining classes/functions from inside a function is conceptually the cleanest way to go about doing things. In fact, the developers tend to disagree about where the extension code should go. </p><p>From this page: <a class="external autonumber" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/?sortby=date">[1]</a>, here's an overview of what developers are doing: </p> <ul><li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Cite/SpecialCite.php?revision=13118&view=markup&sortby=date">Cite</a> by avar - inlined inside function, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Makebot/Makebot.php?revision=14019&view=markup&sortby=date">Makebot</a> by robchurch - non-conditional definition, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/NewestPages/NewestPages.php?revision=13973&view=markup&sortby=date">NewestPages</a> by robchurch - non-conditional definition, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Makesysop/SpecialMakesysop.php?revision=13777&view=markup&sortby=date">SpecialMakesysop</a> by timstarling et al - non-conditional definition, uses generic special page class but tells special page not to load file</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Renameuser/SpecialRenameuser.php?revision=13413&view=markup&sortby=date">SpecialRenameuser</a> by avar - inlined inside function, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CrossNamespaceLinks/SpecialCrossNamespaceLinks.php?revision=13410&view=markup&sortby=date">SpecialCrossNamespaceLinks</a> by avar - inlined inside function, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/BoardVote/BoardVote.php?revision=13407&view=markup&sortby=date">BoardVote</a> by vibber - inlined inside function, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SpecialFileList/SpecialFilelist.php?revision=12435&view=markup&sortby=date">SpecialFileList</a> by Magnus Manske - inlined inside function, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/PurgeCache.php?revision=13872&view=markup&sortby=date">PurgeCache</a> by robchurch - unconditional definition, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Filepath/SpecialFilepath.php?view=markup&sortby=date&pathrev=13117">SpecialFilePath</a> by avar - inlined inside function, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/LuceneSearch.php?revision=14062&view=markup&sortby=date">LuceneSearch</a> by vibber - inlined inside function, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/OAI/OAIRepo.php?revision=13618&view=markup&sortby=date">OAI repository</a> by vibber - inlined inside function, extends special page class</li> <li><a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SiteMatrix.php?revision=13055&view=markup&sortby=date">SiteMatrix</a> by vibber - inlined inside function, extends special page class</li></ul> <p><a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-05-05T22:23:00.000Z-Defining_functions/classes_from_a_function" class="ext-discussiontools-init-timestamplink">22:23, 5 May 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-05-05T22:23:00.000Z-Defining_functions/classes_from_a_function"><span id="ooui-php-32" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-05-05T22:23:00.000Z-Defining_functions/classes_from_a_function"></span> </p><p><span data-mw-comment-start="" id="c-Ambush_Commander-2006-05-07T04:27:00.000Z-Defining_functions/classes_from_a_function"></span>Egads! It seems I was barking up the wrong tree to begin with! <a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-05-07T04:27:00.000Z-Defining_functions/classes_from_a_function" class="ext-discussiontools-init-timestamplink">04:27, 7 May 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-05-07T04:27:00.000Z-Defining_functions/classes_from_a_function"><span id="ooui-php-33" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-05-07T04:27:00.000Z-Defining_functions/classes_from_a_function"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-JohanTheGhost-2006-05-20T15:05:00.000Z","type":"heading","level":0,"id":"h-BoardVote_example_--_where_is_it?-2006-05-20T15:05:00.000Z","replies":["c-JohanTheGhost-2006-05-20T15:05:00.000Z-BoardVote_example_--_where_is_it?"],"text":"BoardVote example -- where is it?","linkableTitle":"BoardVote example -- where is it?"}--><h2 id="BoardVote_example_--_where_is_it?" data-mw-thread-id="h-BoardVote_example_--_where_is_it?-2006-05-20T15:05:00.000Z"><span id="BoardVote_example_--_where_is_it.3F"></span><span data-mw-comment-start="" id="h-BoardVote_example_--_where_is_it?-2006-05-20T15:05:00.000Z"></span>BoardVote example -- where is it?<span data-mw-comment-end="h-BoardVote_example_--_where_is_it?-2006-05-20T15:05:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=14" title="Edit section: BoardVote example -- where is it?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Ambush_Commander-2006-05-20T17:27:00.000Z-JohanTheGhost-2006-05-20T15:05:00.000Z">18 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>2 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>2 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-JohanTheGhost-2006-05-20T15:05:00.000Z","type":"heading","level":0,"id":"h-BoardVote_example_--_where_is_it?-2006-05-20T15:05:00.000Z","replies":["c-JohanTheGhost-2006-05-20T15:05:00.000Z-BoardVote_example_--_where_is_it?"],"text":"BoardVote example -- where is it?","linkableTitle":"BoardVote example -- where is it?"}--></div></div></div> <p><span data-mw-comment-start="" id="c-JohanTheGhost-2006-05-20T15:05:00.000Z-BoardVote_example_--_where_is_it?"></span>The article says: </p> <dl><dd><i>If this is unclear, you might check out the BoardVote.php file in the extentions/BoardVote directory, as it does things the right way.</i></dd></dl> <p>Great, but BoardVote.php is not in <i>my</i> extentions/BoardVote directory. If this is supposed to be the canonical example, how about publishing it where folks can see it -- like the <a href="/w/index.php?title=Category:MediaWiki_extensions&action=edit&redlink=1" class="new" title="Category:MediaWiki extensions (page does not exist)">extensions category</a> here? <a href="/wiki/User:JohanTheGhost" title="User:JohanTheGhost">JohanTheGhost</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-JohanTheGhost-2006-05-20T15:05:00.000Z-BoardVote_example_--_where_is_it?" class="ext-discussiontools-init-timestamplink">15:05, 20 May 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-JohanTheGhost-2006-05-20T15:05:00.000Z-BoardVote_example_--_where_is_it?"><span id="ooui-php-34" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-JohanTheGhost-2006-05-20T15:05:00.000Z-BoardVote_example_--_where_is_it?"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Ambush_Commander-2006-05-20T17:27:00.000Z-JohanTheGhost-2006-05-20T15:05:00.000Z"></span>I used to not endorse that statement, but it prompted me to check out a bunch of the other extensions by leading developers, and it turns out that inlining the class definition in the function is the commonly accepted way. Please see the above topic, Defining functions/classes from a function.</dd></dl> <dl><dd>You can view the <a class="external text" href="https://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/BoardVote/BoardVote.php?view=markup">HEAD version of the BoardVote extension in the SVN repository</a>. Personally, I wouldn't use it as a template since it's a bit too complicatd. â <span style="font-variant:small-caps;font-family:sans-serif;"><a href="/w/index.php?title=User:Ambush_Commander&action=edit&redlink=1" class="new" title="User:Ambush Commander (page does not exist)">Ambush Commander</a></span><sup style="font-family:serif;">(<a href="/w/index.php?title=User_talk:Ambush_Commander&action=edit&redlink=1" class="new" title="User talk:Ambush Commander (page does not exist)">Talk</a>)</sup> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ambush_Commander-2006-05-20T17:27:00.000Z-JohanTheGhost-2006-05-20T15:05:00.000Z" class="ext-discussiontools-init-timestamplink">17:27, 20 May 2006 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ambush_Commander-2006-05-20T17:27:00.000Z-JohanTheGhost-2006-05-20T15:05:00.000Z"><span id="ooui-php-35" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ambush_Commander-2006-05-20T17:27:00.000Z-JohanTheGhost-2006-05-20T15:05:00.000Z"></span></dd></dl> <p><br/> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Question..." data-mw-thread-id="h-Question..."><span data-mw-comment-start="" id="h-Question..."></span>Question...<span data-mw-comment-end="h-Question..."></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=15" title="Edit section: Question..."><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Ok can some one explain to me why when I follow the instructions on this page I end up with a blank Special Pages page? </p> <dl><dd>I'm using Fedora Core 5</dd> <dd>MediaWiki: 1.9.3</dd> <dd>PHP: 5.1.6 (apache2handler)</dd> <dd>MySQL: 5.0.27</dd></dl> <p>April 17 2007 </p> <dl><dd>add the following line in MyExtension_body.php</dd></dl> <pre> # Do stuff $output = '<b>Hello World!</b>'; </pre> <p>Vic 21:51, 23 April 2007 (UTC) </p> <dl><dd><dl><dd>Vic add this to MyExtension_body.php right after your <b><?PHP</b> line:</dd></dl></dd></dl> <pre>error_reporting(1);</pre>This should give you the error instead of a blank page 00:52, 25 April 2007 (UTC) <p><br/> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Special_Page_with_MW_Version_1.6.9" data-mw-thread-id="h-Special_Page_with_MW_Version_1.6.9"><span data-mw-comment-start="" id="h-Special_Page_with_MW_Version_1.6.9"></span>Special Page with MW Version 1.6.9<span data-mw-comment-end="h-Special_Page_with_MW_Version_1.6.9"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=16" title="Edit section: Special Page with MW Version 1.6.9"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Hi, I've written a special page with the proposed template and it works really fine with 1.9.3. But under V 1.6.9 I can't call that page (It is listed under Special:Version, but not at Special pages and if I call it directl it doesn't exist) :-( I googled a little bit and found that this problem exists. Do you know how to solve it? </p><p>Thanx Chris </p> </div> <div class="plainlinks" style="border: 2px solid #99bbff; padding: 0.4em; border-top: none; border-right: none; background: #f9f9ff; padding-top: 0;"><b>End of content from <a href="https://meta.wikimedia.org/wiki/" class="extiw" title="meta:">meta.wikimedia.org</a>.</b><br/> <small>Note that the above conversation may have been edited or added to since the transfer. If in doubt, check the <a class="external text" href="https://www.mediawiki.org/w/index.php?title=Manual_talk:Special_pages&action=history">edit history</a>.</small></div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-89.0.127.224-2007-10-01T23:58:00.000Z","type":"heading","level":0,"id":"h-Other_Important_Files?-2007-10-01T23:58:00.000Z","replies":["c-89.0.127.224-2007-10-01T23:58:00.000Z-Other_Important_Files?","h-Making_a_Special_Page_Printable-Other_Important_Files?-2007-10-31T16:36:00.000Z"],"text":"Other Important Files?","linkableTitle":"Other Important Files?"}--><h2 id="Other_Important_Files?" data-mw-thread-id="h-Other_Important_Files?-2007-10-01T23:58:00.000Z"><span id="Other_Important_Files.3F"></span><span data-mw-comment-start="" id="h-Other_Important_Files?-2007-10-01T23:58:00.000Z"></span>Other Important Files?<span data-mw-comment-end="h-Other_Important_Files?-2007-10-01T23:58:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=17" title="Edit section: Other Important Files?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-67.101.25.82-2011-06-21T14:01:00.000Z-68.80.149.10-2007-10-31T16:36:00.000Z">13 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>3 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>3 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-89.0.127.224-2007-10-01T23:58:00.000Z","type":"heading","level":0,"id":"h-Other_Important_Files?-2007-10-01T23:58:00.000Z","replies":["c-89.0.127.224-2007-10-01T23:58:00.000Z-Other_Important_Files?","h-Making_a_Special_Page_Printable-Other_Important_Files?-2007-10-31T16:36:00.000Z"],"text":"Other Important Files?","linkableTitle":"Other Important Files?"}--></div></div></div> <p><span data-mw-comment-start="" id="c-89.0.127.224-2007-10-01T23:58:00.000Z-Other_Important_Files?"></span>I really didn't get where I'm supposed to stick this stuff. Lets say I want to make it so that my special page does not appear in Special:Specialpages, what function exactly am I supposed to modify in the above code? Can anyone clarify please? --Nate <a href="/w/index.php?title=User:89.0.127.224&action=edit&redlink=1" class="new" title="User:89.0.127.224 (page does not exist)">89.0.127.224</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-89.0.127.224-2007-10-01T23:58:00.000Z-Other_Important_Files?" class="ext-discussiontools-init-timestamplink">23:58, 1 October 2007 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-89.0.127.224-2007-10-01T23:58:00.000Z-Other_Important_Files?"><span id="ooui-php-36" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-89.0.127.224-2007-10-01T23:58:00.000Z-Other_Important_Files?"></span> </p><p><br/> </p> <div class="mw-heading mw-heading3"><h3 id="Making_a_Special_Page_Printable" data-mw-thread-id="h-Making_a_Special_Page_Printable-Other_Important_Files?-2007-10-31T16:36:00.000Z"><span data-mw-comment-start="" id="h-Making_a_Special_Page_Printable-Other_Important_Files?-2007-10-31T16:36:00.000Z"></span>Making a Special Page Printable<span data-mw-comment-end="h-Making_a_Special_Page_Printable-Other_Important_Files?-2007-10-31T16:36:00.000Z"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=18" title="Edit section: Making a Special Page Printable"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <hr/> <p><span data-mw-comment-start="" id="c-68.80.149.10-2007-10-31T16:36:00.000Z-Making_a_Special_Page_Printable"></span>How do I go about this? I have a special page that I created that needs to be printable. If I pass in a variable to tell the Page it should be printable is there a function that should be called in the code for that page to let the parser know to make it printable instead of using the standard display? </p><p>Thanks Will </p> <dl><dd>I believe that just by printing the page, the browser will automatically figure out (using the <code>@media print { ... }</code> calls in the CSS) the correct way to display it for printing. <a href="/w/index.php?title=User:68.80.149.10&action=edit&redlink=1" class="new" title="User:68.80.149.10 (page does not exist)">68.80.149.10</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-68.80.149.10-2007-10-31T16:36:00.000Z-Making_a_Special_Page_Printable" class="ext-discussiontools-init-timestamplink">16:36, 31 October 2007 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-68.80.149.10-2007-10-31T16:36:00.000Z-Making_a_Special_Page_Printable"><span id="ooui-php-37" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-68.80.149.10-2007-10-31T16:36:00.000Z-Making_a_Special_Page_Printable"></span></dd></dl> <dl><dd><span data-mw-comment-start="" id="c-67.101.25.82-2011-06-21T14:01:00.000Z-68.80.149.10-2007-10-31T16:36:00.000Z"></span>Sorry I don't understand the above response, but I do see that if you add "&printable=yes" to the special page's URL, it will produce a printer-friendly page. I am hoping to find a way to add that to special pages' sidebar, or as a link on each special page, but so far that is a mystery. User must add the string to the URL manually. <a href="/wiki/Special:Contributions/67.101.25.82" title="Special:Contributions/67.101.25.82">67.101.25.82</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-67.101.25.82-2011-06-21T14:01:00.000Z-68.80.149.10-2007-10-31T16:36:00.000Z" class="ext-discussiontools-init-timestamplink">14:01, 21 June 2011 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-67.101.25.82-2011-06-21T14:01:00.000Z-68.80.149.10-2007-10-31T16:36:00.000Z"><span id="ooui-php-38" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-67.101.25.82-2011-06-21T14:01:00.000Z-68.80.149.10-2007-10-31T16:36:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-68.80.149.10-2007-10-31T16:34:00.000Z","type":"heading","level":0,"id":"h-Cache_Question-2007-10-31T16:34:00.000Z","replies":["c-68.80.149.10-2007-10-31T16:34:00.000Z-Cache_Question"],"text":"Cache Question","linkableTitle":"Cache Question"}--><h2 id="Cache_Question" data-mw-thread-id="h-Cache_Question-2007-10-31T16:34:00.000Z"><span data-mw-comment-start="" id="h-Cache_Question-2007-10-31T16:34:00.000Z"></span>Cache Question<span data-mw-comment-end="h-Cache_Question-2007-10-31T16:34:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=19" title="Edit section: Cache Question"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-68.80.149.10-2007-10-31T16:34:00.000Z-Cache_Question">17 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-68.80.149.10-2007-10-31T16:34:00.000Z","type":"heading","level":0,"id":"h-Cache_Question-2007-10-31T16:34:00.000Z","replies":["c-68.80.149.10-2007-10-31T16:34:00.000Z-Cache_Question"],"text":"Cache Question","linkableTitle":"Cache Question"}--></div></div></div> <p><span data-mw-comment-start="" id="c-68.80.149.10-2007-10-31T16:34:00.000Z-Cache_Question"></span>Regarding caching, I was wondering how to go about doing an object cache. I assume MediaWiki abstracts the underlying cache systems (memcahed, APC, DB cache, etc), and was just wondering what class I would need to call to do some basic object caching. I can figure it out from there with the help of the <a class="external text" href="https://svn.wikimedia.org/doc/">code documentation</a>, just need to be pointed at the right class ;) </p><p>Thanks, <a href="/w/index.php?title=User:68.80.149.10&action=edit&redlink=1" class="new" title="User:68.80.149.10 (page does not exist)">68.80.149.10</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-68.80.149.10-2007-10-31T16:34:00.000Z-Cache_Question" class="ext-discussiontools-init-timestamplink">16:34, 31 October 2007 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-68.80.149.10-2007-10-31T16:34:00.000Z-Cache_Question"><span id="ooui-php-39" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-68.80.149.10-2007-10-31T16:34:00.000Z-Cache_Question"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Egingell-2008-01-08T03:05:00.000Z","type":"heading","level":0,"id":"h-Special:Statistics-2008-01-08T03:05:00.000Z","replies":["c-Egingell-2008-01-08T03:05:00.000Z-Special:Statistics"],"text":"Special:Statistics","linkableTitle":"Special:Statistics"}--><h2 id="Special:Statistics" data-mw-thread-id="h-Special:Statistics-2008-01-08T03:05:00.000Z"><span data-mw-comment-start="" id="h-Special:Statistics-2008-01-08T03:05:00.000Z"></span>Special:Statistics<span data-mw-comment-end="h-Special:Statistics-2008-01-08T03:05:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=20" title="Edit section: Special:Statistics"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Egingell-2008-01-08T03:05:00.000Z-Special:Statistics">16 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Egingell-2008-01-08T03:05:00.000Z","type":"heading","level":0,"id":"h-Special:Statistics-2008-01-08T03:05:00.000Z","replies":["c-Egingell-2008-01-08T03:05:00.000Z-Special:Statistics"],"text":"Special:Statistics","linkableTitle":"Special:Statistics"}--></div></div></div> <p><a rel="nofollow" class="external text" href="http://addons.wowkoe.com/action/view/Special:Statistics"><span data-mw-comment-start="" id="c-Egingell-2008-01-08T03:05:00.000Z-Special:Statistics"></span>My Special:Statistics</a> page has a <i>huge</i> number (18,446,744,073,709,551,614) listed in "Excluding those, there are $2 pages that are probably legitimate content pages.". Any idea why this is? --<a href="/wiki/User:Egingell" title="User:Egingell">Egingell</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Egingell-2008-01-08T03:05:00.000Z-Special:Statistics" class="ext-discussiontools-init-timestamplink">03:05, 8 January 2008 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Egingell-2008-01-08T03:05:00.000Z-Special:Statistics"><span id="ooui-php-40" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Egingell-2008-01-08T03:05:00.000Z-Special:Statistics"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Cneubauer-2008-02-11T22:36:00.000Z","type":"heading","level":0,"id":"h-Problem_with_SpecialPage_hooks-2008-02-11T22:36:00.000Z","replies":["c-Cneubauer-2008-02-11T22:36:00.000Z-Problem_with_SpecialPage_hooks"],"text":"Problem with SpecialPage hooks","linkableTitle":"Problem with SpecialPage hooks"}--><h2 id="Problem_with_SpecialPage_hooks" data-mw-thread-id="h-Problem_with_SpecialPage_hooks-2008-02-11T22:36:00.000Z"><span data-mw-comment-start="" id="h-Problem_with_SpecialPage_hooks-2008-02-11T22:36:00.000Z"></span>Problem with SpecialPage hooks<span data-mw-comment-end="h-Problem_with_SpecialPage_hooks-2008-02-11T22:36:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=21" title="Edit section: Problem with SpecialPage hooks"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Cneubauer-2008-02-11T22:36:00.000Z-Problem_with_SpecialPage_hooks">16 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Cneubauer-2008-02-11T22:36:00.000Z","type":"heading","level":0,"id":"h-Problem_with_SpecialPage_hooks-2008-02-11T22:36:00.000Z","replies":["c-Cneubauer-2008-02-11T22:36:00.000Z-Problem_with_SpecialPage_hooks"],"text":"Problem with SpecialPage hooks","linkableTitle":"Problem with SpecialPage hooks"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Cneubauer-2008-02-11T22:36:00.000Z-Problem_with_SpecialPage_hooks"></span>As per <a href="https://bugzilla.wikimedia.org/show_bug.cgi?id=10719" class="extiw" title="bugzilla:10719">bugzilla:10719</a>, extensions that subclass SpecialPage and implement their own execute() function have a couple of drawbacks. The main one being they don't fire off all the SpecialPage hooks that SpecialPage::execute() fires. Also, the subclass execute() function has to call setHeaders() and do it's own user permission checking. I added some information on all this and suggested a work around here: <a href="/wiki/Manual:Special_pages#The_Body_File" title="Manual:Special pages">Manual:Special pages#The Body File</a>. --<a href="/wiki/User:Cneubauer" title="User:Cneubauer">Cneubauer</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Cneubauer-2008-02-11T22:36:00.000Z-Problem_with_SpecialPage_hooks" class="ext-discussiontools-init-timestamplink">22:36, 11 February 2008 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Cneubauer-2008-02-11T22:36:00.000Z-Problem_with_SpecialPage_hooks"><span id="ooui-php-41" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Cneubauer-2008-02-11T22:36:00.000Z-Problem_with_SpecialPage_hooks"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-JanCK-2008-04-11T11:43:00.000Z","type":"heading","level":0,"id":"h-php4-2008-04-11T11:43:00.000Z","replies":["c-JanCK-2008-04-11T11:43:00.000Z-php4"],"text":"php4","linkableTitle":"php4"}--><h2 id="php4" data-mw-thread-id="h-php4-2008-04-11T11:43:00.000Z"><span data-mw-comment-start="" id="h-php4-2008-04-11T11:43:00.000Z"></span>php4<span data-mw-comment-end="h-php4-2008-04-11T11:43:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=22" title="Edit section: php4"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Cneubauer-2008-04-11T12:12:00.000Z-JanCK-2008-04-11T11:43:00.000Z">16 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>2 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>2 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-JanCK-2008-04-11T11:43:00.000Z","type":"heading","level":0,"id":"h-php4-2008-04-11T11:43:00.000Z","replies":["c-JanCK-2008-04-11T11:43:00.000Z-php4"],"text":"php4","linkableTitle":"php4"}--></div></div></div> <p><span data-mw-comment-start="" id="c-JanCK-2008-04-11T11:43:00.000Z-php4"></span>This manual includes a note saying: <i>It should be pointed out that the method used below will not work on PHP 4:</i>. Where can I find the description on how to write a Special page-extension with Mediawiki 1.6 and PHP 4? -- <a href="/w/index.php?title=User:JanCK&action=edit&redlink=1" class="new" title="User:JanCK (page does not exist)">JanCK</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-JanCK-2008-04-11T11:43:00.000Z-php4" class="ext-discussiontools-init-timestamplink">11:43, 11 April 2008 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-JanCK-2008-04-11T11:43:00.000Z-php4"><span id="ooui-php-42" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-JanCK-2008-04-11T11:43:00.000Z-php4"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Cneubauer-2008-04-11T12:12:00.000Z-JanCK-2008-04-11T11:43:00.000Z"></span>Try an old revision of the page. <a class="external autonumber" href="https://www.mediawiki.org/w/index.php?title=Manual:Special_pages&oldid=107255#Creating_a_simple_new_special_page">[2]</a> should probably work. --<a href="/wiki/User:Cneubauer" title="User:Cneubauer">Cneubauer</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Cneubauer-2008-04-11T12:12:00.000Z-JanCK-2008-04-11T11:43:00.000Z" class="ext-discussiontools-init-timestamplink">12:12, 11 April 2008 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Cneubauer-2008-04-11T12:12:00.000Z-JanCK-2008-04-11T11:43:00.000Z"><span id="ooui-php-43" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Cneubauer-2008-04-11T12:12:00.000Z-JanCK-2008-04-11T11:43:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Ryan1414-2008-07-03T01:37:00.000Z","type":"heading","level":0,"id":"h-landing_page-2008-07-03T01:37:00.000Z","replies":["c-Ryan1414-2008-07-03T01:37:00.000Z-landing_page"],"text":"landing page","linkableTitle":"landing page"}--><h2 id="landing_page" data-mw-thread-id="h-landing_page-2008-07-03T01:37:00.000Z"><span data-mw-comment-start="" id="h-landing_page-2008-07-03T01:37:00.000Z"></span>landing page<span data-mw-comment-end="h-landing_page-2008-07-03T01:37:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=23" title="Edit section: landing page"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Ryan1414-2008-07-03T01:37:00.000Z-landing_page">16 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Ryan1414-2008-07-03T01:37:00.000Z","type":"heading","level":0,"id":"h-landing_page-2008-07-03T01:37:00.000Z","replies":["c-Ryan1414-2008-07-03T01:37:00.000Z-landing_page"],"text":"landing page","linkableTitle":"landing page"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Ryan1414-2008-07-03T01:37:00.000Z-landing_page"></span>I cannot find anything in the manual to create a landing page like wikipedia.org have. Can someone tell me how I can make a landing page like wikipedia's, but the only 2 differences will be that I will have a different Image and it will be a size of 800x600 pixels(i want to be able to write some text underneath the image too). I want the search box removed and replaced with a enter button and a leave button. the enter button will take people to the Main_Page and the leave button will take people to another url. I am not a professional programmer so could you explain it to me step by step. for example, open up main.php and put the code main=45435HTMLetcetc underneath the existing code on line 45 underneath 4534534head.php, then create a new file and upload it in the home directory etc etc.<a href="/w/index.php?title=User:Ryan1414&action=edit&redlink=1" class="new" title="User:Ryan1414 (page does not exist)">Ryan1414</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Ryan1414-2008-07-03T01:37:00.000Z-landing_page" class="ext-discussiontools-init-timestamplink">01:37, 3 July 2008 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ryan1414-2008-07-03T01:37:00.000Z-landing_page"><span id="ooui-php-44" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Ryan1414-2008-07-03T01:37:00.000Z-landing_page"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="looking_for_developer_to_modify_wiki" data-mw-thread-id="h-looking_for_developer_to_modify_wiki"><span data-mw-comment-start="" id="h-looking_for_developer_to_modify_wiki"></span>looking for developer to modify wiki<span data-mw-comment-end="h-looking_for_developer_to_modify_wiki"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=24" title="Edit section: looking for developer to modify wiki"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>i am looking for a developer who can code new functions into wiki. please have a look at <a rel="nofollow" class="external free" href="http://www.wikinvest.com/stock/Apple_(AAPL)">http://www.wikinvest.com/stock/Apple_(AAPL)</a> i want to add functions like bulls, bears and chart function to wiki. i am ready to pay for the final product. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-206.231.255.81-2009-05-06T21:10:00.000Z","type":"heading","level":0,"id":"h-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION-2009-05-06T21:10:00.000Z","replies":["c-206.231.255.81-2009-05-06T21:10:00.000Z-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION"],"text":"Error message: Parse error: syntax error, unexpected $end, expecting T_FUNCTION in","linkableTitle":"Error message: Parse error: syntax error, unexpected $end, expecting T FUNCTION in"}--><h2 id="Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION_in" data-mw-thread-id="h-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION-2009-05-06T21:10:00.000Z"><span id="Error_message:_Parse_error:_syntax_error.2C_unexpected_.24end.2C_expecting_T_FUNCTION_in"></span><span data-mw-comment-start="" id="h-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION-2009-05-06T21:10:00.000Z"></span>Error message: Parse error: syntax error, unexpected $end, expecting T_FUNCTION in<span data-mw-comment-end="h-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION-2009-05-06T21:10:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=25" title="Edit section: Error message: Parse error: syntax error, unexpected $end, expecting T_FUNCTION in"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-206.231.255.81-2009-05-06T21:10:00.000Z-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION">15 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-206.231.255.81-2009-05-06T21:10:00.000Z","type":"heading","level":0,"id":"h-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION-2009-05-06T21:10:00.000Z","replies":["c-206.231.255.81-2009-05-06T21:10:00.000Z-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION"],"text":"Error message: Parse error: syntax error, unexpected $end, expecting T_FUNCTION in","linkableTitle":"Error message: Parse error: syntax error, unexpected $end, expecting T FUNCTION in"}--></div></div></div> <p><span data-mw-comment-start="" id="c-206.231.255.81-2009-05-06T21:10:00.000Z-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION"></span>Hi, I am trying to write an specialpage, now i am getting this error message if i try to run the special page: "Parse error: syntax error, unexpected $end, expecting T_FUNCTION in" The error is located in the end of my body.php file. </p><p>Someone knowing this error? </p><p>Thanks Niels </p> <dl><dd>Hate that PHP error - basically means you forgot to close a brace (one of these { ) somewhere in your document. Go back, check your functions, and make sure you closed each one properly. <a href="/wiki/Special:Contributions/206.231.255.81" title="Special:Contributions/206.231.255.81">206.231.255.81</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-206.231.255.81-2009-05-06T21:10:00.000Z-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION" class="ext-discussiontools-init-timestamplink">21:10, 6 May 2009 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-206.231.255.81-2009-05-06T21:10:00.000Z-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION"><span id="ooui-php-45" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-206.231.255.81-2009-05-06T21:10:00.000Z-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Problem_with_the_setup_instructions_under_1.13.3" data-mw-thread-id="h-Problem_with_the_setup_instructions_under_1.13.3"><span data-mw-comment-start="" id="h-Problem_with_the_setup_instructions_under_1.13.3"></span>Problem with the setup instructions under 1.13.3<span data-mw-comment-end="h-Problem_with_the_setup_instructions_under_1.13.3"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=26" title="Edit section: Problem with the setup instructions under 1.13.3"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>I had these problems when I followed the setup instructions to the letter with 1.13.3: </p> <ul><li>$wgExtensionCredits version should be a number, not a string (I've fixed the page for this)</li> <li>if I include descriptionmsg it fails for some reason (despite being defined in the i18n file)</li> <li>if I include the $wgExtensionAliasesFiles line it fails</li> <li>if I include $this->setHeaders() in execute it fails</li></ul> <p>for all cases it fails in the most frustrating way - no log messages of any sort, if I click on (eg) Special Pages it just ignores it and stays on the current page. </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-142.164.181.107-2009-06-23T20:08:00.000Z","type":"heading","level":0,"id":"h-Download_further_down?-2009-06-23T20:08:00.000Z","replies":["c-142.164.181.107-2009-06-23T20:08:00.000Z-Download_further_down?"],"text":"Download further down?","linkableTitle":"Download further down?"}--><h2 id="Download_further_down?" data-mw-thread-id="h-Download_further_down?-2009-06-23T20:08:00.000Z"><span id="Download_further_down.3F"></span><span data-mw-comment-start="" id="h-Download_further_down?-2009-06-23T20:08:00.000Z"></span>Download further down?<span data-mw-comment-end="h-Download_further_down?-2009-06-23T20:08:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=27" title="Edit section: Download further down?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-142.164.181.107-2009-06-23T20:08:00.000Z-Download_further_down?">15 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-142.164.181.107-2009-06-23T20:08:00.000Z","type":"heading","level":0,"id":"h-Download_further_down?-2009-06-23T20:08:00.000Z","replies":["c-142.164.181.107-2009-06-23T20:08:00.000Z-Download_further_down?"],"text":"Download further down?","linkableTitle":"Download further down?"}--></div></div></div> <p><span data-mw-comment-start="" id="c-142.164.181.107-2009-06-23T20:08:00.000Z-Download_further_down?"></span>At the " Basic special page template" section, "A working copy is available for download, see further down" </p> <dl><dd>Where?</dd></dl> <dl><dd><dl><dd><a href="/wiki/Manual:Special_pages#The_Alias_files" title="Manual:Special pages">Manual:Special_pages#The Alias files</a> - link at the bottom of that section. <a href="/wiki/Special:Contributions/142.164.181.107" title="Special:Contributions/142.164.181.107">142.164.181.107</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-142.164.181.107-2009-06-23T20:08:00.000Z-Download_further_down?" class="ext-discussiontools-init-timestamplink">20:08, 23 June 2009 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-142.164.181.107-2009-06-23T20:08:00.000Z-Download_further_down?"><span id="ooui-php-46" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-142.164.181.107-2009-06-23T20:08:00.000Z-Download_further_down?"></span></dd></dl></dd></dl> <p><br/> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-24.28.83.55-2009-07-24T05:23:00.000Z","type":"heading","level":0,"id":"h-setup_special_page-2009-07-24T05:23:00.000Z","replies":["c-24.28.83.55-2009-07-24T05:23:00.000Z-setup_special_page"],"text":"setup special page","linkableTitle":"setup special page"}--><h2 id="setup_special_page" data-mw-thread-id="h-setup_special_page-2009-07-24T05:23:00.000Z"><span data-mw-comment-start="" id="h-setup_special_page-2009-07-24T05:23:00.000Z"></span>setup special page<span data-mw-comment-end="h-setup_special_page-2009-07-24T05:23:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=28" title="Edit section: setup special page"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-146.6.204.46-2009-07-24T20:28:00.000Z-24.28.83.55-2009-07-24T05:23:00.000Z">15 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>2 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>2 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-24.28.83.55-2009-07-24T05:23:00.000Z","type":"heading","level":0,"id":"h-setup_special_page-2009-07-24T05:23:00.000Z","replies":["c-24.28.83.55-2009-07-24T05:23:00.000Z-setup_special_page"],"text":"setup special page","linkableTitle":"setup special page"}--></div></div></div> <p><span data-mw-comment-start="" id="c-24.28.83.55-2009-07-24T05:23:00.000Z-setup_special_page"></span>I'm trying to create a new special page on my wiki, and I must be missing something - I don't see any information here about how to access the page. I have created the four files, and put them in extensions/MyExtension. I've tried going to /Special:MyExtension and /Extension:MyExtension - the first errors, and the second is empty. Do I have to register the new page in another file somewhere? The instructions could be much clearer. <a href="/wiki/Special:Contributions/24.28.83.55" title="Special:Contributions/24.28.83.55">24.28.83.55</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-24.28.83.55-2009-07-24T05:23:00.000Z-setup_special_page" class="ext-discussiontools-init-timestamplink">05:23, 24 July 2009 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-24.28.83.55-2009-07-24T05:23:00.000Z-setup_special_page"><span id="ooui-php-47" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-24.28.83.55-2009-07-24T05:23:00.000Z-setup_special_page"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-146.6.204.46-2009-07-24T20:28:00.000Z-24.28.83.55-2009-07-24T05:23:00.000Z"></span>In case someone has the same problem: yes, you do need to "register" the page in another file somewhere, in LocalSettings.php, like any other 'extension'. This was mentioned obliquely on the page, as the error output of one of the php scripts. I personally copied and pasted all the php code without reading it - I wanted to get the page working before delving into the details. I might have been less hasty, but in any case I have edited the page to be a little more clear.</dd></dl> <dl><dd>This requirement may be obvious to some more experienced mediawiki users - its obvious to me in retrospect. I had this problem because I was attempting to create a "Special Page" and not an "Extension" - I did not realize that "custom Special Page" is exactly the same thing as an "Extension" - for all I knew, the software scans files in the extensions directory looking for references to the SpecialPage class. <a href="/wiki/Special:Contributions/146.6.204.46" title="Special:Contributions/146.6.204.46">146.6.204.46</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-146.6.204.46-2009-07-24T20:28:00.000Z-24.28.83.55-2009-07-24T05:23:00.000Z" class="ext-discussiontools-init-timestamplink">20:28, 24 July 2009 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-146.6.204.46-2009-07-24T20:28:00.000Z-24.28.83.55-2009-07-24T05:23:00.000Z"><span id="ooui-php-48" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-146.6.204.46-2009-07-24T20:28:00.000Z-24.28.83.55-2009-07-24T05:23:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Jens_Rusch-2009-09-25T06:49:00.000Z","type":"heading","level":0,"id":"h-Wann_endlich_in_Deutsch?-2009-09-25T06:49:00.000Z","replies":["c-Jens_Rusch-2009-09-25T06:49:00.000Z-Wann_endlich_in_Deutsch?"],"text":"Wann endlich in Deutsch?","linkableTitle":"Wann endlich in Deutsch?"}--><h2 id="Wann_endlich_in_Deutsch?" data-mw-thread-id="h-Wann_endlich_in_Deutsch?-2009-09-25T06:49:00.000Z"><span id="Wann_endlich_in_Deutsch.3F"></span><span data-mw-comment-start="" id="h-Wann_endlich_in_Deutsch?-2009-09-25T06:49:00.000Z"></span>Wann endlich in Deutsch?<span data-mw-comment-end="h-Wann_endlich_in_Deutsch?-2009-09-25T06:49:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=29" title="Edit section: Wann endlich in Deutsch?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-213.214.18.64-2010-01-14T12:11:00.000Z-78.52.97.34-2009-10-26T18:49:00.000Z">14 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>3 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>3 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Jens_Rusch-2009-09-25T06:49:00.000Z","type":"heading","level":0,"id":"h-Wann_endlich_in_Deutsch?-2009-09-25T06:49:00.000Z","replies":["c-Jens_Rusch-2009-09-25T06:49:00.000Z-Wann_endlich_in_Deutsch?"],"text":"Wann endlich in Deutsch?","linkableTitle":"Wann endlich in Deutsch?"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Jens_Rusch-2009-09-25T06:49:00.000Z-Wann_endlich_in_Deutsch?"></span>Es wäre ungeheuer notwendig, wenn es diese Erläuterungen endlich auch in deutscher Sprache gäbe. So gut kann das amerikanische Englisch der Durchschnittsdeutschen nicht sein, um hier keine Fehler zu begehen.--<a href="/w/index.php?title=User:Jens_Rusch&action=edit&redlink=1" class="new" title="User:Jens Rusch (page does not exist)">Jens Rusch</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Jens_Rusch-2009-09-25T06:49:00.000Z-Wann_endlich_in_Deutsch?" class="ext-discussiontools-init-timestamplink">06:49, 25 September 2009 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jens_Rusch-2009-09-25T06:49:00.000Z-Wann_endlich_in_Deutsch?"><span id="ooui-php-49" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Jens_Rusch-2009-09-25T06:49:00.000Z-Wann_endlich_in_Deutsch?"></span> </p> <ul><li><span data-mw-comment-start="" id="c-78.52.97.34-2009-10-26T18:49:00.000Z-Jens_Rusch-2009-09-25T06:49:00.000Z"></span>Doch, kann es ;) Ausserdemski muss man dafĂźr nur Code-English kĂśnnen, kein AE. <a href="/wiki/Special:Contributions/78.52.97.34" title="Special:Contributions/78.52.97.34">78.52.97.34</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-78.52.97.34-2009-10-26T18:49:00.000Z-Jens_Rusch-2009-09-25T06:49:00.000Z" class="ext-discussiontools-init-timestamplink">18:49, 26 October 2009 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-78.52.97.34-2009-10-26T18:49:00.000Z-Jens_Rusch-2009-09-25T06:49:00.000Z"><span id="ooui-php-50" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-78.52.97.34-2009-10-26T18:49:00.000Z-Jens_Rusch-2009-09-25T06:49:00.000Z"></span></li></ul> <ul><li><ul><li><span data-mw-comment-start="" id="c-213.214.18.64-2010-01-14T12:11:00.000Z-78.52.97.34-2009-10-26T18:49:00.000Z"></span>Eine deutsche Ăbersetzung wäre dennoch wĂźnschenswert. Ich stolper jedesmal in irgendwelche Fallen. Bei Zeit und muse setz ich mich mal ran. --<a href="/wiki/Special:Contributions/213.214.18.64" title="Special:Contributions/213.214.18.64">213.214.18.64</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-213.214.18.64-2010-01-14T12:11:00.000Z-78.52.97.34-2009-10-26T18:49:00.000Z" class="ext-discussiontools-init-timestamplink">12:11, 14 January 2010 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-213.214.18.64-2010-01-14T12:11:00.000Z-78.52.97.34-2009-10-26T18:49:00.000Z"><span id="ooui-php-51" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-213.214.18.64-2010-01-14T12:11:00.000Z-78.52.97.34-2009-10-26T18:49:00.000Z"></span></li></ul></li></ul> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-88.102.135.201-2010-05-19T22:50:00.000Z","type":"heading","level":0,"id":"h-Make_special_page_transcludable-2010-05-19T22:50:00.000Z","replies":["c-88.102.135.201-2010-05-19T22:50:00.000Z-Make_special_page_transcludable","c-Diego_Grez-2010-05-19T22:51:00.000Z-Make_special_page_transcludable","c-88.102.135.201-2010-05-20T00:26:00.000Z-Make_special_page_transcludable"],"text":"Make special page transcludable","linkableTitle":"Make special page transcludable"}--><h2 id="Make_special_page_transcludable" data-mw-thread-id="h-Make_special_page_transcludable-2010-05-19T22:50:00.000Z"><span data-mw-comment-start="" id="h-Make_special_page_transcludable-2010-05-19T22:50:00.000Z"></span>Make special page transcludable<span data-mw-comment-end="h-Make_special_page_transcludable-2010-05-19T22:50:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=30" title="Edit section: Make special page transcludable"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-88.102.135.201-2010-05-20T00:26:00.000Z-Make_special_page_transcludable">14 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>3 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>2 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-88.102.135.201-2010-05-19T22:50:00.000Z","type":"heading","level":0,"id":"h-Make_special_page_transcludable-2010-05-19T22:50:00.000Z","replies":["c-88.102.135.201-2010-05-19T22:50:00.000Z-Make_special_page_transcludable","c-Diego_Grez-2010-05-19T22:51:00.000Z-Make_special_page_transcludable","c-88.102.135.201-2010-05-20T00:26:00.000Z-Make_special_page_transcludable"],"text":"Make special page transcludable","linkableTitle":"Make special page transcludable"}--></div></div></div> <p><span data-mw-comment-start="" id="c-88.102.135.201-2010-05-19T22:50:00.000Z-Make_special_page_transcludable"></span>I can guess from the documentation availabre that there is a way of making ones SpecialPage transcludable (meaning it can be included in other pages like this: {{Special:mySpecialPage}}. However I couln't make it work for my special page. When I add the code to an article it only generates a link to the special page. No transclusion. Any ideas? </p> <dl><dd>You must open source of that Special page and locate line which contains <i>extends SpecialPage {</i> and change that to <i>extends IncludableSpecialPage {</i></dd> <dd>However, there might be some problems with that <dl><dd><a href="/wiki/Manual:Special_pages#OutputPage-.3EaddWikiText.28.29" title="Manual:Special pages">Manual:Special_pages#OutputPage-.3EaddWikiText.28.29</a></dd></dl></dd> <dd>I am currently running two discussions about this : <dl><dd><a href="/wiki/User_talk:Wikinaut#Including_Special_pages_error_-_workaround" title="User talk:Wikinaut">User_talk:Wikinaut#Including_Special_pages_error_-_workaround</a></dd> <dd><a href="/wiki/Help_talk:Magic_words#Username" title="Help talk:Magic words">Help_talk:Magic_words#Username</a></dd></dl></dd> <dd>--<a href="/wiki/Special:Contributions/88.102.135.201" title="Special:Contributions/88.102.135.201">88.102.135.201</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-88.102.135.201-2010-05-19T22:50:00.000Z-Make_special_page_transcludable" class="ext-discussiontools-init-timestamplink">22:50, 19 May 2010 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-88.102.135.201-2010-05-19T22:50:00.000Z-Make_special_page_transcludable"><span id="ooui-php-52" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-88.102.135.201-2010-05-19T22:50:00.000Z-Make_special_page_transcludable"></span></dd></dl> <p><span data-mw-comment-start="" id="c-Diego_Grez-2010-05-19T22:51:00.000Z-Make_special_page_transcludable"></span>There are some transcludable special pages, like <a href="/wiki/Special:RecentChanges" title="Special:RecentChanges">Special:RecentChanges</a>: --<a href="/w/index.php?title=User:Diego_Grez&action=edit&redlink=1" class="new" title="User:Diego Grez (page does not exist)">Diego Grez</a> <sup><a href="/w/index.php?title=User_talk:Diego_Grez&action=edit&redlink=1" class="new" title="User talk:Diego Grez (page does not exist)">return fire</a></sup> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Diego_Grez-2010-05-19T22:51:00.000Z-Make_special_page_transcludable" class="ext-discussiontools-init-timestamplink">22:51, 19 May 2010 (UTC)</a> {{Special:RecentChanges}}<span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Diego_Grez-2010-05-19T22:51:00.000Z-Make_special_page_transcludable"><span id="ooui-php-53" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Diego_Grez-2010-05-19T22:51:00.000Z-Make_special_page_transcludable"></span> </p><p><br/> </p> <dl><dd><dl><dd><i><span data-mw-comment-start="" id="c-88.102.135.201-2010-05-20T00:26:00.000Z-Make_special_page_transcludable"></span>...containing into nowiki tag...</i></dd></dl></dd> <dd>yes, I know. However, it works only when you want show content, but not if you want to pass it to some <a href="/wiki/Extension:StringFunctions" class="mw-redirect" title="Extension:StringFunctions">function</a></dd></dl> <p>When I include template in middle of line, it stays there. but when I include special page, it breaks line and starts new one. Even though Special page gives just text without <p> and </p> (I checked it), after inclusion it appears there.. --<a href="/wiki/Special:Contributions/88.102.135.201" title="Special:Contributions/88.102.135.201">88.102.135.201</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-88.102.135.201-2010-05-20T00:26:00.000Z-Make_special_page_transcludable" class="ext-discussiontools-init-timestamplink">00:26, 20 May 2010 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-88.102.135.201-2010-05-20T00:26:00.000Z-Make_special_page_transcludable"><span id="ooui-php-54" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-88.102.135.201-2010-05-20T00:26:00.000Z-Make_special_page_transcludable"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Tisane-2010-03-11T05:30:00.000Z","type":"heading","level":0,"id":"h-Hello_world_example_(MyExtension)-2010-03-11T05:30:00.000Z","replies":["c-Tisane-2010-03-11T05:30:00.000Z-Hello_world_example_(MyExtension)"],"text":"Hello world example (MyExtension)","linkableTitle":"Hello world example (MyExtension)"}--><h2 id="Hello_world_example_(MyExtension)" data-mw-thread-id="h-Hello_world_example_(MyExtension)-2010-03-11T05:30:00.000Z"><span id="Hello_world_example_.28MyExtension.29"></span><span data-mw-comment-start="" id="h-Hello_world_example_(MyExtension)-2010-03-11T05:30:00.000Z"></span>Hello world example (MyExtension)<span data-mw-comment-end="h-Hello_world_example_(MyExtension)-2010-03-11T05:30:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=31" title="Edit section: Hello world example (MyExtension)"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Tisane-2010-03-11T05:30:00.000Z-Hello_world_example_(MyExtension)">14 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Tisane-2010-03-11T05:30:00.000Z","type":"heading","level":0,"id":"h-Hello_world_example_(MyExtension)-2010-03-11T05:30:00.000Z","replies":["c-Tisane-2010-03-11T05:30:00.000Z-Hello_world_example_(MyExtension)"],"text":"Hello world example (MyExtension)","linkableTitle":"Hello world example (MyExtension)"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Tisane-2010-03-11T05:30:00.000Z-Hello_world_example_(MyExtension)"></span>We should make the MyExtension example available via <a href="/wiki/Special:ExtensionDistributor" title="Special:ExtensionDistributor">Special:ExtensionDistributor</a>, perhaps renamed as HelloWorld. It'll be a good starting place for new extension developers. <a href="/wiki/User:Tisane" title="User:Tisane">Tisane</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Tisane-2010-03-11T05:30:00.000Z-Hello_world_example_(MyExtension)" class="ext-discussiontools-init-timestamplink">05:30, 11 March 2010 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Tisane-2010-03-11T05:30:00.000Z-Hello_world_example_(MyExtension)"><span id="ooui-php-55" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Tisane-2010-03-11T05:30:00.000Z-Hello_world_example_(MyExtension)"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-87.167.113.109-2010-06-24T18:45:00.000Z","type":"heading","level":0,"id":"h-Adding_tools-2010-06-24T18:45:00.000Z","replies":["c-87.167.113.109-2010-06-24T18:45:00.000Z-Adding_tools"],"text":"Adding tools","linkableTitle":"Adding tools"}--><h2 id="Adding_tools" data-mw-thread-id="h-Adding_tools-2010-06-24T18:45:00.000Z"><span data-mw-comment-start="" id="h-Adding_tools-2010-06-24T18:45:00.000Z"></span>Adding tools<span data-mw-comment-end="h-Adding_tools-2010-06-24T18:45:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=32" title="Edit section: Adding tools"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-87.167.113.109-2010-06-24T18:45:00.000Z-Adding_tools">14 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-87.167.113.109-2010-06-24T18:45:00.000Z","type":"heading","level":0,"id":"h-Adding_tools-2010-06-24T18:45:00.000Z","replies":["c-87.167.113.109-2010-06-24T18:45:00.000Z-Adding_tools"],"text":"Adding tools","linkableTitle":"Adding tools"}--></div></div></div> <p><span data-mw-comment-start="" id="c-87.167.113.109-2010-06-24T18:45:00.000Z-Adding_tools"></span>Hi, is it possible to add links to the toolbox when my own special page is displayed? I created a dictioary as a specialpage and now need an add-buton, which should be in the toolbox on the left.--<a href="/wiki/Special:Contributions/87.167.113.109" title="Special:Contributions/87.167.113.109">87.167.113.109</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-87.167.113.109-2010-06-24T18:45:00.000Z-Adding_tools" class="ext-discussiontools-init-timestamplink">18:45, 24 June 2010 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-87.167.113.109-2010-06-24T18:45:00.000Z-Adding_tools"><span id="ooui-php-56" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-87.167.113.109-2010-06-24T18:45:00.000Z-Adding_tools"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-87.167.95.145-2010-07-07T12:12:00.000Z","type":"heading","level":0,"id":"h-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()-2010-07-07T12:12:00.000Z","replies":["c-87.167.95.145-2010-07-07T12:12:00.000Z-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()"],"text":"$wgOut->setPagetitle() funktioniert nicht bei $wgOut->addWikiText()","linkableTitle":"$wgOut->setPagetitle() funktioniert nicht bei $wgOut->addWikiText()"}--><h2 id="$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()" data-mw-thread-id="h-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()-2010-07-07T12:12:00.000Z"><span id=".24wgOut-.3EsetPagetitle.28.29_funktioniert_nicht_bei_.24wgOut-.3EaddWikiText.28.29"></span><span data-mw-comment-start="" id="h-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()-2010-07-07T12:12:00.000Z"></span>$wgOut->setPagetitle() funktioniert nicht bei $wgOut->addWikiText()<span data-mw-comment-end="h-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()-2010-07-07T12:12:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=33" title="Edit section: $wgOut->setPagetitle() funktioniert nicht bei $wgOut->addWikiText()"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-87.167.95.145-2010-07-07T12:12:00.000Z-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()">14 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-87.167.95.145-2010-07-07T12:12:00.000Z","type":"heading","level":0,"id":"h-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()-2010-07-07T12:12:00.000Z","replies":["c-87.167.95.145-2010-07-07T12:12:00.000Z-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()"],"text":"$wgOut->setPagetitle() funktioniert nicht bei $wgOut->addWikiText()","linkableTitle":"$wgOut->setPagetitle() funktioniert nicht bei $wgOut->addWikiText()"}--></div></div></div> <p><span data-mw-comment-start="" id="c-87.167.95.145-2010-07-07T12:12:00.000Z-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()"></span>Hallo, wenn ich WikiCode ausgebe, verliert setPagetitle seine Wirkung. Ich Versuche den Inhalt einer Vorlage meines Wikis einzubinden, was natĂźrlich problemlos funktioniert. Daraufhin erscheint mir als Titel jedoch Spezial:blabla. Liegt das an der Mediawiki Version 1.16 oder ist der Fehler allgemein bekannt? Vielen Dank fĂźr jegliche Hilfe!--<a href="/wiki/Special:Contributions/87.167.95.145" title="Special:Contributions/87.167.95.145">87.167.95.145</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-87.167.95.145-2010-07-07T12:12:00.000Z-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()" class="ext-discussiontools-init-timestamplink">12:12, 7 July 2010 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-87.167.95.145-2010-07-07T12:12:00.000Z-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()"><span id="ooui-php-57" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-87.167.95.145-2010-07-07T12:12:00.000Z-$wgOut->setPagetitle()_funktioniert_nicht_bei_$wgOut->addWikiText()"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-76.10.156.165-2011-02-25T14:46:00.000Z","type":"heading","level":0,"id":"h-Hiding_some_pages_causes_syntax_errors-2011-02-25T14:46:00.000Z","replies":["c-76.10.156.165-2011-02-25T14:46:00.000Z-Hiding_some_pages_causes_syntax_errors"],"text":"Hiding some pages causes syntax errors","linkableTitle":"Hiding some pages causes syntax errors"}--><h2 id="Hiding_some_pages_causes_syntax_errors" data-mw-thread-id="h-Hiding_some_pages_causes_syntax_errors-2011-02-25T14:46:00.000Z"><span data-mw-comment-start="" id="h-Hiding_some_pages_causes_syntax_errors-2011-02-25T14:46:00.000Z"></span>Hiding some pages causes syntax errors<span data-mw-comment-end="h-Hiding_some_pages_causes_syntax_errors-2011-02-25T14:46:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=34" title="Edit section: Hiding some pages causes syntax errors"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-76.10.156.165-2011-02-25T14:46:00.000Z-Hiding_some_pages_causes_syntax_errors">13 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-76.10.156.165-2011-02-25T14:46:00.000Z","type":"heading","level":0,"id":"h-Hiding_some_pages_causes_syntax_errors-2011-02-25T14:46:00.000Z","replies":["c-76.10.156.165-2011-02-25T14:46:00.000Z-Hiding_some_pages_causes_syntax_errors"],"text":"Hiding some pages causes syntax errors","linkableTitle":"Hiding some pages causes syntax errors"}--></div></div></div> <p><span data-mw-comment-start="" id="c-76.10.156.165-2011-02-25T14:46:00.000Z-Hiding_some_pages_causes_syntax_errors"></span>Via the documented syntax <code>array( 'SpecialPage', name, right )</code> I can hide <i>some</i> pages, but if I try the same syntax on others it creates a syntax error.<br/> e.g. "Listusers" works just fine, but if I try to block "Activeusers" it is hidden for unauthorized users, but if an authorized one tries to activate it, the syntax error below comes up:<br/> </p> <pre>'Listusers' => array( 'SpecialPage', 'Listusers', 'block' ) 'Activeusers' => array( 'SpecialPage', 'Activeusers', 'block'), </pre> <pre>Warning: call_user_func(wfSpecialUserrights) [function.call-user-func]: First argument is expected to be a valid callback in /home/bisimadm/resources.bisimulations.com/wiki/includes/SpecialPage.php on line 793 </pre> <p><a href="/wiki/Special:Contributions/76.10.156.165" title="Special:Contributions/76.10.156.165">76.10.156.165</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-76.10.156.165-2011-02-25T14:46:00.000Z-Hiding_some_pages_causes_syntax_errors" class="ext-discussiontools-init-timestamplink">14:46, 25 February 2011 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-76.10.156.165-2011-02-25T14:46:00.000Z-Hiding_some_pages_causes_syntax_errors"><span id="ooui-php-58" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-76.10.156.165-2011-02-25T14:46:00.000Z-Hiding_some_pages_causes_syntax_errors"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="My_WORKING_solution_to_controlling_Special_Pages_access." data-mw-thread-id="h-My_WORKING_solution_to_controlling_Special_Pages_access."><span data-mw-comment-start="" id="h-My_WORKING_solution_to_controlling_Special_Pages_access."></span>My WORKING solution to controlling Special Pages access.<span data-mw-comment-end="h-My_WORKING_solution_to_controlling_Special_Pages_access."></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=35" title="Edit section: My WORKING solution to controlling Special Pages access."><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>I've read so many posts on sooo many sites trying to solve this issue without ever finding a solution. This wiki got me closest to what I needed for this particular installation so I figured it would be the best site for my results. </p><p><b>NOTE 01</b>: Sorry if this is not proper on this wiki. Just trying to help. </p><p><b>NOTE 02</b>: I am not a wiki expert. Nor am I a professional programmer. This may be an ugly solution. There is likely a much better way. After exhaustive searching for a week I never found it. With that said, this is what I have cobbled together for MY Windows XP/XAMPP test environment AND IT WORKS. MAYBE someone can get some use out it. </p><p><b>NOTE 03</b>: This has not been tested with every extension. I did leave Semantic MediaWiki pages in this cut as an example of how I handle extension pages. Good luck with yours. This code is straight from my working file. Feel free to remove the comments and noise before using it. </p><p>~MVW </p> <pre>## ----------------------BEGIN SECTION------------------------ ## SPECIAL PAGES ACCESS ## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ## I prefer to keep this as close to last in this file as possible. My original # test snippet of code came with such a recommendation so I stick to it. ## This section controls SPECIAL PAGES. We use a removal method to control # which groups see certain special pages. ## Anons allowed 'Specialpages' page access with only 'Userlogin' page available. ## To allow Admin or registered users page access the page name must be NOT # be in the anon array!!! ## Dont forget to add EXTENSION SPECIAL PAGES when needed. ## REF: http://lists.wikimedia.org/pipermail/mediawiki-l/2009-June/031231.html # This is the doc I found with the closest solution. Basing off it I made my # solution to all of my Special Pages and groups. ## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function hideSpecialPages(&$list) { #ANON ARRAY #Load array with left over pages not removed in sections below. #This array hides pages from all anonymous surfers. #Booksources not used in this wiki foreach(array( 'Booksources' )as $i){unset($list[$i]);} #unset (aka HIDE) SYSOP pages #Only Admins can DELETEREVISIONs on this installation so its our key global $wgUser; if(!$wgUser->isAllowed('deleterevision')){ unset($list['Blankpage']); #UNLISTED page unset($list['Blockme']); #UNLISTED page unset($list['Emailuser']); #UNLISTED page unset($list['Export']); unset($list['Import']); unset($list['Listadmins']); #UNLISTED page unset($list['Listbots']); #UNLISTED page unset($list['Lockdb']); unset($list['MergeHistory']); unset($list['Movepage']); #UNLISTED page unset($list['Mycontributions']); #UNLISTED page unset($list['Mypage']); #UNLISTED page unset($list['Mytalk']); #UNLISTED page unset($list['Resetpass']); unset($list['Revisiondelete']); #UNLISTED page unset($list['Unlockdb']); unset($list['Userlogout']); #UNLISTED page # EXTENSION PAGES BELOW unset($list['ExportRDF']); # Semantic MediaWiki } #unset (aka HIDE) BUREAUCRAT pages #'move' test qualifies Admin and Bureaucrat if(!$wgUser->isAllowed('move')){ unset($list['Activeusers']); unset($list['Allmessages']); unset($list['Allpages']); unset($list['Blockip']); unset($list['Contributions']); unset($list['DeletedContributions']); unset($list['Filepath']); unset($list['Ipblocklist']); unset($list['Listfiles']); unset($list['Listgrouprights']); unset($list['Listusers']); unset($list['Log']); unset($list['Mostcategories']); unset($list['Mostimages']); unset($list['Mostlinked']); unset($list['Mostlinkedcategories']); unset($list['Mostlinkedtemplates']); unset($list['Mostrevisions']); unset($list['Prefixindex']); unset($list['Protectedpages']); unset($list['Protectedtitles']); unset($list['Resetpass']); unset($list['Statistics']); unset($list['Tags']); unset($list['Undelete']); unset($list['Unusedcategories']); unset($list['Unusedimages']); unset($list['Unusedtemplates']); unset($list['Unwatchedpages']); unset($list['Userrights']); unset($list['Version']); unset($list['Withoutinterwiki']); # EXTENSION PAGES BELOW unset($list['UnusedProperties']); # Semantic MediaWiki } #unset (aka HIDE) POWERWIKERS pages #'patrol' test qualifies Powerwikers if(!$wgUser->isAllowed('patrol')){ unset($list['Ancientpages']); unset($list['BrokenRedirects']); unset($list['Deadendpages']); unset($list['DoubleRedirects']); unset($list['Disambiguations']); unset($list['Fewestrevisions']); unset($list['LinkSearch']); unset($list['Listredirects']); unset($list['Lonelypages']); unset($list['Longpages']); unset($list['MIMEsearch']); unset($list['Randomredirect']); unset($list['Recentchanges']); unset($list['Recentchangeslinked']); unset($list['Shortpages']); unset($list['Uncategorizedcategories']); unset($list['Uncategorizedimages']); unset($list['Uncategorizedpages']); unset($list['Uncategorizedtemplates']); unset($list['Wantedcategories']); unset($list['Wantedfiles']); unset($list['Wantedpages']); unset($list['Wantedtemplates']); # EXTENSION PAGES BELOW unset($list['Ask']); # Semantic MediaWiki unset($list['CategoryTree']); # CategoryTree unset($list['Properties']); # Semantic MediaWiki unset($list['SearchByProperty']); # Semantic MediaWiki unset($list['SemanticStatistics']); # Semantic MediaWiki unset($list['Types']); # Semantic MediaWiki unset($list['WantedProperties']); # Semantic MediaWiki } #unset (aka HIDE) pages ONLY EMAIL VERIFIED USERS get #'edit' qualifies verified emails if(!$wgUser->isAllowed('edit')){ unset($list['Categories']); unset($list['FileDuplicateSearch']); unset($list['Newimages']); unset($list['Newpages']); unset($list['Preferences']); unset($list['Upload']); unset($list['Userlogout']); unset($list['Watchlist']); # EXTENSION PAGES BELOW unset($list['Browse']); # Semantic MediaWiki } #unset (aka HIDE) pages REGISTERED BUT NOT VERIFIED USERS get #'sendemail' qualifies all registered if(!$wgUser->isAllowed('sendemail')){ unset($list['Popularpages']); unset($list['Randompage']); unset($list['Search']); unset($list['Whatlinkshere']); # EXTENSION PAGES BELOW } return true; } $wgHooks['SpecialPage_initList'][]='hideSpecialPages'; ## -----------------------END SECTION------------------------- </pre> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-87.144.82.81-2012-10-24T10:47:00.000Z","type":"heading","level":0,"id":"h-Don't_overwrite_original_page_title_when_transcluding_special_page-2012-10-24T10:47:00.000Z","replies":["c-87.144.82.81-2012-10-24T10:47:00.000Z-Don't_overwrite_original_page_title_when_transcluding_special_page"],"text":"Don't overwrite original page title when transcluding special page","linkableTitle":"Don't overwrite original page title when transcluding special page"}--><h2 id="Don't_overwrite_original_page_title_when_transcluding_special_page" data-mw-thread-id="h-Don't_overwrite_original_page_title_when_transcluding_special_page-2012-10-24T10:47:00.000Z"><span id="Don.27t_overwrite_original_page_title_when_transcluding_special_page"></span><span data-mw-comment-start="" id="h-Don't_overwrite_original_page_title_when_transcluding_special_page-2012-10-24T10:47:00.000Z"></span>Don't overwrite original page title when transcluding special page<span data-mw-comment-end="h-Don't_overwrite_original_page_title_when_transcluding_special_page-2012-10-24T10:47:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=36" title="Edit section: Don't overwrite original page title when transcluding special page"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-131.142.152.23-2013-09-03T15:47:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z">11 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>3 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>3 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-87.144.82.81-2012-10-24T10:47:00.000Z","type":"heading","level":0,"id":"h-Don't_overwrite_original_page_title_when_transcluding_special_page-2012-10-24T10:47:00.000Z","replies":["c-87.144.82.81-2012-10-24T10:47:00.000Z-Don't_overwrite_original_page_title_when_transcluding_special_page"],"text":"Don't overwrite original page title when transcluding special page","linkableTitle":"Don't overwrite original page title when transcluding special page"}--></div></div></div> <p><span data-mw-comment-start="" id="c-87.144.82.81-2012-10-24T10:47:00.000Z-Don't_overwrite_original_page_title_when_transcluding_special_page"></span>I am adapting a special page from an existing extension (<a class="external text" href="https://www.mediawiki.org/wiki/Extension:ContactPage">ContactPage</a>) which will be transcludable. However, currently when transcluding the special page, the original page title will always be re-written to Special:Contact. I know this is not the case for all special pages, e.g. when transcluding Special:RecentChanges, but I could not find any documentation on how to enable/disable this behavior. Does anyone know how I can achieve this? Thanks, Markus <a href="/wiki/Special:Contributions/87.144.82.81" title="Special:Contributions/87.144.82.81">87.144.82.81</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-87.144.82.81-2012-10-24T10:47:00.000Z-Don't_overwrite_original_page_title_when_transcluding_special_page" class="ext-discussiontools-init-timestamplink">10:47, 24 October 2012 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-87.144.82.81-2012-10-24T10:47:00.000Z-Don't_overwrite_original_page_title_when_transcluding_special_page"><span id="ooui-php-59" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-87.144.82.81-2012-10-24T10:47:00.000Z-Don't_overwrite_original_page_title_when_transcluding_special_page"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-131.142.152.65-2013-08-26T18:01:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z"></span>Now running into this same problem, and I cannot figure it out. I have looked extensively over e.g. SpecialRecentChanges.php but cannot see why transcluding this doesn't change the page title, while transcluding a custom made extension does? --<a href="/wiki/Special:Contributions/131.142.152.65" title="Special:Contributions/131.142.152.65">131.142.152.65</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-131.142.152.65-2013-08-26T18:01:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z" class="ext-discussiontools-init-timestamplink">18:01, 26 August 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-131.142.152.65-2013-08-26T18:01:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z"><span id="ooui-php-60" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-131.142.152.65-2013-08-26T18:01:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z"></span></dd></dl> <dl><dd><span data-mw-comment-start="" id="c-131.142.152.23-2013-09-03T15:47:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z"></span>For anyone who finds this, the solution I found was to create a new Parser object (and ParserOptions) and use that to parse any wikitext to HTML, then use the $wgOut->addHTML() approach. --<a href="/wiki/Special:Contributions/131.142.152.23" title="Special:Contributions/131.142.152.23">131.142.152.23</a> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-131.142.152.23-2013-09-03T15:47:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z" class="ext-discussiontools-init-timestamplink">15:47, 3 September 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-131.142.152.23-2013-09-03T15:47:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z"><span id="ooui-php-61" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-131.142.152.23-2013-09-03T15:47:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-DanielRenfro-2012-10-30T17:15:00.000Z","type":"heading","level":0,"id":"h-Update_documentation_to_use_RequestContext-2012-10-30T17:15:00.000Z","replies":["c-DanielRenfro-2012-10-30T17:15:00.000Z-Update_documentation_to_use_RequestContext"],"text":"Update documentation to use RequestContext","linkableTitle":"Update documentation to use RequestContext"}--><h2 id="Update_documentation_to_use_RequestContext" data-mw-thread-id="h-Update_documentation_to_use_RequestContext-2012-10-30T17:15:00.000Z"><span data-mw-comment-start="" id="h-Update_documentation_to_use_RequestContext-2012-10-30T17:15:00.000Z"></span>Update documentation to use <a href="/wiki/RequestContext" class="mw-redirect" title="RequestContext">RequestContext</a><span data-mw-comment-end="h-Update_documentation_to_use_RequestContext-2012-10-30T17:15:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=37" title="Edit section: Update documentation to use RequestContext"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-JimHu-2014-05-26T23:06:00.000Z-DanielRenfro-2012-10-30T17:15:00.000Z">10 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>2 comments</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>2 people in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-DanielRenfro-2012-10-30T17:15:00.000Z","type":"heading","level":0,"id":"h-Update_documentation_to_use_RequestContext-2012-10-30T17:15:00.000Z","replies":["c-DanielRenfro-2012-10-30T17:15:00.000Z-Update_documentation_to_use_RequestContext"],"text":"Update documentation to use RequestContext","linkableTitle":"Update documentation to use RequestContext"}--></div></div></div> <p><span data-mw-comment-start="" id="c-DanielRenfro-2012-10-30T17:15:00.000Z-Update_documentation_to_use_RequestContext"></span>Is it appropriate to update this documentation to reflect the change from using global variables to using the <a href="/wiki/RequestContext" class="mw-redirect" title="RequestContext">RequestContext</a>? I guess the older method should still be documented for legacy purposes (legacy meaning <i>old</i> versions of MW.) Votes/ideas? </p><p>--<a href="/wiki/User:DanielRenfro" title="User:DanielRenfro">Daniel Renfro</a> <sup><small><a href="/wiki/User_talk:DanielRenfro" title="User talk:DanielRenfro">talk</a></small></sup>/<sub class="plainlinks"><small><a rel="nofollow" class="external text" href="mailto:bluecurio@gmail.com">email</a></small></sub> <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-DanielRenfro-2012-10-30T17:15:00.000Z-Update_documentation_to_use_RequestContext" class="ext-discussiontools-init-timestamplink">17:15, 30 October 2012 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DanielRenfro-2012-10-30T17:15:00.000Z-Update_documentation_to_use_RequestContext"><span id="ooui-php-62" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-DanielRenfro-2012-10-30T17:15:00.000Z-Update_documentation_to_use_RequestContext"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-JimHu-2014-05-26T23:06:00.000Z-DanielRenfro-2012-10-30T17:15:00.000Z"></span>Attempting to update. Might make a mess! --<a href="/wiki/User:JimHu" title="User:JimHu">JimHu</a> (<a href="/wiki/User_talk:JimHu" title="User talk:JimHu">talk</a>) <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-JimHu-2014-05-26T23:06:00.000Z-DanielRenfro-2012-10-30T17:15:00.000Z" class="ext-discussiontools-init-timestamplink">23:06, 26 May 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-JimHu-2014-05-26T23:06:00.000Z-DanielRenfro-2012-10-30T17:15:00.000Z"><span id="ooui-php-63" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-JimHu-2014-05-26T23:06:00.000Z-DanielRenfro-2012-10-30T17:15:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-NOrbeck-2013-11-05T12:20:00.000Z","type":"heading","level":0,"id":"h-Possible_error_in_sample_code-2013-11-05T12:20:00.000Z","replies":["c-NOrbeck-2013-11-05T12:20:00.000Z-Possible_error_in_sample_code"],"text":"Possible error in sample code","linkableTitle":"Possible error in sample code"}--><h2 id="Possible_error_in_sample_code" data-mw-thread-id="h-Possible_error_in_sample_code-2013-11-05T12:20:00.000Z"><span data-mw-comment-start="" id="h-Possible_error_in_sample_code-2013-11-05T12:20:00.000Z"></span>Possible error in sample code<span data-mw-comment-end="h-Possible_error_in_sample_code-2013-11-05T12:20:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=38" title="Edit section: Possible error in sample code"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-NOrbeck-2013-11-05T12:20:00.000Z-Possible_error_in_sample_code">11 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-NOrbeck-2013-11-05T12:20:00.000Z","type":"heading","level":0,"id":"h-Possible_error_in_sample_code-2013-11-05T12:20:00.000Z","replies":["c-NOrbeck-2013-11-05T12:20:00.000Z-Possible_error_in_sample_code"],"text":"Possible error in sample code","linkableTitle":"Possible error in sample code"}--></div></div></div> <p><span data-mw-comment-start="" id="c-NOrbeck-2013-11-05T12:20:00.000Z-Possible_error_in_sample_code"></span>Is this code correct? </p> <dl><dd>$wgExtensionMessagesFiles[ 'MyExtensionAlias' ] = __DIR__ . '/MyExtension.alias.php';</dd></dl> <p>Shouldn't it be: </p> <dl><dd>$wgExtensionMessagesFiles[ 'MyExtensionAlias<b>es'</b> ] = __DIR__ . '/MyExtension.alias.php';</dd></dl> <p><a href="/w/index.php?title=User:NOrbeck&action=edit&redlink=1" class="new" title="User:NOrbeck (page does not exist)">NOrbeck</a> (<a href="/w/index.php?title=User_talk:NOrbeck&action=edit&redlink=1" class="new" title="User talk:NOrbeck (page does not exist)">talk</a>) <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-NOrbeck-2013-11-05T12:20:00.000Z-Possible_error_in_sample_code" class="ext-discussiontools-init-timestamplink">12:20, 5 November 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-NOrbeck-2013-11-05T12:20:00.000Z-Possible_error_in_sample_code"><span id="ooui-php-64" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-NOrbeck-2013-11-05T12:20:00.000Z-Possible_error_in_sample_code"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Leucosticte-2014-03-05T22:35:00.000Z","type":"heading","level":0,"id":"h-Consistency-2014-03-05T22:35:00.000Z","replies":["c-Leucosticte-2014-03-05T22:35:00.000Z-Consistency"],"text":"Consistency","linkableTitle":"Consistency"}--><h2 id="Consistency" data-mw-thread-id="h-Consistency-2014-03-05T22:35:00.000Z"><span data-mw-comment-start="" id="h-Consistency-2014-03-05T22:35:00.000Z"></span>Consistency<span data-mw-comment-end="h-Consistency-2014-03-05T22:35:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=39" title="Edit section: Consistency"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Leucosticte-2014-03-05T22:35:00.000Z-Consistency">10 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Leucosticte-2014-03-05T22:35:00.000Z","type":"heading","level":0,"id":"h-Consistency-2014-03-05T22:35:00.000Z","replies":["c-Leucosticte-2014-03-05T22:35:00.000Z-Consistency"],"text":"Consistency","linkableTitle":"Consistency"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Leucosticte-2014-03-05T22:35:00.000Z-Consistency"></span>Is <a class="external text" href="https://www.mediawiki.org/w/index.php?title=Manual:Special_pages&oldid=920128&diff=prev">that</a> really the more consistent way? It seems to me that on <a href="/wiki/Special:SpecialPages" title="Special:SpecialPages">Special:SpecialPages</a>, most do it "This way" rather than "That Way". <a href="/wiki/User:Leucosticte" title="User:Leucosticte">Leucosticte</a> (<a href="/wiki/User_talk:Leucosticte" title="User talk:Leucosticte">talk</a>) <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Leucosticte-2014-03-05T22:35:00.000Z-Consistency" class="ext-discussiontools-init-timestamplink">22:35, 5 March 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Leucosticte-2014-03-05T22:35:00.000Z-Consistency"><span id="ooui-php-65" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Leucosticte-2014-03-05T22:35:00.000Z-Consistency"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Special_Contact_Information_Page" data-mw-thread-id="h-Special_Contact_Information_Page"><span data-mw-comment-start="" id="h-Special_Contact_Information_Page"></span>Special Contact Information Page<span data-mw-comment-end="h-Special_Contact_Information_Page"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=40" title="Edit section: Special Contact Information Page"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Greetings, MediaWiki community, </p><p>I am building a wiki for which I would like to display contact information (name, email, phone number, etc.) that will display as part of the skin and can easily be changed by an inexperienced user. My strategy to do so has been to create an extension that would build a special page to hold the information (similar to the Sidebar special page), editable only to administrators. </p><p>Unfortunately, I am very new to MediaWiki, and the documentation on the subject seems fragmented at best. My main stumbling blocks are: understanding how to obtain and parse the text of the special page, and passing the parsed data to the skin, so that it can display the contact info on every page. I have looked, and there do not appear to be any preexisting extensions for this sort of functionality. Any thoughts? </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="T121_:_where_is_the_parameter_???" data-mw-thread-id="h-T121_:_where_is_the_parameter_???"><span id="T121_:_where_is_the_parameter_.3F.3F.3F"></span><span data-mw-comment-start="" id="h-T121_:_where_is_the_parameter_???"></span>T121 : where is the parameter ???<span data-mw-comment-end="h-T121_:_where_is_the_parameter_???"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=41" title="Edit section: T121 : where is the parameter ???"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Hi, on T121 we say "It passes a single parameter,..." but the function "execute()" described in the title T119 of the paragraph has none. So what are we speaking of ? - can anyone clarify ? - Thanks. </p><p>13:48, 28 July 2019 (UTC) </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="Example_code_broken_in_1.34" data-mw-thread-id="h-Example_code_broken_in_1.34"><span data-mw-comment-start="" id="h-Example_code_broken_in_1.34"></span>Example code broken in 1.34<span data-mw-comment-end="h-Example_code_broken_in_1.34"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=42" title="Edit section: Example code broken in 1.34"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Using the example code verbatim, on loading the Special:SpecialPages page, I get : </p> <div class="mw-highlight mw-highlight-lang-text mw-content-ltr" dir="ltr"><pre><span></span>[8d071dee540ecead9515bcd8] /mediawiki/index.php/Special:SpecialPages InvalidArgumentException from line 238 of /var/lib/mediawiki-1.34.0/vendor/wikimedia/object-factory/src/ObjectFactory.php: Provided specification is not an array. Backtrace: #0 /var/lib/mediawiki-1.34.0/vendor/wikimedia/object-factory/src/ObjectFactory.php(131): Wikimedia\ObjectFactory::validateSpec(string, array) #1 /var/lib/mediawiki-1.34.0/vendor/wikimedia/object-factory/src/ObjectFactory.php(102): Wikimedia\ObjectFactory::getObjectFromSpec(string, array) #2 /var/lib/mediawiki-1.34.0/includes/specialpage/SpecialPageFactory.php(447): Wikimedia\ObjectFactory->createObject(string, array) #3 /var/lib/mediawiki-1.34.0/includes/specialpage/SpecialPageFactory.php(478): MediaWiki\Special\SpecialPageFactory->getPage(string) #4 /var/lib/mediawiki-1.34.0/includes/specials/SpecialSpecialpages.php(56): MediaWiki\Special\SpecialPageFactory->getUsablePages(User) #5 /var/lib/mediawiki-1.34.0/includes/specials/SpecialSpecialpages.php(44): SpecialSpecialpages->getPageGroups() #6 /var/lib/mediawiki-1.34.0/includes/specialpage/SpecialPage.php(575): SpecialSpecialpages->execute(NULL) #7 /var/lib/mediawiki-1.34.0/includes/specialpage/SpecialPageFactory.php(611): SpecialPage->run(NULL) #8 /var/lib/mediawiki-1.34.0/includes/MediaWiki.php(296): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext) #9 /var/lib/mediawiki-1.34.0/includes/MediaWiki.php(900): MediaWiki->performRequest() #10 /var/lib/mediawiki-1.34.0/includes/MediaWiki.php(527): MediaWiki->main() #11 /var/lib/mediawiki-1.34.0/index.php(44): MediaWiki->run() #12 {main} </pre></div> <p>When I chuck some debug code into ObjectFactory.php, the thing it's objecting to is the SpecialPages definition - "MediaWiki\Extension\MyExtension\Special" is what it's objecting to not being an array </p><p>Changing the extension.json to the blow seems to fix things. </p> <div class="mw-highlight mw-highlight-lang-json mw-content-ltr" dir="ltr"><pre><span></span><span class="p">{</span> <span class="w"> </span><span class="nt">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"MyExtension"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"version"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0.0.0"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"author"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">"Your Name"</span><span class="p">],</span> <span class="w"> </span><span class="nt">"url"</span><span class="p">:</span><span class="w"> </span><span class="s2">"https://www.mediawiki.org/wiki/Extension:MyExtension"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"descriptionmsg"</span><span class="p">:</span><span class="w"> </span><span class="s2">"myextension-desc"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"license-name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"MIT"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"other"</span><span class="p">,</span> <span class="w"> </span><span class="nt">"AutoloadClasses"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="nt">"SpecialMyExtension"</span><span class="p">:</span><span class="w"> </span><span class="s2">"src/Special.php"</span> <span class="w"> </span><span class="p">},</span> <span class="w"> </span><span class="nt">"SpecialPages"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="nt">"MyExtension"</span><span class="p">:</span><span class="w"> </span><span class="s2">"SpecialMyExtension"</span> <span class="w"> </span><span class="p">},</span> <span class="w"> </span><span class="nt">"MessagesDirs"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="nt">"MyExtension"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">"i18n"</span><span class="p">]</span> <span class="w"> </span><span class="p">},</span> <span class="w"> </span><span class="nt">"manifest_version"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span> <span class="p">}</span> </pre></div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Woozle-2020-08-29T22:00:00.000Z","type":"heading","level":0,"id":"h-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z","replies":["h-Crucial_Bits_List-better_documentation_for_key_identifier_strings","h-JSON_files-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z"],"text":"better documentation for key identifier strings","linkableTitle":"better documentation for key identifier strings"}--><h2 id="better_documentation_for_key_identifier_strings" data-mw-thread-id="h-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z"><span data-mw-comment-start="" id="h-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z"></span>better documentation for key identifier strings<span data-mw-comment-end="h-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=43" title="Edit section: better documentation for key identifier strings"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-Woozle-2020-08-29T22:00:00.000Z-JSON_files">4 years ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Woozle-2020-08-29T22:00:00.000Z","type":"heading","level":0,"id":"h-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z","replies":["h-Crucial_Bits_List-better_documentation_for_key_identifier_strings","h-JSON_files-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z"],"text":"better documentation for key identifier strings","linkableTitle":"better documentation for key identifier strings"}--></div></div></div> <p>This isn't a help request so much as a "check me to make sure I'm not posting incorrect information". I'm working on a custom extension, and in between last night and this morning <i>something</i> changed which resulted in "No such special page" when I went to the page's URL from Special:SpecialPages -- although everything was still displaying properly there and in Special:Version. I figured that one out, but I thought it was high time to take some notes and, once I'm reasonably sure they're correct, post them here in MW's official documentation. </p><p>Anyone who <i>does</i> have answers, though, please feel free to chime in. ^.^ </p><p>The documentation issues I'm trying to address: </p> <ul><li>There doesn't seem to be a clear list somewhere of all the bits that need to be defined properly in order for everything to work (and what is affected).</li> <li>There's very little documentation of the JSON files, specifically what each key-string means or could mean. (This is partly JSON's fault for not permitting comments, which would be the obvious way to document examples.)</li></ul> <div class="mw-heading mw-heading3"><h3 id="Crucial_Bits_List" data-mw-thread-id="h-Crucial_Bits_List-better_documentation_for_key_identifier_strings"><span data-mw-comment-start="" id="h-Crucial_Bits_List-better_documentation_for_key_identifier_strings"></span>Crucial Bits List<span data-mw-comment-end="h-Crucial_Bits_List-better_documentation_for_key_identifier_strings"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=44" title="Edit section: Crucial Bits List"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Here's what I've got so far: </p> <ul><li><b>Knowns</b>: <ul><li>In <code>extension.json</code>: <ul><li>The value of the <code>"name":</code> key is what is shown on the extension's entry on the <a href="/wiki/Special:Version" title="Special:Version">Special:Version</a> page.</li> <li>Each element in <code>"SpecialPages": { }</code> defines a SpecialPage URL. The element name is the "X" in "Special:X" for each page. <ul><li>(Tentative) This allows a single extension to define multiple Special pages, with the name of each element being the "X" for another Special:X. The element's value is the class to use.</li> <li>(Tentative) For each X that points to a different class, that class can generate a corresponding entry in <a href="/wiki/Special:SpecialPages" title="Special:SpecialPages">Special:SpecialPages</a>.</li></ul></li></ul></li> <li><b>In the primary PHP file:</b> <ul><li>the constructor should call <code>parent::__construct('X');</code>, where "X" must be the value of "Special:X".</li> <li>whatever is returned by <code>function getDescription()</code> is displayed on <code>Special:SpecialPages</code> as the extension's description.</li></ul></li></ul></li> <li><b>Unknowns</b>: <ul><li><b>In <code>extension.json</code>:</b></li></ul></li></ul> <div class="mw-heading mw-heading3"><h3 id="JSON_files" data-mw-thread-id="h-JSON_files-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z"><span data-mw-comment-start="" id="h-JSON_files-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z"></span>JSON files<span data-mw-comment-end="h-JSON_files-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=45" title="Edit section: JSON files"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><b><code><span data-mw-comment-start="" id="c-Woozle-2020-08-29T22:00:00.000Z-JSON_files"></span>extension.json</code></b>: <ul><li>The <code>descriptionmsg</code> element seems to define the name of a key which should (or must?) appear in the i18n files.</li></ul></li> <li><b><code>i18n/</code></b> files: <ul><li>All of the files in this folder are basically different-language translations of the same set of messages, so each one should (ideally) have the same set of keys.</li> <li>Are there any specific entries (messages) which <i>must</i> be present, and mean something specific to MW? Or are they all pretty much up to the extension to use as desired?</li> <li><b><code>qqq.json</code></b>: <ul><li>The qqq "language" is a "special" language which provides an explanation (in one language only), rather than display text, for each message. (Where is this actually used? Or is it just for human consumption? Does the name actually matter, or could a really thorough documenter have qqq-en.json, qqq-de.json, etc.?) <ul><li>Each qqq element has a name of the form "[spkey]-[name]". where "[spkey]" refers to the Special Page's name -- but what, exactly, does [spkey] need to match?</li></ul></li></ul></li></ul></li></ul> <p>Still exploring and documenting, but that seems to cover a lot of the information I couldn't find earlier. </p><p>â <a href="/wiki/User:Woozle" title="User:Woozle">Woozle</a> (<a href="/wiki/User_talk:Woozle" title="User talk:Woozle">talk</a>) <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-Woozle-2020-08-29T22:00:00.000Z-JSON_files" class="ext-discussiontools-init-timestamplink">22:00, 29 August 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Woozle-2020-08-29T22:00:00.000Z-JSON_files"><span id="ooui-php-66" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-Woozle-2020-08-29T22:00:00.000Z-JSON_files"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-GregRundlett-20240405202000","type":"heading","level":0,"id":"h-Broken_template_for_class_documentation-20240405202000","replies":["c-GregRundlett-20240405202000-Broken_template_for_class_documentation"],"text":"Broken template for class documentation","linkableTitle":"Broken template for class documentation"}--><h2 id="Broken_template_for_class_documentation" data-mw-thread-id="h-Broken_template_for_class_documentation-20240405202000"><span data-mw-comment-start="" id="h-Broken_template_for_class_documentation-20240405202000"></span>Broken template for class documentation<span data-mw-comment-end="h-Broken_template_for_class_documentation-20240405202000"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Manual_talk:Special_pages&action=edit&section=46" title="Edit section: Broken template for class documentation"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-timestampLabel'>Latest comment: <a href="#c-GregRundlett-20240405202000-Broken_template_for_class_documentation">8 months ago</a></span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-commentCountLabel'>1 comment</span><span class='ext-discussiontools-init-section-metaitem ext-discussiontools-init-section-authorCountLabel'>1 person in discussion</span></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-GregRundlett-20240405202000","type":"heading","level":0,"id":"h-Broken_template_for_class_documentation-20240405202000","replies":["c-GregRundlett-20240405202000-Broken_template_for_class_documentation"],"text":"Broken template for class documentation","linkableTitle":"Broken template for class documentation"}--></div></div></div> <p><span data-mw-comment-start="" id="c-GregRundlett-20240405202000-Broken_template_for_class_documentation"></span>See the discussion at <a class="external free" href="https://www.mediawiki.org/wiki/Template_talk:Class_doclink">https://www.mediawiki.org/wiki/Template_talk:Class_doclink</a> </p><p>That template, used on this page and pages like it, is broken. I didn't have time to investigate the structure of generated docs + the template code to fix it. <a href="/wiki/User:GregRundlett" title="User:GregRundlett">Greg Rundlett</a> (<a href="/wiki/User_talk:GregRundlett" title="User talk:GregRundlett">talk</a>) <a href="https://www.mediawiki.org/wiki/Manual_talk:Special_pages#c-GregRundlett-20240405202000-Broken_template_for_class_documentation" class="ext-discussiontools-init-timestamplink">20:20, 5 April 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-GregRundlett-20240405202000-Broken_template_for_class_documentation"><span id="ooui-php-67" class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],"framed":false,"label":"Reply","flags":["progressive"],"classes":["ext-discussiontools-init-replybutton"]}'><a role="button" tabindex="0" rel="nofollow" class="oo-ui-buttonElement-button"><span class="oo-ui-iconElement-icon oo-ui-iconElement-noIcon oo-ui-image-progressive"></span><span class="oo-ui-labelElement-label">Reply</span><span class="oo-ui-indicatorElement-indicator oo-ui-indicatorElement-noIndicator oo-ui-image-progressive"></span></a></span></span><span data-mw-comment-end="c-GregRundlett-20240405202000-Broken_template_for_class_documentation"></span> </p> <!-- NewPP limit report Parsed by mwâweb.eqiad.mainâ57d64d4c5fâh5l2k Cached time: 20241217184602 Cache expiry: 864000 Reduced expiry: true Complications: [showâtoc] DiscussionTools time usage: 0.053 seconds CPU time usage: 0.179 seconds Real time usage: 0.380 seconds Preprocessor visited node count: 487/1000000 Postâexpand include size: 3921/2097152 bytes Template argument size: 18/2097152 bytes Highest expansion depth: 13/100 Expensive parser function count: 7/500 Unstrip recursion depth: 0/20 Unstrip postâexpand size: 11691/5000000 bytes Lua time usage: 0.013/10.000 seconds Lua memory usage: 836694/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 43.544 1 -total 71.89% 31.303 1 Template:TalkFromMeta 24.01% 10.457 1 Template:EndTalkFromMeta 17.34% 7.549 4 Template:Dir 11.29% 4.916 4 Template:Pagelang --> <!-- Saved in parser cache with key mediawikiwiki:pcache:16010:|#|:idhash:canonical and timestamp 20241217184602 and revision id 6454670. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?useformat=desktop&type=1x1&usesul3=0" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://www.mediawiki.org/w/index.php?title=Manual_talk:Special_pages&oldid=6454670">https://www.mediawiki.org/w/index.php?title=Manual_talk:Special_pages&oldid=6454670</a>"</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 5 April 2024, at 20:20.</li> <li id="footer-info-copyright">Text is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. Text in <a class="external text" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents">the Help: namespace</a> is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>. By using this site, you agree to the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Project:About">About mediawiki.org</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Project:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/www.mediawiki.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//m.mediawiki.org/w/index.php?title=Manual_talk:Special_pages&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-5c89c976df-gx5lc","wgBackendResponseTime":169,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-Rstockbower-2012-08-29T12:56:00.000Z","type":"heading","level":0,"id":"h-Fixing_lt_and_gt_(\u003C_and_\u003E)_on_Special:SpecialPages-2012-08-29T12:56:00.000Z","replies":[{"timestamp":"2012-08-29T12:56:00.000Z","author":"Rstockbower","type":"comment","level":1,"id":"c-Rstockbower-2012-08-29T12:56:00.000Z-Fixing_lt_and_gt_(\u003C_and_\u003E)_on_Special:SpecialPages","replies":[]}]},{"headingLevel":2,"name":"h-Ambush_Commander-2005-12-22T00:09:00.000Z","type":"heading","level":0,"id":"h-Outdated?-2005-12-22T00:09:00.000Z","replies":[{"timestamp":"2005-12-22T00:09:00.000Z","author":"Ambush Commander","type":"comment","level":1,"id":"c-Ambush_Commander-2005-12-22T00:09:00.000Z-Outdated?","replies":[{"timestamp":"2006-05-05T13:44:00.000Z","author":"Suso","type":"comment","level":3,"id":"c-Suso-2006-05-05T13:44:00.000Z-Ambush_Commander-2005-12-22T00:09:00.000Z","replies":[{"timestamp":"2006-05-05T21:30:00.000Z","author":"Ambush Commander","type":"comment","level":4,"id":"c-Ambush_Commander-2006-05-05T21:30:00.000Z-Suso-2006-05-05T13:44:00.000Z","replies":[{"timestamp":"2006-05-30T22:29:00.000Z","author":"Suso","type":"comment","level":5,"id":"c-Suso-2006-05-30T22:29:00.000Z-Ambush_Commander-2006-05-05T21:30:00.000Z","replies":[]}]}]}]}]},{"headingLevel":2,"name":"h-Ambush_Commander-2005-12-22T00:09:00.000Z","type":"heading","level":0,"id":"h-create_a_new_special_page-2005-12-22T00:09:00.000Z","replies":[{"timestamp":"2005-12-22T00:09:00.000Z","author":"Ambush Commander","type":"comment","level":1,"id":"c-Ambush_Commander-2005-12-22T00:09:00.000Z-create_a_new_special_page","replies":[]}]},{"headingLevel":2,"name":"h-Barbux-2005-10-01T22:10:00.000Z","type":"heading","level":0,"id":"h-clear_title_\u003C_\u003E-2005-10-01T22:10:00.000Z","replies":[{"timestamp":"2005-10-01T22:10:00.000Z","author":"Barbux","type":"comment","level":1,"id":"c-Barbux-2005-10-01T22:10:00.000Z-clear_title_\u003C_\u003E","replies":[{"timestamp":"2005-12-22T00:09:00.000Z","author":"Ambush Commander","type":"comment","level":2,"id":"c-Ambush_Commander-2005-12-22T00:09:00.000Z-Barbux-2005-10-01T22:10:00.000Z","replies":[]},{"timestamp":"2008-12-30T13:59:00.000Z","author":"Happy Joe","type":"comment","level":2,"id":"c-Happy_Joe-2008-12-30T13:59:00.000Z-Barbux-2005-10-01T22:10:00.000Z","replies":[]}]},{"timestamp":"2009-11-18T18:59:00.000Z","author":"76.8.128.114","type":"comment","level":1,"id":"c-76.8.128.114-2009-11-18T18:59:00.000Z-clear_title_\u003C_\u003E","replies":[]}]},{"headingLevel":2,"name":"h-ImaTard-2005-10-31T20:06:00.000Z","type":"heading","level":0,"id":"h-sysops_only?-2005-10-31T20:06:00.000Z","replies":[{"timestamp":"2005-10-31T20:06:00.000Z","author":"ImaTard","type":"comment","level":1,"id":"c-ImaTard-2005-10-31T20:06:00.000Z-sysops_only?","replies":[]},{"timestamp":"2005-12-22T00:12:00.000Z","author":"Ambush Commander","type":"comment","level":1,"id":"c-Ambush_Commander-2005-12-22T00:12:00.000Z-sysops_only?","replies":[{"timestamp":"2005-12-22T00:13:00.000Z","author":"Ambush Commander","type":"comment","level":3,"id":"c-Ambush_Commander-2005-12-22T00:13:00.000Z-Ambush_Commander-2005-12-22T00:12:00.000Z","replies":[]}]},{"timestamp":"2006-12-20T22:31:00.000Z","author":"Duke33","type":"comment","level":1,"id":"c-Duke33-2006-12-20T22:31:00.000Z-sysops_only?","replies":[]}]},{"headingLevel":2,"name":"h-Phroziac-2005-11-08T20:34:00.000Z","type":"heading","level":0,"id":"h-Modification_needed_for_1.6-2005-11-08T20:34:00.000Z","replies":[{"timestamp":"2005-11-08T20:34:00.000Z","author":"Phroziac","type":"comment","level":1,"id":"c-Phroziac-2005-11-08T20:34:00.000Z-Modification_needed_for_1.6","replies":[{"timestamp":"2005-12-22T00:09:00.000Z","author":"Ambush Commander","type":"comment","level":2,"id":"c-Ambush_Commander-2005-12-22T00:09:00.000Z-Phroziac-2005-11-08T20:34:00.000Z","replies":[]}]}]},{"headingLevel":2,"name":"h-Ambush_Commander-2006-01-05T02:52:00.000Z","type":"heading","level":0,"id":"h-Revert_to_previous_version-2006-01-05T02:52:00.000Z","replies":[{"timestamp":"2006-01-05T02:52:00.000Z","author":"Ambush Commander","type":"comment","level":1,"id":"c-Ambush_Commander-2006-01-05T02:52:00.000Z-Revert_to_previous_version","replies":[]}]},{"headingLevel":2,"name":"h-Jmcneil86043-2006-01-07T19:09:00.000Z","type":"heading","level":0,"id":"h-Add_setHeaders()_to_example?-2006-01-07T19:09:00.000Z","replies":[{"timestamp":"2006-01-07T19:09:00.000Z","author":"Jmcneil86043","type":"comment","level":1,"id":"c-Jmcneil86043-2006-01-07T19:09:00.000Z-Add_setHeaders()_to_example?","replies":[{"timestamp":"2006-01-08T00:01:00.000Z","author":"Ambush Commander","type":"comment","level":2,"id":"c-Ambush_Commander-2006-01-08T00:01:00.000Z-Jmcneil86043-2006-01-07T19:09:00.000Z","replies":[]}]},{"timestamp":"2006-01-08T03:58:00.000Z","author":"Jmcneil86043","type":"comment","level":1,"id":"c-Jmcneil86043-2006-01-08T03:58:00.000Z-Add_setHeaders()_to_example?","replies":[{"timestamp":"2006-01-09T00:36:00.000Z","author":"Ambush Commander","type":"comment","level":2,"id":"c-Ambush_Commander-2006-01-09T00:36:00.000Z-Jmcneil86043-2006-01-08T03:58:00.000Z","replies":[]}]}]},{"headingLevel":2,"name":"h-84.137.220.251-2006-03-02T14:12:00.000Z","type":"heading","level":0,"id":"h-Passing_Parameters_to_a_Special_Page?-2006-03-02T14:12:00.000Z","replies":[{"timestamp":"2006-03-02T14:12:00.000Z","author":"84.137.220.251","type":"comment","level":1,"id":"c-84.137.220.251-2006-03-02T14:12:00.000Z-Passing_Parameters_to_a_Special_Page?","replies":[]},{"timestamp":"2007-01-17T09:35:00.000Z","author":"Nazly.elshazly","type":"comment","level":1,"id":"c-Nazly.elshazly-2007-01-17T09:35:00.000Z-Passing_Parameters_to_a_Special_Page?","replies":[]}]},{"headingLevel":2,"name":"h-Ambush_Commander-2006-01-18T21:46:00.000Z","type":"heading","level":0,"id":"h-Special:Example-2006-01-18T21:46:00.000Z","replies":[{"timestamp":"2006-01-18T21:46:00.000Z","author":"Ambush Commander","type":"comment","level":1,"id":"c-Ambush_Commander-2006-01-18T21:46:00.000Z-Special:Example","replies":[]}]},{"headingLevel":2,"name":"h-84.137.220.251-2006-03-02T14:10:00.000Z","type":"heading","level":0,"id":"h-Special_Characters_in_$wgMessageCache-\u003EaddMessages-2006-03-02T14:10:00.000Z","replies":[{"timestamp":"2006-03-02T14:10:00.000Z","author":"84.137.220.251","type":"comment","level":1,"id":"c-84.137.220.251-2006-03-02T14:10:00.000Z-Special_Characters_in_$wgMessageCache-\u003EaddMessages","replies":[{"timestamp":"2006-03-03T22:38:00.000Z","author":"Ambush Commander","type":"comment","level":2,"id":"c-Ambush_Commander-2006-03-03T22:38:00.000Z-84.137.220.251-2006-03-02T14:10:00.000Z","replies":[{"timestamp":"2006-03-04T21:22:00.000Z","author":"Otterstedt","type":"comment","level":3,"id":"c-Otterstedt-2006-03-04T21:22:00.000Z-Ambush_Commander-2006-03-03T22:38:00.000Z","replies":[{"timestamp":"2006-03-04T23:20:00.000Z","author":"Ambush Commander","type":"comment","level":4,"id":"c-Ambush_Commander-2006-03-04T23:20:00.000Z-Otterstedt-2006-03-04T21:22:00.000Z","replies":[]}]}]}]},{"timestamp":"2006-03-31T23:09:00.000Z","author":"Ambush Commander","type":"comment","level":1,"id":"c-Ambush_Commander-2006-03-31T23:09:00.000Z-Special_Characters_in_$wgMessageCache-\u003EaddMessages","replies":[]}]},{"headingLevel":2,"name":"h-Ambush_Commander-2006-03-30T04:18:00.000Z","type":"heading","level":0,"id":"h-Modifying_permissions_for_existing_special_pages-2006-03-30T04:18:00.000Z","replies":[{"timestamp":"2006-03-30T04:18:00.000Z","author":"Ambush Commander","type":"comment","level":1,"id":"c-Ambush_Commander-2006-03-30T04:18:00.000Z-Modifying_permissions_for_existing_special_pages","replies":[]},{"timestamp":"2006-03-30T21:31:00.000Z","author":"Ambush Commander","type":"comment","level":1,"id":"c-Ambush_Commander-2006-03-30T21:31:00.000Z-Modifying_permissions_for_existing_special_pages","replies":[]}]},{"headingLevel":2,"name":"h-Ambush_Commander-2006-05-05T22:23:00.000Z","type":"heading","level":0,"id":"h-Defining_functions/classes_from_a_function-2006-05-05T22:23:00.000Z","replies":[{"timestamp":"2006-05-05T22:23:00.000Z","author":"Ambush Commander","type":"comment","level":1,"id":"c-Ambush_Commander-2006-05-05T22:23:00.000Z-Defining_functions/classes_from_a_function","replies":[]},{"timestamp":"2006-05-07T04:27:00.000Z","author":"Ambush Commander","type":"comment","level":1,"id":"c-Ambush_Commander-2006-05-07T04:27:00.000Z-Defining_functions/classes_from_a_function","replies":[]}]},{"headingLevel":2,"name":"h-JohanTheGhost-2006-05-20T15:05:00.000Z","type":"heading","level":0,"id":"h-BoardVote_example_--_where_is_it?-2006-05-20T15:05:00.000Z","replies":[{"timestamp":"2006-05-20T15:05:00.000Z","author":"JohanTheGhost","type":"comment","level":1,"id":"c-JohanTheGhost-2006-05-20T15:05:00.000Z-BoardVote_example_--_where_is_it?","replies":[{"timestamp":"2006-05-20T17:27:00.000Z","author":"Ambush Commander","type":"comment","level":2,"id":"c-Ambush_Commander-2006-05-20T17:27:00.000Z-JohanTheGhost-2006-05-20T15:05:00.000Z","replies":[]}]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Question...","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Special_Page_with_MW_Version_1.6.9","replies":[]},{"headingLevel":2,"name":"h-89.0.127.224-2007-10-01T23:58:00.000Z","type":"heading","level":0,"id":"h-Other_Important_Files?-2007-10-01T23:58:00.000Z","replies":[{"timestamp":"2007-10-01T23:58:00.000Z","author":"89.0.127.224","type":"comment","level":1,"id":"c-89.0.127.224-2007-10-01T23:58:00.000Z-Other_Important_Files?","replies":[]},{"headingLevel":3,"name":"h-68.80.149.10-2007-10-31T16:36:00.000Z","type":"heading","level":0,"id":"h-Making_a_Special_Page_Printable-Other_Important_Files?-2007-10-31T16:36:00.000Z","replies":[{"timestamp":"2007-10-31T16:36:00.000Z","author":"68.80.149.10","type":"comment","level":1,"id":"c-68.80.149.10-2007-10-31T16:36:00.000Z-Making_a_Special_Page_Printable","replies":[{"timestamp":"2011-06-21T14:01:00.000Z","author":"67.101.25.82","type":"comment","level":2,"id":"c-67.101.25.82-2011-06-21T14:01:00.000Z-68.80.149.10-2007-10-31T16:36:00.000Z","replies":[]}]}]}]},{"headingLevel":2,"name":"h-68.80.149.10-2007-10-31T16:34:00.000Z","type":"heading","level":0,"id":"h-Cache_Question-2007-10-31T16:34:00.000Z","replies":[{"timestamp":"2007-10-31T16:34:00.000Z","author":"68.80.149.10","type":"comment","level":1,"id":"c-68.80.149.10-2007-10-31T16:34:00.000Z-Cache_Question","replies":[]}]},{"headingLevel":2,"name":"h-Egingell-2008-01-08T03:05:00.000Z","type":"heading","level":0,"id":"h-Special:Statistics-2008-01-08T03:05:00.000Z","replies":[{"timestamp":"2008-01-08T03:05:00.000Z","author":"Egingell","type":"comment","level":1,"id":"c-Egingell-2008-01-08T03:05:00.000Z-Special:Statistics","replies":[]}]},{"headingLevel":2,"name":"h-Cneubauer-2008-02-11T22:36:00.000Z","type":"heading","level":0,"id":"h-Problem_with_SpecialPage_hooks-2008-02-11T22:36:00.000Z","replies":[{"timestamp":"2008-02-11T22:36:00.000Z","author":"Cneubauer","type":"comment","level":1,"id":"c-Cneubauer-2008-02-11T22:36:00.000Z-Problem_with_SpecialPage_hooks","replies":[]}]},{"headingLevel":2,"name":"h-JanCK-2008-04-11T11:43:00.000Z","type":"heading","level":0,"id":"h-php4-2008-04-11T11:43:00.000Z","replies":[{"timestamp":"2008-04-11T11:43:00.000Z","author":"JanCK","type":"comment","level":1,"id":"c-JanCK-2008-04-11T11:43:00.000Z-php4","replies":[{"timestamp":"2008-04-11T12:12:00.000Z","author":"Cneubauer","type":"comment","level":2,"id":"c-Cneubauer-2008-04-11T12:12:00.000Z-JanCK-2008-04-11T11:43:00.000Z","replies":[]}]}]},{"headingLevel":2,"name":"h-Ryan1414-2008-07-03T01:37:00.000Z","type":"heading","level":0,"id":"h-landing_page-2008-07-03T01:37:00.000Z","replies":[{"timestamp":"2008-07-03T01:37:00.000Z","author":"Ryan1414","type":"comment","level":1,"id":"c-Ryan1414-2008-07-03T01:37:00.000Z-landing_page","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-looking_for_developer_to_modify_wiki","replies":[]},{"headingLevel":2,"name":"h-206.231.255.81-2009-05-06T21:10:00.000Z","type":"heading","level":0,"id":"h-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION-2009-05-06T21:10:00.000Z","replies":[{"timestamp":"2009-05-06T21:10:00.000Z","author":"206.231.255.81","type":"comment","level":1,"id":"c-206.231.255.81-2009-05-06T21:10:00.000Z-Error_message:_Parse_error:_syntax_error,_unexpected_$end,_expecting_T_FUNCTION","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Problem_with_the_setup_instructions_under_1.13.3","replies":[]},{"headingLevel":2,"name":"h-142.164.181.107-2009-06-23T20:08:00.000Z","type":"heading","level":0,"id":"h-Download_further_down?-2009-06-23T20:08:00.000Z","replies":[{"timestamp":"2009-06-23T20:08:00.000Z","author":"142.164.181.107","type":"comment","level":1,"id":"c-142.164.181.107-2009-06-23T20:08:00.000Z-Download_further_down?","replies":[]}]},{"headingLevel":2,"name":"h-24.28.83.55-2009-07-24T05:23:00.000Z","type":"heading","level":0,"id":"h-setup_special_page-2009-07-24T05:23:00.000Z","replies":[{"timestamp":"2009-07-24T05:23:00.000Z","author":"24.28.83.55","type":"comment","level":1,"id":"c-24.28.83.55-2009-07-24T05:23:00.000Z-setup_special_page","replies":[{"timestamp":"2009-07-24T20:28:00.000Z","author":"146.6.204.46","type":"comment","level":2,"id":"c-146.6.204.46-2009-07-24T20:28:00.000Z-24.28.83.55-2009-07-24T05:23:00.000Z","replies":[]}]}]},{"headingLevel":2,"name":"h-Jens_Rusch-2009-09-25T06:49:00.000Z","type":"heading","level":0,"id":"h-Wann_endlich_in_Deutsch?-2009-09-25T06:49:00.000Z","replies":[{"timestamp":"2009-09-25T06:49:00.000Z","author":"Jens Rusch","type":"comment","level":1,"id":"c-Jens_Rusch-2009-09-25T06:49:00.000Z-Wann_endlich_in_Deutsch?","replies":[{"timestamp":"2009-10-26T18:49:00.000Z","author":"78.52.97.34","type":"comment","level":2,"id":"c-78.52.97.34-2009-10-26T18:49:00.000Z-Jens_Rusch-2009-09-25T06:49:00.000Z","replies":[{"timestamp":"2010-01-14T12:11:00.000Z","author":"213.214.18.64","type":"comment","level":3,"id":"c-213.214.18.64-2010-01-14T12:11:00.000Z-78.52.97.34-2009-10-26T18:49:00.000Z","replies":[]}]}]}]},{"headingLevel":2,"name":"h-88.102.135.201-2010-05-19T22:50:00.000Z","type":"heading","level":0,"id":"h-Make_special_page_transcludable-2010-05-19T22:50:00.000Z","replies":[{"timestamp":"2010-05-19T22:50:00.000Z","author":"88.102.135.201","type":"comment","level":1,"id":"c-88.102.135.201-2010-05-19T22:50:00.000Z-Make_special_page_transcludable","replies":[]},{"timestamp":"2010-05-19T22:51:00.000Z","author":"Diego Grez","type":"comment","level":1,"id":"c-Diego_Grez-2010-05-19T22:51:00.000Z-Make_special_page_transcludable","replies":[]},{"timestamp":"2010-05-20T00:26:00.000Z","author":"88.102.135.201","type":"comment","level":1,"id":"c-88.102.135.201-2010-05-20T00:26:00.000Z-Make_special_page_transcludable","replies":[]}]},{"headingLevel":2,"name":"h-Tisane-2010-03-11T05:30:00.000Z","type":"heading","level":0,"id":"h-Hello_world_example_(MyExtension)-2010-03-11T05:30:00.000Z","replies":[{"timestamp":"2010-03-11T05:30:00.000Z","author":"Tisane","type":"comment","level":1,"id":"c-Tisane-2010-03-11T05:30:00.000Z-Hello_world_example_(MyExtension)","replies":[]}]},{"headingLevel":2,"name":"h-87.167.113.109-2010-06-24T18:45:00.000Z","type":"heading","level":0,"id":"h-Adding_tools-2010-06-24T18:45:00.000Z","replies":[{"timestamp":"2010-06-24T18:45:00.000Z","author":"87.167.113.109","type":"comment","level":1,"id":"c-87.167.113.109-2010-06-24T18:45:00.000Z-Adding_tools","replies":[]}]},{"headingLevel":2,"name":"h-87.167.95.145-2010-07-07T12:12:00.000Z","type":"heading","level":0,"id":"h-$wgOut-\u003EsetPagetitle()_funktioniert_nicht_bei_$wgOut-\u003EaddWikiText()-2010-07-07T12:12:00.000Z","replies":[{"timestamp":"2010-07-07T12:12:00.000Z","author":"87.167.95.145","type":"comment","level":1,"id":"c-87.167.95.145-2010-07-07T12:12:00.000Z-$wgOut-\u003EsetPagetitle()_funktioniert_nicht_bei_$wgOut-\u003EaddWikiText()","replies":[]}]},{"headingLevel":2,"name":"h-76.10.156.165-2011-02-25T14:46:00.000Z","type":"heading","level":0,"id":"h-Hiding_some_pages_causes_syntax_errors-2011-02-25T14:46:00.000Z","replies":[{"timestamp":"2011-02-25T14:46:00.000Z","author":"76.10.156.165","type":"comment","level":1,"id":"c-76.10.156.165-2011-02-25T14:46:00.000Z-Hiding_some_pages_causes_syntax_errors","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-My_WORKING_solution_to_controlling_Special_Pages_access.","replies":[]},{"headingLevel":2,"name":"h-87.144.82.81-2012-10-24T10:47:00.000Z","type":"heading","level":0,"id":"h-Don't_overwrite_original_page_title_when_transcluding_special_page-2012-10-24T10:47:00.000Z","replies":[{"timestamp":"2012-10-24T10:47:00.000Z","author":"87.144.82.81","type":"comment","level":1,"id":"c-87.144.82.81-2012-10-24T10:47:00.000Z-Don't_overwrite_original_page_title_when_transcluding_special_page","replies":[{"timestamp":"2013-08-26T18:01:00.000Z","author":"131.142.152.65","type":"comment","level":2,"id":"c-131.142.152.65-2013-08-26T18:01:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z","replies":[]},{"timestamp":"2013-09-03T15:47:00.000Z","author":"131.142.152.23","type":"comment","level":2,"id":"c-131.142.152.23-2013-09-03T15:47:00.000Z-87.144.82.81-2012-10-24T10:47:00.000Z","replies":[]}]}]},{"headingLevel":2,"name":"h-DanielRenfro-2012-10-30T17:15:00.000Z","type":"heading","level":0,"id":"h-Update_documentation_to_use_RequestContext-2012-10-30T17:15:00.000Z","replies":[{"timestamp":"2012-10-30T17:15:00.000Z","author":"DanielRenfro","type":"comment","level":1,"id":"c-DanielRenfro-2012-10-30T17:15:00.000Z-Update_documentation_to_use_RequestContext","replies":[{"timestamp":"2014-05-26T23:06:00.000Z","author":"JimHu","type":"comment","level":2,"id":"c-JimHu-2014-05-26T23:06:00.000Z-DanielRenfro-2012-10-30T17:15:00.000Z","replies":[]}],"displayName":"Daniel Renfro"}]},{"headingLevel":2,"name":"h-NOrbeck-2013-11-05T12:20:00.000Z","type":"heading","level":0,"id":"h-Possible_error_in_sample_code-2013-11-05T12:20:00.000Z","replies":[{"timestamp":"2013-11-05T12:20:00.000Z","author":"NOrbeck","type":"comment","level":1,"id":"c-NOrbeck-2013-11-05T12:20:00.000Z-Possible_error_in_sample_code","replies":[]}]},{"headingLevel":2,"name":"h-Leucosticte-2014-03-05T22:35:00.000Z","type":"heading","level":0,"id":"h-Consistency-2014-03-05T22:35:00.000Z","replies":[{"timestamp":"2014-03-05T22:35:00.000Z","author":"Leucosticte","type":"comment","level":1,"id":"c-Leucosticte-2014-03-05T22:35:00.000Z-Consistency","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Special_Contact_Information_Page","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-T121_:_where_is_the_parameter_???","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-Example_code_broken_in_1.34","replies":[]},{"headingLevel":2,"name":"h-Woozle-2020-08-29T22:00:00.000Z","type":"heading","level":0,"id":"h-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Crucial_Bits_List-better_documentation_for_key_identifier_strings","replies":[]},{"headingLevel":3,"name":"h-Woozle-2020-08-29T22:00:00.000Z","type":"heading","level":0,"id":"h-JSON_files-better_documentation_for_key_identifier_strings-2020-08-29T22:00:00.000Z","replies":[{"timestamp":"2020-08-29T22:00:00.000Z","author":"Woozle","type":"comment","level":1,"id":"c-Woozle-2020-08-29T22:00:00.000Z-JSON_files","replies":[]}]}]},{"headingLevel":2,"name":"h-GregRundlett-20240405202000","type":"heading","level":0,"id":"h-Broken_template_for_class_documentation-20240405202000","replies":[{"timestamp":"20240405202000","author":"GregRundlett","type":"comment","level":1,"id":"c-GregRundlett-20240405202000-Broken_template_for_class_documentation","replies":[],"displayName":"Greg Rundlett"}]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.053"},"limitreport":{"cputime":"0.179","walltime":"0.380","ppvisitednodes":{"value":487,"limit":1000000},"postexpandincludesize":{"value":3921,"limit":2097152},"templateargumentsize":{"value":18,"limit":2097152},"expansiondepth":{"value":13,"limit":100},"expensivefunctioncount":{"value":7,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":11691,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 43.544 1 -total"," 71.89% 31.303 1 Template:TalkFromMeta"," 24.01% 10.457 1 Template:EndTalkFromMeta"," 17.34% 7.549 4 Template:Dir"," 11.29% 4.916 4 Template:Pagelang"]},"scribunto":{"limitreport-timeusage":{"value":"0.013","limit":"10.000"},"limitreport-memusage":{"value":836694,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-57d64d4c5f-h5l2k","timestamp":"20241217184602","ttl":864000,"transientcontent":true}}});});</script> </body> </html>