CINXE.COM

ويكيبيديا:بوت/نقل الإحداثيات - ويكيبيديا

<!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-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="ar" dir="rtl"> <head> <meta charset="UTF-8"> <title>ويكيبيديا:بوت/نقل الإحداثيات - ويكيبيديا</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-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(/(?:^|; )arwikimwclientpreferences=([^;]+)/);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":[ "0\t1\t2\t3\t4\t5\t6\t7\t8\t9","٠\t١\t٢\t٣\t٤\t٥\t٦\t٧\t٨\t٩"],"wgDefaultDateFormat":"dmy","wgMonthNames":["","يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],"wgRequestId":"5b001876-823a-4ef8-b4dc-0c660a6ab23b","wgCanonicalNamespace":"Project","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":4,"wgPageName":"ويكيبيديا:بوت/نقل_الإحداثيات","wgTitle":"بوت/نقل الإحداثيات","wgCurRevisionId":46146878,"wgRevisionId":46146878,"wgArticleId":1258028,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["سكربتات بوتات ويكيبيديا","بوتات ويكيبيديا"],"wgPageViewLanguage":"ar","wgPageContentLanguage":"ar","wgPageContentModel":"wikitext","wgRelevantPageName":"ويكيبيديا:بوت/نقل_الإحداثيات","wgRelevantArticleId": 1258028,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":true,"wgFlaggedRevsParams":{"tags":{"accuracy":{"levels":2}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"ar","pageLanguageDir":"rtl","pageVariantFallbacks":"ar"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":10000,"wgRelatedArticlesCompat":[],"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"visual","wgULSPosition":"interlanguage", "wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":true,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false,"wgSiteNoticeId":"2.73"};RLSTATE={"ext.gadget.Font-Amiri":"ready","ext.gadget.palestineTheme":"ready","ext.gadget.WMP-icons":"ready","ext.gadget.Font-Arial":"ready","ext.gadget.HideExLinkIcon":"ready","ext.gadget.Urgent-fixes":"ready","ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.pygments":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready" ,"skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready","ext.dismissableSiteNotice.styles":"ready"};RLPAGEMODULES=["ext.pygments.view","site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.events-loader","ext.gadget.ArabicAds","ext.gadget.Defaulteditnotices","ext.gadget.searchlang","ext.gadget.NoRefCopy","ext.gadget.exlinks","ext.gadget.content-support-loader","ext.gadget.charinsert","ext.gadget.TemplateParamWizard","ext.gadget.decodesummary","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging", "ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.checkUser.clientHints","ext.dismissableSiteNotice"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=ar&amp;modules=ext.discussionTools.init.styles%7Cext.dismissableSiteNotice.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=ar&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=ar&amp;modules=ext.gadget.Font-Amiri%2CFont-Arial%2CHideExLinkIcon%2CUrgent-fixes%2CWMP-icons%2CpalestineTheme&amp;only=styles&amp;skin=vector-2022"> <link rel="stylesheet" href="/w/load.php?lang=ar&amp;modules=site.styles&amp;only=styles&amp;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 name="viewport" content="width=1120"> <meta property="og:title" content="ويكيبيديا:بوت/نقل الإحداثيات - ويكيبيديا"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//ar.m.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA"> <link rel="alternate" type="application/x-wiki" title="عدل" href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;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="ويكيبيديا (ar)"> <link rel="EditURI" type="application/rsd+xml" href="//ar.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://ar.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.ar"> <link rel="alternate" type="application/atom+xml" title="تلقيمة أتوم ويكيبيديا" href="/w/index.php?title=%D8%AE%D8%A7%D8%B5:%D8%A3%D8%AD%D8%AF%D8%AB_%D8%A7%D9%84%D8%AA%D8%BA%D9%8A%D9%8A%D8%B1%D8%A7%D8%AA&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki rtl sitedir-rtl mw-hide-empty-elt ns-4 ns-subject mw-editable page-ويكيبيديا_بوت_نقل_الإحداثيات rootpage-ويكيبيديا_بوت skin-vector-2022 action-view"><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-encyclopedia" class="vector-menu mw-portlet mw-portlet-encyclopedia" > <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%A7%D9%84%D8%B5%D9%81%D8%AD%D8%A9_%D8%A7%D9%84%D8%B1%D8%A6%D9%8A%D8%B3%D8%A9" title="زر الصفحة الرئيسية [z]" accesskey="z"><span>الصفحة الرئيسة</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/%D8%A8%D9%88%D8%A7%D8%A8%D8%A9:%D8%A3%D8%AD%D8%AF%D8%A7%D8%AB_%D8%AC%D8%A7%D8%B1%D9%8A%D8%A9" title="مطالعة سريعة لأهم الأحداث الجارية"><span>الأحداث الجارية</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/%D8%AE%D8%A7%D8%B5:%D8%A3%D8%AD%D8%AF%D8%AB_%D8%A7%D9%84%D8%AA%D8%BA%D9%8A%D9%8A%D8%B1%D8%A7%D8%AA" title="قائمة أحدث التغييرات في الويكي. [r]" accesskey="r"><span>أحدث التغييرات</span></a></li><li id="n-wrecentchanges" class="mw-list-item"><a href="/wiki/%D8%AE%D8%A7%D8%B5:%D8%A3%D8%AD%D8%AF%D8%AB_%D8%A7%D9%84%D8%AA%D8%BA%D9%8A%D9%8A%D8%B1%D8%A7%D8%AA_%D8%A7%D9%84%D9%85%D9%88%D8%B5%D9%88%D9%84%D8%A9/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%B5%D9%81%D8%AD%D8%A7%D8%AA_%D9%85%D9%87%D9%85%D8%A9"><span>أحدث التغييرات الأساسية</span></a></li> </ul> </div> </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-subjects" class="mw-list-item"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%AA%D8%B5%D9%81%D8%AD"><span>المواضيع</span></a></li><li id="n-index" class="mw-list-item"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D9%81%D9%87%D8%B1%D8%B3_%D8%B3%D8%B1%D9%8A%D8%B9"><span>أبجدي</span></a></li><li id="n-portals" class="mw-list-item"><a href="/wiki/%D8%A8%D9%88%D8%A7%D8%A8%D8%A9:%D8%AA%D8%B5%D9%81%D8%AD"><span>بوابات</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/%D8%AE%D8%A7%D8%B5:%D8%B9%D8%B4%D9%88%D8%A7%D8%A6%D9%8A" title="حمل صفحة عشوائية [x]" accesskey="x"><span>مقالة عشوائية</span></a></li><li id="n-Kiwix" class="mw-list-item"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D9%83%D9%8A%D9%88%D9%8A%D9%83%D8%B3"><span>تصفح من غير إنترنت</span></a></li> </ul> </div> </div> <div id="p-contributing" class="vector-menu mw-portlet mw-portlet-contributing" > <div class="vector-menu-heading"> مشاركة </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-contact" class="mw-list-item"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A7%D8%AA%D8%B5%D9%84_%D8%A8%D9%86%D8%A7"><span>تواصل مع ويكيبيديا</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D9%85%D8%AD%D8%AA%D9%88%D9%8A%D8%A7%D8%AA" title="حيث تجد المساعدة"><span>مساعدة</span></a></li><li id="n-villagepump" class="mw-list-item"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A7%D9%84%D9%85%D9%8A%D8%AF%D8%A7%D9%86"><span>الميدان</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/%D8%A7%D9%84%D8%B5%D9%81%D8%AD%D8%A9_%D8%A7%D9%84%D8%B1%D8%A6%D9%8A%D8%B3%D8%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-ar.svg" style="width: 7em; height: 2.4375em;"> <img class="mw-logo-tagline" alt="" src="/static/images/mobile/copyright/wikipedia-tagline-ar.svg" width="105" height="22" style="width: 6.5625em; height: 1.375em;"> </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%AE%D8%A7%D8%B5:%D8%A8%D8%AD%D8%AB" 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="تغيير مظهر الصفحة، حجم الخط، العرض واللون" > <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&amp;utm_medium=sidebar&amp;utm_campaign=C13_ar.wikipedia.org&amp;uselang=ar" 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%AE%D8%A7%D8%B5:%D8%A5%D9%86%D8%B4%D8%A7%D8%A1_%D8%AD%D8%B3%D8%A7%D8%A8&amp;returnto=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7%3A%D8%A8%D9%88%D8%AA%2F%D9%86%D9%82%D9%84+%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA" 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%AE%D8%A7%D8%B5:%D8%AF%D8%AE%D9%88%D9%84_%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85&amp;returnto=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7%3A%D8%A8%D9%88%D8%AA%2F%D9%86%D9%82%D9%84+%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA" 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="قائمة المستخدم" > <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&amp;utm_medium=sidebar&amp;utm_campaign=C13_ar.wikipedia.org&amp;uselang=ar"><span>تبرع</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=%D8%AE%D8%A7%D8%B5:%D8%A5%D9%86%D8%B4%D8%A7%D8%A1_%D8%AD%D8%B3%D8%A7%D8%A8&amp;returnto=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7%3A%D8%A8%D9%88%D8%AA%2F%D9%86%D9%82%D9%84+%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA" 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%AE%D8%A7%D8%B5:%D8%AF%D8%AE%D9%88%D9%84_%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85&amp;returnto=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7%3A%D8%A8%D9%88%D8%AA%2F%D9%86%D9%82%D9%84+%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA" 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%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D9%85%D9%82%D8%AF%D9%85%D8%A9" 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%AE%D8%A7%D8%B5:%D9%85%D8%B3%D8%A7%D9%87%D9%85%D8%A7%D8%AA%D9%8A" title="قائمة بتعديلات قام بها عنوان الآي بي [y]" accesskey="y"><span>مساهمات</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/%D8%AE%D8%A7%D8%B5:%D9%86%D9%82%D8%A7%D8%B4%D9%8A" 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"><div id="mw-dismissablenotice-anonplace"></div><script>(function(){var node=document.getElementById("mw-dismissablenotice-anonplace");if(node){node.outerHTML="\u003Cdiv class=\"mw-dismissable-notice\"\u003E\u003Cdiv class=\"mw-dismissable-notice-close\"\u003E\u003Ca tabindex=\"0\" role=\"button\"\u003E\u003C/a\u003E\u003C/div\u003E\u003Cdiv class=\"mw-dismissable-notice-body\"\u003E\u003C!-- CentralNotice --\u003E\u003Cdiv id=\"localNotice\" data-nosnippet=\"\"\u003E\u003Cdiv class=\"anonnotice\" lang=\"ar\" dir=\"rtl\"\u003E\u003Ctable style=\"border: 1px solid #a40007; padding: 10px; width:100%; background-image: linear-gradient(#000000,#000000)\"\u003E\n\u003Ctbody\u003E\u003Ctr\u003E\n\u003Ctd style=\"width:10%\"\u003E\u003Cspan typeof=\"mw:File\"\u003E\u003Ca href=\"/wiki/%D9%85%D9%84%D9%81:Arabic_Wikipedia_Logo_Gaza_(3).svg\" class=\"mw-file-description\"\u003E\u003Cimg src=\"//upload.wikimedia.org/wikipedia/commons/thumb/5/55/Arabic_Wikipedia_Logo_Gaza_%283%29.svg/70px-Arabic_Wikipedia_Logo_Gaza_%283%29.svg.png\" decoding=\"async\" width=\"70\" height=\"99\" class=\"mw-file-element\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/5/55/Arabic_Wikipedia_Logo_Gaza_%283%29.svg/105px-Arabic_Wikipedia_Logo_Gaza_%283%29.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/5/55/Arabic_Wikipedia_Logo_Gaza_%283%29.svg/140px-Arabic_Wikipedia_Logo_Gaza_%283%29.svg.png 2x\" data-file-width=\"241\" data-file-height=\"342\" /\u003E\u003C/a\u003E\u003C/span\u003E\n\u003C/td\u003E\n\u003Ctd style=\"width:80%; text-align:center ; color:white\"\u003E\u003Cspan style=\"font-size:100%\"\u003E\n\u003Cp\u003E\u003Cb\u003E\u003Ca href=\"/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A3%D9%88%D9%82%D9%81%D9%88%D8%A7_%D8%A7%D9%84%D8%AD%D8%B1%D8%A8_%D9%88%D8%A7%D9%86%D8%B4%D8%B1%D9%88%D8%A7_%D8%A7%D9%84%D8%B3%D9%84%D8%A7%D9%85\" title=\"ويكيبيديا:أوقفوا الحرب وانشروا السلام\"\u003E\u003Cspan style=\"color:white\"\u003Eتضامنًا\u003C/span\u003E\u003C/a\u003E مع حق الشعب \u003Ca href=\"/wiki/%D9%81%D9%84%D8%B3%D8%B7%D9%8A%D9%86\" title=\"فلسطين\"\u003E\u003Cspan style=\"color:white\"\u003Eالفلسطيني\u003C/span\u003E\u003C/a\u003E\u003C/b\u003E\u003Cbr /\u003E\n\u003Cb\u003Eلا \u003Ca href=\"/wiki/%D8%A7%D9%84%D8%AD%D8%B1%D8%A8_%D8%A7%D9%84%D9%81%D9%84%D8%B3%D8%B7%D9%8A%D9%86%D9%8A%D8%A9_%D8%A7%D9%84%D8%A5%D8%B3%D8%B1%D8%A7%D8%A6%D9%8A%D9%84%D9%8A%D8%A9_2023\" class=\"mw-redirect\" title=\"الحرب الفلسطينية الإسرائيلية 2023\"\u003E\u003Cspan style=\"color:red\"\u003Eللإبادة الجماعية في غزة\u003C/span\u003E\u003C/a\u003E\u003C/b\u003E .... \u003Cb\u003Eلا \u003Ca href=\"/wiki/%D8%AA%D8%B5%D9%86%D9%8A%D9%81:%D9%85%D8%B0%D8%A7%D8%A8%D8%AD_%D8%AE%D9%84%D8%A7%D9%84_%D8%A7%D9%84%D8%AD%D8%B1%D8%A8_%D8%A7%D9%84%D9%81%D9%84%D8%B3%D8%B7%D9%8A%D9%86%D9%8A%D8%A9_%D8%A7%D9%84%D8%A5%D8%B3%D8%B1%D8%A7%D8%A6%D9%8A%D9%84%D9%8A%D8%A9_2023\" title=\"تصنيف:مذابح خلال الحرب الفلسطينية الإسرائيلية 2023\"\u003E\u003Cspan style=\"color:red\"\u003Eلقتل المدنيين\u003C/span\u003E\u003C/a\u003E\u003C/b\u003E\u003Cbr /\u003E \n\u003Cb\u003Eلا \u003Ca href=\"/wiki/%D9%85%D8%AC%D8%B2%D8%B1%D8%A9_%D9%85%D8%B3%D8%AA%D8%B4%D9%81%D9%89_%D8%A7%D9%84%D9%85%D8%B9%D9%85%D8%AF%D8%A7%D9%86%D9%8A\" title=\"مجزرة مستشفى المعمداني\"\u003E\u003Cspan style=\"color:red\"\u003Eلاستهداف المستشفيات والمدارس\u003C/span\u003E\u003C/a\u003E\u003C/b\u003E .... \u003Cb\u003Eلا \u003Ca href=\"/wiki/%D8%B9%D9%85%D9%84%D9%8A%D8%A9_%D8%B7%D9%88%D9%81%D8%A7%D9%86_%D8%A7%D9%84%D8%A3%D9%82%D8%B5%D9%89#الدعاية_الإسرائيلية\" title=\"عملية طوفان الأقصى\"\u003E\u003Cspan style=\"color:red\"\u003Eللتضليل والكيل بمكيالين\u003C/span\u003E\u003C/a\u003E\u003C/b\u003E\u003Cbr /\u003E\n\u003Cb\u003E\u003Ca href=\"/wiki/%D9%88%D9%82%D9%81_%D8%A5%D8%B7%D9%84%D8%A7%D9%82_%D8%A7%D9%84%D9%86%D8%A7%D8%B1_%D9%81%D9%8A_%D8%BA%D8%B2%D8%A9_2023\" class=\"mw-redirect\" title=\"وقف إطلاق النار في غزة 2023\"\u003E\u003Cspan style=\"color:white\"\u003Eأوقفوا الحرب\u003C/span\u003E\u003C/a\u003E .... وانشروا السلام العادل والشامل\u003C/b\u003E\n\u003C/p\u003E\n\n\u003C/span\u003E\u003C/td\u003E\u003C/tr\u003E\u003C/tbody\u003E\u003C/table\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E";}}());</script></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="الموقع"> <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="المحتويات" 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">المحتويات</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">انقل للشريط الجانبي</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">أخف</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">المقدمة</div> </a> </li> <li id="toc-الکود" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#الکود"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>الکود</span> </div> </a> <ul id="toc-الکود-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="المحتويات" 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="تبديل عرض جدول المحتويات" > <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">تبديل عرض جدول المحتويات</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">ويكيبيديا</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">بوت/نقل الإحداثيات</span></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><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:NewItem?site=arwiki&amp;page=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7%3A%D8%A8%D9%88%D8%AA%2F%D9%86%D9%82%D9%84+%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA" title="إضافة وصلات بين اللغات" class="wbc-editpage">أضف وصلات</a></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-project" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA" title="رؤية صفحة المشروع [c]" accesskey="c"><span>صفحة مشروع</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/%D9%86%D9%82%D8%A7%D8%B4_%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA" rel="discussion" 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="غيّر لهجة اللغة" > <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">العربية</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="selected vector-tab-noicon mw-list-item"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA"><span>اقرأ</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;action=edit" title="عدل الكود المصدري لهذه الصفحة [e]" accesskey="e"><span>عدل المصدر</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;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="المزيد من الخيارات" > <div class="vector-menu-heading"> إجراءات </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/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA"><span>اقرأ</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;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%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;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%AE%D8%A7%D8%B5:%D9%85%D8%A7%D8%B0%D8%A7_%D9%8A%D8%B5%D9%84_%D9%87%D9%86%D8%A7/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA" title="قائمة بكل صفحات الويكي التي تصل هنا [j]" accesskey="j"><span>ماذا يصل هنا</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/%D8%AE%D8%A7%D8%B5:%D8%A3%D8%AD%D8%AF%D8%AB_%D8%A7%D9%84%D8%AA%D8%BA%D9%8A%D9%8A%D8%B1%D8%A7%D8%AA_%D8%A7%D9%84%D9%85%D9%88%D8%B5%D9%88%D9%84%D8%A9/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA" rel="nofollow" title="أحدث التغييرات في الصفحات الموصولة من هذه الصفحة [k]" accesskey="k"><span>تغييرات ذات علاقة</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/ويكيبيديا:رفع" title="ارفع ملفات [u]" accesskey="u"><span>رفع ملف</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/%D8%AE%D8%A7%D8%B5:%D8%B5%D9%81%D8%AD%D8%A7%D8%AA_%D8%AE%D8%A7%D8%B5%D8%A9" title="قائمة بكل الصفحات الخاصة [q]" accesskey="q"><span>الصفحات الخاصة</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;oldid=46146878" title="وصلة دائمة لهذه النسخة من الصفحة"><span>وصلة دائمة</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;action=info" title="المزيد من المعلومات عن هذه الصفحة"><span>معلومات الصفحة</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=%D8%AE%D8%A7%D8%B5:%D8%AA%D9%82%D8%B5%D9%8A%D8%B1_%D8%A7%D9%84%D9%85%D8%B3%D8%A7%D8%B1&amp;url=https%3A%2F%2Far.wikipedia.org%2Fwiki%2F%25D9%2588%25D9%258A%25D9%2583%25D9%258A%25D8%25A8%25D9%258A%25D8%25AF%25D9%258A%25D8%25A7%3A%25D8%25A8%25D9%2588%25D8%25AA%2F%25D9%2586%25D9%2582%25D9%2584_%25D8%25A7%25D9%2584%25D8%25A5%25D8%25AD%25D8%25AF%25D8%25A7%25D8%25AB%25D9%258A%25D8%25A7%25D8%25AA"><span>احصل على مسار مختصر</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=%D8%AE%D8%A7%D8%B5:QrCode&amp;url=https%3A%2F%2Far.wikipedia.org%2Fwiki%2F%25D9%2588%25D9%258A%25D9%2583%25D9%258A%25D8%25A8%25D9%258A%25D8%25AF%25D9%258A%25D8%25A7%3A%25D8%25A8%25D9%2588%25D8%25AA%2F%25D9%2586%25D9%2582%25D9%2584_%25D8%25A7%25D9%2584%25D8%25A5%25D8%25AD%25D8%25AF%25D8%25A7%25D8%25AB%25D9%258A%25D8%25A7%25D8%25AA"><span>تنزيل رمز الاستجابة السريعة</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"> طباعة/تصدير </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=%D8%AE%D8%A7%D8%B5:%D9%83%D8%AA%D8%A7%D8%A8&amp;bookcmd=book_creator&amp;referer=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7%3A%D8%A8%D9%88%D8%AA%2F%D9%86%D9%82%D9%84+%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA"><span>إنشاء كتاب</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=%D8%AE%D8%A7%D8%B5:DownloadAsPdf&amp;page=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7%3A%D8%A8%D9%88%D8%AA%2F%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;action=show-download-screen"><span>تحميل PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;printable=yes" title="نسخة للطباعة لهذه الصفحة [p]" accesskey="p"><span>نسخة للطباعة</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"> في مشاريع أخرى </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="أدوات الصفحة"> <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 id="siteSub" class="noprint">من ويكيبيديا، الموسوعة الحرة</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><div class="subpages">&lt; <bdi dir="rtl"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA" title="ويكيبيديا:بوت">ويكيبيديا:بوت</a></bdi></div></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-rtl mw-parser-output" lang="ar" dir="rtl"><div style="position:absolute; z-index:100; left:10px; top:10px;" class="metadata" id="bot"><figure class="noresize" typeof="mw:File"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%B3%D9%8A%D8%A7%D8%B3%D8%A9_%D8%A7%D9%84%D8%A8%D9%88%D8%AA" title="Wikipedia Bots"><img alt="Wikipedia Bots" src="//upload.wikimedia.org/wikipedia/commons/thumb/3/35/Crystal_Clear_action_run.svg/16px-Crystal_Clear_action_run.svg.png" decoding="async" width="16" height="15" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/3/35/Crystal_Clear_action_run.svg/24px-Crystal_Clear_action_run.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/3/35/Crystal_Clear_action_run.svg/32px-Crystal_Clear_action_run.svg.png 2x" data-file-width="140" data-file-height="127"/></a><figcaption>Wikipedia Bots</figcaption></figure></div> <div class="navbox-styles"><style data-mw-deduplicate="TemplateStyles:r64177691">.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.inline,.mw-parser-output .hlist.inline dl,.mw-parser-output .hlist.inline ol,.mw-parser-output .hlist.inline ul,.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{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><style data-mw-deduplicate="TemplateStyles:r68124052">.mw-parser-output .navbox{box-sizing:border-box;border:1px solid #a2a9b1;width:100%;clear:both;font-size:88%;text-align:center;padding:1px;margin:1em auto 0}.mw-parser-output .navbox .navbox{margin-top:0}.mw-parser-output .navbox+.navbox,.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox-group,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{padding:0.25em 1em;line-height:1.5em;text-align:center}.mw-parser-output .navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background-color:#fdfdfd}.mw-parser-output .navbox-list{line-height:1.5em;border-color:#fdfdfd}.mw-parser-output .navbox-list-with-group{text-align:right;border-right-width:2px;border-right-style:solid}.mw-parser-output tr+tr>.navbox-abovebelow,.mw-parser-output tr+tr>.navbox-group,.mw-parser-output tr+tr>.navbox-image,.mw-parser-output tr+tr>.navbox-list{border-top:2px solid #fdfdfd}.mw-parser-output .navbox-title{background-color:#ccf}.mw-parser-output .navbox-abovebelow,.mw-parser-output .navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background-color:#ddf}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background-color:#e6e6ff}.mw-parser-output .navbox-even{background-color:#f7f7f7}.mw-parser-output .navbox-odd{background-color:transparent}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:right;text-align:right;margin-right:0.5em}body.skin--responsive .mw-parser-output .navbox-image img{max-width:none!important}@media print{body.ns-0 .mw-parser-output .navbox{display:none!important}}</style></div><div role="navigation" class="navbox" aria-label="Navbox" style="padding:1px"><table class="nowraplinks hlist navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="row" class="navbox-group" style="width:1%">السیاسات</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%B3%D9%8A%D8%A7%D8%B3%D8%A9_%D8%A7%D9%84%D8%A8%D9%88%D8%AA" title="ويكيبيديا:سياسة البوت">سياسة البوت</a></li> <li><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D9%81%D8%B1%D9%8A%D9%82_%D8%A7%D9%84%D9%85%D9%88%D8%A7%D9%81%D9%82%D8%A9_%D8%B9%D9%84%D9%89_%D8%A7%D9%84%D8%A8%D9%88%D8%AA&amp;action=edit&amp;redlink=1" class="new" title="ويكيبيديا:فريق الموافقة على البوت (الصفحة غير موجودة)">فريق الموافقة على البوت</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA" title="ويكيبيديا:بوت">بوت</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D8%A7%D9%84%D8%A8%D9%88%D8%AA%D8%A7%D8%AA" title="ويكيبيديا:قائمة البوتات">قائمة البوتات الفعالة</a></li> <li><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A7%D9%84%D8%A8%D9%88%D8%AA_%D8%A7%D9%84%D8%A5%D8%AF%D8%A7%D8%B1%D9%8A&amp;action=edit&amp;redlink=1" class="new" title="ويكيبيديا:البوت الإداري (الصفحة غير موجودة)">البوت الإداري</a></li></ul> </div></td><td class="noviewer navbox-image" rowspan="8" style="width:1px;padding:0 0 0 2px"><div><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Bot_icon2.svg/70px-Bot_icon2.svg.png" decoding="async" width="70" height="70" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Bot_icon2.svg/105px-Bot_icon2.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Bot_icon2.svg/140px-Bot_icon2.svg.png 2x" data-file-width="161" data-file-height="161"/></span></span></div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">تعریف</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%AF%D9%84%D9%8A%D9%84_%D8%A7%D9%84%D8%A8%D9%88%D8%AA&amp;action=edit&amp;redlink=1" class="new" title="ويكيبيديا:دليل البوت (الصفحة غير موجودة)">أسئلة وأجوبة</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D9%83%D9%8A%D9%81_%D8%AA%D8%B5%D9%86%D8%B9_%D8%A8%D9%88%D8%AA" title="ويكيبيديا:كيف تصنع بوت">كيف نصنع بوت</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">التعلیمات</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li>* <b>لغة البرمجة</b> : الشروع في العمل مع بوت <a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%A7%D9%84%D8%B4%D8%B1%D9%88%D8%B9_%D9%81%D9%8A_%D8%A7%D9%84%D8%B9%D9%85%D9%84_%D9%85%D8%B9_%D8%A8%D9%88%D8%AA_%D8%A8%D8%A7%D9%8A%D8%AB%D9%88%D9%86" title="مساعدة:الشروع في العمل مع بوت بايثون">بلغة بايثون</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%A7%D9%84%D8%B4%D8%B1%D9%88%D8%B9_%D9%81%D9%8A_%D8%A7%D9%84%D8%B9%D9%85%D9%84_%D9%85%D8%B9_%D8%A8%D9%8A%D8%B4%D9%8A" title="مساعدة:الشروع في العمل مع بيشي">بلغة PHP</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%A8%D9%88%D8%AA_%D8%A7%D9%84%D8%AA%D8%AC%D8%B1%D9%8A%D8%A8" title="ويكيبيديا:بوت/بوت التجريب">بوت التجريب</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%A7%D9%84%D8%B4%D8%B1%D9%88%D8%B9_%D9%81%D9%8A_%D8%A7%D9%84%D8%B9%D9%85%D9%84_%D9%85%D8%B9_%D8%AA%D9%88%D9%84_%D8%B3%D8%B1%D9%81%D8%B1" title="مساعدة:الشروع في العمل مع تول سرفر">الشروع في العمل مع التول سرفر</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%AA%D8%B4%D8%BA%D9%8A%D9%84_%D8%A7%D9%84%D8%A8%D9%88%D8%AA_%D9%81%D9%8A_%D8%A7%D9%84%D8%AA%D9%88%D9%84%D8%B3%D9%8A%D8%B1%D9%81%D8%B1" title="مساعدة:تشغيل البوت في التولسيرفر">تشغيل البوت في التولسيرفر</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%A7%D9%84%D8%B4%D8%B1%D9%88%D8%B9_%D9%81%D9%8A_%D8%A7%D9%84%D8%B9%D9%85%D9%84_%D9%85%D8%B9_%D8%AA%D9%88%D9%84%D9%84%D8%A7%D8%A8%D8%B2" title="مساعدة:الشروع في العمل مع توللابز">الشروع في العمل مع توللابز</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%AA%D8%B4%D8%BA%D9%8A%D9%84_%D8%A7%D9%84%D8%A8%D9%88%D8%AA_%D9%81%D9%8A_%D8%A7%D9%84%D8%AA%D9%88%D9%84%D8%A7%D8%A8%D8%B2" title="مساعدة:تشغيل البوت في التولابز">تشغيل البوت في التولابز</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:Crontab" title="مساعدة:Crontab">Crontab</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%A5%D9%86%D8%B4%D8%A7%D8%A1_%D9%85%D9%82%D8%A7%D9%84%D8%A7%D8%AA_%D8%B9%D9%86_%D8%B7%D8%B1%D9%8A%D9%82_%D8%A7%D9%84%D8%A8%D9%88%D8%AA" title="مساعدة:إنشاء مقالات عن طريق البوت">إنشاء مقالات</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%A8%D9%88%D8%AA_%D8%A7%D8%B3%D8%AA%D8%AE%D8%B1%D8%A7%D8%AC_%D8%A7%D9%84%D8%A8%D9%8A%D8%A7%D9%86%D8%A7%D8%AA" title="مساعدة:بوت استخراج البيانات">بوت استخراج البيانات</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%A7%D8%B3%D8%AA%D8%AE%D8%B1%D8%A7%D8%AC_%D8%A8%D9%8A%D8%A7%D9%86%D8%A7%D8%AA_%D9%82%D8%A7%D8%A6%D9%85%D8%A9" title="مساعدة:استخراج بيانات قائمة">استخراج بيانات قائمة</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%A7%D8%B3%D8%AA%D8%B9%D9%84%D8%A7%D9%85" title="مساعدة:استعلام">استخراج القوائم الإحصائية</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">الطلبات</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%B7%D9%84%D8%A8_%D8%B5%D9%84%D8%A7%D8%AD%D9%8A%D8%A9_%D8%A8%D9%88%D8%AA" title="ويكيبيديا:طلب صلاحية بوت">ويكيبيديا:طلب صلاحية بوت</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%B7%D9%84%D8%A8%D8%A7%D8%AA_%D8%A7%D9%84%D8%A8%D9%88%D8%AA" title="ويكيبيديا:طلبات البوت">ويكيبيديا:طلبات البوت</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">البوتات</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a class="mw-selflink selflink">نقل الاحداثيات</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%A7%D9%84%D8%AA%D8%B5%D8%A7%D9%86%D9%8A%D9%81_%D8%A7%D9%84%D9%85%D8%B9%D8%A7%D8%AF%D9%84%D8%A9" title="ويكيبيديا:بوت/التصانيف المعادلة">التصانيف المعادلة</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%A5%D9%86%D8%B4%D8%A7%D8%A1_%D8%AA%D8%B5%D8%A7%D9%86%D9%8A%D9%81_%D8%AD%D8%B3%D8%A8_%D8%A7%D9%84%D8%B3%D9%86%D8%A9" title="ويكيبيديا:بوت/إنشاء تصانيف حسب السنة">إنشاء تصانيف حسب السنة</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%A5%D9%86%D8%B4%D8%A7%D8%A1_%D8%AA%D8%B5%D8%A7%D9%86%D9%8A%D9%81_%D8%AD%D8%B3%D8%A8_%D8%A7%D9%84%D8%A3%D8%B3%D9%85%D8%A7%D8%A1_%D8%A7%D9%84%D9%85%D8%AA%D8%B1%D8%AC%D9%85%D8%A9" title="ويكيبيديا:بوت/إنشاء تصانيف حسب الأسماء المترجمة">إنشاء تصانيف حسب الأسماء المترجمة</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%A5%D8%B2%D8%A7%D9%84%D8%A9_%D8%A7%D9%84%D8%B5%D9%88%D8%B1_%D8%BA%D9%8A%D8%B1_%D8%A7%D9%84%D9%85%D9%88%D8%AC%D9%88%D8%AF%D8%A9" title="ويكيبيديا:بوت/إزالة الصور غير الموجودة">إزالة الصور غير الموجودة</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%AA%D8%B5%D9%84%D9%8A%D8%AD_%D9%82%D8%A7%D9%84%D8%A8_%D9%8A%D9%88%D8%AA%D9%8A%D9%88%D8%A8" title="ويكيبيديا:بوت/تصليح قالب يوتيوب">تصليح قالب يوتيوب</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%A5%D8%B6%D8%A7%D9%81%D8%A9_%D9%82%D8%A7%D9%84%D8%A8_%D9%85%D8%B1%D8%A7%D8%AC%D8%B9" title="ويكيبيديا:بوت/إضافة قالب مراجع">إضافة قالب مراجع</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/template.py" title="ويكيبيديا:بوت/template.py">template.py</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%A7%D8%B3%D8%AA%D8%AE%D8%B1%D8%A7%D8%AC_%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D8%A7%D9%84%D9%85%D9%82%D8%A7%D9%84%D8%A7%D8%AA_%D8%BA%D9%8A%D8%B1_%D8%A7%D9%84%D9%85%D9%88%D8%AC%D9%88%D8%AF%D8%A9_%D8%AD%D8%B3%D8%A8_%D8%A7%D9%84%D8%AA%D8%B5%D9%86%D9%8A%D9%81" title="ويكيبيديا:بوت/استخراج قائمة المقالات غير الموجودة حسب التصنيف">استخراج قائمة المقالات غير الموجودة حسب التصنيف</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%A7%D8%B6%D8%A7%D9%81%D8%A9_%D9%88%D8%B5%D9%84%D8%A7%D8%AA_%D9%83%D9%88%D9%85%D9%86%D8%B2_%D8%A7%D9%84%D9%89_%D8%A7%D9%84%D9%85%D9%82%D8%A7%D9%84%D8%A7%D8%AA" title="ويكيبيديا:بوت/اضافة وصلات كومنز الى المقالات">اضافة وصلات كومنز الى المقالات</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D9%85%D8%AA%D8%B1%D8%AC%D9%85_%D8%A7%D9%84%D9%82%D9%88%D8%A7%D9%84%D8%A8" class="mw-redirect" title="ويكيبيديا:مترجم القوالب">مترجم القوالب</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">بوتات إدارية</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%85%D9%86%D8%B9_%D8%A7%D9%84%D8%A8%D8%B1%D9%88%D9%83%D8%B3%D9%8A%D8%A7%D8%AA_%D8%A7%D9%84%D9%85%D9%81%D8%AA%D9%88%D8%AD%D8%A9" title="ويكيبيديا:بوت/منع البروكسيات المفتوحة">منع البروكسيات المفتوحة</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%AD%D9%85%D8%A7%D9%8A%D8%A9_%D8%A7%D9%84%D9%82%D9%88%D8%A7%D9%84%D8%A8_%D9%83%D8%AB%D9%8A%D8%B1%D8%A9_%D8%A7%D9%84%D8%A5%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85" title="ويكيبيديا:بوت/حماية القوالب كثيرة الإستخدام">حماية القوالب كثيرة الاستخدام</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">بوتات إحصائية</th><td class="navbox-list-with-group navbox-list navbox-odd" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D8%A7%D9%84%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D9%8A%D9%86_%D8%AD%D8%B3%D8%A8_%D8%B9%D8%AF%D8%AF_%D8%A7%D9%84%D8%AA%D8%B9%D8%AF%D9%8A%D9%84%D8%A7%D8%AA" title="ويكيبيديا:بوت/قائمة الويكيبيديين حسب عدد التعديلات">قائمة الويكيبيديين حسب عدد التعديلات</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D8%A7%D9%84%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D9%8A%D9%86_%D8%AD%D8%B3%D8%A8_%D8%B9%D8%AF%D8%AF_%D8%A7%D9%84%D8%AA%D8%B9%D8%AF%D9%8A%D9%84%D8%A7%D8%AA_(%D9%85%D8%AA%D8%B6%D9%85%D9%86%D8%A9_%D8%A7%D9%84%D8%A8%D9%88%D8%AA%D8%A7%D8%AA)" title="ويكيبيديا:بوت/قائمة الويكيبيديين حسب عدد التعديلات (متضمنة البوتات)">قائمة الويكيبيديين حسب عدد التعديلات (متضمنة البوتات)</a></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">المتفرقات</th><td class="navbox-list-with-group navbox-list navbox-even" style="width:100%;padding:0"><div style="padding:0 0.25em"> <ul><li><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/userlib2&amp;action=edit&amp;redlink=1" class="new" title="ويكيبيديا:بوت/userlib2 (الصفحة غير موجودة)">userlib2.py المعدَّل</a></li> <li><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D8%A7%D8%B3%D8%AA%D8%AE%D8%B1%D8%A7%D8%AC_%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D8%A7%D9%84%D9%82%D9%88%D8%A7%D9%84%D8%A8_%D9%83%D8%AB%D9%8A%D8%B1%D8%A9_%D8%A7%D9%84%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85" title="ويكيبيديا:بوت/استخراج قائمة القوالب كثيرة الاستخدام">استخراج قائمة القوالب كثيرة الاستخدام</a></li> <li><a href="/wiki/%D9%85%D8%B3%D8%A7%D8%B9%D8%AF%D8%A9:%D8%B4%D8%A7%D9%83%D9%84%D8%A7%D8%AA_%D8%A7%D9%84%D9%85%D9%82%D8%A7%D9%84%D8%A7%D8%AA_%D8%A7%D9%84%D8%A8%D9%88%D8%AA%D9%8A%D8%A9" title="مساعدة:شاكلات المقالات البوتية">شاكلات للمقالات البوتية</a></li></ul> </div></td></tr></tbody></table></div> <table class="infobox vcard" style="width:22em;{{{}}}"><caption>بيانات کود <a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA" title="ويكيبيديا:بوت">البوت</a></caption><tbody><tr><th scope="row">الاسم</th><td class="fn">نقل الإحداثيات</td></tr><tr><th scope="row">اللغة</th><td><a href="/wiki/%D8%A8%D8%A7%D9%8A%D8%AB%D9%88%D9%86" class="mw-redirect mw-disambig" title="بايثون">بايثون</a></td></tr><tr><th scope="row">قدرات</th><td>اضافة الاحداثیات الی المقالات فی ویکیبدیا العربیة</td></tr><tr><th scope="row">المستخدم</th><td><a href="/wiki/%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:Elph" title="مستخدم:Elph">عباس</a></td></tr><tr><th scope="row">النتيجة</th><td>ستضاف الاحداثیات فی حال وجودها بالمقالة الانجلیزیة الی الصفحة المعادلة فی العربیة</td></tr><tr><th scope="row">نموذج تحریر</th><td><a class="external text" href="https://ar.wikipedia.org/w/index.php?diff=8269590&amp;oldid=8257023">نموذج</a></td></tr><tr><th scope="row">التحميل</th><td>[ من هنا]</td></tr></tbody></table> <div style="clear:both;"></div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="الکود" data-mw-thread-id="h-الکود"><span id=".D8.A7.D9.84.DA.A9.D9.88.D8.AF"></span><span data-mw-comment-start="" id="h-الکود"></span>الکود<span data-mw-comment-end="h-الکود"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;action=edit&amp;section=1" title="عدل القسم: الکود"><span>عدل</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u0627\u0644\u06a9\u0648\u062f","replies":[]}}--></div> <div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span></span><span class="c1"># -*- coding: utf-8 -*-</span> <span class="c1">#solving "{{coord|LAT|" problem</span> <span class="sd">"""</span> <span class="sd">This bot will make direct text replacements. It will retrieve information on</span> <span class="sd">which pages might need changes either from an XML dump or a text file, or only</span> <span class="sd">change a single page.</span> <span class="sd"> </span> <span class="sd">You can run the bot with the following commandline parameters:</span> <span class="sd"> </span> <span class="sd">-file - Work on all pages given in a local text file.</span> <span class="sd"> Will read any [[wiki link]] and use these articles.</span> <span class="sd"> Argument can also be given as "-file:filename".</span> <span class="sd">-cat - Work on all pages which are in a specific category.</span> <span class="sd"> Argument can also be given as "-cat:categoryname".</span> <span class="sd">-page - Only edit a specific page.</span> <span class="sd"> Argument can also be given as "-page:pagetitle". You can give this</span> <span class="sd"> parameter multiple times to edit multiple pages.</span> <span class="sd">-ref - Work on all pages that link to a certain page.</span> <span class="sd"> Argument can also be given as "-ref:referredpagetitle".</span> <span class="sd">-filelinks - Works on all pages that link to a certain image.</span> <span class="sd"> Argument can also be given as "-filelinks:ImageName".</span> <span class="sd">-links - Work on all pages that are linked to from a certain page.</span> <span class="sd"> Argument can also be given as "-links:linkingpagetitle".</span> <span class="sd">-start - Work on all pages in the wiki, starting at a given page. Choose</span> <span class="sd"> "-start:!" to start at the beginning.</span> <span class="sd"> NOTE: You are advised to use -xml instead of this option; this is</span> <span class="sd"> meant for cases where there is no recent XML dump.</span> <span class="sd">-except:XYZ - Ignore pages which contain XYZ. If the -regex argument is given,</span> <span class="sd"> XYZ will be regarded as a regular expression.</span> <span class="sd">-summary:XYZ - Set the summary message text for the edit to XYZ, bypassing the</span> <span class="sd"> predefined message texts with original and replacements inserted.</span> <span class="sd">-template:XYZ- </span> <span class="sd">-namespace:n - Number of namespace to process. The parameter can be used</span> <span class="sd"> multiple times. It works in combination with all other</span> <span class="sd"> parameters, except for the -start parameter. If you e.g. want to</span> <span class="sd"> iterate over all user pages starting at User:M, use</span> <span class="sd"> -start:User:M.</span> <span class="sd">-always - Don't prompt you for each replacement</span> <span class="sd">other: - </span> <span class="sd"> </span> <span class="sd">NOTE: Only use either -xml or -file or -page, but don't mix them.</span> <span class="sd"> </span> <span class="sd">Examples:</span> <span class="sd"> </span> <span class="sd">"""</span> <span class="c1">#</span> <span class="c1"># [[Utente:Wiso]] 2007</span> <span class="c1">#</span> <span class="c1"># Distributed under the terms of the GPL licence</span> <span class="c1">#</span> <span class="kn">from</span> <span class="nn">__future__</span> <span class="kn">import</span> <span class="n">generators</span> <span class="kn">import</span> <span class="nn">sys</span><span class="o">,</span><span class="nn">re</span><span class="o">,</span><span class="nn">pprint</span> <span class="kn">import</span> <span class="nn">wikipedia</span><span class="o">,</span><span class="nn">pagegenerators</span><span class="o">,</span><span class="nn">catlib</span><span class="o">,</span><span class="nn">config</span> <span class="n">__version__</span> <span class="o">=</span> <span class="s1">'$Id: coordbot.py,v 0.1 $'</span> <span class="c1"># Summary messages in different languages</span> <span class="c1"># NOTE: Predefined replacement tasks might use their own dictionary, see 'fixes'</span> <span class="c1"># below.`v</span> <span class="n">msg</span> <span class="o">=</span> <span class="sa">u</span><span class="s1">'بوت نقل الإحداثیات من </span><span class="si">%s</span><span class="s1">'</span> <span class="n">templates</span> <span class="o">=</span> <span class="p">{</span> <span class="s1">'safe'</span><span class="p">:</span> <span class="p">[</span> <span class="c1">#Every Wiki:</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Cc]oord(.*?)\}\}'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord\1|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'{{coor[_ ]title[_ ]d\|([0-9\.-]+)\|([NS])\|([0-9\.-]+)\|([EW])\|?([^}]*?)}}'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{coord|\1|\2|\3|\4|\5|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'{{coor[_ ]title[_ ]dm\|([0-9\.-]+)\|([0-9\.-]+)\|([NS])\|([0-9\.-]+)\|([0-9\.-]+)\|([EW])\|?([^\}]*?)\}\}'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{coord|\1|\2|\3|\4|\5|\6|\7|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'{{coor[_ ]title[_ ]dms\|([0-9\.-]+)\|([0-9\.-]+)\|([0-9\.-]+)\|([NS])\|([0-9\.-]+)\|([0-9\.-]+)\|([0-9\.-]+)\|([EW])\|?([^}]*?)}}'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{coord|\1|\2|\3|\4|\5|\6|\7|\8|\9|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Cc]oor[ _]d\|([0-9\.+-]+)\|([0-9\.+-])(\|?[^\|]*)\}\}'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2\3|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'\{\{.*latd *= *([0-9\.]+).*longd ?= ?([0-9\.]+)'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'.*\|lat_deg *= *([0-9\.]+).*\|lat_min *= *([0-9\.]+).*\n.*\|lon_deg *= *([0-9\.]+).*\|lon_min *= *([0-9\.]+).*'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2|N|\3|\4|E|display=title}}\n"</span> <span class="p">),</span> <span class="c1"># English Wiki:</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'.*\|lat_deg *= *([0-9\.]+).*\|lat_min *= *([0-9\.]+).*\|lat_sec *= *([0-9\.]+).*\n.*\|lon_deg *= *([0-9\.]+).*\|lon_min *= *([0-9\.]+).*\|lon_sec *= *([0-9\.]+).*'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2|\3|N|\4|\5|\6|E|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'.*\|latd *= *([0-9\.]+).*\|*latm *= *([0-9\.]+).*\|*lats *= *([0-9\.]+).*\|*latNS *= (.*?[NS])\n.*\|longd *= *([0-9\.]+).*\|*longm *= *([0-9\.]+).*\|*longs *= *([0-9\.]+).*\| longEW = (.*?[EW])*'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2|\3|\4|\5|\6|\7|\8|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'.*\|*source_lat_d *= *([0-9\.]+).*\|*source_lat_m *= *([0-9\.]+).*\|*source_lat_s *= *([0-9\.]+).*\|*source_lat_NS *=*(.*?[NS])\n.*\| source_long_d *= *([0-9\.]+).*\|*source_long_m *= *([0-9\.]+).*\|*source_long_s *= *([0-9\.]+).*\| source_long_EW =*(.*?[EW])*'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2|\3|\4|\5|\6|\7|\8|display=title}}\n"</span> <span class="p">),</span> <span class="c1">#Italian Wiki:</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'.*\|latitudineGradi *= *([0-9\.]+).*\n.*\|latitudinePrimi *= *([0-9\.]+).*\n.*\|*\n.*\|longitudineGradi *= *([0-9\.]+).*\n.*\|longitudinePrimi *= *([0-9\.]+).*\n.*\|*'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2|N|\3|\4|E|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'.*\|latitudineGradi *= *([0-9\.]+).*\n.*\|latitudinePrimi *= *([0-9\.]+).*\n.*\|latSecondi *= *([0-9\.]+).*\n.*\|longitudineGradi *= *([0-9\.]+).*\n.*\|longitudinePrimi *= *([0-9\.]+).*\n.*\|longSecondi *= *([0-9\.]+).*'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2|\3|N|\4|\5|\6|E|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'..*\|latitudineGradi *= *([0-9\.]+).*\n.*\|latitudinePrimi *= *([0-9\.]+).*\n.*\|latSecondi *= *([0-9\.]+).*\n.*\|latitudineNS *=(.*?[NS])\n.*\|longitudineGradi *= *([0-9\.]+).*\n.*\|longitudinePrimi *= *([0-9\.]+).*\n.*\|longSecondi *= *([0-9\.]+).*\n.*\|longitudineEW *=(.*?[EW])*'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2|\3|\4|\5|\6|\7|\8|display=title}}\n"</span> <span class="p">),</span> <span class="p">],</span> <span class="s1">'notsafe'</span><span class="p">:</span> <span class="p">[</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Cc]oord[ _]dm\|([0-9]+)\|([0-9\.]+)\|([NS])\|([0-9\.]+)\|([0-9\.]+)\|([EW])(\|?[^\|]*)\}\}'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2|\3|\4|\5|\6\7|display=title}}\n"</span> <span class="p">),</span> <span class="p">(</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Cc]oor[ _]dms\|([0-9]+)\|([0-9\.]+)\|([0-9\.]+)\|([NS])\|([0-9\.]+)\|([0-9\.]+)\|([0-9\.]+)\|([EW])(\|?[^\|]*)\}\}'</span><span class="p">,</span><span class="sa">r</span><span class="s2">"{{Coord|\1|\2|\3|\4|\5|\6|\7|\8\9|display=title}}\n"</span> <span class="p">),</span> <span class="p">]</span> <span class="p">}</span> <span class="c1">#Add Execption (for pages that don't need any Coordinaion or have a Coord:)</span> <span class="n">exceptions</span> <span class="o">=</span> <span class="p">[</span> <span class="sa">r</span><span class="s1">'\{\{ *?Geobox'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Cc]oord'</span><span class="p">,</span> <span class="n">ur</span><span class="s1">'\{\{ ?إحداثيات'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?Template:[Cc]oord'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[mM]ontagna'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?(Template:)?[cC]omune'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[cC]ittأ '</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[mM]unicipalitأ '</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[aA]eroporto\|'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Mm]unicipi'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[iI]nfobox[ _]Azienda\|'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Ss]\|aziende'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Dd]isambigua\|'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Ff]razione'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Ss]quadra'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Pp]asso ?(\||\n)'</span><span class="p">,</span> <span class="sa">r</span><span class="s1">'\{\{ ?[Bb]undesland[ _]tedesco'</span> <span class="p">]</span> <span class="k">class</span> <span class="nc">CoordRobot</span><span class="p">:</span> <span class="w"> </span><span class="sd">"""</span> <span class="sd"> A bot that import coordinates from other wikipedia.</span> <span class="sd"> """</span> <span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span> <span class="bp">self</span><span class="p">,</span><span class="n">generator</span><span class="p">,</span><span class="n">autoTitle</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span><span class="n">autoText</span> <span class="o">=</span> <span class="kc">False</span> <span class="p">):</span> <span class="bp">self</span><span class="o">.</span><span class="n">generator</span> <span class="o">=</span> <span class="n">generator</span> <span class="bp">self</span><span class="o">.</span><span class="n">compileregex</span><span class="p">()</span> <span class="k">def</span> <span class="nf">compileregex</span><span class="p">(</span> <span class="bp">self</span> <span class="p">):</span> <span class="k">for</span> <span class="n">key</span> <span class="ow">in</span> <span class="n">templates</span><span class="o">.</span><span class="n">keys</span><span class="p">():</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span> <span class="nb">len</span><span class="p">(</span> <span class="n">templates</span><span class="p">[</span><span class="n">key</span><span class="p">]</span> <span class="p">)</span> <span class="p">):</span> <span class="n">old</span><span class="p">,</span><span class="n">new</span> <span class="o">=</span> <span class="n">templates</span><span class="p">[</span><span class="n">key</span><span class="p">][</span><span class="n">i</span><span class="p">]</span> <span class="n">oldR</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">compile</span><span class="p">(</span> <span class="n">old</span><span class="p">,</span><span class="n">re</span><span class="o">.</span><span class="n">UNICODE</span> <span class="p">)</span> <span class="n">templates</span><span class="p">[</span><span class="n">key</span><span class="p">][</span><span class="n">i</span><span class="p">]</span> <span class="o">=</span> <span class="n">oldR</span><span class="p">,</span><span class="n">new</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span> <span class="nb">len</span><span class="p">(</span> <span class="n">exceptions</span> <span class="p">)</span> <span class="p">):</span> <span class="n">exceptions</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">compile</span><span class="p">(</span> <span class="n">exceptions</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="p">)</span> <span class="k">def</span> <span class="nf">checkExceptions</span><span class="p">(</span> <span class="bp">self</span><span class="p">,</span><span class="n">text</span> <span class="p">):</span> <span class="k">for</span> <span class="n">exception</span> <span class="ow">in</span> <span class="n">exceptions</span><span class="p">:</span> <span class="n">hit</span> <span class="o">=</span> <span class="n">exception</span><span class="o">.</span><span class="n">search</span><span class="p">(</span> <span class="n">text</span> <span class="p">)</span> <span class="k">if</span> <span class="n">hit</span><span class="p">:</span> <span class="k">return</span> <span class="n">hit</span><span class="o">.</span><span class="n">group</span><span class="p">(</span> <span class="mi">0</span> <span class="p">)</span> <span class="k">return</span> <span class="kc">None</span> <span class="k">def</span> <span class="nf">change</span><span class="p">(</span> <span class="bp">self</span><span class="p">,</span><span class="n">page</span><span class="p">,</span><span class="n">new_text</span> <span class="p">):</span> <span class="k">try</span><span class="p">:</span> <span class="n">page</span><span class="o">.</span><span class="n">put</span><span class="p">(</span> <span class="n">new_text</span> <span class="p">)</span> <span class="k">except</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">EditConflict</span><span class="p">:</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'Skipping </span><span class="si">%s</span><span class="s1"> because of edit conflict'</span> <span class="o">%</span> <span class="p">(</span> <span class="n">page</span><span class="o">.</span><span class="n">title</span><span class="p">()</span> <span class="p">)</span> <span class="p">)</span> <span class="k">except</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">SpamfilterError</span><span class="p">,</span><span class="n">url</span><span class="p">:</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'Cannot change </span><span class="si">%s</span><span class="s1"> because of blacklist entry </span><span class="si">%s</span><span class="s1">'</span> <span class="o">%</span> <span class="p">(</span> <span class="n">page</span><span class="o">.</span><span class="n">title</span><span class="p">(),</span><span class="n">url</span> <span class="p">)</span> <span class="p">)</span> <span class="k">except</span><span class="p">:</span> <span class="n">a</span> <span class="o">=</span> <span class="mi">1</span> <span class="c1"># Spceify the Wiki You want to get the Coords from (Now Italian):</span> <span class="k">def</span> <span class="nf">run</span><span class="p">(</span> <span class="bp">self</span> <span class="p">):</span> <span class="n">trovato_en</span> <span class="o">=</span> <span class="kc">False</span> <span class="n">sen</span> <span class="o">=</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">Site</span><span class="p">(</span> <span class="s1">'en'</span> <span class="p">)</span> <span class="n">interwiki_list</span> <span class="o">=</span> <span class="p">[]</span> <span class="k">for</span> <span class="n">page</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">generator</span><span class="p">:</span> <span class="k">try</span><span class="p">:</span> <span class="k">try</span><span class="p">:</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">page</span><span class="o">.</span><span class="n">canBeEdited</span><span class="p">():</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'Skipping locked page </span><span class="si">%s</span><span class="s1">'</span> <span class="o">%</span> <span class="n">page</span><span class="o">.</span><span class="n">title</span><span class="p">()</span> <span class="p">)</span> <span class="k">continue</span> <span class="n">text_it</span> <span class="o">=</span> <span class="n">page</span><span class="o">.</span><span class="n">get</span><span class="p">()</span> <span class="n">match</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">checkExceptions</span><span class="p">(</span> <span class="n">text_it</span> <span class="p">)</span> <span class="c1"># skip all pages that contain certain texts</span> <span class="k">if</span> <span class="n">match</span><span class="p">:</span> <span class="n">colors</span> <span class="o">=</span> <span class="p">[</span><span class="kc">None</span><span class="p">]</span> <span class="o">*</span> <span class="mi">9</span> <span class="o">+</span> <span class="p">[</span><span class="kc">None</span><span class="p">]</span> <span class="o">*</span> <span class="nb">len</span><span class="p">(</span> <span class="n">page</span><span class="o">.</span><span class="n">title</span><span class="p">()</span> <span class="p">)</span> <span class="o">+</span> <span class="p">[</span><span class="kc">None</span><span class="p">]</span> <span class="o">*</span> <span class="mi">21</span> <span class="o">+</span> <span class="p">[</span><span class="mi">10</span><span class="p">]</span> <span class="o">*</span> <span class="nb">len</span><span class="p">(</span> <span class="n">match</span> <span class="p">)</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'Skipping </span><span class="si">%s</span><span class="s1"> because it contains </span><span class="si">%s</span><span class="s1">'</span> <span class="o">%</span> <span class="p">(</span> <span class="n">page</span><span class="o">.</span><span class="n">title</span><span class="p">(),</span><span class="n">match</span> <span class="p">)</span> <span class="p">)</span> <span class="k">continue</span> <span class="n">interwiki_list</span> <span class="o">=</span> <span class="n">page</span><span class="o">.</span><span class="n">interwiki</span><span class="p">()</span> <span class="k">except</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">NoPage</span><span class="p">:</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'Page </span><span class="si">%s</span><span class="s1"> not found'</span> <span class="o">%</span> <span class="n">page</span><span class="o">.</span><span class="n">title</span><span class="p">()</span> <span class="p">)</span> <span class="k">continue</span> <span class="k">except</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">IsRedirectPage</span><span class="p">:</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'Page </span><span class="si">%s</span><span class="s1"> is a redirect, skip'</span> <span class="o">%</span> <span class="n">page</span><span class="o">.</span><span class="n">title</span><span class="p">()</span> <span class="p">)</span> <span class="k">continue</span> <span class="n">trovato_en</span> <span class="o">=</span> <span class="kc">False</span> <span class="k">for</span> <span class="n">page_en</span> <span class="ow">in</span> <span class="n">interwiki_list</span><span class="p">:</span> <span class="k">if</span> <span class="n">page_en</span><span class="o">.</span><span class="n">site</span><span class="p">()</span> <span class="o">==</span> <span class="n">sen</span><span class="p">:</span> <span class="n">trovato_en</span> <span class="o">=</span> <span class="kc">True</span> <span class="k">break</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">trovato_en</span><span class="p">:</span> <span class="k">continue</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="n">page</span><span class="o">.</span><span class="n">title</span><span class="p">()</span> <span class="p">)</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'en: </span><span class="si">%s</span><span class="s1">'</span> <span class="o">%</span> <span class="n">page_en</span><span class="o">.</span><span class="n">title</span><span class="p">()</span> <span class="p">)</span> <span class="k">try</span><span class="p">:</span> <span class="n">text_en</span> <span class="o">=</span> <span class="n">page_en</span><span class="o">.</span><span class="n">get</span><span class="p">()</span> <span class="k">except</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">NoPage</span><span class="p">:</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'Page </span><span class="si">%s</span><span class="s1"> not found'</span> <span class="o">%</span> <span class="n">page_en</span><span class="o">.</span><span class="n">title</span><span class="p">()</span> <span class="p">)</span> <span class="k">continue</span> <span class="k">except</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">IsRedirectPage</span><span class="p">:</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'Page </span><span class="si">%s</span><span class="s1"> is a redirect, follow redirect'</span> <span class="o">%</span> <span class="n">page_en</span><span class="o">.</span><span class="n">title</span><span class="p">()</span> <span class="p">)</span> <span class="n">text_en</span> <span class="o">=</span> <span class="n">page_en</span><span class="o">.</span><span class="n">get</span><span class="p">(</span> <span class="n">get_redirect</span> <span class="o">=</span> <span class="kc">True</span> <span class="p">)</span> <span class="n">coordfind</span> <span class="o">=</span> <span class="kc">False</span> <span class="k">for</span> <span class="n">old</span><span class="p">,</span><span class="n">new</span> <span class="ow">in</span> <span class="n">templates</span><span class="p">[</span><span class="s1">'safe'</span><span class="p">]:</span> <span class="n">text_en</span> <span class="o">=</span> <span class="n">text_en</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span> <span class="s1">'{{Coord missing'</span> <span class="p">,</span><span class="s1">''</span> <span class="p">)</span> <span class="n">text_en</span> <span class="o">=</span> <span class="n">re</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span> <span class="s2">"\|\s*display\s*\=\s*(inline,)?title(,inline)?"</span><span class="p">,</span><span class="s2">""</span><span class="p">,</span><span class="n">text_en</span> <span class="p">)</span> <span class="n">text_en</span> <span class="o">=</span> <span class="n">text_en</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span> <span class="s1">'|display=inline'</span> <span class="p">,</span><span class="s1">''</span> <span class="p">)</span> <span class="n">match</span> <span class="o">=</span> <span class="n">old</span><span class="o">.</span><span class="n">search</span><span class="p">(</span> <span class="n">text_en</span> <span class="p">)</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">match</span><span class="p">:</span> <span class="k">if</span> <span class="n">coordfind</span> <span class="o">==</span> <span class="kc">False</span><span class="p">:</span> <span class="n">new_text_it</span> <span class="o">=</span> <span class="n">text_it</span> <span class="k">continue</span> <span class="c1"># colors = [None] * 5 + [13] * len(page.title()) + [None] * 4</span> <span class="c1"># wikipedia.output(u'\n>>> %s &lt;&lt;&lt;' % page.title(), colors = colors)</span> <span class="c1"># pprint.pprint( str( match ) )</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'Coord </span><span class="si">%s</span><span class="s1">: '</span> <span class="o">%</span> <span class="n">text_en</span><span class="p">[</span><span class="n">match</span><span class="o">.</span><span class="n">start</span><span class="p">():</span><span class="n">match</span><span class="o">.</span><span class="n">end</span><span class="p">()]</span> <span class="p">)</span> <span class="n">template_new</span> <span class="o">=</span> <span class="n">old</span><span class="o">.</span><span class="n">sub</span><span class="p">(</span> <span class="n">new</span><span class="p">,</span><span class="n">text_en</span><span class="p">[</span><span class="n">match</span><span class="o">.</span><span class="n">start</span><span class="p">():</span><span class="n">match</span><span class="o">.</span><span class="n">end</span><span class="p">()]</span> <span class="p">)</span> <span class="n">template_new</span> <span class="o">=</span> <span class="n">template_new</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'||'</span><span class="p">,</span><span class="s1">'|'</span> <span class="p">)</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">output</span><span class="p">(</span> <span class="n">template_new</span> <span class="p">)</span> <span class="k">if</span> <span class="n">template_new</span><span class="o">.</span><span class="n">find</span><span class="p">(</span> <span class="s1">'{{Coord missing'</span> <span class="p">)</span> <span class="o">!=</span> <span class="o">-</span><span class="mi">1</span><span class="p">:</span> <span class="n">new_text_it</span> <span class="o">=</span> <span class="n">text_it</span> <span class="k">else</span><span class="p">:</span> <span class="n">new_text_it</span> <span class="o">=</span> <span class="n">template_new</span> <span class="o">+</span> <span class="n">text_it</span> <span class="n">coordfind</span> <span class="o">=</span> <span class="kc">True</span> <span class="c1"># choice = wikipedia.inputChoice(u'Do you want to accept these changes?', ['Yes', 'No'], ['y', 'N'], 'N')</span> <span class="c1"># if choice in ['y', 'Y']:</span> <span class="k">if</span> <span class="n">new_text_it</span><span class="o">.</span><span class="n">find</span><span class="p">(</span> <span class="s1">'{{coord|LAT|'</span> <span class="p">)</span> <span class="o">!=</span> <span class="o">-</span><span class="mi">1</span><span class="p">:</span> <span class="k">continue</span> <span class="k">if</span> <span class="n">new_text_it</span><span class="o">.</span><span class="n">find</span><span class="p">(</span> <span class="s1">'{{Coord|LAT|'</span> <span class="p">)</span> <span class="o">!=</span> <span class="o">-</span><span class="mi">1</span><span class="p">:</span> <span class="k">continue</span> <span class="k">if</span> <span class="n">new_text_it</span><span class="o">.</span><span class="n">find</span><span class="p">(</span> <span class="s1">'{{coord|lat|'</span> <span class="p">)</span> <span class="o">!=</span> <span class="o">-</span><span class="mi">1</span><span class="p">:</span> <span class="k">continue</span> <span class="k">if</span> <span class="n">new_text_it</span><span class="o">.</span><span class="n">find</span><span class="p">(</span> <span class="s1">'{{Coord missing'</span> <span class="p">)</span> <span class="o">==</span> <span class="o">-</span><span class="mi">1</span><span class="p">:</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">setAction</span><span class="p">(</span> <span class="n">msg</span> <span class="o">%</span> <span class="n">page_en</span><span class="o">.</span><span class="n">aslink</span><span class="p">()</span> <span class="p">)</span> <span class="bp">self</span><span class="o">.</span><span class="n">change</span><span class="p">(</span> <span class="n">page</span><span class="p">,</span><span class="n">new_text_it</span> <span class="p">)</span> <span class="n">coordfind</span> <span class="o">=</span> <span class="kc">False</span> <span class="k">except</span><span class="p">:</span> <span class="k">continue</span> <span class="k">def</span> <span class="nf">main</span><span class="p">():</span> <span class="k">try</span><span class="p">:</span> <span class="n">gen</span> <span class="o">=</span> <span class="kc">None</span> <span class="c1"># summary message</span> <span class="n">summary_commandline</span> <span class="o">=</span> <span class="kc">None</span> <span class="c1"># Don't edit pages which contain certain texts.</span> <span class="n">exceptions</span> <span class="o">=</span> <span class="p">[]</span> <span class="c1"># commandline paramater.</span> <span class="c1"># Which namespaces should be processed?</span> <span class="c1"># default to [] which means all namespaces will be processed</span> <span class="n">namespaces</span> <span class="o">=</span> <span class="p">[]</span> <span class="n">template</span> <span class="o">=</span> <span class="kc">None</span> <span class="n">PageTitles</span> <span class="o">=</span> <span class="p">[]</span> <span class="n">autoText</span> <span class="o">=</span> <span class="kc">False</span> <span class="n">autoTitle</span> <span class="o">=</span> <span class="kc">False</span> <span class="c1"># This factory is responsible for processing command line arguments</span> <span class="c1"># that are also used by other scripts and that determine on which pages</span> <span class="c1"># to work on.</span> <span class="n">genFactory</span> <span class="o">=</span> <span class="n">pagegenerators</span><span class="o">.</span><span class="n">GeneratorFactory</span><span class="p">()</span> <span class="c1"># Load default summary message.</span> <span class="c1"># BUG WARNING: This is probably incompatible with the -lang parameter.</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">setAction</span><span class="p">(</span> <span class="n">msg</span> <span class="p">)</span> <span class="c1"># Read commandline parameters.</span> <span class="k">for</span> <span class="n">arg</span> <span class="ow">in</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">handleArgs</span><span class="p">():</span> <span class="k">if</span> <span class="n">arg</span> <span class="o">==</span> <span class="s1">'-autotitle'</span><span class="p">:</span> <span class="n">autoTitle</span> <span class="o">=</span> <span class="kc">True</span> <span class="k">elif</span> <span class="n">arg</span> <span class="o">==</span> <span class="s1">'-autotext'</span><span class="p">:</span> <span class="n">autoText</span> <span class="o">=</span> <span class="kc">True</span> <span class="k">elif</span> <span class="n">arg</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span> <span class="s1">'-page'</span> <span class="p">):</span> <span class="k">if</span> <span class="nb">len</span><span class="p">(</span> <span class="n">arg</span> <span class="p">)</span> <span class="o">==</span> <span class="mi">5</span><span class="p">:</span> <span class="n">PageTitles</span><span class="o">.</span><span class="n">append</span><span class="p">(</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">input</span><span class="p">(</span> <span class="sa">u</span><span class="s1">'Which page do you want to chage?'</span> <span class="p">)</span> <span class="p">)</span> <span class="k">else</span><span class="p">:</span> <span class="n">PageTitles</span><span class="o">.</span><span class="n">append</span><span class="p">(</span> <span class="n">arg</span><span class="p">[</span><span class="mi">6</span><span class="p">:]</span> <span class="p">)</span> <span class="k">elif</span> <span class="n">arg</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span> <span class="s1">'-except:'</span> <span class="p">):</span> <span class="n">exceptions</span><span class="o">.</span><span class="n">append</span><span class="p">(</span> <span class="n">arg</span><span class="p">[</span><span class="mi">8</span><span class="p">:]</span> <span class="p">)</span> <span class="k">elif</span> <span class="n">arg</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span> <span class="s1">'-template:'</span> <span class="p">):</span> <span class="n">template</span> <span class="o">=</span> <span class="n">arg</span><span class="p">[</span><span class="mi">10</span><span class="p">:]</span> <span class="k">elif</span> <span class="n">arg</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span> <span class="s1">'-namespace:'</span> <span class="p">):</span> <span class="n">namespaces</span><span class="o">.</span><span class="n">append</span><span class="p">(</span> <span class="nb">int</span><span class="p">(</span> <span class="n">arg</span><span class="p">[</span><span class="mi">11</span><span class="p">:]</span> <span class="p">)</span> <span class="p">)</span> <span class="k">elif</span> <span class="n">arg</span><span class="o">.</span><span class="n">startswith</span><span class="p">(</span> <span class="s1">'-summary:'</span> <span class="p">):</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">setAction</span><span class="p">(</span> <span class="n">arg</span><span class="p">[</span><span class="mi">9</span><span class="p">:]</span> <span class="p">)</span> <span class="n">summary_commandline</span> <span class="o">=</span> <span class="kc">True</span> <span class="k">else</span><span class="p">:</span> <span class="n">generator</span> <span class="o">=</span> <span class="n">genFactory</span><span class="o">.</span><span class="n">handleArg</span><span class="p">(</span> <span class="n">arg</span> <span class="p">)</span> <span class="k">if</span> <span class="n">generator</span><span class="p">:</span> <span class="n">gen</span> <span class="o">=</span> <span class="n">generator</span> <span class="nb">print</span> <span class="n">namespaces</span> <span class="k">if</span> <span class="n">PageTitles</span><span class="p">:</span> <span class="n">pages</span> <span class="o">=</span> <span class="p">[</span><span class="n">wikipedia</span><span class="o">.</span><span class="n">Page</span><span class="p">(</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">getSite</span><span class="p">(),</span><span class="n">PageTitle</span> <span class="p">)</span> <span class="k">for</span> <span class="n">PageTitle</span> <span class="ow">in</span> <span class="n">PageTitles</span><span class="p">]</span> <span class="n">gen</span> <span class="o">=</span> <span class="nb">iter</span><span class="p">(</span> <span class="n">pages</span> <span class="p">)</span> <span class="k">if</span> <span class="ow">not</span> <span class="n">gen</span><span class="p">:</span> <span class="c1"># syntax error, show help text from the top of this file</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">showHelp</span><span class="p">(</span> <span class="s1">'coordbot'</span> <span class="p">)</span> <span class="n">wikipedia</span><span class="o">.</span><span class="n">stopme</span><span class="p">()</span> <span class="n">sys</span><span class="o">.</span><span class="n">exit</span><span class="p">()</span> <span class="k">if</span> <span class="n">namespaces</span> <span class="o">!=</span> <span class="p">[]:</span> <span class="n">gen</span> <span class="o">=</span> <span class="n">pagegenerators</span><span class="o">.</span><span class="n">NamespaceFilterPageGenerator</span><span class="p">(</span> <span class="n">gen</span><span class="p">,</span><span class="n">namespaces</span> <span class="p">)</span> <span class="c1"># gen = pagegenerators.RedirectFilterPageGenerator(gen)</span> <span class="n">preloadingGen</span> <span class="o">=</span> <span class="n">pagegenerators</span><span class="o">.</span><span class="n">PreloadingGenerator</span><span class="p">(</span> <span class="n">gen</span><span class="p">,</span><span class="n">pageNumber</span> <span class="o">=</span> <span class="mi">120</span> <span class="p">)</span> <span class="n">bot</span> <span class="o">=</span> <span class="n">CoordRobot</span><span class="p">(</span> <span class="n">preloadingGen</span><span class="p">,</span><span class="n">autoTitle</span><span class="p">,</span><span class="n">autoText</span> <span class="p">)</span> <span class="n">bot</span><span class="o">.</span><span class="n">run</span><span class="p">()</span> <span class="k">except</span><span class="p">:</span> <span class="n">a</span> <span class="o">=</span> <span class="mi">1</span> <span class="k">if</span> <span class="vm">__name__</span> <span class="o">==</span> <span class="s2">"__main__"</span><span class="p">:</span> <span class="k">try</span><span class="p">:</span> <span class="n">main</span><span class="p">()</span> <span class="k">except</span><span class="p">:</span> <span class="n">a</span> <span class="o">=</span> <span class="mi">1</span> </pre></div> <!-- NewPP limit report Parsed by mw‐api‐int.codfw.main‐76d76b94d7‐dklnj Cached time: 20241125200907 Cache expiry: 2592000 Reduced expiry: false Complications: [] DiscussionTools time usage: 0.043 seconds CPU time usage: 0.199 seconds Real time usage: 0.231 seconds Preprocessor visited node count: 232/1000000 Post‐expand include size: 21890/2097152 bytes Template argument size: 365/2097152 bytes Highest expansion depth: 8/100 Expensive parser function count: 1/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 50000/5000000 bytes Lua time usage: 0.072/10.000 seconds Lua memory usage: 1145680/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 119.147 1 -total 86.30% 102.826 1 قالب:إدارة_بوت 77.05% 91.801 1 قالب:شريط 12.20% 14.531 1 قالب:بيانات_البوت 10.30% 12.274 1 قالب:Infobox 1.81% 2.155 1 قالب:قالب_أخرى 1.33% 1.579 1 قالب:تحديد --> <!-- Saved in parser cache with key arwiki:pcache:1258028:|#|:idhash:canonical and timestamp 20241125200907 and revision id 46146878. Rendering was triggered because: api-parse --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1&amp;useformat=desktop" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">مجلوبة من «<a dir="ltr" href="https://ar.wikipedia.org/w/index.php?title=ويكيبيديا:بوت/نقل_الإحداثيات&amp;oldid=46146878">https://ar.wikipedia.org/w/index.php?title=ويكيبيديا:بوت/نقل_الإحداثيات&amp;oldid=46146878</a>»</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%AA%D8%B5%D9%81%D8%AD" title="ويكيبيديا:تصفح">تصنيفان</a>: <ul><li><a href="/wiki/%D8%AA%D8%B5%D9%86%D9%8A%D9%81:%D8%B3%D9%83%D8%B1%D8%A8%D8%AA%D8%A7%D8%AA_%D8%A8%D9%88%D8%AA%D8%A7%D8%AA_%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7" title="تصنيف:سكربتات بوتات ويكيبيديا">سكربتات بوتات ويكيبيديا</a></li><li><a href="/wiki/%D8%AA%D8%B5%D9%86%D9%8A%D9%81:%D8%A8%D9%88%D8%AA%D8%A7%D8%AA_%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7" title="تصنيف:بوتات ويكيبيديا">بوتات ويكيبيديا</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"> آخر تعديل لهذه الصفحة كان يوم 18 أبريل 2020، الساعة 09:24.</li> <li id="footer-info-copyright">النصوص متاحة تحت <a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D9%86%D8%B5_%D8%B1%D8%AE%D8%B5%D8%A9_%D8%A7%D9%84%D9%85%D8%B4%D8%A7%D8%B9_%D8%A7%D9%84%D8%A5%D8%A8%D8%AF%D8%A7%D8%B9%D9%8A:_%D8%A7%D9%84%D9%86%D8%B3%D8%A8%D8%A9-%D8%A7%D9%84%D8%AA%D8%B1%D8%AE%D9%8A%D8%B5_%D8%A8%D8%A7%D9%84%D9%85%D8%AB%D9%84_4.0" title="ويكيبيديا:نص رخصة المشاع الإبداعي: النسبة-الترخيص بالمثل 4.0">رخصة المشاع الإبداعي الملزمة بنسبة العمل لمؤلفه وبترخيص الأعمال المشتقة بالمثل 4.0</a>؛ قد تُطبّق شروط إضافية. استخدامُك هذا الموقع هو موافقةٌ على <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">شروط الاستخدام</a> <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">وسياسة الخصوصية</a>. ويكيبيديا ® هي علامة تجارية مسجلة <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">لمؤسسة ويكيميديا</a>، وهي منظمة غير ربحية.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy/ar">سياسة الخصوصية</a></li> <li id="footer-places-about"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%B9%D9%86">حول ويكيبيديا</a></li> <li id="footer-places-disclaimers"><a href="/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A5%D8%AE%D9%84%D8%A7%D8%A1_%D9%85%D8%B3%D8%A4%D9%88%D9%84%D9%8A%D8%A9_%D8%B9%D8%A7%D9%85">إخلاء مسؤولية</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_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/#/ar.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="//ar.m.wikipedia.org/w/index.php?title=%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%A8%D9%88%D8%AA/%D9%86%D9%82%D9%84_%D8%A7%D9%84%D8%A5%D8%AD%D8%AF%D8%A7%D8%AB%D9%8A%D8%A7%D8%AA&amp;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-6dfcdd5ff5-vhtdv","wgBackendResponseTime":115,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-الکود","replies":[]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.043"},"limitreport":{"cputime":"0.199","walltime":"0.231","ppvisitednodes":{"value":232,"limit":1000000},"postexpandincludesize":{"value":21890,"limit":2097152},"templateargumentsize":{"value":365,"limit":2097152},"expansiondepth":{"value":8,"limit":100},"expensivefunctioncount":{"value":1,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":50000,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 119.147 1 -total"," 86.30% 102.826 1 قالب:إدارة_بوت"," 77.05% 91.801 1 قالب:شريط"," 12.20% 14.531 1 قالب:بيانات_البوت"," 10.30% 12.274 1 قالب:Infobox"," 1.81% 2.155 1 قالب:قالب_أخرى"," 1.33% 1.579 1 قالب:تحديد"]},"scribunto":{"limitreport-timeusage":{"value":"0.072","limit":"10.000"},"limitreport-memusage":{"value":1145680,"limit":52428800}},"cachereport":{"origin":"mw-api-int.codfw.main-76d76b94d7-dklnj","timestamp":"20241125200907","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10