CINXE.COM
سەرچاوەی مۆدیوول:Citation/CS1/COinS ببینە - ویکیپیدیا، ئینسایکڵۆپیدیای ئازاد
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled 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-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available" lang="ckb" dir="rtl"> <head> <meta charset="UTF-8"> <title>سەرچاوەی مۆدیوول:Citation/CS1/COinS ببینە - ویکیپیدیا، ئینسایکڵۆپیدیای ئازاد</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled 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-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available";var cookie=document.cookie.match(/(?:^|; )ckbwikimwclientpreferences=([^;]+)/);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":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat": "dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"d8377ba4-09b4-4116-b69f-de6819f86bce","wgCanonicalNamespace":"Module","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":828,"wgPageName":"مۆدیوول:Citation/CS1/COinS","wgTitle":"Citation/CS1/COinS","wgCurRevisionId":1314161,"wgRevisionId":0,"wgArticleId":272663,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"edit","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"Scribunto","wgRelevantPageName":"مۆدیوول:Citation/CS1/COinS","wgRelevantArticleId":272663,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick":true, "wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgCodeEditorCurrentLanguage":"lua","wgRelatedArticlesCompat":[],"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.gadget.charinsert-styles":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready", "ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.codeEditor.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.charinsert.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.codeEditor","ext.scribunto.edit","mediawiki.action.edit.collapsibleFooter","site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.charinsert","ext.gadget.CommonsDirect","ext.gadget.cgiircbox","ext.gadget.markAdmins","ext.gadget.refToolbar","ext.gadget.charinsert","ext.gadget.defaultsummaries","ext.gadget.AdvancedSiteNotices","ext.gadget.NotifCountTitle","ext.gadget.autosign","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader", "ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</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=ckb&modules=ext.charinsert.styles%7Cext.codeEditor.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=ckb&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=ckb&modules=ext.gadget.charinsert-styles&only=styles&skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=ckb&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="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="سەرچاوەی مۆدیوول:Citation/CS1/COinS ببینە - ویکیپیدیا، ئینسایکڵۆپیدیای ئازاد"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//ckb.m.wikipedia.org/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS"> <link rel="alternate" type="application/x-wiki" title="دەستکاری" href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="ویکیپیدیا (ckb)"> <link rel="EditURI" type="application/rsd+xml" href="//ckb.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://ckb.wikipedia.org/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.ckb"> <link rel="alternate" type="application/atom+xml" title="فیدی Atom بۆ ویکیپیدیا" href="/w/index.php?title=%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%D8%AF%D9%88%D8%A7%DB%8C%DB%8C%D9%86_%DA%AF%DB%86%DA%95%D8%A7%D9%86%DA%A9%D8%A7%D8%B1%DB%8C%DB%8C%DB%95%DA%A9%D8%A7%D9%86&feed=atom"> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="codeeditor-loading skin--responsive skin-vector skin-vector-search-vue mediawiki rtl sitedir-rtl mw-hide-empty-elt ns-828 ns-subject mw-editable page-مۆدیوول_Citation_CS1_COinS rootpage-مۆدیوول_Citation skin-vector-2022 action-edit"><a class="mw-jump-link" href="#bodyContent">بۆ ناوەڕۆک بازبدە</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="پێگە"> <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="پێڕستی سەرەکی" > <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">پێڕستی سەرەکی</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">پێڕستی سەرەکی</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">بخە لاتەنیشت</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">بشارەوە</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> ڕێدۆزی </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/%D8%AF%DB%95%D8%B3%D8%AA%D9%BE%DB%8E%DA%A9" title="سەردانی پەڕەی سەرەکی بکە [z]" accesskey="z"><span>دەستپێک</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/%D9%88%DB%8C%DA%A9%DB%8C%D9%BE%DB%8C%D8%AF%DB%8C%D8%A7:%DA%95%D9%88%D9%88%D8%AF%D8%A7%D9%88%DB%95_%D8%A8%DB%95%D8%B1%D8%AF%DB%95%D9%88%D8%A7%D9%85%DB%95%DA%A9%D8%A7%D9%86" title="زانیاری پێشینە بەدەست بھێنە دەربارەی بۆنە ھەنووکەییەکان"><span>ڕووداوە ھەنووکەیییەکان</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%DA%BE%DB%95%DA%B5%DA%A9%DB%95%D9%88%D8%AA%D8%8C%D9%BE%DB%95%DA%95%DB%95%DB%8C_%D8%A8%DB%95_%DA%BE%DB%95%D8%B1%D9%85%DB%95%DA%A9%DB%8C" title="پەڕەیەک بە هەڵکەوت نیشان بدە [x]" accesskey="x"><span>وتارێک بە ھەڵکەوت</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> ھەڵسوکەوت </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/%DB%8C%D8%A7%D8%B1%D9%85%DB%95%D8%AA%DB%8C:%D9%86%D8%A7%D9%88%DB%95%DA%95%DB%86%DA%A9" title="شوێنی تێگەیشتن"><span>یارمەتی</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/%D9%88%DB%8C%DA%A9%DB%8C%D9%BE%DB%8C%D8%AF%DB%8C%D8%A7:%D8%B3%DB%95%D8%A8%D8%A7%D8%B1%DB%95%D8%AA"><span>دەربارەی ویکیپیدیا</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/%D9%88%DB%8C%DA%A9%DB%8C%D9%BE%DB%8C%D8%AF%DB%8C%D8%A7:%D8%AF%DB%95%D8%B1%D9%88%D8%A7%D8%B2%DB%95%DB%8C_%DA%A9%DB%86%D9%85%DB%95%DA%B5%DA%AF%D8%A7" title="سەبارەت بە پڕۆژەکە، چی دەتوانی بکەیت، لە کوێ شتەکان بدۆزیتەوە"><span>دەروازەی کۆمەڵگە</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%D8%AF%D9%88%D8%A7%DB%8C%DB%8C%D9%86_%DA%AF%DB%86%DA%95%D8%A7%D9%86%DA%A9%D8%A7%D8%B1%DB%8C%DB%8C%DB%95%DA%A9%D8%A7%D9%86" title="لیستی دوایین گۆڕانکارییەکان لەم ویکییەدا [r]" accesskey="r"><span>دوایین گۆڕانکارییەکان</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="/wiki/%D9%88%DB%8C%DA%A9%DB%8C%D9%BE%DB%8C%D8%AF%DB%8C%D8%A7:%D9%BE%DB%95%DB%8C%D9%88%DB%95%D9%86%D8%AF%DB%8C"><span>پەڕەی پەیوەندی</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/%D8%AF%DB%95%D8%B3%D8%AA%D9%BE%DB%8E%DA%A9" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="ویکیپیدیا" src="/static/images/mobile/copyright/wikipedia-wordmark-ckb.svg" style="width: 5.25em; height: 2em;"> <img class="mw-logo-tagline" alt="ئینسایکڵۆپیدیای ئازاد" src="/static/images/mobile/copyright/wikipedia-tagline-ckb.svg" width="83" height="17" style="width: 5.1875em; height: 1.0625em;"> </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/%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%DA%AF%DB%95%DA%95%D8%A7%D9%86" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="لە ویکیپیدیا بگەڕێ [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>گەڕان</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="لە ویکیپیدیادا بگەڕێ" aria-label="لە ویکیپیدیادا بگەڕێ" autocapitalize="sentences" title="لە ویکیپیدیا بگەڕێ [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="تایبەت:گەڕان"> </div> <button class="cdx-button cdx-search-input__end-button">بگەڕێ</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="ئامڕازە تاکەکەسییەکان"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" 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-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="ڕواڵەت"> <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="ڕواڵەت" > <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">ڕواڵەت</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="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_ckb.wikipedia.org&uselang=ckb" class=""><span>بەخشین بە ویکیپیدیا</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=%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%D8%AF%D8%B1%D9%88%D8%B3%D8%AA%DA%A9%D8%B1%D8%AF%D9%86%DB%8C_%DA%BE%DB%95%DA%98%D9%85%D8%A7%D8%B1&returnto=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84%3ACitation%2FCS1%2FCOinS&returntoquery=action%3Dedit" title="تۆ ھان دەدرێیت کە ھەژمارێک دروست بکەیت و بچیتە ژوورەوە، ئەمە سەرەکی نییە بەھەرحاڵ" class=""><span>ھەژمار دروست بکە</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=%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%DA%86%D9%88%D9%88%D9%86%DB%95%DA%98%D9%88%D9%88%D8%B1%DB%95%D9%88%DB%95%DB%8C_%D8%A8%DB%95%DA%A9%D8%A7%D8%B1%DA%BE%DB%8E%D9%86%DB%95%D8%B1&returnto=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84%3ACitation%2FCS1%2FCOinS&returntoquery=action%3Dedit" title="پێشنیارت پێدەکرێ بچیتە ژوورەوە؛ ھەرچەندە زۆرت لێناکرێ [o]" accesskey="o" class=""><span>بچۆ ژوورەوە</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="ھەڵبژاردەی زیاتر" > <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="ئامڕازە تاکەکەسییەکان" > <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">ئامڕازە تاکەکەسییەکان</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="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_ckb.wikipedia.org&uselang=ckb"><span>بەخشین بە ویکیپیدیا</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%D8%AF%D8%B1%D9%88%D8%B3%D8%AA%DA%A9%D8%B1%D8%AF%D9%86%DB%8C_%DA%BE%DB%95%DA%98%D9%85%D8%A7%D8%B1&returnto=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84%3ACitation%2FCS1%2FCOinS&returntoquery=action%3Dedit" title="تۆ ھان دەدرێیت کە ھەژمارێک دروست بکەیت و بچیتە ژوورەوە، ئەمە سەرەکی نییە بەھەرحاڵ"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>ھەژمار دروست بکە</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%DA%86%D9%88%D9%88%D9%86%DB%95%DA%98%D9%88%D9%88%D8%B1%DB%95%D9%88%DB%95%DB%8C_%D8%A8%DB%95%DA%A9%D8%A7%D8%B1%DA%BE%DB%8E%D9%86%DB%95%D8%B1&returnto=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84%3ACitation%2FCS1%2FCOinS&returntoquery=action%3Dedit" title="پێشنیارت پێدەکرێ بچیتە ژوورەوە؛ ھەرچەندە زۆرت لێناکرێ [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>بچۆ ژوورەوە</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"> ئەو پەڕانەی بۆ ئەو دەستکاریکەرانەن کە لەدەرەوەن <a href="/wiki/%D9%88%DB%8C%DA%A9%DB%8C%D9%BE%DB%8C%D8%AF%DB%8C%D8%A7:%D9%86%D8%A7%D8%B3%D8%A7%D9%86%D8%AF%D9%86" aria-label="زیاتر لەسەر دەستکاریکردن فێر بە"><span>زیاتر فێر بە</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/%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%D8%A8%DB%95%D8%B4%D8%AF%D8%A7%D8%B1%DB%8C%DB%8C%DB%95%DA%A9%D8%A7%D9%86%D9%85" title="پێڕستی ئەو دەستکارییانەی لەم ناونیشانی ئای-پییەوە کراوە [y]" accesskey="y"><span>بەشدارییەکان</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%D9%84%DB%8E%D8%AF%D9%88%D8%A7%D9%86%DB%95%DA%A9%DB%95%D9%85" title="لێدوان لەسەر دەستکارییەکان لەم ئایپی ئەدرەسەوە [n]" accesskey="n"><span>لێدوان</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="پێگە"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <h1 id="firstHeading" class="firstHeading mw-first-heading">سەرچاوەی مۆدیوول:Citation/CS1/COinS ببینە</h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="ئەم وتارە تەنیا بەم زمانە ھەیە. وتارەکە بۆ زمانەکانی تر زیاد بکە" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-0" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">زمانەکان زیاد بکە</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="شوێنناوەکان"> <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-module" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS" title="بینینی پەڕەی مۆدیوول [c]" accesskey="c"><span>مۆدیوول</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%D9%84%DB%8E%D8%AF%D9%88%D8%A7%D9%86%DB%8C_%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS&action=edit&redlink=1" rel="discussion" class="new" title="وتووێژ سەبارەت بە پەڕەی ناوەڕۆک (ئەم پەڕەیە نییە) [t]" accesskey="t"><span>وتووێژ</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="بینینەکان"> <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="vector-tab-noicon mw-list-item"><a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS"><span>خوێندنەوە</span></a></li><li id="ca-edit" class="selected vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS&action=edit" title="کۆدی سەرچاوەی ئەم پەڕەیە دەستکاری بکە"><span>دەستکاریی سەرچاوە</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS&action=history" title="وەشانەکانی پێشووی ئەم پەڕەیە [h]" accesskey="h"><span>مێژوو</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="ئامرازەکانی پەڕە"> <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="ئامرازەکان" > <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">ئامرازەکان</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">ئامرازەکان</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">بخە لاتەنیشت</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">بشارەوە</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"> کردەوەکان </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="vector-more-collapsible-item mw-list-item"><a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS"><span>خوێندنەوە</span></a></li><li id="ca-more-edit" class="selected vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS&action=edit" title="کۆدی سەرچاوەی ئەم پەڕەیە دەستکاری بکە [e]" accesskey="e"><span>دەستکاریی سەرچاوە</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS&action=history"><span>مێژوو</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> گشتی </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%DA%86%DB%8C_%D8%A8%DB%95%D8%B3%D8%AA%DB%95%D8%B1%DB%8C_%D8%AF%D8%A7%D9%88%DB%95_%D8%A8%DB%8E%D8%B1%DB%95/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS" title="پێڕستی ھەموو پەڕەکانی ویکی کە بەستەر دراون بۆ ئێرە [j]" accesskey="j"><span>بەستەرەکان بە ئێرەوە</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:RecentChangesLinked/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS" rel="nofollow" title="دوایین گۆڕانکارییەکان لەو پەڕانە کە بەگرەوە گرێ دراون [k]" accesskey="k"><span>گۆڕانکارییە پەیوەندیدارەکان</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=ckb" title="پەڕگەکان بار بکە [u]" accesskey="u"><span>پەڕگەیەک بار بکە</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:%D9%BE%DB%95%DA%95%DB%95_%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA%DB%95%DA%A9%D8%A7%D9%86" title="پێڕستی ھەموو پەڕە تایبەتەکان [q]" accesskey="q"><span>پەڕە تایبەتەکان</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS&action=info" title="زانیاری زیاتر لەبارەی ئەم پەڕەیەوە"><span>زانیاریی پەڕە</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:UrlShortener&url=https%3A%2F%2Fckb.wikipedia.org%2Fw%2Findex.php%3Ftitle%3D%25D9%2585%25DB%2586%25D8%25AF%25DB%258C%25D9%2588%25D9%2588%25D9%2584%3ACitation%2FCS1%2FCOinS%26action%3Dedit"><span>بەستەری کورتکراوە بەدەست بێنە</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=%D8%AA%D8%A7%DB%8C%D8%A8%DB%95%D8%AA:QrCode&url=https%3A%2F%2Fckb.wikipedia.org%2Fw%2Findex.php%3Ftitle%3D%25D9%2585%25DB%2586%25D8%25AF%25DB%258C%25D9%2588%25D9%2588%25D9%2584%3ACitation%2FCS1%2FCOinS%26action%3Dedit"><span>کۆدی کیوئاڕ داگرە</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> لە پڕۆژەکانی تر </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q21973572" title="بەستەر بۆ بەندی خەزێنەی دراوەی پەیوەندیدار [g]" accesskey="g"><span>بەندی ویکیدراوە</span></a></li> </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="ئامرازەکانی پەڕە"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="ڕواڵەت"> <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">ڕواڵەت</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">بخە لاتەنیشت</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">بشارەوە</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> </div> <div id="contentSub"><div id="mw-content-subtitle">→ <a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS" title="مۆدیوول:Citation/CS1/COinS">مۆدیوول:Citation/CS1/COinS</a></div></div> <div id="mw-content-text" class="mw-body-content"><p>دەسەڵاتت نییە بۆ دەستکاریی ئەم پەڕەیە، لەبەر ئەم ھۆکارەی خوارەوە: </p> <div class="permissions-errors"><div class="mw-permissionerror-globalblocking-blockedtext-range"><b>Your IP address is in a range that has been <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Global_blocks" class="extiw" title="m:Special:MyLanguage/Global blocks">blocked on all Wikimedia Foundation wikis</a>.</b> <p>The block was made by <a href="/wiki/%D8%A8%DB%95%DA%A9%D8%A7%D8%B1%DA%BE%DB%8E%D9%86%DB%95%D8%B1:Jon_Kolbert" title="بەکارھێنەر:Jon Kolbert">Jon Kolbert</a>. The reason given is <i><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/NOP" class="extiw" title="m:Special:MyLanguage/NOP">Open proxy/Webhost</a>: See the <a href="https://meta.wikimedia.org/wiki/WM:OP/H" class="extiw" title="m:WM:OP/H">help page</a> if you are affected </i>. </p> <ul><li>Start of block: ١٥:١٢، ٢٧ی ئابی ٢٠٢٣</li> <li>Expiry of block: ١٥:١٢، ٢٧ی ئابی ٢٠٢٨</li></ul> <p>Your current IP address is 8.222.208.146. The blocked range is 8.222.128.0/17. </p><p>تکایە لە هەر داواکارییەک هەموو وردەکارییەکانی سەرەوە بنووسە. If you believe you were blocked by mistake, you can find additional information and instructions in the <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/No_open_proxies" class="extiw" title="m:Special:MyLanguage/No open proxies">No open proxies</a> global policy. </p> Otherwise, to discuss the block please <a href="https://meta.wikimedia.org/wiki/Steward_requests/Global" class="extiw" title="m:Steward requests/Global">post a request for review on Meta-Wiki</a>. You could also send an email to the <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Stewards" class="extiw" title="m:Special:MyLanguage/Stewards">stewards</a> <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/VRT" class="extiw" title="m:Special:MyLanguage/VRT">VRT</a> queue at <kbd>stewards@wikimedia.org</kbd> including all above details.</div></div><hr /> <p>دەتوانیت سەرچاوەی ئەم پەڕەیە ببینیت و لەبەری بگریتەوە. </p><textarea readonly="" accesskey="," id="wpTextbox1" cols="80" rows="25" style="" class="mw-editfont-monospace" lang="en" dir="ltr" name="wpTextbox1">--[[--------------------------< F O R W A R D D E C L A R A T I O N S >-------------------------------------- ]] local has_accept_as_written, is_set, in_array, remove_wiki_link, strip_apostrophe_markup; -- functions in Module:Citation/CS1/Utilities local cfg; -- table of configuration tables that are defined in Module:Citation/CS1/Configuration --[[--------------------------< M A K E _ C O I N S _ T I T L E >---------------------------------------------- Makes a title for COinS from Title and / or ScriptTitle (or any other name-script pairs) Apostrophe markup (bold, italics) is stripped from each value so that the COinS metadata isn't corrupted with strings of %27%27... ]] local function make_coins_title (title, script) title = has_accept_as_written (title); if is_set (title) then title = strip_apostrophe_markup (title); -- strip any apostrophe markup else title = ''; -- if not set, make sure title is an empty string end if is_set (script) then script = script:gsub ('^%l%l%s*:%s*', ''); -- remove language prefix if present (script value may now be empty string) script = strip_apostrophe_markup (script); -- strip any apostrophe markup else script = ''; -- if not set, make sure script is an empty string end if is_set (title) and is_set (script) then script = ' ' .. script; -- add a space before we concatenate end return title .. script; -- return the concatenation end --[[--------------------------< E S C A P E _ L U A _ M A G I C _ C H A R S >---------------------------------- Returns a string where all of Lua's magic characters have been escaped. This is important because functions like string.gsub() treat their pattern and replace strings as patterns, not literal strings. ]] local function escape_lua_magic_chars (argument) argument = argument:gsub("%%", "%%%%"); -- replace % with %% argument = argument:gsub("([%^%$%(%)%.%[%]%*%+%-%?])", "%%%1"); -- replace all other Lua magic pattern characters return argument; end --[[--------------------------< G E T _ C O I N S _ P A G E S >------------------------------------------------ Extract page numbers from external wikilinks in any of the |page=, |pages=, or |at= parameters for use in COinS. ]] local function get_coins_pages (pages) local pattern; if not is_set (pages) then return pages; end -- if no page numbers then we're done while true do pattern = pages:match("%[(%w*:?//[^ ]+%s+)[%w%d].*%]"); -- pattern is the opening bracket, the URL and following space(s): "[url " if nil == pattern then break; end -- no more URLs pattern = escape_lua_magic_chars (pattern); -- pattern is not a literal string; escape Lua's magic pattern characters pages = pages:gsub(pattern, ""); -- remove as many instances of pattern as possible end pages = pages:gsub("[%[%]]", ""); -- remove the brackets pages = pages:gsub("–", "-" ); -- replace endashes with hyphens pages = pages:gsub("&%w+;", "-" ); -- and replace HTML entities (&ndash; etc.) with hyphens; do we need to replace numerical entities like &#32; and the like? return pages; end --[=[-------------------------< C O I N S _ R E P L A C E _ M A T H _ S T R I P M A R K E R >------------------ There are three options for math markup rendering that depend on the editor's math preference settings. These settings are at [[Special:Preferences#mw-prefsection-rendering]] and are PNG images TeX source MathML with SVG or PNG fallback All three are heavy with HTML and CSS which doesn't belong in the metadata. Without this function, the metadata saved in the raw wikitext contained the rendering determined by the settings of the last editor to save the page. This function gets the rendered form of an equation according to the editor's preference before the page is saved. It then searches the rendering for the text equivalent of the rendered equation and replaces the rendering with that so that the page is saved without extraneous HTML/CSS markup and with a reasonably readable text form of the equation. When a replacement is made, this function returns true and the value with replacement; otherwise false and the initial value. To replace multipe equations it is necessary to call this function from within a loop. ]=] local function coins_replace_math_stripmarker (value) local stripmarker = cfg.stripmarkers['math']; local rendering = value:match (stripmarker); -- is there a math stripmarker if not rendering then -- when value doesn't have a math stripmarker, abandon this test return false, value; end rendering = mw.text.unstripNoWiki (rendering); -- convert stripmarker into rendered value (or nil? ''? when math render error) if rendering:match ('alt="[^"]+"') then -- if PNG math option rendering = rendering:match ('alt="([^"]+)"'); -- extract just the math text elseif rendering:match ('$%s+.+%s+%$') then -- if TeX math option; $ is legit character that is escapes as \$ rendering = rendering:match ('$%s+(.+)%s+%$') -- extract just the math text elseif rendering:match ('<annotation[^>]+>.+</annotation>') then -- if MathML math option rendering = rendering:match ('<annotation[^>]+>(.+)</annotation>') -- extract just the math text else return false, value; -- had math stripmarker but not one of the three defined forms end return true, value:gsub (stripmarker, rendering, 1); end --[[--------------------------< C O I N S _ C L E A N U P >---------------------------------------------------- Cleanup parameter values for the metadata by removing or replacing invisible characters and certain HTML entities. 2015-12-10: there is a bug in mw.text.unstripNoWiki (). It replaces math stripmarkers with the appropriate content when it shouldn't. See https://phabricator.wikimedia.org/T121085 and Wikipedia_talk:Lua#stripmarkers_and_mw.text.unstripNoWiki.28.29 TODO: move the replacement patterns and replacement values into a table in /Configuration similar to the invisible characters table? ]] local function coins_cleanup (value) local replaced = true; -- default state to get the do loop running while replaced do -- loop until all math stripmarkers replaced replaced, value = coins_replace_math_stripmarker (value); -- replace math stripmarker with text representation of the equation end value = value:gsub (cfg.stripmarkers['math'], "MATH RENDER ERROR"); -- one or more couldn't be replaced; insert vague error message value = mw.text.unstripNoWiki (value); -- replace nowiki stripmarkers with their content value = value:gsub ('<span class="nowrap" style="padding%-left:0%.1em;">&#39;(s?)</span>', "'%1"); -- replace {{'}} or {{'s}} with simple apostrophe or apostrophe-s value = value:gsub ('&nbsp;', ' '); -- replace &nbsp; entity with plain space value = value:gsub ('\226\128\138', ' '); -- replace hair space with plain space if not mw.ustring.find (value, cfg.indic_script) then -- don't remove zero-width joiner characters from indic script value = value:gsub ('&zwj;', ''); -- remove &zwj; entities value = mw.ustring.gsub (value, '[\226\128\141\226\128\139\194\173]', ''); -- remove zero-width joiner, zero-width space, soft hyphen end value = value:gsub ('[\009\010\013 ]+', ' '); -- replace horizontal tab, line feed, carriage return with plain space return value; end --[[--------------------------< C O I N S >-------------------------------------------------------------------- COinS metadata (see <http://ocoins.info/>) allows automated tools to parse the citation information. ]] local function COinS(data, class) if 'table' ~= type(data) or nil == next(data) then return ''; end for k, v in pairs (data) do -- spin through all of the metadata parameter values if 'ID_list' ~= k and 'Authors' ~= k then -- except the ID_list and Author tables (author nowiki stripmarker done when Author table processed) data[k] = coins_cleanup (v); end end local ctx_ver = "Z39.88-2004"; -- treat table strictly as an array with only set values. local OCinSoutput = setmetatable( {}, { __newindex = function(self, key, value) if is_set(value) then rawset( self, #self+1, table.concat{ key, '=', mw.uri.encode( remove_wiki_link( value ) ) } ); end end }); if in_array (class, {'arxiv', 'biorxiv', 'citeseerx', 'medrxiv', 'ssrn', 'journal', 'news', 'magazine'}) or (in_array (class, {'conference', 'interview', 'map', 'press release', 'web'}) and is_set(data.Periodical)) or ('citation' == class and is_set(data.Periodical) and not is_set (data.Encyclopedia)) then OCinSoutput.rft_val_fmt = "info:ofi/fmt:kev:mtx:journal"; -- journal metadata identifier if in_array (class, {'arxiv', 'biorxiv', 'citeseerx', 'medrxiv', 'ssrn'}) then -- set genre according to the type of citation template we are rendering OCinSoutput["rft.genre"] = "preprint"; -- cite arxiv, cite biorxiv, cite citeseerx, cite medrxiv, cite ssrn elseif 'conference' == class then OCinSoutput["rft.genre"] = "conference"; -- cite conference (when Periodical set) elseif 'web' == class then OCinSoutput["rft.genre"] = "unknown"; -- cite web (when Periodical set) else OCinSoutput["rft.genre"] = "article"; -- journal and other 'periodical' articles end OCinSoutput["rft.jtitle"] = data.Periodical; -- journal only OCinSoutput["rft.atitle"] = data.Title; -- 'periodical' article titles -- these used only for periodicals OCinSoutput["rft.ssn"] = data.Season; -- keywords: winter, spring, summer, fall OCinSoutput["rft.quarter"] = data.Quarter; -- single digits 1->first quarter, etc. OCinSoutput["rft.chron"] = data.Chron; -- free-form date components OCinSoutput["rft.volume"] = data.Volume; -- does not apply to books OCinSoutput["rft.issue"] = data.Issue; OCinSoutput['rft.artnum'] = data.ArticleNumber; -- {{cite journal}} only OCinSoutput["rft.pages"] = data.Pages; -- also used in book metadata elseif 'thesis' ~= class then -- all others except cite thesis are treated as 'book' metadata; genre distinguishes OCinSoutput.rft_val_fmt = "info:ofi/fmt:kev:mtx:book"; -- book metadata identifier if 'report' == class or 'techreport' == class then -- cite report and cite techreport OCinSoutput["rft.genre"] = "report"; elseif 'conference' == class then -- cite conference when Periodical not set OCinSoutput["rft.genre"] = "conference"; OCinSoutput["rft.atitle"] = data.Chapter; -- conference paper as chapter in proceedings (book) elseif in_array (class, {'book', 'citation', 'encyclopaedia', 'interview', 'map'}) then if is_set (data.Chapter) then OCinSoutput["rft.genre"] = "bookitem"; OCinSoutput["rft.atitle"] = data.Chapter; -- book chapter, encyclopedia article, interview in a book, or map title else if 'map' == class or 'interview' == class then OCinSoutput["rft.genre"] = 'unknown'; -- standalone map or interview else OCinSoutput["rft.genre"] = 'book'; -- book and encyclopedia end end else -- {'audio-visual', 'AV-media-notes', 'DVD-notes', 'episode', 'interview', 'mailinglist', 'map', 'newsgroup', 'podcast', 'press release', 'serial', 'sign', 'speech', 'web'} OCinSoutput["rft.genre"] = "unknown"; end OCinSoutput["rft.btitle"] = data.Title; -- book only OCinSoutput["rft.place"] = data.PublicationPlace; -- book only OCinSoutput["rft.series"] = data.Series; -- book only OCinSoutput["rft.pages"] = data.Pages; -- book, journal OCinSoutput["rft.edition"] = data.Edition; -- book only OCinSoutput["rft.pub"] = data.PublisherName; -- book and dissertation else -- cite thesis OCinSoutput.rft_val_fmt = "info:ofi/fmt:kev:mtx:dissertation"; -- dissertation metadata identifier OCinSoutput["rft.title"] = data.Title; -- dissertation (also patent but that is not yet supported) OCinSoutput["rft.degree"] = data.Degree; -- dissertation only OCinSoutput['rft.inst'] = data.PublisherName; -- book and dissertation end -- NB. Not currently supported are "info:ofi/fmt:kev:mtx:patent", "info:ofi/fmt:kev:mtx:dc", "info:ofi/fmt:kev:mtx:sch_svc", "info:ofi/fmt:kev:mtx:ctx" -- and now common parameters (as much as possible) OCinSoutput["rft.date"] = data.Date; -- book, journal, dissertation for k, v in pairs( data.ID_list ) do -- what to do about these? For now assume that they are common to all? if k == 'ISBN' then v = v:gsub( "[^-0-9X]", "" ); end local id = cfg.id_handlers[k].COinS; if string.sub( id or "", 1, 4 ) == 'info' then -- for ids that are in the info:registry OCinSoutput["rft_id"] = table.concat{ id, "/", v }; elseif string.sub (id or "", 1, 3 ) == 'rft' then -- for isbn, issn, eissn, etc. that have defined COinS keywords OCinSoutput[ id ] = v; elseif 'url' == id then -- for urls that are assembled in ~/Identifiers; |asin= and |ol= OCinSoutput["rft_id"] = table.concat ({data.ID_list[k], "#id-name=", cfg.id_handlers[k].label}); elseif id then -- when cfg.id_handlers[k].COinS is not nil so urls created here OCinSoutput["rft_id"] = table.concat{ cfg.id_handlers[k].prefix, v, cfg.id_handlers[k].suffix or '', "#id-name=", cfg.id_handlers[k].label }; -- others; provide a URL and indicate identifier name as #fragment (human-readable, but transparent to browsers) end end local last, first; for k, v in ipairs( data.Authors ) do last, first = coins_cleanup (v.last), coins_cleanup (v.first or ''); -- replace any nowiki stripmarkers, non-printing or invisible characters if k == 1 then -- for the first author name only if is_set(last) and is_set(first) then -- set these COinS values if |first= and |last= specify the first author name OCinSoutput["rft.aulast"] = last; -- book, journal, dissertation OCinSoutput["rft.aufirst"] = first; -- book, journal, dissertation elseif is_set(last) then OCinSoutput["rft.au"] = last; -- book, journal, dissertation -- otherwise use this form for the first name end else -- for all other authors if is_set(last) and is_set(first) then OCinSoutput["rft.au"] = table.concat{ last, ", ", first }; -- book, journal, dissertation elseif is_set(last) then OCinSoutput["rft.au"] = last; -- book, journal, dissertation end -- TODO: At present we do not report "et al.". Add anything special if this condition applies? end end OCinSoutput.rft_id = data.URL; OCinSoutput.rfr_id = table.concat{ "info:sid/", mw.site.server:match( "[^/]*$" ), ":", data.RawPage }; -- TODO: Add optional extra info: -- rfr_dat=#REVISION<version> (referrer private data) -- ctx_id=<data.RawPage>#<ref> (identifier for the context object) -- ctx_tim=<ts> (timestamp in format yyyy-mm-ddThh:mm:ssTZD or yyyy-mm-dd) -- ctx_enc=info:ofi/enc:UTF-8 (character encoding) OCinSoutput = setmetatable( OCinSoutput, nil ); -- sort with version string always first, and combine. -- table.sort( OCinSoutput ); table.insert( OCinSoutput, 1, "ctx_ver=" .. ctx_ver ); -- such as "Z39.88-2004" return table.concat(OCinSoutput, "&"); end --[[--------------------------< S E T _ S E L E C T E D _ M O D U L E S >-------------------------------------- Sets local cfg table and imported functions table to same (live or sandbox) as that used by the other modules. ]] local function set_selected_modules (cfg_table_ptr, utilities_page_ptr) cfg = cfg_table_ptr; has_accept_as_written = utilities_page_ptr.has_accept_as_written; -- import functions from selected Module:Citation/CS1/Utilities module is_set = utilities_page_ptr.is_set; in_array = utilities_page_ptr.in_array; remove_wiki_link = utilities_page_ptr.remove_wiki_link; strip_apostrophe_markup = utilities_page_ptr.strip_apostrophe_markup; end --[[--------------------------< E X P O R T E D F U N C T I O N S >------------------------------------------ ]] return { make_coins_title = make_coins_title, get_coins_pages = get_coins_pages, COinS = COinS, set_selected_modules = set_selected_modules, } </textarea><div id="mw-scribunto-console"></div><div class="templatesUsed"><div class="mw-templatesUsedExplanation"><p>ئەو داڕێژانە کە لەم پەڕەیەدا بە کارھێنراون: </p></div><ul> <li><a href="/wiki/%D8%AF%D8%A7%DA%95%DB%8E%DA%98%DB%95:Documentation" class="mw-redirect" title="داڕێژە:Documentation">داڕێژە:Documentation</a> (<a href="/w/index.php?title=%D8%AF%D8%A7%DA%95%DB%8E%DA%98%DB%95:Documentation&action=edit" class="mw-redirect" title="داڕێژە:Documentation">سەرچاوەکەی ببینە</a>) (پارێزراوی پاسدەرانی خۆگەڕ)</li><li><a href="/wiki/%D8%AF%D8%A7%DA%95%DB%8E%DA%98%DB%95:%D8%A8%DB%95%DA%B5%DA%AF%DB%95%D9%86%D8%A7%D9%85%DB%95" title="داڕێژە:بەڵگەنامە">داڕێژە:بەڵگەنامە</a> (<a href="/w/index.php?title=%D8%AF%D8%A7%DA%95%DB%8E%DA%98%DB%95:%D8%A8%DB%95%DA%B5%DA%AF%DB%95%D9%86%D8%A7%D9%85%DB%95&action=edit" title="داڕێژە:بەڵگەنامە">سەرچاوەکەی ببینە</a>) (پارێزراوی پاسدەرانی خۆگەڕ)</li><li><a href="/wiki/%D8%AF%D8%A7%DA%95%DB%8E%DA%98%DB%95:%D8%A8%DB%95%DA%B5%DA%AF%DB%95%D9%86%D8%A7%D9%85%DB%95/styles.css" title="داڕێژە:بەڵگەنامە/styles.css">داڕێژە:بەڵگەنامە/styles.css</a> (<a href="/w/index.php?title=%D8%AF%D8%A7%DA%95%DB%8E%DA%98%DB%95:%D8%A8%DB%95%DA%B5%DA%AF%DB%95%D9%86%D8%A7%D9%85%DB%95/styles.css&action=edit" title="داڕێژە:بەڵگەنامە/styles.css">دەستکاری</a>) </li><li><a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Arguments" title="مۆدیوول:Arguments">مۆدیوول:Arguments</a> (<a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Arguments&action=edit" title="مۆدیوول:Arguments">دەستکاری</a>) </li><li><a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS/doc&action=edit&redlink=1" class="new" title="مۆدیوول:Citation/CS1/COinS/doc (ئەم پەڕەیە نییە)">مۆدیوول:Citation/CS1/COinS/doc</a> (<a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS/doc&action=edit" class="new" title="مۆدیوول:Citation/CS1/COinS/doc (ئەم پەڕەیە نییە)">سەرچاوەکەی ببینە</a>) </li><li><a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Documentation" title="مۆدیوول:Documentation">مۆدیوول:Documentation</a> (<a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Documentation&action=edit" title="مۆدیوول:Documentation">سەرچاوەکەی ببینە</a>) (پارێزراوی پاسدەرانی خۆگەڕ)</li><li><a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Documentation/config" title="مۆدیوول:Documentation/config">مۆدیوول:Documentation/config</a> (<a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Documentation/config&action=edit" title="مۆدیوول:Documentation/config">سەرچاوەکەی ببینە</a>) (پارێزراوی پاسدەرانی خۆگەڕ)</li><li><a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Message_box" title="مۆدیوول:Message box">مۆدیوول:Message box</a> (<a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Message_box&action=edit" title="مۆدیوول:Message box">دەستکاری</a>) </li><li><a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Message_box/configuration" title="مۆدیوول:Message box/configuration">مۆدیوول:Message box/configuration</a> (<a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Message_box/configuration&action=edit" title="مۆدیوول:Message box/configuration">دەستکاری</a>) </li><li><a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:No_globals" title="مۆدیوول:No globals">مۆدیوول:No globals</a> (<a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:No_globals&action=edit" title="مۆدیوول:No globals">دەستکاری</a>) </li><li><a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Yesno" title="مۆدیوول:Yesno">مۆدیوول:Yesno</a> (<a href="/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Yesno&action=edit" title="مۆدیوول:Yesno">دەستکاری</a>) </li></ul></div><p id="mw-returnto">بگەڕێوە بۆ <a href="/wiki/%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS" title="مۆدیوول:Citation/CS1/COinS">مۆدیوول:Citation/CS1/COinS</a>.</p> <!--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="">وەرگیراو لە «<a dir="ltr" href="https://ckb.wikipedia.org/wiki/مۆدیوول:Citation/CS1/COinS">https://ckb.wikipedia.org/wiki/مۆدیوول:Citation/CS1/COinS</a>»</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">سیاسەتی تایبەتێتی</a></li> <li id="footer-places-about"><a href="/wiki/%D9%88%DB%8C%DA%A9%DB%8C%D9%BE%DB%8C%D8%AF%DB%8C%D8%A7:%D8%B3%DB%95%D8%A8%D8%A7%D8%B1%DB%95%D8%AA">دەربارەی ویکیپیدیا</a></li> <li id="footer-places-disclaimers"><a href="/wiki/%D9%88%DB%8C%DA%A9%DB%8C%D9%BE%DB%8C%D8%AF%DB%8C%D8%A7:%D8%A8%DB%95%D8%B1%D9%BE%D8%B1%D8%B3%D9%86%DB%95%D8%A8%D9%88%D9%88%D9%86">نابەرپرسییەکان</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">پەرەپێدەران</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/ckb.wikipedia.org">ئامارەکان</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">ڕوونکردنەوەی کوکی</a></li> <li id="footer-places-mobileview"><a href="//ckb.m.wikipedia.org/w/index.php?title=%D9%85%DB%86%D8%AF%DB%8C%D9%88%D9%88%D9%84:Citation/CS1/COinS&action=edit&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">بینینی مۆبایلی</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-gtqkc","wgBackendResponseTime":178,"wgPageParseReport":{"limitreport":{"cputime":"0.005","walltime":"0.007","ppvisitednodes":{"value":17,"limit":1000000},"postexpandincludesize":{"value":752,"limit":2097152},"templateargumentsize":{"value":0,"limit":2097152},"expansiondepth":{"value":2,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":0,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 0.000 1 -total"]},"cachereport":{"origin":"mw-web.codfw.main-5c59558b9d-gtqkc","timestamp":"20241129103401","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>