CINXE.COM
Extension:Scribunto/pl - 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>Extension:Scribunto/pl - 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":[",\t."," \t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],"wgRequestId":"9c2f8aae-83ec-4e41-846f-ee276a3b1be0","wgCanonicalNamespace":"Extension","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":102,"wgPageName":"Extension:Scribunto/pl","wgTitle":"Scribunto/pl","wgCurRevisionId":6875495,"wgRevisionId":6875495,"wgArticleId":1511186,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Extensions bundled with MediaWiki 1.34/pl","Stable extensions/pl","Parser extensions/pl","Extensions with unknown license/pl","Extensions in Wikimedia version control/pl","ArticleViewHeader extensions/pl","CodeEditorGetPageLanguage extensions/pl","ContentHandlerDefaultModelFor extensions/pl","EditFilterMergedContent extensions/pl","EditPage::showReadOnlyForm:initial extensions/pl", "EditPage::showStandardInputs:options extensions/pl","EditPageBeforeEditButtons extensions/pl","ParserClearState extensions/pl","ParserCloned extensions/pl","ParserFirstCallInit extensions/pl","ParserLimitReportFormat extensions/pl","ParserLimitReportPrepare extensions/pl","SoftwareInfo extensions/pl","All extensions/pl","Extensions used on Wikimedia/pl","Extensions included in BlueSpice/pl","Extensions included in Canasta/pl","Extensions available as Debian packages/pl","Extensions included in Fandom/pl","Extensions included in Miraheze/pl","Extensions included in MyWikis/pl","Extensions included in ProWiki/pl","Extensions included in ShoutWiki/pl","Extensions included in wiki.gg/pl","Extensions included in WikiForge/pl","Scribunto extensions/pl","ContentHandler extensions/pl","GPL licensed extensions/pl","MIT licensed extensions/pl"],"wgPageViewLanguage":"pl","wgPageContentLanguage":"pl","wgPageContentModel":"wikitext","wgRelevantPageName":"Extension:Scribunto/pl", "wgRelevantArticleId":1511186,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"mediawiki","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgVisualEditor":{"pageLanguageCode":"pl","pageLanguageDir":"ltr","pageVariantFallbacks":"pl"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":40000,"wgTranslatePageTranslation":"translation","wgVisualEditorDisabledByHook":true,"wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready", "ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.translate.tag.languages":"ready","ext.pygments":"ready","ext.cite.styles":"ready","ext.tmh.player.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.translate":"ready","ext.wikimediamessages.styles":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","ext.cite.ux-enhancements","mediawiki.page.media","ext.tmh.player","site","mediawiki.page.ready","jquery.makeCollapsible","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.translate.pagetranslation.uls","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface","ext.checkUser.clientHints"];</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.cite.styles%7Cext.pygments%2Ctranslate%2CwikimediaBadges%7Cext.tmh.player.styles%7Cext.translate.tag.languages%7Cext.uls.pt%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&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.5"> <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 property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/9/9d/Scribunto_debug_console_usage_example.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="1136"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Scribunto_debug_console_usage_example.png/800px-Scribunto_debug_console_usage_example.png"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="758"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Scribunto_debug_console_usage_example.png/640px-Scribunto_debug_console_usage_example.png"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="606"> <meta name="viewport" content="width=1120"> <meta property="og:site_name" content="MediaWiki"> <meta property="og:title" content="Extension:Scribunto/pl - MediaWiki"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.mediawiki.org/wiki/Extension:Scribunto/pl"> <link rel="alternate" type="application/x-wiki" title="Edit" href="/w/index.php?title=Extension:Scribunto/pl&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/Extension:Scribunto/pl"> <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="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-102 ns-subject mw-editable page-Extension_Scribunto_pl rootpage-Extension_Scribunto 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="p-lang" class="vector-menu mw-portlet mw-portlet-lang" > <div class="vector-menu-heading"> In other languages </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:NewItem?site=mediawikiwiki&page=Extension%3AScribunto%2Fpl" title="Add interlanguage links" class="wbc-editpage">Add links</a></span></div> </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=Extension%3AScribunto%2Fpl" 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=Extension%3AScribunto%2Fpl" 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=Extension%3AScribunto%2Fpl" 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=Extension%3AScribunto%2Fpl" 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"><!-- CentralNotice --></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-Instalacja" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Instalacja"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Instalacja</span> </div> </a> <ul id="toc-Instalacja-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Requirements" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Requirements"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Requirements</span> </div> </a> <button aria-controls="toc-Requirements-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 Requirements subsection</span> </button> <ul id="toc-Requirements-sublist" class="vector-toc-list"> <li id="toc-PCRE_version_compatibility" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#PCRE_version_compatibility"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>PCRE version compatibility</span> </div> </a> <ul id="toc-PCRE_version_compatibility-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-PHP_pcntl_(LTS_)" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#PHP_pcntl_(LTS_)"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>PHP pcntl (LTS<span> </span>)</span> </div> </a> <ul id="toc-PHP_pcntl_(LTS_)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-PHP_mbstring_extension" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#PHP_mbstring_extension"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.3</span> <span>PHP mbstring extension</span> </div> </a> <ul id="toc-PHP_mbstring_extension-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Lua_binary" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Lua_binary"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4</span> <span>Lua binary</span> </div> </a> <ul id="toc-Lua_binary-sublist" class="vector-toc-list"> <li id="toc-Bundled_binaries" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Bundled_binaries"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4.1</span> <span>Bundled binaries</span> </div> </a> <ul id="toc-Bundled_binaries-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Additional_binaries" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#Additional_binaries"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4.2</span> <span>Additional binaries</span> </div> </a> <ul id="toc-Additional_binaries-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> </ul> </li> <li id="toc-Instalacja_opcjonalna" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Instalacja_opcjonalna"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Instalacja opcjonalna</span> </div> </a> <button aria-controls="toc-Instalacja_opcjonalna-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 Instalacja opcjonalna subsection</span> </button> <ul id="toc-Instalacja_opcjonalna-sublist" class="vector-toc-list"> <li id="toc-Integrating_extensions" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Integrating_extensions"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>Integrating extensions</span> </div> </a> <ul id="toc-Integrating_extensions-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-LuaSandbox" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#LuaSandbox"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>LuaSandbox</span> </div> </a> <ul id="toc-LuaSandbox-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Konfiguracja" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Konfiguracja"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Konfiguracja</span> </div> </a> <button aria-controls="toc-Konfiguracja-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 Konfiguracja subsection</span> </button> <ul id="toc-Konfiguracja-sublist" class="vector-toc-list"> <li id="toc-LuaStandalone" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#LuaStandalone"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span> <span>LuaStandalone</span> </div> </a> <ul id="toc-LuaStandalone-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-LuaSandbox_2" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#LuaSandbox_2"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.2</span> <span>LuaSandbox</span> </div> </a> <ul id="toc-LuaSandbox_2-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Użycie" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Użycie"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Użycie</span> </div> </a> <ul id="toc-Użycie-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Lua" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Lua"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Lua</span> </div> </a> <button aria-controls="toc-Lua-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 Lua subsection</span> </button> <ul id="toc-Lua-sublist" class="vector-toc-list"> <li id="toc-Learning_Lua" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Learning_Lua"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.1</span> <span>Learning Lua</span> </div> </a> <ul id="toc-Learning_Lua-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Lua_environment" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Lua_environment"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.2</span> <span>Lua environment</span> </div> </a> <ul id="toc-Lua_environment-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Debug_console" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Debug_console"> <div class="vector-toc-text"> <span class="vector-toc-numb">6.3</span> <span>Debug console</span> </div> </a> <ul id="toc-Debug_console-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Troubleshooting" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Troubleshooting"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Troubleshooting</span> </div> </a> <button aria-controls="toc-Troubleshooting-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 Troubleshooting subsection</span> </button> <ul id="toc-Troubleshooting-sublist" class="vector-toc-list"> <li id="toc-Cannot_execute_extensions/Scribunto/includes/Engines/LuaStandalone/binaries" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Cannot_execute_extensions/Scribunto/includes/Engines/LuaStandalone/binaries"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.1</span> <span>Cannot execute extensions/Scribunto/includes/Engines/LuaStandalone/binaries</span> </div> </a> <ul id="toc-Cannot_execute_extensions/Scribunto/includes/Engines/LuaStandalone/binaries-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_1" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_1"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.2</span> <span>Błąd Lua: Błąd wewnętrzny: Interpreter zakończył pracę ze statusem 1</span> </div> </a> <ul id="toc-Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_1-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_2" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_2"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.3</span> <span>Błąd Lua: Błąd wewnętrzny: Interpreter zakończył pracę ze statusem 2</span> </div> </a> <ul id="toc-Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_2-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Lua_error:_Internal_error:_2._on_ARM_architecture" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Lua_error:_Internal_error:_2._on_ARM_architecture"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.4</span> <span>Lua error: Internal error: 2. on ARM architecture</span> </div> </a> <ul id="toc-Lua_error:_Internal_error:_2._on_ARM_architecture-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_24" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_24"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.5</span> <span>Błąd Lua: Błąd wewnętrzny: Interpreter zakończył pracę ze statusem 24</span> </div> </a> <ul id="toc-Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_24-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_126" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_126"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.6</span> <span>Błąd Lua: Błąd wewnętrzny: Interpreter zakończył pracę ze statusem 126</span> </div> </a> <ul id="toc-Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_126-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Error_condition_such_as:_Fatal_exception_of_type_MWException" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Error_condition_such_as:_Fatal_exception_of_type_MWException"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.7</span> <span>Error condition such as: Fatal exception of type MWException</span> </div> </a> <ul id="toc-Error_condition_such_as:_Fatal_exception_of_type_MWException-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-version_'GLIBC_2.11'_not_found" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#version_'GLIBC_2.11'_not_found"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.8</span> <span>version 'GLIBC_2.11' not found</span> </div> </a> <ul id="toc-version_'GLIBC_2.11'_not_found-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Lua_errors_in_Scribunto_files" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Lua_errors_in_Scribunto_files"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.9</span> <span>Lua errors in Scribunto files</span> </div> </a> <ul id="toc-Lua_errors_in_Scribunto_files-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-preg_replace_callback():_Compilation_failed:_unknown_property_name_after_\P_or_\p_at_offset_7" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#preg_replace_callback():_Compilation_failed:_unknown_property_name_after_\P_or_\p_at_offset_7"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.10</span> <span>preg_replace_callback(): Compilation failed: unknown property name after \P or \p at offset 7</span> </div> </a> <ul id="toc-preg_replace_callback():_Compilation_failed:_unknown_property_name_after_\P_or_\p_at_offset_7-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Lua_error" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Lua_error"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.11</span> <span>Lua error</span> </div> </a> <ul id="toc-Lua_error-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Blank_screen" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Blank_screen"> <div class="vector-toc-text"> <span class="vector-toc-numb">7.12</span> <span>Blank screen</span> </div> </a> <ul id="toc-Blank_screen-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-License" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#License"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>License</span> </div> </a> <ul id="toc-License-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Design_documents" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Design_documents"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>Design documents</span> </div> </a> <ul id="toc-Design_documents-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Other_pages" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Other_pages"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>Other pages</span> </div> </a> <ul id="toc-Other_pages-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Zobacz_też" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Zobacz_też"> <div class="vector-toc-text"> <span class="vector-toc-numb">11</span> <span>Zobacz też</span> </div> </a> <ul id="toc-Zobacz_też-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-External_links" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#External_links"> <div class="vector-toc-text"> <span class="vector-toc-numb">12</span> <span>External links</span> </div> </a> <ul id="toc-External_links-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Uwagi" class="vector-toc-list-item vector-toc-level-1"> <a class="vector-toc-link" href="#Uwagi"> <div class="vector-toc-text"> <span class="vector-toc-numb">13</span> <span>Uwagi</span> </div> </a> <ul id="toc-Uwagi-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">Extension</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Scribunto/pl</span></h1> <div class="mw-indicators"> <div id="mw-indicator-phabricator-project" class="mw-indicator"><div class="mw-parser-output"><div class="mw-parser-output"><style data-mw-deduplicate="TemplateStyles:r6605561">.mw-parser-output .tpl-badge{background-color:var(--background-color-progressive-subtle,#eaf3ff);color:var(--color-base,#202122);border-radius:10px;display:inline-block;font-size:90%;padding:5px 8px}</style><div class="tpl-badge"><span lang="en" dir="ltr" class="mw-content-ltr"><a href="/wiki/Special:MyLanguage/Phabricator" title="Special:MyLanguage/Phabricator">Issue tracker</a>:</span> <a href="https://phabricator.wikimedia.org/tag/mediawiki-extensions-scribunto/" class="extiw" title="phab:tag/mediawiki-extensions-scribunto/"><b>#MediaWiki-extensions-Scribunto</b></a></div></div></div></div> </div> </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-extension" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Extension:Scribunto/pl" title="View the subject page [c]" accesskey="c"><span>Extension</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Extension_talk:Scribunto/pl&action=edit&redlink=1" rel="discussion" class="new" title="Discussion about the content page (page does not exist) [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">polski</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/Extension:Scribunto/pl"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Special:Translate&group=page-Extension%3AScribunto&action=page&filter=&language=pl" title="Edit this page [e]" accesskey="e"><span>Translate</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Extension:Scribunto/pl&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/Extension:Scribunto/pl"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:Translate&group=page-Extension%3AScribunto&action=page&filter=&language=pl" title="Edit this page [e]" accesskey="e"><span>Translate</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Extension:Scribunto/pl&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/Extension:Scribunto/pl" 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/Extension:Scribunto/pl" 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=Extension:Scribunto/pl&oldid=6875495" 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=Extension:Scribunto/pl&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&page=Extension%3AScribunto%2Fpl&id=6875495&wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FExtension%3AScribunto%2Fpl"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FExtension%3AScribunto%2Fpl"><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=Extension%3AScribunto%2Fpl"><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=Extension%3AScribunto%2Fpl&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=Extension:Scribunto/pl&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 id="siteSub" class="noprint">From mediawiki.org</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-pt-translate-header noprint" dir="ltr" lang="en">This page is a <span class="plainlinks"><a class="external text" href="https://www.mediawiki.org/w/index.php?title=Special:Translate&group=page-Extension%3AScribunto&action=page&filter=&language=pl">translated version</a></span> of the page <a href="/wiki/Extension:Scribunto" title="Extension:Scribunto">Extension:Scribunto</a> and the translation is 4% complete.</div><div class="mw-content-ltr mw-parser-output" lang="pl" dir="ltr"><div class="mw-pt-languages noprint navigation-not-searchable" lang="en" dir="ltr"><div class="mw-pt-languages-label">Languages:</div><ul class="mw-pt-languages-list"><li><a href="/wiki/Extension:Scribunto/id" class="mw-pt-progress mw-pt-progress--low" title="Ekstensi:Scribunto (8% translated)" lang="id" dir="ltr">Bahasa Indonesia</a></li> <li><a href="/wiki/Extension:Scribunto/de" class="mw-pt-progress mw-pt-progress--med" title="Erweiterung:Scribunto (41% translated)" lang="de" dir="ltr">Deutsch</a></li> <li><a href="/wiki/Extension:Scribunto" class="mw-pt-languages-ui mw-pt-progress mw-pt-progress--complete" title="Extension:Scribunto (100% translated)" lang="en" dir="ltr">English</a></li> <li><a href="/wiki/Extension:Scribunto/tl" class="mw-pt-progress mw-pt-progress--low" title="Extension:Scribunto (0% translated)" lang="tl" dir="ltr">Tagalog</a></li> <li><a href="/wiki/Extension:Scribunto/tr" class="mw-pt-progress mw-pt-progress--high" title="Extension:Scribunto (93% translated)" lang="tr" dir="ltr">Türkçe</a></li> <li><a href="/wiki/Extension:Scribunto/da" class="mw-pt-progress mw-pt-progress--low" title="Udvidelse:Scribunto (2% translated)" lang="da" dir="ltr">dansk</a></li> <li><a href="/wiki/Extension:Scribunto/es" class="mw-pt-progress mw-pt-progress--med" title="Extensión:Scribunto (59% translated)" lang="es" dir="ltr">español</a></li> <li><a href="/wiki/Extension:Scribunto/fr" class="mw-pt-progress mw-pt-progress--high" title="Extension:Scribunto (98% translated)" lang="fr" dir="ltr">français</a></li> <li><a href="/wiki/Extension:Scribunto/hu" class="mw-pt-progress mw-pt-progress--low" title="Extension:Scribunto/hu (3% translated)" lang="hu" dir="ltr">magyar</a></li> <li><span class="mw-pt-languages-selected mw-pt-progress mw-pt-progress--low" lang="pl" dir="ltr">polski</span></li> <li><a href="/wiki/Extension:Scribunto/pt" class="mw-pt-progress mw-pt-progress--low" title="Extensão:Scribunto (0% translated)" lang="pt" dir="ltr">português</a></li> <li><a href="/wiki/Extension:Scribunto/pt-br" class="mw-pt-progress mw-pt-progress--med" title="Extensão:Scribunto (18% translated)" lang="pt-BR" dir="ltr">português do Brasil</a></li> <li><a href="/wiki/Extension:Scribunto/sv" class="mw-pt-progress mw-pt-progress--low" title="Tillägg:Scribunto (12% translated)" lang="sv" dir="ltr">svenska</a></li> <li><a href="/wiki/Extension:Scribunto/cs" class="mw-pt-progress mw-pt-progress--high" title="Rozšíření:Scribunto (98% translated)" lang="cs" dir="ltr">čeština</a></li> <li><a href="/wiki/Extension:Scribunto/be-tarask" class="mw-pt-progress mw-pt-progress--low" title="Пашырэньне:Scribunto (6% translated)" lang="be-tarask" dir="ltr">беларуская (тарашкевіца)</a></li> <li><a href="/wiki/Extension:Scribunto/ru" class="mw-pt-progress mw-pt-progress--med" title="Расширение:Scribunto (56% translated)" lang="ru" dir="ltr">русский</a></li> <li><a href="/wiki/Extension:Scribunto/fa" class="mw-pt-progress mw-pt-progress--low" title="پسوند: اسکریبونتو (13% translated)" lang="fa" dir="rtl">فارسی</a></li> <li><a href="/wiki/Extension:Scribunto/bn" class="mw-pt-progress mw-pt-progress--low" title="Extension:Scribunto/bn (0% translated)" lang="bn" dir="ltr">বাংলা</a></li> <li><a href="/wiki/Extension:Scribunto/zh" class="mw-pt-progress mw-pt-progress--high" title="Extension: (73% translated)" lang="zh" dir="ltr">中文</a></li> <li><a href="/wiki/Extension:Scribunto/ja" class="mw-pt-progress mw-pt-progress--med" title="Extension:Scribunto (38% translated)" lang="ja" dir="ltr">日本語</a></li> <li><a href="/wiki/Extension:Scribunto/ko" class="mw-pt-progress mw-pt-progress--low" title="확장기능:Scribunto (4% translated)" lang="ko" dir="ltr">한국어</a></li></ul></div> <style data-mw-deduplicate="TemplateStyles:r6651107">.mw-parser-output .note{background-position:left 7px top 50%;padding:0.5em 0.5em 0.5em 40px;margin:0.5em 0;overflow:hidden;background-color:#f8f9fa;color:#333;background-repeat:no-repeat;border:1px solid #ddd}.mw-parser-output .note-inline{display:inline-block;vertical-align:middle}.mw-parser-output .note-info{background-color:#eaf3ff;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/e/ec/OOjs_UI_icon_information-progressive.svg");background-size:25px;border-color:#a3caff;padding-left:40px;min-height:25px}.mw-parser-output .note-reminder{background-color:#fff9ea;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg");background-size:25px;border-color:#fc3;min-height:25px}.mw-parser-output .note-warn{background-color:#fff9ea;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg");background-size:25px;border-color:#fc3;min-height:25px}.mw-parser-output .note-error{background-color:#fee7e6;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg");background-size:25px;border-color:#c33;min-height:25px}@media screen{html.skin-theme-clientpref-night .mw-parser-output .note{background-color:transparent;color:inherit}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .note{background-color:transparent;color:inherit}}</style><div role="note" class="note note-info"><span lang="en" dir="ltr" class="mw-content-ltr">This extension <a href="/wiki/Special:MyLanguage/MediaWiki_1.34#Bundled_extensions" title="Special:MyLanguage/MediaWiki 1.34">comes with MediaWiki 1.34</a> and above.</span> W związku z tym nie musi być ponownie pobierane. Niemniej jednak wciąż musisz wykonać inne podane instrukcje.</div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6651107"><div role="note" class="note note-info"><span lang="en" dir="ltr" class="mw-content-ltr">This extension runs on top of an executable.</span> <span lang="en" dir="ltr" class="mw-content-ltr">You must have permission to run executables on your host in order for this extension to work.</span></div> <style data-mw-deduplicate="TemplateStyles:r6651102">.mw-parser-output .infobox{box-sizing:border-box;border:2px solid var(--border-color-base,#a2a9b1);width:280px;border-collapse:collapse;border-spacing:0;background-color:white;color:#333;clear:right;float:right;margin:0 0 0.5em 0.5em}.mw-parser-output .infobox-rtl{clear:left;float:left;margin:0 0.5em 0.5em 0}.mw-parser-output .infobox th{text-align:left;padding:0.2em 0.5em;vertical-align:top}.mw-parser-output .infobox-rtl th{text-align:right}@media(max-width:719px){body.mediawiki .mw-parser-output .infobox{float:none;clear:both;width:100%;margin:0 0 .5em 0}}.mw-parser-output .infobox td{border:none;padding:0.2em 0.5em;vertical-align:top}.mw-parser-output .infobox-header{background-color:#a2a9b1;color:#FFF;text-align:left}.mw-parser-output .infobox-header a{color:#FFF}.mw-parser-output .infobox-header td,.mw-parser-output .infobox-header th{padding:0.5em 0.5em}.mw-parser-output .infobox-header img{padding:0 0.2em 0 0.5em}@media screen{html.skin-theme-clientpref-night .mw-parser-output .infobox{background-color:inherit;color:inherit}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox{background-color:inherit;color:inherit}}</style><style data-mw-deduplicate="TemplateStyles:r5577029">.mw-parser-output .ext-infobox>tbody>tr>td:first-child{vertical-align:top}.mw-parser-output .ext-infobox>tbody>tr>td abbr{white-space:nowrap}.mw-parser-output .ext-infobox .mw-collapsible-header,.mw-parser-output .ext-infobox .mw-collapsible-toggle{font-weight:bold}.mw-parser-output .ext-infobox .mw-collapsible-content{margin-top:.2em;padding-top:.2em}.mw-parser-output .ext-infobox-header>th,.mw-parser-output .ext-infobox caption,.mw-parser-output .ext-infobox-image,.mw-parser-output .ext-infobox-translate{text-align:center}.mw-parser-output .ext-infobox-name{font-size:130%;line-height:100%}.mw-parser-output .ext-infobox-type{min-width:7em}</style><style data-mw-deduplicate="TemplateStyles:r6424453">.mw-parser-output .ext-status-unstable,.mw-parser-output .ext-status-unstable td{border-color:#d33}.mw-parser-output .ext-status-unstable .ext-infobox-header{background-color:#d33;color:#fff}.mw-parser-output .ext-status-unstable .ext-infobox-header a{color:#fff}.mw-parser-output .ext-status-experimental,.mw-parser-output .ext-status-experimental td{border-color:#ff4500}.mw-parser-output .ext-status-experimental .ext-infobox-header{background-color:#ff4500;color:#FFF}.mw-parser-output .ext-status-experimental .ext-infobox-header a{color:#FFF}.mw-parser-output .ext-status-beta,.mw-parser-output .ext-status-beta td{border-color:#fc3}.mw-parser-output .ext-status-beta .ext-infobox-header{color:#000;background-color:#fc3}.mw-parser-output .ext-status-beta .ext-infobox-header a{color:#000}.mw-parser-output .ext-status-stable,.mw-parser-output .ext-status-stable td{border-color:#00af89}.mw-parser-output .ext-status-stable .ext-infobox-header{background-color:#068468;color:#FFF}.mw-parser-output .ext-status-stable .ext-infobox-header a{color:#fff}.mw-parser-output .ext-status-unmaintained,.mw-parser-output .ext-status-unmaintained td{border-color:#ac6600}.mw-parser-output .ext-status-unmaintained .ext-infobox-header{background-color:#ac6600;color:#FFF}.mw-parser-output .ext-status-unmaintained .ext-infobox-header a{color:#fff}</style> <table class="infobox infobox-ltr ext-infobox ext-status-stable"> <caption><b><a href="/wiki/Special:MyLanguage/Manual:Extensions" title="Special:MyLanguage/Manual:Extensions">Podręcznik rozszerzeń MediaWiki</a><span style="display:none"><a href="/wiki/Manual:Extensions" title="Manual:Extensions"> </a></span></b></caption> <tbody><tr class="infobox-header ext-infobox-header notheme"> <th colspan="2"><figure class="mw-halign-left" typeof="mw:File"><a href="/wiki/Special:MyLanguage/Template:Extension#Content" title="Special:MyLanguage/Template:Extension"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1b/OOjs_UI_icon_advanced-invert.svg/40px-OOjs_UI_icon_advanced-invert.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/1b/OOjs_UI_icon_advanced-invert.svg/60px-OOjs_UI_icon_advanced-invert.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/1b/OOjs_UI_icon_advanced-invert.svg/80px-OOjs_UI_icon_advanced-invert.svg.png 2x" data-file-width="20" data-file-height="20" /></a><figcaption></figcaption></figure> <span class="ext-infobox-name">Scribunto</span><br /> <a href="/wiki/Special:MyLanguage/Extension_status" title="Special:MyLanguage/Extension status">Status wydania:</a><span style="display:none"><a href="/wiki/Extension_status" title="Extension status"> </a></span> stabilne</th> </tr> <tr> <td class="ext-infobox-type"><b><a href="/wiki/Special:MyLanguage/Template:Extension#type" title="Special:MyLanguage/Template:Extension">Realizacja</a><span style="display:none"><a href="/wiki/Template:Extension#type" title="Template:Extension"> </a></span></b></td> <td><a href="/wiki/Special:MyLanguage/Manual:Extending_wiki_markup" title="Special:MyLanguage/Manual:Extending wiki markup">Rozszerzenie parsera</a><span style="display:none"><a href="/wiki/Manual:Extending_wiki_markup" title="Manual:Extending wiki markup"> </a></span> </td></tr><tr> <td><b><a href="/wiki/Special:MyLanguage/Template:Extension#description" title="Special:MyLanguage/Template:Extension">Opis</a><span style="display:none"><a href="/wiki/Template:Extension#description" title="Template:Extension"> </a></span></b></td> <td><span lang="en" dir="ltr" class="mw-content-ltr">Provides a framework for embedding scripting languages into MediaWiki pages</span></td> </tr> <tr> <td><b><a href="/wiki/Special:MyLanguage/Template:Extension#username" title="Special:MyLanguage/Template:Extension">Autor(zy)</a><span style="display:none"><a href="/wiki/Template:Extension#username" title="Template:Extension"> </a></span></b></td> <td> <ul><li>Victor Vasiliev</li> <li>Tim Starling</li></ul> <dl><dd>oraz inni</dd></dl></td> </tr> <tr> <td><b><a href="/wiki/Special:MyLanguage/Template:Extension#version" title="Special:MyLanguage/Template:Extension">Ostatnia wersja</a><span style="display:none"><a href="/wiki/Template:Extension#version" title="Template:Extension"> </a></span></b></td> <td><span lang="en" dir="ltr" class="mw-content-ltr">Continuous updates</span></td> </tr> <tr> <td><b><a href="/wiki/Special:MyLanguage/Compatibility#mediawiki_extensions" title="Special:MyLanguage/Compatibility">Polityka zgodności</a><span style="display:none"><a href="/wiki/Compatibility#mediawiki_extensions" title="Compatibility"> </a></span></b></td> <td><span lang="en" dir="ltr" class="mw-content-ltr">Snapshots releases along with MediaWiki.</span> Master nie jest kompatybilny wstecznie.</td> </tr> <tr> <td><a href="/wiki/Special:MyLanguage/Template:Extension#mediawiki" title="Special:MyLanguage/Template:Extension"><b>MediaWiki</b></a><span style="display:none"><a href="/wiki/Template:Extension#mediawiki" title="Template:Extension"> </a></span></td> <td>>= 1.43</td> </tr> <tr> <td><a href="/wiki/Special:MyLanguage/Template:Extension#php" title="Special:MyLanguage/Template:Extension"><b>PHP</b></a><span style="display:none"><a href="/wiki/Template:Extension#php" title="Template:Extension"> </a></span></td> <td>5.5+</td> </tr> <tr> <td><b><a href="/wiki/Special:MyLanguage/Template:Extension#license" title="Special:MyLanguage/Template:Extension">Licencja</a><span style="display:none"><a href="/wiki/Template:Extension#license" title="Template:Extension"> </a></span></b></td> <td>GPL-2.0-or-later AND MIT</td> </tr><tr> <td><b>Pobieranie</b></td> <td><div class="plainlinks"><a href="/wiki/Special:ExtensionDistributor/Scribunto" title="Special:ExtensionDistributor/Scribunto"><b>Pobierz rozszerzenie</b></a> <br />Git <sup>[<a href="/wiki/Special:MyLanguage/Download_from_Git" title="Special:MyLanguage/Download from Git">?</a>]</sup>: <ul><li><span class="plainlinks"><a rel="nofollow" class="external text" href="https://github.com/wikimedia/mediawiki-extensions-Scribunto/archive/master.tar.gz">Pobierz Git master</a></span></li> <li><a href="https://gerrit.wikimedia.org/g/mediawiki/extensions/Scribunto" class="extiw" title="git:mediawiki/extensions/Scribunto">przeglądaj repozytorium</a> (<a href="https://phabricator.wikimedia.org/diffusion/ELUA" class="extiw" title="phab:diffusion/ELUA">Phabricator</a> · <a rel="nofollow" class="external text" href="https://github.com/wikimedia/mediawiki-extensions-Scribunto">GitHub</a>)</li> <li><a href="https://gerrit.wikimedia.org/g/mediawiki/extensions/Scribunto/%2Blog/master" class="extiw" title="git:mediawiki/extensions/Scribunto/+log/master">historia wprowadzeń</a></li> <li><a rel="nofollow" class="external text" href="https://github.com/wikimedia/mediawiki-extensions-Scribunto/graphs/contributors"><span lang="en" dir="ltr" class="mw-content-ltr">repository contributors (GitHub)</span></a></li> <li><a href="https://gerrit.wikimedia.org/r/q/project:mediawiki/extensions/Scribunto" class="extiw" title="gerrit:q/project:mediawiki/extensions/Scribunto">ocena kodu</a></li></ul></div></td> </tr> <tr> <td class="mw-collapsible mw-collapsed" colspan="2"> <div class="mw-collapsible-header"><b><a href="/wiki/Special:MyLanguage/Template:Extension#namespace" title="Special:MyLanguage/Template:Extension">Przestrzeń nazw</a><span style="display:none"><a href="/wiki/Template:Extension#namespace" title="Template:Extension"> </a></span></b></div> <div class="mw-collapsible-content"> Module (ns:828), Talk_Module (ns:829)</div></td> </tr> <tr> <td class="mw-collapsible mw-collapsed" colspan="2"> <div class="mw-collapsible-header"><a href="/wiki/Special:MyLanguage/Template:Extension#parameters" title="Special:MyLanguage/Template:Extension">Parametry</a><span style="display:none"><a href="/wiki/Template:Extension#parameters" title="Template:Extension"> </a></span></div> <div class="mw-collapsible-content"> <ul><li><span class="configvariable" title="The name of the default script engine">$wgScribuntoDefaultEngine</span></li> <li><span class="configvariable" title="If $wgScribuntoGatherFunctionStats is true, this variable specifies the percentile threshold for slow function invocations. Should be a value between 0 and 1 (exclusive).">$wgScribuntoSlowFunctionThreshold</span></li> <li><span class="configvariable" title="Set to true to enable gathering and reporting of performance data for slow function invocations.">$wgScribuntoGatherFunctionStats</span></li> <li><span class="configvariable" title="Set to true to enable the SyntaxHighlight_GeSHi extension integration">$wgScribuntoUseGeSHi</span></li> <li><span class="configvariable" title="Set to true to enable the CodeEditor extension integration">$wgScribuntoUseCodeEditor</span></li> <li><span class="configvariable" title="Configuration for each script engine. Parameters: * profilerPeriod - The profiler sample period, or false to disable the profiler * allowEnvFuncs - Set this to true to allow setfenv() and getfenv() in user code. Note that these functions have been removed in Lua 5.2. Scribunto does not yet support Lua 5.2, but we expect support will be implemented in the future, and there is no guarantee that a simulation of setfenv() and getfenv() will be provided * maxLangCacheSize - The maximum number of languages about which data can be requested. The cost is about 1.5MB of memory usage per language on default installations (during recache), but if recaching is disabled with `$wgLocalisationCacheConf['manualRecache'] = false;` then memory usage is perhaps 10x smaller * errorFile - A filename to act as the destination for stderr from the Lua binary. This may provide useful error information if Lua fails to run. Set this to null to discard stderr output * luaPath - The location of the Lua binary, or null to use the bundled binary">$wgScribuntoEngineConf</span></li></ul></div></td> </tr> <tr> <td class="mw-collapsible mw-collapsed" colspan="2"> <div class="mw-collapsible-header"><a href="/wiki/Special:MyLanguage/Template:Extension#hook" title="Special:MyLanguage/Template:Extension">Użyte haki</a><span style="display:none"><a href="/wiki/Template:Extension#hook" title="Template:Extension"> </a></span></div> <style data-mw-deduplicate="TemplateStyles:r6219282">.mw-parser-output .plainlist ul{line-height:inherit;list-style:none none;margin:0}.mw-parser-output .plainlist ul li{margin-bottom:0}</style><div class="plainlist mw-collapsible-content"><ul><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/ArticleViewHeader" title="Special:MyLanguage/Manual:Hooks/ArticleViewHeader">ArticleViewHeader</a><span style="display:none"><a href="/wiki/Manual:Hooks/ArticleViewHeader" title="Manual:Hooks/ArticleViewHeader"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/CodeEditorGetPageLanguage" title="Special:MyLanguage/Manual:Hooks/CodeEditorGetPageLanguage">CodeEditorGetPageLanguage</a><span style="display:none"><a href="/wiki/Manual:Hooks/CodeEditorGetPageLanguage" class="mw-redirect" title="Manual:Hooks/CodeEditorGetPageLanguage"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/ContentHandlerDefaultModelFor" title="Special:MyLanguage/Manual:Hooks/ContentHandlerDefaultModelFor">ContentHandlerDefaultModelFor</a><span style="display:none"><a href="/wiki/Manual:Hooks/ContentHandlerDefaultModelFor" title="Manual:Hooks/ContentHandlerDefaultModelFor"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/EditFilterMergedContent" title="Special:MyLanguage/Manual:Hooks/EditFilterMergedContent">EditFilterMergedContent</a><span style="display:none"><a href="/wiki/Manual:Hooks/EditFilterMergedContent" title="Manual:Hooks/EditFilterMergedContent"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/EditPage::showReadOnlyForm:initial" title="Special:MyLanguage/Manual:Hooks/EditPage::showReadOnlyForm:initial">EditPage::showReadOnlyForm:initial</a><span style="display:none"><a href="/wiki/Manual:Hooks/EditPage::showReadOnlyForm:initial" title="Manual:Hooks/EditPage::showReadOnlyForm:initial"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/EditPage::showStandardInputs:options" title="Special:MyLanguage/Manual:Hooks/EditPage::showStandardInputs:options">EditPage::showStandardInputs:options</a><span style="display:none"><a href="/wiki/Manual:Hooks/EditPage::showStandardInputs:options" title="Manual:Hooks/EditPage::showStandardInputs:options"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/EditPageBeforeEditButtons" title="Special:MyLanguage/Manual:Hooks/EditPageBeforeEditButtons">EditPageBeforeEditButtons</a><span style="display:none"><a href="/wiki/Manual:Hooks/EditPageBeforeEditButtons" title="Manual:Hooks/EditPageBeforeEditButtons"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/ParserClearState" title="Special:MyLanguage/Manual:Hooks/ParserClearState">ParserClearState</a><span style="display:none"><a href="/wiki/Manual:Hooks/ParserClearState" title="Manual:Hooks/ParserClearState"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/ParserCloned" title="Special:MyLanguage/Manual:Hooks/ParserCloned">ParserCloned</a><span style="display:none"><a href="/wiki/Manual:Hooks/ParserCloned" title="Manual:Hooks/ParserCloned"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/ParserFirstCallInit" title="Special:MyLanguage/Manual:Hooks/ParserFirstCallInit">ParserFirstCallInit</a><span style="display:none"><a href="/wiki/Manual:Hooks/ParserFirstCallInit" title="Manual:Hooks/ParserFirstCallInit"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/ParserLimitReportFormat" title="Special:MyLanguage/Manual:Hooks/ParserLimitReportFormat">ParserLimitReportFormat</a><span style="display:none"><a href="/wiki/Manual:Hooks/ParserLimitReportFormat" title="Manual:Hooks/ParserLimitReportFormat"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/ParserLimitReportPrepare" title="Special:MyLanguage/Manual:Hooks/ParserLimitReportPrepare">ParserLimitReportPrepare</a><span style="display:none"><a href="/wiki/Manual:Hooks/ParserLimitReportPrepare" title="Manual:Hooks/ParserLimitReportPrepare"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Manual:Hooks/SoftwareInfo" title="Special:MyLanguage/Manual:Hooks/SoftwareInfo">SoftwareInfo</a><span style="display:none"><a href="/wiki/Manual:Hooks/SoftwareInfo" title="Manual:Hooks/SoftwareInfo"> </a></span></li></ul></div> </td> </tr> <tr> <td class="mw-collapsible mw-collapsed" colspan="2"> <div class="mw-collapsible-header"><a href="/wiki/Special:MyLanguage/Template:Extension#newhook" title="Special:MyLanguage/Template:Extension">Dostarczane haki</a><span style="display:none"><a href="/wiki/Template:Extension#newhook" title="Template:Extension"> </a></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6219282"><div class="plainlist mw-collapsible-content"><ul><li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Hooks/ScribuntoExternalLibraries" title="Special:MyLanguage/Extension:Scribunto/Hooks/ScribuntoExternalLibraries">ScribuntoExternalLibraries</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Hooks/ScribuntoExternalLibraries" title="Extension:Scribunto/Hooks/ScribuntoExternalLibraries"> </a></span></li><li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Hooks/ScribuntoExternalLibraryPaths" title="Special:MyLanguage/Extension:Scribunto/Hooks/ScribuntoExternalLibraryPaths">ScribuntoExternalLibraryPaths</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Hooks/ScribuntoExternalLibraryPaths" title="Extension:Scribunto/Hooks/ScribuntoExternalLibraryPaths"> </a></span></li></ul></div> </td> </tr> <tr> <td title="This only includes downloads from Special:ExtensionDistributor. Other download methods such as git or bundled extensions are not included."><b><span lang="en" dir="ltr" class="mw-content-ltr">Quarterly downloads</span></b></td> <td>443 (Ranked 7<sup>th</sup>)</td> </tr> <tr> <td title=""><a rel="nofollow" class="external text" href="https://wikiapiary.com/wiki/Extension:Scribunto"><b><span lang="en" dir="ltr" class="mw-content-ltr">Public wikis using</span></b></a></td> <td>8,789 (Ranked 30<sup>th</sup>)</td> </tr> <tr> <td colspan="2" class="ext-infobox-translate"> <a href="https://translatewiki.net/wiki/Special:Translate/ext-scribunto" class="extiw" title="translatewiki:Special:Translate/ext-scribunto">Przetłumacz rozszerzenie Scribunto</a> jeżeli jest dostępne na translatewiki.net</td> </tr><tr class="mw-empty-elt"> </tr> <tr> <td><b><a href="/wiki/Special:MyLanguage/MediaWiki-Vagrant#Using_roles" title="Special:MyLanguage/MediaWiki-Vagrant">Rola Vagrant</a><span style="display:none"><a href="/wiki/MediaWiki-Vagrant#Using_roles" title="MediaWiki-Vagrant"> </a></span></b></td> <td><a class="external text" href="https://doc.wikimedia.org/mediawiki-vagrant/puppet_classes/role_3A_3Ascribunto.html">scribunto</a></td> </tr> <tr> <td> <b><a href="/wiki/Special:MyLanguage/Phabricator" title="Special:MyLanguage/Phabricator">Problemy</a><span style="display:none"><a href="/wiki/Phabricator" title="Phabricator"> </a></span></b></td> <td><a href="https://phabricator.wikimedia.org/tag/mediawiki-extensions-scribunto" class="extiw" title="phab:tag/mediawiki-extensions-scribunto">Otwarte zadania</a> · <a class="external text" href="https://phabricator.wikimedia.org/maniphest/task/create/?projects=MediaWiki-extensions-Scribunto">Zgłoś błąd</a></td> </tr> </tbody></table> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The <b>Scribunto</b> (<a href="https://en.wikipedia.org/wiki/Latin" class="extiw" title="w:Latin">Latin</a>: "<i><a href="https://en.wiktionary.org/wiki/scribunto" class="extiw" title="wikt:scribunto">they shall write/let them write (in the future)</a></i>") extension allows for embedding scripting languages in MediaWiki. </p> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">Currently the only supported scripting language is <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua" class="extiw" title="w:Wikipedia:Lua">Lua</a>.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Scribunto Lua scripts go in a namespace called <b>Module</b>.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Modules are run on normal wiki pages using the <b>#invoke</b> <a href="/wiki/Special:MyLanguage/parser_function" title="Special:MyLanguage/parser function">parser function</a><span style="display:none"><a href="/wiki/Parser_function" class="mw-redirect mw-disambig" title="Parser function"> </a></span> and each module has a collection of <b>functions</b>, which can be called using wikitext syntax such as:</span> </p> <pre><span class="anchor" id="#invoke"></span><span class="anchor" id=".23invoke"></span>{{#invoke: <i>Module_name</i> | <i>function_name</i> | <i>arg1</i> | <i>arg2</i> | <i>arg3</i> ... }} </pre> <p><span id="Installation"></span> </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Instalacja">Instalacja</h2></div> <ul><li><a href="/wiki/Special:ExtensionDistributor/Scribunto" title="Special:ExtensionDistributor/Scribunto">Pobierz</a> i umieść plik(i) w katalogu o nazwie <code>Scribunto</code> w folderze <code>extensions/</code>.<br /><span lang="en" dir="ltr" class="mw-content-ltr">Developers and code contributors should install the extension <a href="/wiki/Special:MyLanguage/Download_from_Git" title="Special:MyLanguage/Download from Git">from Git</a> instead, using:</span><code class="mw-code mw-highlight" style="display:block">cd extensions/<br />git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto</code></li> <li>Dodaj poniższy kod na dole twojego pliku <a href="/wiki/Special:MyLanguage/Manual:LocalSettings.php" title="Special:MyLanguage/Manual:LocalSettings.php">LocalSettings.php</a><span style="display:none"><a href="/wiki/Manual:LocalSettings.php" title="Manual:LocalSettings.php"> </a></span>: <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">wfLoadExtension</span><span class="p">(</span> <span class="s1">'Scribunto'</span> <span class="p">);</span> <span class="nv">$wgScribuntoDefaultEngine</span> <span class="o">=</span> <span class="s1">'luastandalone'</span><span class="p">;</span> </pre></div></li> <li><span typeof="mw:File"><span><img alt="Yes" src="//upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/15px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="15" height="15" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/23px-OOjs_UI_icon_check-constructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20" /></span></span> <b>Zrobione</b> – Przejdź do <a href="/wiki/Special:Version" title="Special:Version">Special:Version</a> na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.</li></ul> <p><br /> <b>Instalacja Vagranta:</b> </p> <ul><li>Jeżeli korzystasz z <a href="/wiki/Special:MyLanguage/MediaWiki-Vagrant" title="Special:MyLanguage/MediaWiki-Vagrant">Vagrant</a><span style="display:none"><a href="/wiki/MediaWiki-Vagrant" title="MediaWiki-Vagrant"> </a></span>a, zainstaluj poprzez <code>vagrant roles enable scribunto --provision</code></li></ul> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading2"><h2 id="Requirements">Requirements</h2></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="PCRE_version_compatibility">PCRE version compatibility</h3></div> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">PCRE 8.33+ is recommended.</span> <span lang="en" dir="ltr" class="mw-content-ltr">PCRE 8.33 was released in May 2013.</span> <span lang="en" dir="ltr" class="mw-content-ltr">You can see the version of <a href="https://en.wikipedia.org/wiki/PCRE" class="extiw" title="w:PCRE">PCRE</a> used by PHP by viewing a phpinfo() web page, or from the command line with the following command:</span> </p> <div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span>php<span class="w"> </span>-r<span class="w"> </span><span class="s1">'echo "pcre: " . ( extension_loaded( "pcre" ) ? PCRE_VERSION : "no" ) . "\n";'</span> </pre></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <ul><li>Scribunto will not work with versions of PCRE lower than 8.10.</li></ul> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <ul><li>PCRE 8.32 has <a rel="nofollow" class="external text" href="https://bugs.exim.org/show_bug.cgi?id=1340">a bug</a> that will cause it to reject certain <a href="https://en.wikipedia.org/wiki/Mapping_of_Unicode_characters#Non-characters" class="extiw" title="w:Mapping of Unicode characters">non-character codepoints</a>, which will cause errors in the mw.html module.</li></ul> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>CentOS 6 and RHEL 6 are stuck on PCRE 7 and need to be upgraded. </p> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">Updating to 8.33 on a server with an older version may be relatively complicated.</span> Zobacz <a href="/wiki/Special:MyLanguage/Updating_to_PCRE_8.33_or_Higher" title="Special:MyLanguage/Updating to PCRE 8.33 or Higher">Updating to PCRE 8.33 or Higher</a><span style="display:none"><a href="/wiki/Updating_to_PCRE_8.33_or_Higher" title="Updating to PCRE 8.33 or Higher"> </a></span> po szczegóły. </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="PHP_pcntl_(LTS_)"><span id="PHP_pcntl_.28LTS_.29"></span>PHP pcntl (<a href="/wiki/Special:MyLanguage/LTS" title="Special:MyLanguage/LTS">LTS</a><span style="display:none"><a href="/wiki/LTS" class="mw-redirect" title="LTS"> </a></span>)</h3></div> </div> <style data-mw-deduplicate="TemplateStyles:r4199130">.mw-parser-output .mw-version{border:1px solid #72777d;font-size:80%;line-height:1.2;border-collapse:collapse}.mw-parser-output .mw-version-ltr{float:right;margin:0 0 .5em .5em;text-align:right}.mw-parser-output .mw-version-rtl{float:left;margin:0 .5em .5em 0;text-align:left}.mw-parser-output .mw-version td{padding:.1em .3em}.mw-parser-output .mw-version-versionbox{border:5px solid #00af89;text-align:center}.mw-parser-output .mw-version-versionnumber{font-weight:bold;font-size:180%}.mw-parser-output .mw-version-version .mw-version-versionbox{border-color:#c8ccd1}.mw-parser-output .mw-version.mw-version-version2 .mw-version-versionbox{border-top-color:#c8ccd1;border-right-color:#c8ccd1;border-left-color:#c8ccd1}.mw-parser-output .mw-version-version-unsupported .mw-version-versionbox{border-color:#d33}.mw-parser-output .mw-version.mw-version-version2-unsupported .mw-version-versionbox{border-top-color:#d33;border-right-color:#d33;border-left-color:#d33}.mw-parser-output .mw-version-version-legacy .mw-version-versionbox{border-color:#f93}.mw-parser-output .mw-version.mw-version-version2-legacy .mw-version-versionbox{border-top-color:#f93;border-right-color:#f93;border-left-color:#f93}.mw-parser-output .mw-version-version-stable .mw-version-versionbox,.mw-parser-output .mw-version.mw-version.mw-version-and-later .mw-version-versionbox{border-color:#00af89}.mw-parser-output .mw-version.mw-version-version2-stable .mw-version-versionbox{border-top-color:#00af89;border-right-color:#00af89;border-left-color:#00af89}.mw-parser-output .mw-version-version-future .mw-version-versionbox{border-color:#8080c0}.mw-parser-output .mw-version.mw-version-version2-future .mw-version-versionbox{border-top-color:#8080c0;border-right-color:#8080c0;border-left-color:#8080c0}.mw-parser-output .mw-version-version-alpha .mw-version-versionbox{border-style:dotted}</style> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported mw-version-version2 mw-version-version2-unsupported"><tbody><tr> <td>Wersje MediaWiki:</td> <td class="mw-version-versionbox" title="Wersja MediaWiki 1.28 nie jest obsługiwana"><div class="mw-version-versionnumber"> 1.25 – 1.28</div></td> </tr></tbody></table> <p><span lang="en" dir="ltr" class="mw-content-ltr">Scribunto versions for MediaWiki 1.25 to 1.28 required PHP's <a rel="nofollow" class="external text" href="https://php.net/pcntl.installation">pcntl extension</a>, which is only available on Unix/Linux platforms, if you want to use "LuaStandalone" (i.e. running in a separate child process).</span> <span lang="en" dir="ltr" class="mw-content-ltr">This requirement was removed in Scribunto for MediaWiki 1.29.</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>You can check whether pcntl support is enabled by viewing a phpinfo() web page, or from the command line with the following command: </p> </div> <div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span>php<span class="w"> </span>-r<span class="w"> </span><span class="s1">'echo "pcntl: " . ( extension_loaded( "pcntl" ) ? "yes" : "no" ) . "\n";'</span> </pre></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="PHP_mbstring_extension">PHP mbstring extension</h3></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>PHP needs to have the <a rel="nofollow" class="external text" href="https://php.net/mbstring">mbstring</a> extension enabled. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>You can check whether mbstring support is enabled by viewing a phpinfo() web page, or from the command line with the following command: </p> </div> <div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span>php<span class="w"> </span>-r<span class="w"> </span><span class="s1">'echo "mbstring: " . ( extension_loaded( "mbstring" ) ? "yes" : "no" ) . "\n";'</span> </pre></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Lua_binary">Lua binary</h3></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading4"><h4 id="Bundled_binaries">Bundled binaries</h4></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Scribunto comes bundled with Lua binary distributions for Linux (x86 and x86-64), Mac OS X Lion, and Windows (32- and 64-bit). </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Scribunto should work for you out of the box if: </p> </div> <ol><li><span lang="en" dir="ltr" class="mw-content-ltr">Your web server is run on one of the above platforms.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">PHP's <code>proc_open</code> function is not restricted.</span><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></li> <li><code>proc_terminate</code> and <code>shell_exec</code> are not disabled in PHP.</li> <li><span lang="en" dir="ltr" class="mw-content-ltr">Your web server is configured to allow the execution of binary files in the MediaWiki tree.</span></li></ol> <dl><dd><span typeof="mw:File"><span><img alt="Uwaga" src="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/18px-OOjs_UI_icon_lightbulb-yellow.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/27px-OOjs_UI_icon_lightbulb-yellow.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/a8/OOjs_UI_icon_lightbulb-yellow.svg/36px-OOjs_UI_icon_lightbulb-yellow.svg.png 2x" data-file-width="20" data-file-height="20" /></span></span> <b>Uwaga:</b> <span lang="en" dir="ltr" class="mw-content-ltr">Execute permissions may need to be set; for example, in Linux use:</span> <dl><dd><div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span>chmod<span class="w"> </span><span class="m">755</span><span class="w"> </span>/path/to/extensions/Scribunto/includes/Engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua </pre></div> <span lang="en" dir="ltr" class="mw-content-ltr">If you are using SELinux in "Enforcing" mode on your server, you might need to set a proper context for the binaries.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Example for RHEL/CentOS 7:</span> <div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span>chcon<span class="w"> </span>-t<span class="w"> </span>httpd_sys_script_exec_t<span class="w"> </span>/path/to/extensions/Scribunto/includes/Engines/LuaStandalone/binaries/lua5_1_5_linux_64_generic/lua </pre></div></dd></dl></dd></dl> <p><span lang="en" dir="ltr" class="mw-content-ltr">P.S. Check your version of the extension to see if the name of the engines folder is capitalised or fully lowercase.</span><sup id="cite_ref-engines_2-0" class="reference"><a href="#cite_note-engines-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading4"><h4 id="Additional_binaries">Additional binaries</h4></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Additional Lua binary distributions, which may be needed for your web server if its operating system is not in the list above, can be obtained from <a rel="nofollow" class="external free" href="http://luabinaries.sourceforge.net/">http://luabinaries.sourceforge.net/</a> or from your Linux distribution. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Only binary files for Lua 5.1.x are supported. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Once you've installed the appropriate binary file on your web server, configure the location of the file with: </p> </div> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="c1"># Where Lua is the name of the binary file</span> <span class="c1"># e.g. SourceForge LuaBinaries 5.1.5 - Release 2 name the binary file lua5.1</span> <span class="nv">$wgScribuntoEngineConf</span><span class="p">[</span><span class="s1">'luastandalone'</span><span class="p">][</span><span class="s1">'luaPath'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'/path/to/binaries/lua5.1'</span><span class="p">;</span> </pre></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Note that you should not add the above line unless you've confirmed that Scribunto's built-in binaries don't work for you. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>LuaJIT, although theoretically compatible, is not supported. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The support was removed due to <a href="https://en.wikipedia.org/wiki/Spectre_(security_vulnerability)" class="extiw" title="w:Spectre (security vulnerability)">Spectre</a> and bitrot concerns (<a href="https://phabricator.wikimedia.org/T184156" class="extiw" title="phab:T184156">phab:T184156</a>). </p> </div> <p><span id="Optional_installation"></span> </p> <div class="mw-heading mw-heading2"><h2 id="Instalacja_opcjonalna">Instalacja opcjonalna</h2></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Integrating_extensions">Integrating extensions</h3></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>For a more pleasant user interface, with syntax highlighting and a code editor with autoindent, install the following extensions: </p> </div> <ul><li><a href="/wiki/Special:MyLanguage/Extension:WikiEditor" title="Special:MyLanguage/Extension:WikiEditor">WikiEditor</a><span style="display:none"><a href="/wiki/Extension:WikiEditor" title="Extension:WikiEditor"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Extension:SyntaxHighlight" title="Special:MyLanguage/Extension:SyntaxHighlight">SyntaxHighlight</a><span style="display:none"><a href="/wiki/Extension:SyntaxHighlight" title="Extension:SyntaxHighlight"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Extension:CodeEditor" title="Special:MyLanguage/Extension:CodeEditor">CodeEditor</a><span style="display:none"><a href="/wiki/Extension:CodeEditor" title="Extension:CodeEditor"> </a></span></li></ul> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4199130"> <table class="mw-version mw-version-ltr mw-version-version mw-version-version-unsupported"><tbody><tr> <td>Wersja MediaWiki:</td> <td class="mw-version-versionbox" title="Wersja MediaWiki 1.30 nie jest obsługiwana"><div class="mw-version-versionnumber"><small>≤</small> 1.30</div></td> </tr></tbody></table> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Then in your <code>LocalSettings.php</code> after all the extension registrations, add: </p> </div> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">$wgScribuntoUseGeSHi</span> <span class="o">=</span> <span class="k">true</span><span class="p">;</span> <span class="nv">$wgScribuntoUseCodeEditor</span> <span class="o">=</span> <span class="k">true</span><span class="p">;</span> </pre></div> <p>These settings are not necessary in MediaWiki versions after 1.30, where the code editor and syntax hightlighting should be used in the appropriate places automatically once the extensions are loaded. However, other settings may be desired. See the documentation for each extension. </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="LuaSandbox">LuaSandbox</h3></div> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">We have developed a PHP extension written in C called LuaSandbox.</span> <span lang="en" dir="ltr" class="mw-content-ltr">It can be used as an alternative to the standalone binary, and will provide improved performance.</span> <span lang="en" dir="ltr" class="mw-content-ltr">See <a href="/wiki/Special:MyLanguage/LuaSandbox" title="Special:MyLanguage/LuaSandbox">LuaSandbox</a><span style="display:none"><a href="/wiki/LuaSandbox" title="LuaSandbox"> </a></span> for details and installation instructions.</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you initially installed the extension to use the Lua standalone binary, be sure to update <code>LocalSettings.php</code> with the following configuration setting: </p> </div> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">$wgScribuntoDefaultEngine</span> <span class="o">=</span> <span class="s1">'luasandbox'</span><span class="p">;</span> </pre></div> <p><span id="Configuration"></span> </p> <div class="mw-heading mw-heading2"><h2 id="Konfiguracja">Konfiguracja</h2></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The following configuration variables are available: </p> </div> <dl><dt>$wgScribuntoDefaultEngine</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Select the engine.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Valid values are the keys in <code class="mw-highlight mw-highlight-lang-php mw-content-ltr" style="" dir="ltr"><span class="nv">$wgScribuntoEngineConf</span></code>, which by default are <code>'luasandbox'</code> or <code>'luastandalone'</code>.</span></dd> <dt>$wgScribuntoUseGeSHi</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">When <a href="/wiki/Special:MyLanguage/Extension:SyntaxHighlight" title="Special:MyLanguage/Extension:SyntaxHighlight">Rozszerzenie:SyntaxHighlight</a><span style="display:none"><a href="/wiki/Extension:SyntaxHighlight" title="Extension:SyntaxHighlight"> </a></span> is installed, set this true to use it when displaying Module pages. (MediaWiki 1.30 or earlier.)</span></dd> <dt>$wgScribuntoUseCodeEditor</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">When <a href="/wiki/Special:MyLanguage/Extension:CodeEditor" title="Special:MyLanguage/Extension:CodeEditor">Rozszerzenie:CodeEditor</a><span style="display:none"><a href="/wiki/Extension:CodeEditor" title="Extension:CodeEditor"> </a></span> is installed, set this <code>true</code> to use it when editing Module pages. (MediaWiki 1.30 or earlier.)</span></dd> <dt>$wgScribuntoEngineConf</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">An associative array for engine configuration.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Keys are the valid values for <code class="mw-highlight mw-highlight-lang-php mw-content-ltr" style="" dir="ltr"><span class="nv">$wgScribuntoDefaultEngine</span></code>, and values are associative arrays of configuration data.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Each configuration array must contain a <code>'class'</code> key naming the <code>ScribuntoEngineBase</code> subclass to use.</span></dd></dl> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="LuaStandalone">LuaStandalone</h3></div> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">The following keys are used in <code class="mw-highlight mw-highlight-lang-php mw-content-ltr" style="" dir="ltr"><span class="nv">$wgScribuntoEngineConf</span></code> for <code>Scribunto_LuaStandaloneEngine</code>.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Generally you'd set these as something like</span> </p> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">$wgScribuntoEngineConf</span><span class="p">[</span><span class="s1">'luastandalone'</span><span class="p">][</span><span class="s1">'key'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'value'</span><span class="p">;</span> </pre></div> <dl><dt>luaPath</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Specify the path to a Lua interpreter.</span></dd> <dt>errorFile</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Specify the path to a file, writable by the web server user, where the error and debugging output from the standalone interpreter will be logged.</span></dd> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Error output produced by the standalone interpreter are not logged by default.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Configure logging with:</span></dd></dl> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">$wgScribuntoEngineConf</span><span class="p">[</span><span class="s1">'luastandalone'</span><span class="p">][</span><span class="s1">'errorFile'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'/path/to/file.log'</span><span class="p">;</span> </pre></div> <dl><dt>memoryLimit</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Specify the memory limit in bytes. Default 52428800 (50MB) (enforced using ulimit).</span></dd> <dt>cpuLimit</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Specify the CPU time limit in seconds (enforced using ulimit).</span></dd> <dt>allowEnvFuncs</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Set true to allow use of setfenv and getfenv in modules.</span></dd></dl> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="LuaSandbox_2">LuaSandbox</h3></div> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">The following keys are used in <code class="mw-highlight mw-highlight-lang-php mw-content-ltr" style="" dir="ltr"><span class="nv">$wgScribuntoEngineConf</span></code> for <code>Scribunto_LuaSandboxEngine</code>.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Generally you'd set these as something like</span> </p> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">$wgScribuntoEngineConf</span><span class="p">[</span><span class="s1">'luasandbox'</span><span class="p">][</span><span class="s1">'key'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'value'</span><span class="p">;</span> </pre></div> <dl><dt>memoryLimit</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Specify the memory limit in bytes.</span> Default 52428800 (50MB)</dd> <dt>cpuLimit</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Specify the CPU time limit in seconds.</span></dd> <dt>profilerPeriod</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Specify the time between polls in sections for the Lua profiler.</span></dd> <dt>allowEnvFuncs</dt> <dd><span lang="en" dir="ltr" class="mw-content-ltr">Set true to allow use of setfenv and getfenv in modules.</span></dd></dl> <p><span id="Usage"></span> </p> <div class="mw-heading mw-heading2"><h2 id="Użycie"><span id="U.C5.BCycie"></span>Użycie</h2></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">Scripts go in a new namespace called <b><a href="/wiki/Special:PrefixIndex/Module:" title="Special:PrefixIndex/Module:">Module</a></b>.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Each module has a collection of functions, which can be called using wikitext syntax such as:</span> </p><p><span class="anchor" id="#invoke"></span><span class="anchor" id=".23invoke"></span>{{#invoke: <i>Module_name</i> | <i>function_name</i> | <i>arg1</i> | <i>arg2</i> | <i>arg3</i> ... }} </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading2"><h2 id="Lua">Lua</h2></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Learning_Lua">Learning Lua</h3></div> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">Lua is a simple programming language intended to be accessible to beginners.</span> <span lang="en" dir="ltr" class="mw-content-ltr">For a quick crash-course on Lua, try <a rel="nofollow" class="external text" href="http://tylerneylon.com/a/learn-lua/">Learn Lua in 15 Minutes</a>.</span> </p><p><span lang="en" dir="ltr" class="mw-content-ltr">The best comprehensive introduction to Lua is the book <i>Programming in Lua</i>.</span> <span lang="en" dir="ltr" class="mw-content-ltr">The first edition (for Lua 5.0) is available online and is mostly relevant to Lua 5.1, the version used by Scribunto:</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <ul><li><a rel="nofollow" class="external text" href="https://www.lua.org/pil/index.html">Programming in Lua</a> (scroll down past the book ads to find the text)</li></ul> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The reference manual is also useful: </p> </div> <ul><li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Lua_reference_manual" title="Special:MyLanguage/Extension:Scribunto/Lua reference manual">Extension:Scribunto/Lua reference manual</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Lua_reference_manual" title="Extension:Scribunto/Lua reference manual"> </a></span></li></ul> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Lua_environment">Lua environment</h3></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>In Lua, the set of all global variables and functions is called an environment. </p> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">Each <code>{{#invoke:}}</code> call runs in a separate environment.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Variables defined in one <code>{{#invoke:}}</code> will not be available from another.</span> <span lang="en" dir="ltr" class="mw-content-ltr">This restriction was necessary to maintain flexibility in the wikitext parser implementation.</span> </p> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6651107"><div role="note" class="note note-info"><span lang="en" dir="ltr" class="mw-content-ltr">The environment which scripts run in is not quite the same as in standard Lua.</span> <span lang="en" dir="ltr" class="mw-content-ltr">These differences are noted in <a href="/wiki/Special:MyLanguage/Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua" title="Special:MyLanguage/Extension:Scribunto/Lua reference manual">Extension:Scribunto/Lua reference manual</a>.</span></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Debug_console">Debug console</h3></div> </div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:Scribunto_debug_console_usage_example.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Scribunto_debug_console_usage_example.png/220px-Scribunto_debug_console_usage_example.png" decoding="async" width="220" height="208" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Scribunto_debug_console_usage_example.png/330px-Scribunto_debug_console_usage_example.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Scribunto_debug_console_usage_example.png/440px-Scribunto_debug_console_usage_example.png 2x" data-file-width="1073" data-file-height="1016" /></a><figcaption><span lang="en" dir="ltr" class="mw-content-ltr">Debug console usage example</span></figcaption></figure> <dl><dd><i>Zobacz też: <a href="/wiki/Special:MyLanguage/Extension:Scribunto/Debug_console" title="Special:MyLanguage/Extension:Scribunto/Debug console">Extension:Scribunto/Debug console</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Debug_console" title="Extension:Scribunto/Debug console"> </a></span></i></dd></dl> <p><span lang="en" dir="ltr" class="mw-content-ltr">When editing a Lua module a so-called "debug console" can be found underneath the edit form.</span> <span lang="en" dir="ltr" class="mw-content-ltr">In this debug console Lua code can be executed without having to save or even create the Lua module in question.</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading2"><h2 id="Troubleshooting">Troubleshooting</h2></div> </div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:Script_error_clickable_Scribunto.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/mediawiki/thumb/0/04/Script_error_clickable_Scribunto.png/220px-Script_error_clickable_Scribunto.png" decoding="async" width="220" height="229" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/mediawiki/thumb/0/04/Script_error_clickable_Scribunto.png/330px-Script_error_clickable_Scribunto.png 1.5x, //upload.wikimedia.org/wikipedia/mediawiki/0/04/Script_error_clickable_Scribunto.png 2x" data-file-width="336" data-file-height="350" /></a><figcaption><span lang="en" dir="ltr" class="mw-content-ltr">Troubleshooting using the clickable "Script error" link.</span></figcaption></figure> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Note that red <strong class="error">Błąd skryptu</strong> messages are clickable and will provide more detailed information. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Cannot_execute_extensions/Scribunto/includes/Engines/LuaStandalone/binaries"><span id="Cannot_execute_extensions.2FScribunto.2Fincludes.2FEngines.2FLuaStandalone.2Fbinaries"></span>Cannot execute extensions/Scribunto/includes/Engines/LuaStandalone/binaries</h3></div> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">Make sure execute permissions are set for the Lua binaries bundled with this extension:</span><sup id="cite_ref-engines_2-1" class="reference"><a href="#cite_note-engines-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span>chmod<span class="w"> </span>a+x<span class="w"> </span>/path/to/extensions/Scribunto/includes/Engines/LuaStandalone/binaries/<span class="nv">$YOUR_OS</span>/lua </pre></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">Set type to <code>httpd_sys_script_exec_t</code> if SELinux is enforced:</span><sup id="cite_ref-engines_2-2" class="reference"><a href="#cite_note-engines-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> </p> <div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span>chcon<span class="w"> </span>-t<span class="w"> </span>httpd_sys_script_exec_t<span class="w"> </span>/path/to/extensions/Scribunto/includes/Engines/LuaStandalone/binaries/yourOS/lua </pre></div> <div class="mw-heading mw-heading3"><h3 id="Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_1"><span id="B.C5.82.C4.85d_Lua:_B.C5.82.C4.85d_wewn.C4.99trzny:_Interpreter_zako.C5.84czy.C5.82_prac.C4.99_ze_statusem_1"></span>Błąd Lua: Błąd wewnętrzny: Interpreter zakończył pracę ze statusem 1</h3></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">When using the LuaStandalone engine (this is the default), errors along the lines of <b>"Błąd Lua: Błąd wewnętrzny: Interpreter zakończył pracę ze statusem 1"</b> may be generated if the standalone Lua interpreter cannot be executed or runs into various runtime errors.</span> <span lang="en" dir="ltr" class="mw-content-ltr">To obtain more information, assign a file path to <code class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><span class="nv">$wgScribuntoEngineConf</span><span class="p">[</span><span class="s1">'luastandalone'</span><span class="p">][</span><span class="s1">'errorFile'</span><span class="p">]</span></code>.</span> <span lang="en" dir="ltr" class="mw-content-ltr">The interpreter's error output will be logged to the specified file, which should prove more helpful in tracking down the issue.</span> <span lang="en" dir="ltr" class="mw-content-ltr">The information in the debug log includes debugging information, which is why there is so much of it.</span> <span lang="en" dir="ltr" class="mw-content-ltr">You should be able to ignore any line beginning with "TX" or "RX".</span> </p><p><span lang="en" dir="ltr" class="mw-content-ltr">If you're setting up Scribunto and are using IIS/Windows, this appears to be solved by commenting out <a class="external text" href="https://www.mediawiki.org/w/index.php?title=Topic:W6pj4xql1tjpvfyb&topic_showPostId=watax8fwicsi11ps#flow-post-watax8fwicsi11ps">a particular line</a>.</span> </p> <div class="mw-heading mw-heading3"><h3 id="Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_2"><span id="B.C5.82.C4.85d_Lua:_B.C5.82.C4.85d_wewn.C4.99trzny:_Interpreter_zako.C5.84czy.C5.82_prac.C4.99_ze_statusem_2"></span>Błąd Lua: Błąd wewnętrzny: Interpreter zakończył pracę ze statusem 2</h3></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">When using the LuaStandalone engine (this is the default), status 2 suggests memory allocation errors, probably caused by settings that allocate inadequate memory space for PHP or Lua, or both.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Assigning a file path to <code class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><span class="nv">$wgScribuntoEngineConf</span><span class="p">[</span><span class="s1">'luastandalone'</span><span class="p">][</span><span class="s1">'errorFile'</span><span class="p">]</span></code> and examining that output can be valuable in diagnosing memory allocation errors.</span> </p><p><span lang="en" dir="ltr" class="mw-content-ltr">Increase PHP allocation in your PHP configuration; add the line <code>memory_limit = 200M</code>.</span> <span lang="en" dir="ltr" class="mw-content-ltr">This allocation of 200MB is often sufficient (as of MediaWiki 1.24) but can be increased as required.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Set Scribunto's memory allocation in <code>LocalSettings.php</code> as a line:</span> </p> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">$wgScribuntoEngineConf</span><span class="p">[</span><span class="s1">'luastandalone'</span><span class="p">][</span><span class="s1">'memoryLimit'</span><span class="p">]</span> <span class="o">=</span> <span class="mi">209715200</span><span class="p">;</span> <span class="c1"># bytes</span> </pre></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Finally, depending on the server configuration, some installations may be helped by adding another <code>LocalSettings.php</code> line </p> </div> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">$wgMaxShellMemory</span> <span class="o">=</span> <span class="mi">204800</span><span class="p">;</span> <span class="c1"># in KB</span> </pre></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Note that all 3 memory limits are given in different units. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Lua_error:_Internal_error:_2._on_ARM_architecture">Lua error: Internal error: 2. on ARM architecture</h3></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you're using an ARM architecture processor like on a RaspberryPi you'll face the error <code>Lua error: Internal error: The interpreter exited with status 2.</code> due to wrong delivered binary format of the Lua interpreter. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Check your Lua interpreter in: </p> </div> <pre>/path/to/webdir/Scribunto/includes/Engines/LuaStandalone/binaries/lua5_1_5_linux_32_generic </pre> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Check the interpreter by using: </p> </div> <pre>file lua </pre> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The result should look like : </p> </div> <pre>lua: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0 </pre> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>The installed default Lua interpreter shows: </p> </div> <pre>lua: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.9, </pre> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>look at the "Intel 80386" part what definitely is not correct. </p> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">Check in <code>/usr/bin</code> what version of Lua is installed on your system.</span> <span lang="en" dir="ltr" class="mw-content-ltr">If you have lua5.1 installed, you can either copy the interpreter to your <code>lua5_1_5_linux_32_generic</code> directory or set in your LocalSettings.php:</span> </p> <div class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">$wgScribuntoEngineConf</span><span class="p">[</span><span class="s1">'luastandalone'</span><span class="p">][</span><span class="s1">'luaPath'</span><span class="p">]</span> <span class="o">=</span> <span class="s1">'/usr/bin/lua5.1'</span><span class="p">;</span> </pre></div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>At present don't set <code>wgScribuntoEngineConf</code> to /usr/bin/lua5.3, it'll lead to the "Internal error 1". </p> </div> <div class="mw-heading mw-heading3"><h3 id="Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_24"><span id="B.C5.82.C4.85d_Lua:_B.C5.82.C4.85d_wewn.C4.99trzny:_Interpreter_zako.C5.84czy.C5.82_prac.C4.99_ze_statusem_24"></span>Błąd Lua: Błąd wewnętrzny: Interpreter zakończył pracę ze statusem 24</h3></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">When using the LuaStandalone engine (this is the default), status 24 suggests CPU time limit errors, although those should be generating a "The time allocated for running scripts has expired" message instead.</span> <span lang="en" dir="ltr" class="mw-content-ltr">It would be useful to file a task in <a href="/wiki/Special:MyLanguage/Phabricator" title="Special:MyLanguage/Phabricator">Phabricator</a><span style="display:none"><a href="/wiki/Phabricator" title="Phabricator"> </a></span> and participate in determining why the XCPU signal isn't being caught.</span> </p> <div class="mw-heading mw-heading3"><h3 id="Błąd_Lua:_Błąd_wewnętrzny:_Interpreter_zakończył_pracę_ze_statusem_126"><span id="B.C5.82.C4.85d_Lua:_B.C5.82.C4.85d_wewn.C4.99trzny:_Interpreter_zako.C5.84czy.C5.82_prac.C4.99_ze_statusem_126"></span>Błąd Lua: Błąd wewnętrzny: Interpreter zakończył pracę ze statusem 126</h3></div> <p><span lang="en" dir="ltr" class="mw-content-ltr">When using the LuaStandalone engine (this is the default), errors along the lines of <b>"Błąd Lua: Błąd wewnętrzny: Interpreter zakończył pracę ze statusem 126"</b> may be generated if the standalone Lua interpreter cannot be executed.</span> <span lang="en" dir="ltr" class="mw-content-ltr">This generally arises from either of two causes:</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <ul><li>The Lua executable file's permissions do not include Execute.</li></ul> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">Set permissions as described under <a href="#Installation">#Installation</a>.</span> </p><div lang="en" dir="ltr" class="mw-content-ltr"> <ul><li>The server does not allow execution of files from the place where the executable is installed, e.g. the filesystem is mounted with the <code>'noexec'</code> flag.</li></ul> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">This often occurs with shared hosted servers.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Remedies include adjusting <code class="mw-highlight mw-highlight-lang-php mw-content-ltr" dir="ltr"><span class="nv">$wgScribuntoEngineConf</span><span class="p">[</span><span class="s1">'luastandalone'</span><span class="p">][</span><span class="s1">'luaPath'</span><span class="p">]</span></code> to point to a Lua 5.1 binary installed in an executable location, or adjusting or convincing the shared host to adjust the setting preventing execution.</span> </p><div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Error_condition_such_as:_Fatal_exception_of_type_MWException">Error condition such as: Fatal exception of type MWException</h3></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Check the MediaWiki, PHP, or webserver logs for more details on the exception, or temporarily set <a href="/wiki/Special:MyLanguage/Manual:$wgShowExceptionDetails" title="Special:MyLanguage/Manual:$wgShowExceptionDetails">$wgShowExceptionDetails</a><span style="display:none"><a href="/wiki/Manual:$wgShowExceptionDetails" title="Manual:$wgShowExceptionDetails"> </a></span> to <code>true</code>. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="version_'GLIBC_2.11'_not_found"><span id="version_.27GLIBC_2.11.27_not_found"></span>version 'GLIBC_2.11' not found</h3></div> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">If the above gives you errors such as "version 'GLIBC_2.11' not found", it means the version of the standard C library on your system is too old for the binaries provided with Scribunto.</span> <span lang="en" dir="ltr" class="mw-content-ltr">You should upgrade your C library, or use a version of Lua 5.1 compiled for the C library you do have installed.</span> <span lang="en" dir="ltr" class="mw-content-ltr">To upgrade your C library, your best option is usually to follow your distribution's instructions for upgrading packages (or for upgrading to a new release of the distribution, if applicable).</span> </p><p><span lang="en" dir="ltr" class="mw-content-ltr">If you copy the lua binaries from Scribunto master (or from <a href="https://gerrit.wikimedia.org/r/77905" class="extiw" title="gerrit:77905">gerrit:77905</a>), that should suffice, if you can't or don't want to upgrade your C library.</span> <span lang="en" dir="ltr" class="mw-content-ltr">The distributed binaries were recently recompiled against an older version of glibc, so the minimum is now 2.3 rather than 2.11.</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Lua_errors_in_Scribunto_files">Lua errors in Scribunto files</h3></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Errors here include: </p> </div> <ul><li><b><span lang="en" dir="ltr" class="mw-content-ltr">attempt to index field 'text' (a nil value)</span></b></li> <li><b><span lang="en" dir="ltr" class="mw-content-ltr">Lua error in mw.html.lua at line 253: Invalid class given:</span></b></li></ul> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>If you are getting errors such these when attempting to use modules imported from WMF wikis, most likely your version of Scribunto is out of date. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Upgrade if possible; for advanced users, you might also try to identify the needed newer commits and cherry-pick them into your local installation. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="preg_replace_callback():_Compilation_failed:_unknown_property_name_after_\P_or_\p_at_offset_7"><span id="preg_replace_callback.28.29:_Compilation_failed:_unknown_property_name_after_.5CP_or_.5Cp_at_offset_7"></span>preg_replace_callback(): Compilation failed: unknown property name after \P or \p at offset 7</h3></div> </div> <p><code><span lang="en" dir="ltr" class="mw-content-ltr">preg_replace_callback(): Compilation failed: unknown property name after \P or \p at offset 7</span></code> </p> <ul><li><span lang="en" dir="ltr" class="mw-content-ltr">this usually indicates an incompatible version of PCRE; you'll need to update to >= 8.10</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr">@todo: link to instructions on how to upgrade</span></li></ul> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Lua_error">Lua error</h3></div> </div> <p><span lang="en" dir="ltr" class="mw-content-ltr">If you copy templates from Wikipedia and then get big red "Lua error: x" messages where the Scribunto invocation (e.g. the template that uses <code>{{#invoke:}}</code>) should be, that probably means that you didn't import everything you needed.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Make sure that you tick the "Include templates" box at <a href="https://en.wikipedia.org/wiki/Special:Export" class="extiw" title="w:Special:Export">w:Special:Export</a> when you export.</span> </p> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>When importing pages from another wiki, it is also possible for templates or modules in the imported data to overwrite existing templates or modules with the same title, which may break existing pages, templates, and modules that depend on the overwritten versions. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading3"><h3 id="Blank_screen">Blank screen</h3></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>Make sure your extension version is applicable to your MediaWiki version. </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading2"><h2 id="License">License</h2></div> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <p>This extension contains code licensed GNU General Public License v2.0 or later (GPL-2.0+) as well as code licensed MIT License (MIT). </p> </div> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading2"><h2 id="Design_documents">Design documents</h2></div> </div> <ul><li><figure class="mw-default-size" typeof="mw:File/Thumb"><span><video id="mwe_player_0" poster="//upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Linux.conf.au_2014_-_Scribunto_presentation.webm/220px--Linux.conf.au_2014_-_Scribunto_presentation.webm.jpg" controls="" preload="none" data-mw-tmh="" class="mw-file-element" width="220" height="165" data-durationhint="4501" data-mwtitle="Linux.conf.au_2014_-_Scribunto_presentation.webm" data-mwprovider="wikimediacommons" resource="/wiki/File:Linux.conf.au_2014_-_Scribunto_presentation.webm"><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/3/3c/Linux.conf.au_2014_-_Scribunto_presentation.webm/Linux.conf.au_2014_-_Scribunto_presentation.webm.480p.vp9.webm" type="video/webm; codecs="vp9, opus"" data-transcodekey="480p.vp9.webm" data-width="640" data-height="480" /><source src="//upload.wikimedia.org/wikipedia/commons/3/3c/Linux.conf.au_2014_-_Scribunto_presentation.webm" type="video/webm; codecs="vp8, vorbis"" data-width="768" data-height="576" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/3/3c/Linux.conf.au_2014_-_Scribunto_presentation.webm/Linux.conf.au_2014_-_Scribunto_presentation.webm.144p.mjpeg.mov" type="video/quicktime" data-transcodekey="144p.mjpeg.mov" data-width="192" data-height="144" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/3/3c/Linux.conf.au_2014_-_Scribunto_presentation.webm/Linux.conf.au_2014_-_Scribunto_presentation.webm.240p.vp9.webm" type="video/webm; codecs="vp9, opus"" data-transcodekey="240p.vp9.webm" data-width="320" data-height="240" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/3/3c/Linux.conf.au_2014_-_Scribunto_presentation.webm/Linux.conf.au_2014_-_Scribunto_presentation.webm.360p.vp9.webm" type="video/webm; codecs="vp9, opus"" data-transcodekey="360p.vp9.webm" data-width="480" data-height="360" /><source src="//upload.wikimedia.org/wikipedia/commons/transcoded/3/3c/Linux.conf.au_2014_-_Scribunto_presentation.webm/Linux.conf.au_2014_-_Scribunto_presentation.webm.360p.webm" type="video/webm; codecs="vp8, vorbis"" data-transcodekey="360p.webm" data-width="480" data-height="360" /></video></span><figcaption><span lang="en" dir="ltr" class="mw-content-ltr"><a href="/wiki/User:Tim_Starling" title="User:Tim Starling">Tim Starling</a>'s presentation at <a href="https://en.wikipedia.org/wiki/Linux.conf.au" class="extiw" title="w:Linux.conf.au">linux.conf.au</a> 2014 discussing the motivations, implementation challenges and results of deploying Scribunto and Lua.</span></figcaption></figure><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Parser_interface_design" title="Special:MyLanguage/Extension:Scribunto/Parser interface design">Extension:Scribunto/Parser interface design</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Parser_interface_design" title="Extension:Scribunto/Parser interface design"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Victor%27s_API_proposal" title="Special:MyLanguage/Extension:Scribunto/Victor's API proposal">Extension:Scribunto/Victor's API proposal</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Victor%27s_API_proposal" title="Extension:Scribunto/Victor's API proposal"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Documentation_specification" title="Special:MyLanguage/Extension:Scribunto/Documentation specification">Extension:Scribunto/Documentation specification</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Documentation_specification" title="Extension:Scribunto/Documentation specification"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Tim%27s_draft_roadmap" title="Special:MyLanguage/Extension:Scribunto/Tim's draft roadmap">Extension:Scribunto/Tim's draft roadmap</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Tim%27s_draft_roadmap" title="Extension:Scribunto/Tim's draft roadmap"> </a></span></li></ul> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading2"><h2 id="Other_pages">Other pages</h2></div> </div> <ul><li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Deployment_priorities" title="Special:MyLanguage/Extension:Scribunto/Deployment priorities">Extension:Scribunto/Deployment priorities</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Deployment_priorities" title="Extension:Scribunto/Deployment priorities"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Brainstorming" title="Special:MyLanguage/Extension:Scribunto/Brainstorming">Extension:Scribunto/Brainstorming</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Brainstorming" title="Extension:Scribunto/Brainstorming"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Lua_scripting" title="Special:MyLanguage/Lua scripting">Lua scripting</a><span style="display:none"><a href="/wiki/Lua_scripting" title="Lua scripting"> </a></span> - <span lang="en" dir="ltr" class="mw-content-ltr">Wikimedia activity page describing deployment plan to Wikimedia sites.</span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Lua_reference_manual" title="Special:MyLanguage/Extension:Scribunto/Lua reference manual">Extension:Scribunto/Lua reference manual</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Lua_reference_manual" title="Extension:Scribunto/Lua reference manual"> </a></span> - <span lang="en" dir="ltr" class="mw-content-ltr">The reference about the Lua language, as well as its standard libraries and common Scribunto modules supported on Wikimedia sites.</span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Lua_5.2_changes" title="Special:MyLanguage/Extension:Scribunto/Lua 5.2 changes">Extension:Scribunto/Lua 5.2 changes</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Lua_5.2_changes" title="Extension:Scribunto/Lua 5.2 changes"> </a></span> - <span lang="en" dir="ltr" class="mw-content-ltr">A list of known changes in Lua 5.2 that may cause code written in 5.1 to function unexpectedly.</span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Example_modules" title="Special:MyLanguage/Extension:Scribunto/Example modules">Extension:Scribunto/Example modules</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Example_modules" title="Extension:Scribunto/Example modules"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/Example_extension" title="Special:MyLanguage/Extension:Scribunto/Example extension">Extension:Scribunto/Example extension</a><span style="display:none"><a href="/wiki/Extension:Scribunto/Example_extension" title="Extension:Scribunto/Example extension"> </a></span> - <span lang="en" dir="ltr" class="mw-content-ltr">Code for example extensions extending the Scribunto library.</span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Scribunto/We_use_Lua" title="Special:MyLanguage/Extension:Scribunto/We use Lua">Extension:Scribunto/We use Lua</a><span style="display:none"><a href="/wiki/Extension:Scribunto/We_use_Lua" title="Extension:Scribunto/We use Lua"> </a></span></li></ul> <p><span id="See_also"></span> </p> <div class="mw-heading mw-heading2"><h2 id="Zobacz_też"><span id="Zobacz_te.C5.BC"></span>Zobacz też</h2></div> <dl><dt><span lang="en" dir="ltr" class="mw-content-ltr">General</span></dt></dl> <ul><li><a href="/wiki/Special:MyLanguage/Extension:Wikibase_Client/Lua" title="Special:MyLanguage/Extension:Wikibase Client/Lua">Lua Wikibase client</a><span style="display:none"><a href="/wiki/Extension:Wikibase_Client/Lua" title="Extension:Wikibase Client/Lua"> </a></span> - <span lang="en" dir="ltr" class="mw-content-ltr">functionality for the Scribunto extension.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr"><a href="https://commons.wikimedia.org/wiki/Special:MyLanguage/Commons:Lua" class="extiw" title="commons:Special:MyLanguage/Commons:Lua">Commons:Lua</a> - there may be specific notes for using Lua modules on Wikimedia Commons, including additional Lua extensions installed (e.g. for local support of internationalization and for parsing or playing medias).</span> <span lang="en" dir="ltr" class="mw-content-ltr">Some general purpose modules may be reused in other wikis in various languages (except specific tunings for policies, namespaces or project/maintenance pages with dedicated names).</span> <span lang="en" dir="ltr" class="mw-content-ltr">If possible, modules that could be widely reused across wikis should be tested and internationalized on Wikimedia Commons.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr"><a href="https://en.wikipedia.org/wiki/Help:Lua" class="extiw" title="w:Help:Lua">w:Help:Lua</a> - there may be specific notes for using Lua modules on Wikipedia, including additional Lua extensions installed (including for integrating Wikidata and Wikimedia Commons contents, generating complex infoboxes and navigation boxes, or to facilitate the general administration/maintenance of the wiki contents under applicable policies).</span> <span lang="en" dir="ltr" class="mw-content-ltr">Some other localized Wikipedia editions (or other projects such Wiktionnary, Wikisource or Wikinews) may also have their own needs and Lua modules.</span></li> <li><span lang="en" dir="ltr" class="mw-content-ltr"><a href="https://www.wikidata.org/wiki/Special:MyLanguage/Help:Lua" class="extiw" title="d:Special:MyLanguage/Help:Lua">d:Help:Lua</a> - there may be specific notes for using Lua modules on Wikidata, including additional Lua extensions installed (e.g. for local support of internationalization and for database queries)</span></li></ul> <dl><dt><span lang="en" dir="ltr" class="mw-content-ltr">Extensions</span></dt></dl> <ul><li><a href="/wiki/Special:MyLanguage/Extension:Capiunto" title="Special:MyLanguage/Extension:Capiunto">Capiunto</a><span style="display:none"><a href="/wiki/Extension:Capiunto" title="Extension:Capiunto"> </a></span> - <span lang="en" dir="ltr" class="mw-content-ltr">Provides basic <a href="/wiki/Special:MyLanguage/Extension:Capiunto/Infobox" title="Special:MyLanguage/Extension:Capiunto/Infobox">infobox</a> functionality for the Scribunto extension.</span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Semantic_Scribunto" title="Special:MyLanguage/Extension:Semantic Scribunto">Semantic Scribunto</a><span style="display:none"><a href="/wiki/Extension:Semantic_Scribunto" title="Extension:Semantic Scribunto"> </a></span> - <span lang="en" dir="ltr" class="mw-content-ltr">provides native support for the Scribunto extension for usage with <a href="/wiki/Special:MyLanguage/Extension:Semantic_MediaWiki" title="Special:MyLanguage/Extension:Semantic MediaWiki">Semantic MediaWiki</a><span style="display:none"><a href="/wiki/Extension:Semantic_MediaWiki" title="Extension:Semantic MediaWiki"> </a></span></span></li> <li><a href="/wiki/Special:MyLanguage/Extension:VariablesLua" title="Special:MyLanguage/Extension:VariablesLua">VariablesLua</a><span style="display:none"><a href="/wiki/Extension:VariablesLua" title="Extension:VariablesLua"> </a></span> - <span lang="en" dir="ltr" class="mw-content-ltr">provides a Scribunto Lua interface for the Variables extension</span></li> <li><a href="/wiki/Special:MyLanguage/Extension:Wikibase_Client" title="Special:MyLanguage/Extension:Wikibase Client">Wikibase Client</a><span style="display:none"><a href="/wiki/Extension:Wikibase_Client" title="Extension:Wikibase Client"> </a></span> - <span lang="en" dir="ltr" class="mw-content-ltr">provides <a href="/wiki/Special:MyLanguage/Wikibase" title="Special:MyLanguage/Wikibase">Wikibase</a><span style="display:none"><a href="/wiki/Wikibase" title="Wikibase"> </a></span> (part of <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Wikidata" class="extiw" title="m:Special:MyLanguage/Wikidata">Wikidata</a> project)</span></li></ul> <ul><li><a href="/wiki/Gadgets" class="mw-redirect" title="Gadgets">Gadgets</a></li> <li><a href="/wiki/Widgets" class="mw-redirect" title="Widgets">Widgets</a></li></ul> <div lang="en" dir="ltr" class="mw-content-ltr"> <div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div> </div> <ul><li><a rel="nofollow" class="external text" href="https://workingwithmediawiki.com/book/chapter12.html">Working with MediaWiki - Modules.</a></li></ul> <p><span id="Notes"></span> </p> <div class="mw-heading mw-heading2"><h2 id="Uwagi">Uwagi</h2></div> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a></span> <span class="reference-text"> <span lang="en" dir="ltr" class="mw-content-ltr">i.e. Scribunto will not work if <code>proc_open</code> is listed in the <code>disable_functions</code> array in your server's "php.ini" file.</span> <span lang="en" dir="ltr" class="mw-content-ltr">If it is, you may see an error message like <code>proc_open(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s):</code>.</span> <span lang="en" dir="ltr" class="mw-content-ltr">If you are using Plesk and have been granted sufficient permissions, you may be able to set <code>open_basedir</code> in the PHP settings for your domain or subdomain.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Try changing <code>{WEBSPACEROOT}{/}{:}{TMP}{/}</code> to <code>{WEBSPACEROOT}{/}{:}{TMP}{/}{:}/dev/null{:}/bin/bash</code>.</span></span> </li> <li id="cite_note-engines-2"><span class="mw-cite-backlink">↑ <sup><a href="#cite_ref-engines_2-0">2.0</a></sup> <sup><a href="#cite_ref-engines_2-1">2.1</a></sup> <sup><a href="#cite_ref-engines_2-2">2.2</a></sup></span> <span class="reference-text"> <span lang="en" dir="ltr" class="mw-content-ltr"><a rel="nofollow" class="external text" href="https://github.com/wikimedia/mediawiki-extensions-Scribunto/commit/1eecdac6def6418fb36829cc2f20b464c30e4b37">The name of the engines folder changed from lowercase to capitalised in 2022</a>.</span></span> </li> </ol></div> <style data-mw-deduplicate="TemplateStyles:r6651108">.mw-parser-output table.ombox{margin:4px 10%;border-collapse:collapse;border:1px solid #a2a9b1;background-color:#f8f9fa;color:#333;box-sizing:border-box}.mw-parser-output .ombox td.mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ombox th.mbox-text,.mw-parser-output .ombox td.mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .ombox td.mbox-image{border:none;text-align:center;padding:2px 0 2px 0.9em}.mw-parser-output .ombox td.mbox-imageright{border:none;text-align:center;padding:2px 0.9em 2px 0}.mw-parser-output table.ombox-notice{border-color:#a2a9b1}.mw-parser-output table.ombox-speedy{background-color:#fee7e6;color:#333}.mw-parser-output table.ombox-speedy,.mw-parser-output table.ombox-delete{border-color:#b32424;border-width:2px}.mw-parser-output table.ombox-content{border-color:#f28500}.mw-parser-output table.ombox-style{border-color:#fc3}.mw-parser-output table.ombox-move{border-color:#9932cc}.mw-parser-output table.ombox-protection{border-color:#a2a9b1;border-width:2px}html body.mediawiki .mw-parser-output .ombox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;box-sizing:border-box;width:238px;font-size:88%;line-height:1.25em}@media screen{html.skin-theme-clientpref-night .mw-parser-output table.ombox{background-color:transparent;color:inherit}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output table.ombox{background-color:transparent;color:inherit}}</style><table class="ombox ombox-notice plainlinks" role="presentation" style="clear: both; margin-top: 0; margin-bottom: 0;"><tbody><tr><td class="mbox-image"><span class="skin-invert-image" typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Wikimedia-logo_black.svg/40px-Wikimedia-logo_black.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Wikimedia-logo_black.svg/60px-Wikimedia-logo_black.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Wikimedia-logo_black.svg/80px-Wikimedia-logo_black.svg.png 2x" data-file-width="512" data-file-height="512" /></span></span></td><td class="mbox-text">To rozszerzenie jest wykorzystywane przez jeden lub więcej <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Wikimedia_projects" class="extiw" title="m:Special:MyLanguage/Wikimedia projects">projektów Wikimedia</a>. Oznacza to prawdopodobnie, że to rozszerzenie jest stabilne i działa wystarczająco dobrze, aby wykorzystywać je na stronach o dużym natężeniu ruchu. Odnajdź nazwę tego rozszerzenia w plikach konfiguracyjnych Wikimedia <a class="external text" href="https://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php">CommonSettings.php</a> oraz <a class="external text" href="https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php">InitialiseSettings.php</a>, aby zobaczyć gdzie są zainstalowane. Pełną listę rozszerzeń zainstalowanych na określonej wiki można znaleźć na stronie <a href="/wiki/Special:Version" title="Special:Version">Special:Version</a> na danej wiki.</td></tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r6651108"><table class="ombox ombox-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ec/OOjs_UI_icon_information-progressive.svg/40px-OOjs_UI_icon_information-progressive.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ec/OOjs_UI_icon_information-progressive.svg/60px-OOjs_UI_icon_information-progressive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ec/OOjs_UI_icon_information-progressive.svg/80px-OOjs_UI_icon_information-progressive.svg.png 2x" data-file-width="20" data-file-height="20" /></span></span></td><td class="mbox-text">To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: <style data-mw-deduplicate="TemplateStyles:r6387430">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li,.mw-parser-output .hlist .mw-empty-elt{display:none}.mw-parser-output .hlist dt:after{content:": "}.mw-parser-output .hlist dd:after,.mw-parser-output .hlist li:after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child:after,.mw-parser-output .hlist dt:last-child:after,.mw-parser-output .hlist li:last-child:after{content:none}.mw-parser-output .hlist dd dd:first-child:before,.mw-parser-output .hlist dd dt:first-child:before,.mw-parser-output .hlist dd li:first-child:before,.mw-parser-output .hlist dt dd:first-child:before,.mw-parser-output .hlist dt dt:first-child:before,.mw-parser-output .hlist dt li:first-child:before,.mw-parser-output .hlist li dd:first-child:before,.mw-parser-output .hlist li dt:first-child:before,.mw-parser-output .hlist li li:first-child:before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child:after,.mw-parser-output .hlist dd dt:last-child:after,.mw-parser-output .hlist dd li:last-child:after,.mw-parser-output .hlist dt dd:last-child:after,.mw-parser-output .hlist dt dt:last-child:after,.mw-parser-output .hlist dt li:last-child:after,.mw-parser-output .hlist li dd:last-child:after,.mw-parser-output .hlist li dt:last-child:after,.mw-parser-output .hlist li li:last-child:after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li:before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child:before,.mw-parser-output .hlist dt ol>li:first-child:before,.mw-parser-output .hlist li ol>li:first-child:before{content:" ("counter(listitem)"\a0 "}</style><div class="hlist"> <ul><li><a href="/wiki/Special:MyLanguage/BlueSpice" title="Special:MyLanguage/BlueSpice">BlueSpice</a><span style="display:none"><a href="/wiki/BlueSpice" title="BlueSpice"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Canasta" title="Special:MyLanguage/Canasta">Canasta</a><span style="display:none"><a href="/wiki/Canasta" title="Canasta"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Debian_packages" title="Special:MyLanguage/Debian packages">Debian</a><span style="display:none"><a href="/wiki/Debian_packages" title="Debian packages"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Fandom" title="Special:MyLanguage/Fandom">Fandom</a><span style="display:none"><a href="/wiki/Fandom" title="Fandom"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Miraheze" title="Special:MyLanguage/Miraheze">Miraheze</a><span style="display:none"><a href="/wiki/Miraheze" title="Miraheze"> </a></span></li> <li><a rel="nofollow" class="external text" href="https://www.mywikis.com/">MyWikis</a></li> <li><a rel="nofollow" class="external text" href="https://www.pro.wiki/">ProWiki</a></li> <li><a href="/wiki/Special:MyLanguage/ShoutWiki" title="Special:MyLanguage/ShoutWiki">ShoutWiki</a><span style="display:none"><a href="/wiki/ShoutWiki" title="ShoutWiki"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/wiki.gg" title="Special:MyLanguage/wiki.gg">wiki.gg</a><span style="display:none"><a href="/wiki/Wiki.gg" title="Wiki.gg"> </a></span></li> <li><a rel="nofollow" class="external text" href="https://wikiforge.net/">WikiForge</a></li></ul> </div> <small>To nie jest pełna lista.</small> <small>Niektóre farmy/hosty wiki lub pakiety mogą zawierać to rozszerzenie nawet jeśli nie są one tutaj wymienione.</small> <small>Zawsze sprawdzaj swoje farmy/hosty wiki, aby to potwierdzić.</small></td></tr></tbody></table> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐5c59558b9d‐bjxmb Cached time: 20241201013955 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] CPU time usage: 1.092 seconds Real time usage: 1.528 seconds Preprocessor visited node count: 11998/1000000 Post‐expand include size: 120750/2097152 bytes Template argument size: 34833/2097152 bytes Highest expansion depth: 21/100 Expensive parser function count: 76/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 32746/5000000 bytes Lua time usage: 0.556/10.000 seconds Lua memory usage: 19321996/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 1239.755 1 -total 46.16% 572.220 1 Template:Extension 45.69% 566.429 92 Template:Ll 34.06% 422.270 196 Template:Translatable 22.66% 280.912 213 Template:Pagelang 10.30% 127.702 2 Template:Mbox 8.18% 101.376 1 Template:Used_by 7.24% 89.743 1 Template:Flatlist 3.29% 40.811 1 Template:OnWikimedia 2.77% 34.335 2 Template:MW_version --> <!-- Saved in parser cache with key mediawikiwiki:pcache:1511186:|#|:idhash:canonical and timestamp 20241201013955 and revision id 6875495. 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?type=1x1&useformat=desktop" 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=Extension:Scribunto/pl&oldid=6875495">https://www.mediawiki.org/w/index.php?title=Extension:Scribunto/pl&oldid=6875495</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Categories</a>: <ul><li><a href="/wiki/Category:Extensions_bundled_with_MediaWiki_1.34/pl" title="Category:Extensions bundled with MediaWiki 1.34/pl">Extensions bundled with MediaWiki 1.34/pl</a></li><li><a href="/wiki/Category:Stable_extensions/pl" title="Category:Stable extensions/pl">Stable extensions/pl</a></li><li><a href="/wiki/Category:Parser_extensions/pl" title="Category:Parser extensions/pl">Parser extensions/pl</a></li><li><a href="/wiki/Category:Extensions_with_unknown_license/pl" title="Category:Extensions with unknown license/pl">Extensions with unknown license/pl</a></li><li><a href="/wiki/Category:Extensions_in_Wikimedia_version_control/pl" title="Category:Extensions in Wikimedia version control/pl">Extensions in Wikimedia version control/pl</a></li><li><a href="/wiki/Category:ArticleViewHeader_extensions/pl" title="Category:ArticleViewHeader extensions/pl">ArticleViewHeader extensions/pl</a></li><li><a href="/wiki/Category:CodeEditorGetPageLanguage_extensions/pl" title="Category:CodeEditorGetPageLanguage extensions/pl">CodeEditorGetPageLanguage extensions/pl</a></li><li><a href="/wiki/Category:ContentHandlerDefaultModelFor_extensions/pl" title="Category:ContentHandlerDefaultModelFor extensions/pl">ContentHandlerDefaultModelFor extensions/pl</a></li><li><a href="/wiki/Category:EditFilterMergedContent_extensions/pl" title="Category:EditFilterMergedContent extensions/pl">EditFilterMergedContent extensions/pl</a></li><li><a href="/wiki/Category:EditPage::showReadOnlyForm:initial_extensions/pl" title="Category:EditPage::showReadOnlyForm:initial extensions/pl">EditPage::showReadOnlyForm:initial extensions/pl</a></li><li><a href="/wiki/Category:EditPage::showStandardInputs:options_extensions/pl" title="Category:EditPage::showStandardInputs:options extensions/pl">EditPage::showStandardInputs:options extensions/pl</a></li><li><a href="/wiki/Category:EditPageBeforeEditButtons_extensions/pl" title="Category:EditPageBeforeEditButtons extensions/pl">EditPageBeforeEditButtons extensions/pl</a></li><li><a href="/wiki/Category:ParserClearState_extensions/pl" title="Category:ParserClearState extensions/pl">ParserClearState extensions/pl</a></li><li><a href="/wiki/Category:ParserCloned_extensions/pl" title="Category:ParserCloned extensions/pl">ParserCloned extensions/pl</a></li><li><a href="/wiki/Category:ParserFirstCallInit_extensions/pl" title="Category:ParserFirstCallInit extensions/pl">ParserFirstCallInit extensions/pl</a></li><li><a href="/wiki/Category:ParserLimitReportFormat_extensions/pl" title="Category:ParserLimitReportFormat extensions/pl">ParserLimitReportFormat extensions/pl</a></li><li><a href="/wiki/Category:ParserLimitReportPrepare_extensions/pl" title="Category:ParserLimitReportPrepare extensions/pl">ParserLimitReportPrepare extensions/pl</a></li><li><a href="/wiki/Category:SoftwareInfo_extensions/pl" title="Category:SoftwareInfo extensions/pl">SoftwareInfo extensions/pl</a></li><li><a href="/wiki/Category:All_extensions/pl" title="Category:All extensions/pl">All extensions/pl</a></li><li><a href="/wiki/Category:Extensions_used_on_Wikimedia/pl" title="Category:Extensions used on Wikimedia/pl">Extensions used on Wikimedia/pl</a></li><li><a href="/wiki/Category:Extensions_included_in_BlueSpice/pl" title="Category:Extensions included in BlueSpice/pl">Extensions included in BlueSpice/pl</a></li><li><a href="/wiki/Category:Extensions_included_in_Canasta/pl" title="Category:Extensions included in Canasta/pl">Extensions included in Canasta/pl</a></li><li><a href="/wiki/Category:Extensions_available_as_Debian_packages/pl" title="Category:Extensions available as Debian packages/pl">Extensions available as Debian packages/pl</a></li><li><a href="/wiki/Category:Extensions_included_in_Fandom/pl" title="Category:Extensions included in Fandom/pl">Extensions included in Fandom/pl</a></li><li><a href="/wiki/Category:Extensions_included_in_Miraheze/pl" title="Category:Extensions included in Miraheze/pl">Extensions included in Miraheze/pl</a></li><li><a href="/wiki/Category:Extensions_included_in_MyWikis/pl" title="Category:Extensions included in MyWikis/pl">Extensions included in MyWikis/pl</a></li><li><a href="/wiki/Category:Extensions_included_in_ProWiki/pl" title="Category:Extensions included in ProWiki/pl">Extensions included in ProWiki/pl</a></li><li><a href="/wiki/Category:Extensions_included_in_ShoutWiki/pl" title="Category:Extensions included in ShoutWiki/pl">Extensions included in ShoutWiki/pl</a></li><li><a href="/wiki/Category:Extensions_included_in_wiki.gg/pl" title="Category:Extensions included in wiki.gg/pl">Extensions included in wiki.gg/pl</a></li><li><a href="/wiki/Category:Extensions_included_in_WikiForge/pl" title="Category:Extensions included in WikiForge/pl">Extensions included in WikiForge/pl</a></li><li><a href="/wiki/Category:Scribunto_extensions/pl" title="Category:Scribunto extensions/pl">Scribunto extensions/pl</a></li><li><a href="/wiki/Category:ContentHandler_extensions/pl" title="Category:ContentHandler extensions/pl">ContentHandler extensions/pl</a></li><li><a href="/wiki/Category:GPL_licensed_extensions/pl" title="Category:GPL licensed extensions/pl">GPL licensed extensions/pl</a></li><li><a href="/wiki/Category:MIT_licensed_extensions/pl" title="Category:MIT licensed extensions/pl">MIT licensed extensions/pl</a></li></ul></div></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 30 November 2024, at 08:53.</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=Extension:Scribunto/pl&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-5c59558b9d-bjxmb","wgBackendResponseTime":1780,"wgPageParseReport":{"limitreport":{"cputime":"1.092","walltime":"1.528","ppvisitednodes":{"value":11998,"limit":1000000},"postexpandincludesize":{"value":120750,"limit":2097152},"templateargumentsize":{"value":34833,"limit":2097152},"expansiondepth":{"value":21,"limit":100},"expensivefunctioncount":{"value":76,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":32746,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 1239.755 1 -total"," 46.16% 572.220 1 Template:Extension"," 45.69% 566.429 92 Template:Ll"," 34.06% 422.270 196 Template:Translatable"," 22.66% 280.912 213 Template:Pagelang"," 10.30% 127.702 2 Template:Mbox"," 8.18% 101.376 1 Template:Used_by"," 7.24% 89.743 1 Template:Flatlist"," 3.29% 40.811 1 Template:OnWikimedia"," 2.77% 34.335 2 Template:MW_version"]},"scribunto":{"limitreport-timeusage":{"value":"0.556","limit":"10.000"},"limitreport-memusage":{"value":19321996,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-5c59558b9d-bjxmb","timestamp":"20241201013955","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>