উইকিসংকলন bnwikisource https://bn.wikisource.org/wiki/%E0%A6%89%E0%A6%87%E0%A6%95%E0%A6%BF%E0%A6%B8%E0%A6%82%E0%A6%95%E0%A6%B2%E0%A6%A8:%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A6%A7%E0%A6%BE%E0%A6%A8_%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE MediaWiki 1.48.0-wmf.1 first-letter মিডিয়া বিশেষ আলাপ ব্যবহারকারী ব্যবহারকারী আলাপ উইকিসংকলন উইকিসংকলন আলোচনা চিত্র চিত্র আলোচনা মিডিয়াউইকি মিডিয়াউইকি আলোচনা টেমপ্লেট টেমপ্লেট আলোচনা সাহায্য সাহায্য আলোচনা বিষয়শ্রেণী বিষয়শ্রেণী আলোচনা লেখক লেখক আলাপ নির্ঘণ্ট নির্ঘণ্ট আলাপ পাতা পাতা আলাপ প্রবেশদ্বার প্রবেশদ্বার আলাপ প্রকাশক প্রকাশক আলোচনা রচনা রচনা আলাপ অনুবাদ অনুবাদ আলোচনা TimedText TimedText talk মডিউল মডিউল আলাপ ইভেন্ট ইভেন্ট আলোচনা টেমপ্লেট:PAGES NOT PROOFREAD 10 9620 2006948 2006912 2026-11-02T20:23:18Z SodiumBot 19245 বট টেমপ্লেট হালনাগাদ করছে 2006948 wikitext text/x-wiki 442146 one6qahpn6k8z9dag31etxecjtpa1jc টেমপ্লেট:ALL PAGES 10 9621 2006949 2006913 2026-11-02T20:23:28Z SodiumBot 19245 বট টেমপ্লেট হালনাগাদ করছে 2006949 wikitext text/x-wiki 558460 bs517a1kt9vbs0mhjpamikr7xx658ji মিডিয়াউইকি:Gadget-tweaks.css 8 11201 2006954 1442343 2026-11-02T23:04:11Z Maintenance script 3796 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 2006954 css text/css /* *==== This stylesheet contains all en.WS specific tweaks ===== */ /* make user experience moar-kewl */ /*@media screen*/ a:hover, a:focus { -webkit-transition: color 0.4s ease; -moz-transition: color 0.4s ease; -o-transition: color 0.4s ease; transition: color 0.4s ease; } /* poem tag : avoid extra margins between transcluded pages */ .poem { line-height: inherit; margin-top: 0; margin-bottom: 0; text-indent: inherit; } .poem p { margin-top: 0 !important; margin-bottom: 0 !important; text-indent: inherit !important; /* white-space: nowrap !important; */ } .poem .mw-poem-indented { margin-top: 0 !important; margin-bottom: 0 !important; text-indent: inherit !important; white-space: nowrap !important; } /* poem tag : inhibits div with defined-list wiki mark-up for indentation */ .poem dl { margin-top: 0 !important; margin-bottom: 0 !important; text-indent: inherit !important; } .poem dd { margin-top: 0 !important; margin-bottom: 0 !important; text-indent: inherit !important; } /* Short lines preferred by some editors */ .prose { padding-left: 3em; max-width: 35em; margin: 0 auto; } /* center TemplateData extension's output table */ .mw-templatedata-doc-params { margin: 0.50em auto 0.50em auto !important; } /* show deleted text hidden by CopyVio template */ .page-Special_Undelete div#copyvio { display: block !important; } /* restore defunct class begining around 1.19wmf update */ .hiddenStructure { display: none !important; } /* Allow transcluded pages to display in lists rather than a table. Compatible in Firefox; incompatible in IE6. */ .listify td { display: list-item; } .listify tr { display: block; } .listify table { display: block; } /* make the list of references look smaller and highlight clicked reference in blue */ ol.references { font-size: 100%; } .references-small { font-size: 90%; } ol.references > li:target { background-color: #ddeeff; } sup.reference:target { background-color: #ddeeff; } sup, sub { font-size: 0.75em !important; } /* force paragraphs wrapped within this div class to inherit font size and line height */ div.fslhInherit > p { font-size: inherit !important; line-height: inherit !important; } /* modify profiles */ @media screen, handheld, projection { /* indent page text on screen out of the way of the page numbers */ div.indented-page { margin-left:3em; } /* Dont display the URL onto the screen */ cite *.printonly { display: none; } } /* center certain math usages */ img.mathcentre, img.mathcenter { display: block; margin-right: auto; margin-left: auto; } /* PRETTYTABLE * * Produces customized grayscale tables. Based on WikiTable css definitions. * Table documentation at [[Wikisource:Style guide/Tables]] - SUPERSEDED - * Some values need !important added otherwise they could be overriden. */ table.prettytable { border-collapse: collapse; border-spacing: 0 0; font-size: calc(1rem * 0.8750); line-height: inherit; margin-top: calc(1rem * 0.50); margin-bottom: calc(1rem * 0.50); page-break-inside: avoid; } table.prettytable > tbody, table.prettytable > * > tbody { background-color: #f9f9f9; } table.prettytable > tr > th, table.prettytable > * > tr > th { background-color: #f2f2f2; border: 1px solid #569BBB; font-weight: 700; padding-top: calc(1rem * 0.25); padding-right: calc(1rem * 0.50); padding-bottom: calc(1rem * 0.25); padding-left: calc(1rem * 0.50); text-align: center; } /* * First column of target table */ table.prettytable > tr > td:nth-child(0n+1), table.prettytable > * > tr > td:nth-child(0n+1) { border: 1px solid #569BBB; padding-top: calc(1rem * 0.25); padding-right: calc(1rem * 0.25); padding-bottom: calc(1rem * 0.25); padding-left: calc(1rem * 0.25); vertical-align: top; } /* * Standard column of target table */ table.prettytable > tr > td, table.prettytable > * > tr > td { border: 1px solid #569BBB; padding-top: calc(1rem * 0.25); padding-right: calc(1rem * 0.25); padding-bottom: calc(1rem * 0.25); padding-left: calc(1rem * 0.25); } table.prettytable > caption, table.prettytable > * > caption { font-weight: 500; } /* TABLE basicWS * * Produces most basic of table settings stripped of all values. * Meant to be a foundation Users can build upon. * Equivalent of cellspacing="0" cellpadding="0" */ table.basicWS { border-collapse: collapse; border-spacing: 0 0; empty-cells: hide; margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; page-break-inside: avoid; } table.basicWS > tr > th, table.basicWS > * > tr > th { font-weight: normal; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; text-align: center; } table.basicWS > tr > td, table.basicWS > * > tr > td { padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; } table.basicWS > caption, table.basicWS > * > caption { font-weight: normal; } /* TABLE commonWS * * Produces table settings common to most older browser defaults. * Meant to be a foundation Users can build upon. * Equivalent of cellspacing="2" cellpadding="1" */ table.commonWS { border-collapse: separate; border-spacing: 2px 2px; margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; page-break-inside: avoid; } table.commonWS > tr > th, table.commonWS > * > tr > th { font-weight: normal; padding-top: calc(1rem * 0.0625); padding-right: calc(1rem * 0.0625); padding-bottom: calc(1rem * 0.0625); padding-left: calc(1rem * 0.0625); text-align: center; } table.commonWS > tr > td, table.commonWS > * > tr > td { padding-top: calc(1rem * 0.0625); padding-right: calc(1rem * 0.0625); padding-bottom: calc(1rem * 0.0625); padding-left: calc(1rem * 0.0625); } table.commonWS > caption, table.commonWS > * > caption { font-weight: normal; } /* ********* * STYLISTIC TABLES */ /* '''table-c75''' ; table centered, 75% width*/ /* '''valign''' ; cell(s) in row(s) vertically aligned to top*/ /* '''valignb''' ; cell(s) in row(s) vertically aligned to bottom*/ table.table-c75 { margin-right: auto; margin-left: auto; width: 75%; } .valign tr, .valign tr td, .valignt tr, .valignt tr td { vertical-align: top; } .valignb tr, .valignb tr td { vertical-align: bottom; } /* tablecolhdborder; borders around table/columns/<th>; centre <th>; <td> align left with padding */ /* as used in [[Template:Hussey Churches table header]] */ table.tablecolhdborder { border-collapse: collapse; border: 1px solid; margin:0 auto 0 auto; } table.tablecolhdborder th { border-bottom: 1px solid; border-left: 1px solid; text-align: center; } table.tablecolhdborder td { border-left: 1px solid; padding-left: 5px; } /* Add a border to the bottom of a table row */ tr.tablebtmborder td { border-bottom: 1px solid; } /* enable a standard means to insert a 1em padding in the first column of a table; Mostly used in book table of contents -- ab 20120122 */ .rpadCol1 td:first-child { padding-right: 1.0em !important; } /* When div class=nonumtoc is used on the table of contents, the ToC will display without numbers */ .nonumtoc .tocnumber { display: none; } /* Deprecated - apply using the above definitions instead */ /* #hideTOCnumbers { display: none; } */ .nonumtoc #toc ul, .nonumtoc .toc ul { line-height: inherit; list-style: none; margin: .3em 0 0; padding: 0; } .nonumtoc #toc ul ul, .nonumtoc .toc ul ul { /* @noflip */ margin: 0 0 0 2em; } /* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; } /* usei: U.S. executive instruments ** Attempt to reclaim basic heading tags, etc. from the wikicode ** for use in the formatting of typical orders, procs, etc. ** by executive branches of U.S. Gov'ts. Core settings only. */ h1.usei, h2.usei, h3.usei, h4.usei, h5.usei, h6.usei, h7.usei { color: #000000; background: none; font-weight: normal; margin-top: 0; margin-bottom: 0; overflow: hidden; padding-top: 0.50em; padding-bottom: 0.17em; border-bottom: none; page-break-after: avoid; } hr.usei { height: 1px; color: #aaa; background-color: #aaa; border: 0; margin: 0.12em 0 0.12em 0; } /* for table lists found in various gov't serials */ table.useiList { display: table; border-collapse: separate !important; border-spacing: 0 0 !important; empty-cells: hide !important; margin: 0 auto 0 auto !important; width: 100% !important; page-break-inside: avoid !important; } table.useiList > tbody, table.useiList > * > tbody { display: table-row-group; } tr.useiListrow { display: table-row; } td.useiListcell1 { display: table-cell; border-right: 1px solid #aaa !important; line-height: inherit !important; padding-top: calc(1rem * 0.25); padding-right: calc(1rem * 0.25); padding-bottom: calc(1rem * 0.25); padding-left: calc(1rem * 0.25); text-align: left !important; vertical-align: top !important; white-space: nowrap !important; } td.useiListcell2 { display: table-cell; border-right: 1px solid #aaa !important; line-height: inherit !important; padding-top: calc(1rem * 0.25); padding-right: calc(1rem * 0.25); padding-bottom: calc(1rem * 0.25); padding-left: calc(1rem * 0.25); text-align: center !important; vertical-align: top !important; white-space: nowrap !important; } td.useiListcell3 { display: table-cell; line-height: inherit !important; padding-top: calc(1rem * 0.25); padding-right: calc(1rem * 0.25); padding-bottom: calc(1rem * 0.25); padding-left: calc(1rem * 0.25); text-align: left !important; vertical-align: baseline !important; } td.useiListcell4 { display: table-cell; border-left: 1px solid #aaa !important; line-height: inherit !important; padding-top: calc(1rem * 0.25); padding-right: calc(1rem * 0.25); padding-bottom: calc(1rem * 0.25); padding-left: calc(1rem * 0.25); vertical-align: bottom !important; white-space: nowrap !important; } span.useiHgindt { display: inline-block !important; line-height: normal !important; padding-left: calc(1rem * 1.125); text-indent: calc(1rem * -1); } span.useiHdnpad { margin-right: -0.50em !important; visibility: hidden !important; } span.useiHidden { visibility: hidden !important; } span.useiFloatl { float: left !important; } span.useiFloatr { float: right !important; } /* Use for inputting Hebrew pointing in MediaWiki:Edittools */ span.nikud { color: #002bb8; cursor: pointer; } /* CLEARFIX * //stackoverflow.com/questions/211383/which-method-of-clearfix-is-best * * some basic fixes for a well known bug dealing with floats & their containers * */ .clearFix { display: inline-block; } /* HTML Entity (decimal) &#8199; (hex) &#x2007; */ .clearFix:after { content: "&#8199;"; display: block; height: 0; clear: both; overflow: hidden; visibility: hidden; } .clearFix { display: block; } /* Generic class for Times-based serif, texhtml class for inline math */ .times-serif, span.texhtml { font-family: "Times New Roman", "Nimbus Roman No9 L", Times, serif; font-size: 118%; } span.texhtml { white-space: nowrap; } span.texhtml span.texhtml { font-size: 100%; } /* Generic warning class for major non-compliance with current specs */ /* Note warning class has been in use elsewhere at times */ .redalert { border-width: 5px; border-style: solid; padding: 10px; background: #ca5651; background: rgba(193,56,50,.85); border-color: #e6e6e6; border-color: rgba(0, 0, 0, .1); color: #fff; font-style: italic; margin: 8px 0 8px 0; font-size: 1rem; line-height: 1.0; } .redalert a, .redalert a.external, .redalert a:hover, .redalert a:focus { color: #0095dd; color: #ff0; text-decoration: none; } .redalert :last-child { /* margin-bottom: 0; */ padding-bottom: 0; } /* Disable kerning, and enable tabular and lining display for digits. * This causes most common fonts to display digits as if they were monospace. */ .digits, .texhtml { -moz-font-feature-settings: "kern" 0, "lnum", "tnum"; -webkit-font-feature-settings: "kern" 0, "lnum", "tnum"; font-feature-settings: "kern" 0, "lnum", "tnum"; font-variant-numeric: lining-nums tabular-nums; font-kerning: none; } /* highlights the anchor text obtained using Template:Anchor+ */ /* this relies on CSS3 and thus is not seen on less and less browsers */ span.HighlightedAnchor:target { background-color: #DEF; outline: 1px solid red; } /* #### Category formatting #### */ /* displays hidden categories with a smaller font, and separates below normal categories */ #mw-hidden-catlinks { font-size: 90%; } /* #### Temp patches #### */ /* Centered * * Mimics a typical 3-cell table row. Could be a substitute * for Block-Center as well as Running Header */ .centeredContent { float: left; width: 50%; } /* To get an empty column, just indicate a hex code for a non-breaking space: \a0 as the content * (use \0000a0 when following such a space with other characters) */ .centeredBlock::before, .centeredContainer::before { content: "\00A0"; float: left; width: 25%; } .centeredBlock::after, .centeredContainer::after { content: "\00A0"; float: right; width: 25%; text-align: right; } /* For styling elements during testing .floatOne::before, .floatOne::after, .firstFloat { background: yellow; color: red; } */ /* Begin LightBox etc. Tests - crippled w/o figure tag */ div.lightbox { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; } div.lightbox:target { display: table; } div.lightbox div.figure { display: table-cell; padding: 0; width: 100%; height: 100%; vertical-align: middle; } div.lightbox div.figure div.figcaption { display: block; margin: auto; padding: 8px; background-color: #f6f6f6; /* background: url(//upload.wikimedia.org/wikipedia/commons/0/0d/Gray-gradient1.png) bottom repeat-x;*/ height: auto; position: relative; overflow: auto; border: 1px solid #569BBB; border-radius: 10px; text-align: justify; font-size: 14px; } div.lightbox div.figure a[href^="#"] { display: block; margin: auto; height: 0; overflow: visible; text-align: right; z-index: 12; cursor: default; } div.lightbox div.figure a[href^="#"], div.lightbox div.figure div.figcaption { width: 300px; } div.figure a[href^="#"]::after { content: "\00D7"; display: inline-block; position: relative; right: -20px; top: -10px; z-index: 13; color: #ffffff; border: 1px solid #569BBB; border-radius: 10px; width: 20px; height: 20px; line-height: 18px; text-align: center; margin: 0; background-color: #000000; font-weight: bold; cursor: pointer; } div.figure a[href^="#"]::before { content: ""; display: block; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: #000000; opacity: 0.85; } /* End LightBox Begin ToolTip */ span[data-descr] { position: relative; text-decoration: underline; color: #00F; cursor: help; } span[data-descr]:hover::after { content: attr(data-descr); position: absolute; left: 0; top: 24px; min-width: 200px; border: 1px #aaaaaa solid; border-radius: 10px; background-color: #ffffcc; padding: 12px; color: #000000; font-size: 14px; z-index: 1; } /* Table cell shortcut stylings based on compass points */ .pos-c { text-align: center; vertical-align: middle; } .pos-sw { text-align: left; vertical-align: bottom; } .pos-s { text-align: center; vertical-align: bottom; } .pos-se { text-align: right; vertical-align: bottom; } .pos-e { text-align: right; vertical-align: middle; } .pos-ne { text-align: right; vertical-align: top; } .pos-n { text-align: center; vertical-align: top; } .pos-nw { text-align: left; vertical-align: top; } .pos-w { text-align: left; vertical-align: middle; } /* ######## END OF TESTS OR TEMPS ######## */ /* .pagenum_container:hover {background-color:#eeeeee; opacity:0.5; } */ /* *==== This stylesheet deals with Main page settings (sandbox only for now) ===== */ .page-Main_Page_sandbox.action-view .firstHeading, .page-Main_Page_sandbox.action-view #siteSub, .page-Main_Page_sandbox.action-view #contentSub { display: none; } /* Make main page snazzy on modern browsers */ .page-Main_Page_sandbox #mw-content-text #main-header, .page-Main_Page_sandbox #mw-content-text #main-col1 > div, .page-Main_Page_sandbox #mw-content-text #main-col2 > div, .page-Main_Page_sandbox #mw-content-text #main-footer { -moz-border-radius: 0.5em; border-radius: 0.5em; -moz-box-shadow: 0.2em 0.2em 0.3em rgba(0,0,0,0.2); -webkit-box-shadow: 0.2em 0.2em 0.3em rgba(0,0,0,0.2); box-shadow: 0.2em 0.2em 0.3em rgba(0,0,0,0.2); } .page-Main_Page_sandbox #mw-content-text h2 { background: rgb(83,118,198); /* Old browsers */ background: -moz-linear-gradient(-45deg, rgba(122,177,214,1) 0%, rgba(83,118,198,1) 30%, rgba(83,118,198,1) 70%, rgba(104,142,183,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(122,177,214,1)), color-stop(30%,rgba(83,118,198,1)), color-stop(70%,rgba(83,118,198,1)), color-stop(100%,rgba(104,142,183,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(-45deg, rgba(122,177,214,1) 0%,rgba(83,118,198,1) 30%,rgba(83,118,198,1) 70%,rgba(104,142,183,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(-45deg, rgba(122,177,214,1) 0%,rgba(83,118,198,1) 30%,rgba(83,118,198,1) 70%,rgba(104,142,183,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(-45deg, rgba(122,177,214,1) 0%,rgba(83,118,198,1) 30%,rgba(83,118,198,1) 70%,rgba(104,142,183,1) 100%); /* IE10+ */ background: linear-gradient(135deg, rgba(122,177,214,1) 0%,rgba(83,118,198,1) 30%,rgba(83,118,198,1) 70%,rgba(104,142,183,1) 100%); /* W3C */ /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7ab1d6',endColorstr='#688eb7',GradientType='1');*/ /* IE6-9 fallback on horizontal gradient */ } .page-Main_Page_sandbox #mw-content-text h3 { margin: 1em; padding: 0; font-size: 100%; background: rgb(227,240,252); -moz-border-radius: 0.3em; border-radius: 0.3em; } .page-Main_Page_sandbox #mw-content-text #main-header #main-scribe { -moz-border-radius: 0.5em; border-radius: 0.5em; background: url(//thumb.wikimedia.org/wikipedia/commons/thumb/a/ac/Accueil_scribe_invert.png/120px-Accueil_scribe_invert.png); -moz-box-shadow: inset 0 0 0 0.2em rgba(0,0,0,0.2); -webkit-box-shadow: inset 0 0 0 0.2em rgba(0,0,0,0.2); box-shadow: inset 0 0 0 0.2em rgba(0,0,0,0.2); } /* Hide firstHeading etc. & timestamp on edit-protected Main Page */ .page-Main_Page.action-view .firstHeading, .page-Main_Page.action-view #siteSub, .page-Main_Page.action-view #contentSub { display: none !important; } .page-Main_Page #footer-info-lastmod { display: none !important; } /* @end */ je2v7ayinck8pd36l3ontyvc5losnsd মিডিয়াউইকি:TranscludedIn.js 8 26598 2006958 1939390 2026-11-02T23:04:18Z Maintenance script 3796 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 2006958 javascript text/javascript /* SCRIPT THATS ADDS ONE OR MORE TABS, IN NAMESPACE PAGE, THAT POINT TO THE TEXTS THAT TRASCLUDE THAT PAGE * * Instructions to install in your Wikisource subdomain: * * in your MediaWiki:Common.js, add (and translate in your language) the following lines: mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:TranscludedIn.js&action=raw&ctype=text/javascript'); */ function convert(str) { var mystr = str.toString(); var outj; // javascript escaped hex var outj1; var be = new Array(); be['1'] = "\u09E7"; be['2'] = "\u09E8"; be['3'] = "\u09E9"; be['4'] = "\u09EA"; be['5'] = "\u09EB"; be['6'] = "\u09EC"; be['7'] = "\u09ED"; be['8'] = "\u09EE"; be['9'] = "\u09EF"; be['0'] = "\u09E6"; outj1 = ""; for (var i = 0; i < mystr.length; i++) { var ch = mystr.substr(i, 1); outj = be[ch]; outj1 += outj; } return outj1; } function api_embeddedin(eititle,einamespace) { eititle = eititle || mw.config.get('wgPageName'); einamespace = einamespace || '0'; var api_url=["/w/api.php?action=query", "format=json", "list=embeddedin", "einamespace="+einamespace, "eititle="+eititle].join("&"); var result=JSON.parse($.ajax({url:api_url,async:false}).responseText); return result.query.embeddedin; } function addNamespaceLink( html, url, id, title ) { const pId = $( '#p-namespaces' ).length ? 'p-namespaces' : 'p-associated-pages'; const $html = $( html ); const link = mw.util.addPortletLink(pId, url, '', id, title ); if ( link ) { $( link ).find( 'a' ).append( $html ); } } function embeddedin_run() { if (mw.config.get('wgCanonicalNamespace')=="Page") { var linkedNs0=api_embeddedin(); for (var i=0;i<linkedNs0.length;i+=1) { let html = '<img src="//thumb.wikimedia.org/wikipedia/commons/thumb/9/92/Open_book_nae_02.svg/40px-Open_book_nae_02.svg.png" width="25" height="14">'; if (linkedNs0.length > 1) html += ' <small>'+mw.language.convertNumber(i+1)+'</small>'; addNamespaceLink(html, mw.util.getUrl( linkedNs0[i].title ), 'ca-ns0_'+i, linkedNs0[i].title ); } } } $(document).ready(embeddedin_run); 6hu9227tlt3qu5av4fhy0mbyqgkzx47 মিডিয়াউইকি:Gadget-Cat-a-lot.css 8 576621 2006950 1945449 2026-11-02T23:04:05Z Maintenance script 3796 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 2006950 css text/css #cat_a_lot { bottom: 0; display: block; position: fixed; right: 0; z-index: 100; padding: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.5); background-color: #FEF6E7; } #cat_a_lot_data, #cat_a_lot_mark_counter { display: none; } #cat_a_lot_data ul { list-style-image: none; list-style-type: none; margin: 0 0 0 5px; } #cat_a_lot_selections, #cat_a_lot_mark_counter, #cat_a_lot_settings { background: url(/w/skins/Vector/images/portal-break.png) no-repeat; padding: 5px; } #cat_a_lot_remove { font-weight: bold; display: block; } a { cursor:pointer; } .cat_a_lot_move, .cat_a_lot_action { font-weight: bold; } .cat_a_lot_feedback { border: 1px #A9DE16 solid !important; background: #EAF2CB /*url(//upload.wikimedia.org/wikipedia/commons/d/de/Ajax-loader.gif)*/ no-repeat 8px 14px !important; padding-left: 2.85em !important; padding-top: 10px !important; font-size: 1.1em !important; } .cat_a_lot_done { background-image: url(//thumb.wikimedia.org/wikipedia/commons/thumb/0/0e/Dialog-apply.svg/60px-Dialog-apply.svg.png) !important; background-position: 8px 50% !important; padding-top: 0 !important; } #cat_a_lot_searchcatname { font-size: 112%; margin: -5px 0 5px -5px; width: 100%; } .skin-vector #cat_a_lot { font-size: .75em; } .cat_a_lot_markAsDone { background-color: #BBB !important; } .cat_a_lot_selected { background-color: #DF6 !important; } #cat_a_lot_no_found, #cat_a_lot_last_selected, #cat_a_lot_settings { font-weight:bold; } #cat_a_lot_last_selected { outline:1px dotted #999; } #cat_a_lot_category_list table { border-collapse: collapse; } #cat_a_lot_category_list tr:hover { background-color: #fc3; } #cat_a_lot_category_list { overflow: auto; } 0sgnkgdr6gs2ca81dfx0gm9r567e07x মিডিয়াউইকি:Gadget-stockText.js 8 596549 2006953 700530 2026-11-02T23:04:10Z Maintenance script 3796 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 2006953 javascript text/javascript /* * stockText * A lot of code is taken from version 35 of commons.wikimedia.org/wiki/MediaWiki:Gadget-stockText.js by [[User:Magnus Manske]] and [[User:Krinkle]] * * @author [[User:Tpt]] * @license Multi-licensed under CC-BY 3.0, GFDL, MIT * * @todo improved UI */ ( function ( $, mw ) { if ( window.stockText === undefined && ( mw.config.get( 'skin' ) === 'vector' || mw.config.get( 'skin' ) === 'monobook' ) && mw.config.get( 'wgNamespaceNumber' ) === 0 && $.inArray( mw.config.get( 'wgAction' ), ['view', 'purge'] ) !== -1 && $(".ws-disambiguation").length === 0 ) { var stockText = { // Misc ui_icon_maquette: '//thumb.wikimedia.org/wikipedia/commons/thumb/6/6f/Document-properties.svg/20px-Document-properties.svg.png', ui_icon_epub: '//thumb.wikimedia.org/wikipedia/commons/thumb/d/d5/EPUB_silk_icon.svg/20px-EPUB_silk_icon.svg.png', ui_icon_pdf: '//thumb.wikimedia.org/wikipedia/commons/thumb/5/5f/Document-pdf.svg/20px-Document-pdf.svg.png', ui_icon_mobi: '//thumb.wikimedia.org/wikipedia/commons/thumb/a/ae/Mobi_icon.svg/20px-Mobi_icon.svg.png', ui_icon_imprimer: '//thumb.wikimedia.org/wikipedia/commons/thumb/3/3d/Document-print.svg/20px-Document-print.svg.png', ui_icon_citer: '//thumb.wikimedia.org/wikipedia/commons/thumb/4/4a/Cquote1_sh2.svg/20px-Cquote1_sh2.svg.png', ui_icon_remove: '//thumb.wikimedia.org/wikipedia/commons/thumb/7/75/Gnome-colors-window-close.svg/20px-Gnome-colors-window-close.svg.png', init: function () { var $enable, has_information, img_width, img_height, xoff, yoff, html; if ( window.stockText_prevent !== undefined ) { return; } if ($.cookie('stockTextDisabled')) { stockText.add_open_link(); return; } $('#stockText_base').remove(); // Initialize values html = '<ul id="stockText_base" class="noprint ws-noexport">'; html += stockText.add_button_row( stockText.ui_icon_maquette, "call_maquette", false, 'বিন্যাস পরিবর্তন', ''); html += stockText.add_button_row( stockText.ui_icon_pdf, '//tools.wmflabs.org/wsexport/tool/book.php?lang=bn&format=pdf-a5&page=' + mw.config.get('wgPageName'), true, 'পিডিএফ', 'পিডিএফ ফর্ম্যাটে ডাউনলোড করুন'); html += stockText.add_button_row( stockText.ui_icon_epub, '//tools.wmflabs.org/wsexport/tool/book.php?lang=bn&format=epub&page=' + mw.config.get('wgPageName'), true, 'ইপাব', 'ইপাব ফর্ম্যাটে ডাউনলোড করুন'); html += stockText.add_button_row( stockText.ui_icon_mobi, '//tools.wmflabs.org/wsexport/tool/book.php?lang=bn&format=mobi&page=' + mw.config.get('wgPageName'), true, 'মোবি', 'মোবি ফর্ম্যাটে ডাউনলোড করুন'); html += stockText.add_button_row( stockText.ui_icon_imprimer, '/w/index.php?title=' + mw.config.get('wgPageName') + '&printable=yes', true, 'মুদ্রণযোগ্য সংস্করণ', 'এই পাতার মুদ্রণযোগ্য সংস্করণ'); if ($("#ws-title, .ws-title").length !== 0 ) { html += stockText.add_button_row( stockText.ui_icon_citer, "call_citer", false, 'লেখা উদ্ধৃতি', 'বিভিন্ন বিন্যাসে এই লেখা উদ্ধৃত করুন'); } html += '<a title="Cacher cette barre d’outils" id="stockText_remove"><img src="' + stockText.ui_icon_remove + '" /></a>'; html += "</ul>"; $("#top").before(html); //TODO improve $('#stockText_remove').click(function () { $.cookie('stockTextDisabled', true, { expires: 60, path: '/' }); $('#stockText_base').remove(); stockText.add_open_link(); }); $('#stockText_base .stockText_buttonrow_icon').fadeTo('fast', 0.7); $('#stockText_base li') .hover(function () { $(this).find('.stockText_buttonrow_icon').fadeTo('fast', 1); }, function () { $(this).find('.stockText_buttonrow_icon').fadeTo('fast', 0.7); }); }, add_button_row: function (icon_url, fkt, isUrl, title, desc) { var imgid, a, ret; imgid = 'stockText_icon_' + fkt; if(isUrl) { a = '<a rel="nofollow" href="' + fkt + '" title="' + desc + '">'; } else { a = '<a href="#" title="' + desc + '" onclick="stockText.' + fkt + '(); return false;">'; } ret = "<li id='stockText_" + fkt + "' style='display: inline;'>"; ret += a; ret += "<span class='stockText_buttonrow_icon'><img id='" + imgid + "' src='" + icon_url + "' /></span>"; ret += " <span class='stockText_buttonrow_text'>" + title + "</span> "; ret += "</a></li>"; return ret; }, add_open_link: function () { $enable = $('<div id="stockText_openlink"><a href="#">সরঞ্জামদণ্ড খুলুন</a></div>'); $enable.click(function (){ $.cookie('stockTextDisabled', null, { path: '/' }); $('#stockText_openlink').remove(); stockText.init(); }); $("#top").append($enable); }, call_maquette: function () { self.toggle_layout(); $("li#stockText_call_maquette a").attr('title', 'বিন্যাস' + (self.layout_num + 1) ); }, call_citer: function () { if( $('div#citeBox').length === 0) { $.getScript('//bn.wikisource.org/w/index.php?title=MediaWiki:Wikisource.citeBox.js&action=raw&ctype=text/javascript', function() { ws.citeBox.open(); }); } else { ws.citeBox.open(); } } }; /* Expose globally */ window.stockText = stockText; $(document).ready( stockText.init ); } }( jQuery, mediaWiki) ); r79uqi0ey7d33cahc5aviu1wuthcrk8 মিডিয়াউইকি:Mobile.css 8 763508 2006956 1711348 2026-11-02T23:04:14Z Maintenance script 3796 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 2006956 css text/css /* এখানে স্থাপিত CSS মোবাইল সাইট ব্যবহারকারীদের প্রভাবিত করবে */ #ca-export-epub { background-image: url( //thumb.wikimedia.org/wikipedia/commons/thumb/b/bb/EPUB_silk_icon_monochrome.svg/22px-EPUB_silk_icon_monochrome.svg.png ); background-image: url( //upload.wikimedia.org/wikipedia/commons/b/bb/EPUB_silk_icon_monochrome.svg ); background-position: 50% 50%; background-repeat: no-repeat; background-size: auto 62.5%; } /* Tablet specific styling */ @media all and (min-width: 768px) { #content .vertical-navbox, #content .navbox { display: inherit; } } /* Proofread Page specific */ body.mw-mobile-mode div.pagetext { text-align: justify; } .wikisource-tooltip { border-bottom: 1px dotted; position: relative; } .wikisource-tooltip .title { position: absolute; top: 20px; background: silver; padding: 4px; left: 0; white-space: nowrap; } /* @end */ jc16myfnjwry0g9rlazzw4ahhgm88di মিডিয়াউইকি:Gadget-vis.js 8 767607 2006955 1686256 2026-11-02T23:04:13Z Maintenance script 3796 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 2006955 javascript text/javascript /* This is gadget shows book in text mode. Original @Author : https://it.wikisource.org/wiki/Utente:Alex_brollo Link: https://it.wikisource.org/wiki/MediaWiki:Gadget-visTest.js Modified by @Author: Jayanta - https://meta.wikimedia.org/wiki/User:Jayantanth Modification purpose is to change the code to show book in Bengali wikisource */ /** * Shorcut code credit * http://www.openjs.com/scripts/events/keyboard_shortcuts/ * Version : 2.01.B * By Binny V A * License : BSD */ var shortcut = { 'all_shortcuts':{},//All the shortcuts are stored in this array 'add': function(shortcut_combination,callback,opt) { //Provide a set of default options var default_options = { 'type':'keydown', 'propagate':false, 'disable_in_input':false, 'target':document, 'keycode':false }; if(!opt) opt = default_options; else { for(var dfo in default_options) { if(typeof opt[dfo] == 'undefined') opt[dfo] = default_options[dfo]; } } var ele = opt.target; if(typeof opt.target == 'string') ele = document.getElementById(opt.target); var ths = this; shortcut_combination = shortcut_combination.toLowerCase(); //The function to be called at keypress var func = function(e) { e = e || window.event; if(opt.disable_in_input) { //Don't enable shortcut keys in Input, Textarea fields var element; if(e.target) element=e.target; else if(e.srcElement) element=e.srcElement; if(element.nodeType==3) element=element.parentNode; if(element.tagName == 'INPUT' || element.tagName == 'TEXTAREA') return; } //Find Which key is pressed if (e.keyCode) code = e.keyCode; else if (e.which) code = e.which; var character = String.fromCharCode(code).toLowerCase(); if(code == 188) character=","; //If the user presses , when the type is onkeydown if(code == 190) character="."; //If the user presses , when the type is onkeydown var keys = shortcut_combination.split("+"); //Key Pressed - counts the number of valid keypresses - if it is same as the number of keys, the shortcut function is invoked var kp = 0; //Work around for stupid Shift key bug created by using lowercase - as a result the shift+num combination was broken var shift_nums = { "`":"~", "1":"!", "2":"@", "3":"#", "4":"$", "5":"%", "6":"^", "7":"&", "8":"*", "9":"(", "0":")", "-":"_", "=":"+", ";":":", "'":"\"", ",":"<", ".":">", "/":"?", "\\":"|" }; //Special Keys - and their codes var special_keys = { 'esc':27, 'escape':27, 'tab':9, 'space':32, 'return':13, 'enter':13, 'backspace':8, 'scrolllock':145, 'scroll_lock':145, 'scroll':145, 'capslock':20, 'caps_lock':20, 'caps':20, 'numlock':144, 'num_lock':144, 'num':144, 'pause':19, 'break':19, 'insert':45, 'home':36, 'delete':46, 'end':35, 'pageup':33, 'page_up':33, 'pu':33, 'pagedown':34, 'page_down':34, 'pd':34, 'left':37, 'up':38, 'right':39, 'down':40, 'f1':112, 'f2':113, 'f3':114, 'f4':115, 'f5':116, 'f6':117, 'f7':118, 'f8':119, 'f9':120, 'f10':121, 'f11':122, 'f12':123 }; var modifiers = { shift: { wanted:false, pressed:false}, ctrl : { wanted:false, pressed:false}, alt : { wanted:false, pressed:false}, meta : { wanted:false, pressed:false} //Meta is Mac specific }; if(e.ctrlKey) modifiers.ctrl.pressed = true; if(e.shiftKey) modifiers.shift.pressed = true; if(e.altKey) modifiers.alt.pressed = true; if(e.metaKey) modifiers.meta.pressed = true; for(var i=0; k=keys[i],i<keys.length; i++) { //Modifiers if(k == 'ctrl' || k == 'control') { kp++; modifiers.ctrl.wanted = true; } else if(k == 'shift') { kp++; modifiers.shift.wanted = true; } else if(k == 'alt') { kp++; modifiers.alt.wanted = true; } else if(k == 'meta') { kp++; modifiers.meta.wanted = true; } else if(k.length > 1) { //If it is a special key if(special_keys[k] == code) kp++; } else if(opt.keycode) { if(opt.keycode == code) kp++; } else { //The special keys did not match if(character == k) kp++; else { if(shift_nums[character] && e.shiftKey) { //Stupid Shift key bug created by using lowercase character = shift_nums[character]; if(character == k) kp++; } } } } if(kp == keys.length && modifiers.ctrl.pressed == modifiers.ctrl.wanted && modifiers.shift.pressed == modifiers.shift.wanted && modifiers.alt.pressed == modifiers.alt.wanted && modifiers.meta.pressed == modifiers.meta.wanted) { callback(e); if(!opt['propagate']) { //Stop the event //e.cancelBubble is supported by IE - this will kill the bubbling process. e.cancelBubble = true; e.returnValue = false; //e.stopPropagation works in Firefox. if (e.stopPropagation) { e.stopPropagation(); e.preventDefault(); } return false; } } }; this.all_shortcuts[shortcut_combination] = { 'callback':func, 'target':ele, 'event': opt['type'] }; //Attach the function with the event if(ele.addEventListener) ele.addEventListener(opt['type'], func, false); else if(ele.attachEvent) ele.attachEvent('on'+opt['type'], func); else ele['on'+opt['type']] = func; }, //Remove the shortcut - just specify the shortcut and I will remove the binding 'remove':function(shortcut_combination) { shortcut_combination = shortcut_combination.toLowerCase(); var binding = this.all_shortcuts[shortcut_combination]; delete(this.all_shortcuts[shortcut_combination]); if(!binding) return; var type = binding['event']; var ele = binding['target']; var callback = binding['callback']; if(ele.detachEvent) ele.detachEvent('on'+type, callback); else if(ele.removeEventListener) ele.removeEventListener(type, callback, false); else ele['on'+type] = false; } }; // console.log("visTest versione maggio 2019 "); // attivata evidenziazione parole dopo ricerca // var Vis={}; Vis={}; //espongo Vis in globale per debug Vis.version="visTest versione 02.08.2017"; /* Vis.cron : lista, cronologia navigazione Vis.lp : lista (indice=numero pagina djvu, valore=pagina libro) Vis.baseDjvu : stringa Vis.numeroDjvu : numero Vis.leggiOCR() : funzione Vis.updateForm() : funzione Vis.next() : funzione Vis.previous(): funzione Vis.build(): funzione Vis.show() : funzione (!) Vis.vaiPagDjvu(pagina) : funzione (salta a pag. djvu pagina) Vis.link() : esamina un link ed esegue funzioni diverse a seconda della pagina bersaglio */ Vis.cron=[]; var messaggioNuovaPagina='<div class="center"><span>পাতাটি এখনও তৈরি হয়নি<br>'+ '<b>Doppio click per creare </b></span></div>'; var ocr=""; var level=""; var user=""; Vis.hl=function(elemento,parola) { // eliminazione acapo che i tags html var i=0; var lista=[]; var testo=elemento.html(); // fase 1: codifica var tags = produciLista(testo, "<", ">", 1); for (i = 0; i < tags.length; i += 1) { testo = testo.replace(tags[i], "[#" + i + "#]"); } // evidenziazione parola testo=testo.split(parola).join("<span style='background-color:yellow'>"+parola+"</span>"); // fase 3: decodifica for (i = 0; i < tags.length; i += 1) { testo = testo.replace("[#" + i + "#]", tags[i]); } elemento.html(testo); }; Vis.sal3_r='<img src="https://upload.wikimedia.org/wikisource/it/0/0e/Ipotesi_varianti_SAL_75%25_1.png" style="position:absolute; top:2px;left:2px; display:none;">'; Vis.sal3_f='<img src="https://upload.wikimedia.org/wikisource/it/0/0e/Ipotesi_varianti_SAL_75%25_1.png" style="position:absolute; top:2px;right:2px; display:none;">'; Vis.vaiPagDjvu=function(pagina) { $(".visForm input[value='djvu']").click(); $(".visForm input[name='vai_a_pagina']").val(pagina); $("#esegui_vai").click(); }; Vis.leggiOCR=function(titolo,fr) { //return; var number = titolo.substring(titolo.lastIndexOf('/') + 1); titolo = titolo.replace('/' + number, '/'+ convertOdiaNumber(number)); // convertEnglishNumber() $.get(mw.config.get("wgServer")+"/w/index.php?title="+titolo+"&action=edit", function( data ) { ocr=$("#wpTextbox1",$(data)).val(); ocr=ocr.split("\n"); for (i=0;i<ocr.length;i+=1) { ocr[i]=$.trim(ocr[i])+"<br/>"; // altre funzioni postOCR } ocr='<span style="color:red;">লেখা নেই</span><br/></br>'+ocr.join("\n"); $("#body_"+fr).html(ocr); if ($("body").data("matches").length>0) for (i=0;i<$("body").data("matches").length;i+=1) { Vis.hl($("#body_"+fr).eq(0),$("body").data("matches")[i]); } }); }; // riceve una normale stringa di ricerca e carica in Vis.searchResult una lista in cui il title è il testo contenente la parola // e il text è il numero pagina djvu Vis.search=function(dati) { $(".popBody").html(""); var lista=[]; var url="https://bn.wikisource.org/w/index.php?search="+encodeURIComponent(dati+" prefix:"+Vis.baseDjvu)+"&limit=500"; var html=$.get(url, function(data) { // se la ricerca ha successo esiste un ul classe mw-search-results Vis.searchResult=$(".mw-search-results",$(data)); var matches=[]; Vis.searchResult.find(".searchmatch").each(function(){ if (matches.indexOf($(this).text())===-1) matches.push($(this).text()); } ); $("body").data("matches",matches); // se Vis.searchResult.length è 0 nessun risultato, altrimenti la ul dei risultati if (Vis.searchResult.length>0) { // Vis.searchResult.addClass("hlist"); // console.log("trovate "+Vis.searchResult.children("li").length); // elaborazione elementi li $("li",Vis.searchResult).each(function(index,value) { var nDjvu = convertEnglishNumber($(this).find(".mw-search-result-heading a").attr("title").substring($(this).find(".mw-search-result-heading a").attr("title").lastIndexOf("/")+1)); if (Vis.lp[nDjvu]===undefined) $(this).remove(); else { $(this).data("nDjvu",nDjvu*1); $(this).attr("title",$(this).children(".searchresult").text()); $(this).html(Vis.lp[nDjvu]); $(this).click(function() {Vis.vaiPagDjvu($(this).data("nDjvu"));}); } }); Vis.searchResult.find("li").sort(function(a,b) {return $(a).data("nDjvu")-$(b).data("nDjvu");}).appendTo(Vis.searchResult); $(".popBody").append(Vis.searchResult); } }); }; // nuova funzione, riceve l'elemento a href modificato dalla funzione show Vis.link=function(elemento){ var caller=$(elemento).data("caller"); var called=$(elemento).data("called"); var callerPaginaLibro=Vis.lp[caller*1]; // Vis.cron.push($(elemento).data("caller")); // regex che restituisce base e numero pagina se il link punta allo stesso libro var r=/\/wiki\/(.+\/)(\d+)/; var dati=r.exec(called); // caso link che punta a pagina del libro if (dati !== null && dati[2]!==undefined && dati[1]==Vis.baseDjvu ) { Vis.cron.push(caller); Vis.vaiPagDjvu(dati[2]); $("#pageInput").val(callerPaginaLibro); } // caso link che punta altrove else { // se il link punta a nsPagina apri in vis if (called.indexOf("bn.wikisource.org/wiki/পাতা:") !==-1 || called.indexOf("bn.wikisource.org/wiki/নির্ঘণ্ট:") !==-1 ) { if (called.indexOf("?")!== -1) called+="#vis=true"; } window.open(called,"linkEsterno"); } }; Vis.updateForm=function() { $(".vis input[name='numeroDjvu-retro']").val(Vis.numeroDjvu*1); $(".vis input[name='numeroLibro-retro']").val(Vis.lp[Vis.numeroDjvu*1]); $(".vis input[name='numeroDjvu-fronte']").val(Vis.numeroDjvu*1+1); $(".vis input[name='numeroLibro-fronte']").val(Vis.lp[Vis.numeroDjvu*1+1]); }; Vis.next=function() { if (Vis.numeroDjvu<(Vis.lp.length-1)) { Vis.numeroDjvu=Vis.numeroDjvu*1+2; Vis.show(Vis.baseDjvu+Vis.numeroDjvu,"retro"); Vis.show(Vis.baseDjvu+(Vis.numeroDjvu*1+1),"fronte"); Vis.updateForm(); } }; Vis.previous=function() { if(Vis.numeroDjvu>0) { Vis.numeroDjvu=Vis.numeroDjvu*1-2; Vis.show(Vis.baseDjvu+Vis.numeroDjvu,"retro"); Vis.show(Vis.baseDjvu+(Vis.numeroDjvu*1+1),"fronte"); Vis.updateForm(); } }; Vis.build=function () { var logo=$('<img src="//thumb.wikimedia.org/wikipedia/commons/thumb/f/fb/Wikisource-logo.png/80px-Wikisource-logo.png" class="logo" >'); $("body").append($("<div>") .attr("class","vis") ); $(".vis").append(logo); // $(".vis").append($("<table class='libro' align='center'>")); var frecce=$("<div class='freccia'>"); frecce.clone().css( {"left": "50px", "cursor": "pointer"} ).attr("id","frecciaIndietro").attr('title', 'পূর্ববর্তী পাতা') .append('<img src="https://thumb.wikimedia.org/wikipedia/commons/thumb/a/a8/Arrleft.svg/36px-Arrleft.svg.png">') .click(function() {Vis.previous();}).appendTo($(".vis")); frecce.clone().css( {"right": "50px", "cursor": "pointer"} ).attr("id","frecciaAvanti").attr('title', 'পরবর্তী পাতা') .append('<img src="https://thumb.wikimedia.org/wikipedia/commons/thumb/f/f4/Arrright.svg/36px-Arrright.svg.png">') .click(function() {Vis.next();}).appendTo($(".vis")); frecce.clone() .attr("id","iconaChiudi").attr('title', 'বন্ধ করুন') .append('<img src="https://thumb.wikimedia.org/wikipedia/commons/thumb/9/97/Dialog-error-round.svg/36px-Dialog-error-round.svg.png"/>') .css({"right": "30px", "top": "0px", "color": "red", "cursor": "pointer"}) .click(function() { $(".vis").remove(); $("body").css("overflow","scroll"); }) .appendTo($(".vis")); var dimensioneCarattere = 100; var d = '<div class="noprint" style="position:fixed; right:30px; top:70px;">' + '<img id="bottoneIngrandisciCarattere" style="cursor: pointer" src="//upload.wikimedia.org/wikipedia/commons/3/30/Farm-Fresh_magnifier_zoom_in.png" title="ফণ্ট বড় করুন" alt="Ingrandisci carattere" />' + ' <img id="bottoneRiduciCarattere" style="cursor: pointer" src="//upload.wikimedia.org/wikipedia/commons/e/ea/Farm-Fresh_magnifier_zoom_out.png" title="ফণ্ট ছোট করুন" alt="Riduci carattere" />' + ' <img id="attivaRicerca" style="cursor: pointer" src="https://thumb.wikimedia.org/wikipedia/commons/thumb/0/06/Crystal_Clear_action_filefind.png/30px-Crystal_Clear_action_filefind.png" title="অনুসন্ধান করুন" alt="Attiva ricerca" />' + '</div>'; var tabella='<table class="libro" align="center">'+ '<tr><td id="header_r">header retro</td><td id="header_f">header fronte</td></tr>' + '<tr><td id="body_r"></td><td id="body_f"></td></tr>' + '<tr><td id="footer_r">footer retro</td><td id="footer_f">footer fronte</td></tr>' + '</table>'; $(".vis").append($(d)); $(".vis").append($(tabella)); $("#header_r,#header_f,footer_r,footer_f").addClass("pagetext"); // $(".libro").draggable(); $('#bottoneIngrandisciCarattere').click(function() { if (dimensioneCarattere < 200) { dimensioneCarattere += 5; } $(".libro").css("font-size", dimensioneCarattere + "%"); }); $('#bottoneRiduciCarattere').click(function() { if (dimensioneCarattere > 50) { dimensioneCarattere -= 5; } $(".libro").css("font-size", dimensioneCarattere + "%"); }); $("#attivaRicerca").click(function() { $("#pop1").toggle(); if ($("#pop1").css("display")==="block") $("#pop1 input").focus(); }); $("#body_r").dblclick(function() { var url="https://bn.wikisource.org/w/index.php?title=$pagina$&action=edit"; url=url.replace("$pagina$",Vis.baseDjvu+convertOdiaNumber(Vis.numeroDjvu)); window.open(url,"linkEsterno"); }); $("#body_f").dblclick(function() { var url="https://bn.wikisource.org/w/index.php?title=$pagina$&action=edit"; url=url.replace("$pagina$",Vis.baseDjvu+convertOdiaNumber(Vis.numeroDjvu+1)); window.open(url,"linkEsterno"); }); var form=$('<div class="visForm">'+ '<span class="label">Nome pagina: </span><input type="text" name="baseDjvu" size="50" readonly><br>'+ '<span class="label">Numero pagina file: </span><input type="text" name="numeroDjvu-retro" size="10" readonly>'+ ' <input type="text" name="numeroDjvu-fronte" size="10" readonly><br>'+ '<span class="label">Numero pagina libro: </span><input type="text" name="numeroLibro-retro" size="10" readonly>'+ ' <input type="text" name="numeroLibro-fronte" size="10" readonly><br>'+ '<span class="label">Numero pagine totali: </span><input type="text" name="numeroPagine" size="10" readonly><br>'+ '<span class="label">Vai a pagina: </span><input type="text" name="vai_a_pagina" size="10">'+ 'djvu <input type="radio" name="tipo_pagina" value="djvu" checked>libro <input type="radio" name="tipo_pagina" value="libro">'+ ' <input type="submit" id="esegui_vai" value="Vai!" >'+ '</div>'); $(".vis").append(form); $(".visForm").draggable(); $("#esegui_vai").click(function() { // calcolo pagina djvu corrispondente a pagina libro dispari (fronte) corrispondente o immediatamente successiva var tipo_pag_go=$("input[name='tipo_pagina']:checked").val(); var pag_go=$("input[name='vai_a_pagina']").val(); if (tipo_pag_go==="djvu") { pag_go=pag_go*1; if ((Vis.lp[pag_go]*1)%2!==0) pag_go-=1; } else { pag_go=Vis.lp.indexOf(pag_go+""); try { if ((Vis.lp[pag_go]*1)%2!==0) pag_go-=1; } catch(err) { console.log("errore in input pagina"); } } Vis.numeroDjvu=pag_go; Vis.show(Vis.baseDjvu+Vis.numeroDjvu,"retro"); Vis.show(Vis.baseDjvu+(Vis.numeroDjvu*1+1),"fronte"); Vis.updateForm(); }); // creazione di un popup per la ricerca parole var box=$('<div id="pop1" >'+ ' <div class="popHeader" style="background-color:lightgray; width:inherit; height:20px;">'+ ' <input id="searchInput" type="text" placeholder="Enter search"><img id="close" src="https://thumb.wikimedia.org/wikipedia/commons/thumb/9/97/Dialog-error-round.svg/20px-Dialog-error-round.svg.png" style="float:right; cursor: pointer">'+ ' </div>'+ ' <div class="popBody">'+ ' </div>'+ '</div>'); $("#close",box).click(function(){$(this).parent().parent().toggle();} ); $("#searchInput",box).keypress(function (e) { //var key = e.which; // var paginaLibro=""; if(e.which == 13) { // the enter key code var ricerca=$(this).val(); Vis.search($(this).val()); // console.log("Trovate "+Vis.searchResult.children("li").length+" pagine."); } }); $(".vis").append(box); $(box).draggable(); // creazione di un campo per saltare a una pagina del libro, sente Enter (agisce settando visForm nascosto) $(".vis").append($('<input style="position:fixed; right:30px; top:110px;" size="8" id="pageInput" placeholder="পাতায় যান" />')); $('#pageInput').keypress(function (e) { //var key = e.which; // var paginaLibro=""; if(e.which == 13) { // the enter key code var paginaLibro= isNaN($('#pageInput').val()) ? $('#pageInput').val() : convertOdiaNumber($('#pageInput').val()); console.log(paginaLibro); if (Vis.lp.indexOf(paginaLibro)===-1) { $('#pageInput').val("???"); } else { $(".visForm input[value='libro']").click(); $(".visForm input[name='vai_a_pagina']").val(paginaLibro); $("#esegui_vai").click(); } } }); function visFormToggle() {$(".visForm").toggle();} shortcut.add("Ctrl+Alt+m",visFormToggle); }; Vis.show=function (titolo,classe) { console.log("passo da show per titolo:",titolo); var fr=""; if (classe.indexOf("fronte")!==-1) fr="f"; if (classe.indexOf("retro")!==-1) fr="r"; if (fr==="") { alert("Errore! chiamata show con parametro classe errato/assente"); return false; } var np=/(\d+)$/.exec(titolo)[1]*1; var wikitext=""; var html=""; var riGrigia='<table width="100%"><td align="center" style="color:#dddddd">#pag#</td></table>'; var number = titolo.substring(titolo.lastIndexOf('/') + 1); titolo = titolo.replace('/' + number, '/'+ convertOdiaNumber(number)); $.ajax({ url: 'https://bn.wikisource.org/w/api.php', data: { format: 'json', action: 'parse', prop:"text|wikitext", page: titolo, contentmodel: "proofread-page" }, dataType: 'jsonp' // this is the important one! }).done(function(data) { try { wikitext=data.parse.wikitext["*"]; html=$(data.parse.text["*"])[0].outerHTML; // console.log(html); // eliminazione commenti while (find_stringa(html,"<!--","-->",1)!=="") { html=html.replace(find_stringa(html,"<!--","-->",1),""); } } catch (err) { wikitext="Pagina inesistente"; console.log("errore nel try riga 337"); // console.log(html) } if (wikitext!=="Pagina inesistente") { html=html.replace(/(cite_note-\d+)/g,"$1"+fr).replace(/(cite_ref-\d+)/g,"$1"+fr); html=$(html).css("font-size","100%"); // oscuramento barra qualità $(".prp-page-qualityheader",html).css("display","none"); $(document.body).data("wikitext_"+classe,wikitext); $("#body_"+fr+",#header_"+fr+",#footer_"+fr+"").html("").css("visibility","initial"); html.addClass(classe).appendTo($("#body_"+fr+"")); $("#header_"+fr).append($("#body_"+fr+" table[title='RigaIntestazione']").eq(0)); $("#footer_"+fr).append($("#body_"+fr+" table[title='PieDiPagina']").eq(0)); // qui inserito parsing del wikitext per ricavare user e level!!! level=find_stringa(wikitext,'level="','"',0); user=find_stringa(wikitext,'user="','"',0); console.log (classe+" "+user+" "+level); if (fr=="r") $("#header_"+fr).append($(Vis.sal3_r)); else $("#header_"+fr).append($(Vis.sal3_f)); if (level==="3" && user!=mw.config.get("wgUserName") ) $("#header_"+fr+" img").toggle(); } else { if (np<1 || np> (Vis.lp.length-2)) $("#body_"+fr+",#header_"+fr+",#footer_"+fr+"").html("").css("visibility","hidden"); //caso oltre i limiti else { riGrigia=riGrigia.replace("#pag#",Vis.lp[np]); $("#body_"+fr+",#header_"+fr+",#footer_"+fr+"").html("").css("visibility","initial"); $("#header_"+fr).append($(riGrigia)); // $(messaggioNuovaPagina).appendTo($("#body_"+fr)); Vis.leggiOCR(titolo,fr); } } if ($("body").data("matches")!==undefined && $("body").data("matches").length>0) for (i=0;i<$("body").data("matches").length;i+=1) { Vis.hl($("#body_"+fr).eq(0),$("body").data("matches")[i]); } // qui aggiungere routine per link interni (if ....) $(".vis a:not([href^='#'])").each(function() { // $(this).attr("onclick","Vis.link(this)"); $(this).data("caller",Vis.numeroDjvu); // prova eliminazione unescape // $(this).data("called",unescape($(this).attr("href"))); $(this).data("called",$(this).attr("href")); $(this).attr("href","#"); // proviamo.... $(this).click(function() {Vis.link(this);}); /* var href=$(this).attr("href"); var r=/\/wiki\/(.+\/)(\d+)/; var dati=r.exec(href); if (dati !== null && dati[2]!==undefined && dati[1]==Vis.baseDjvu ) { $(this).click(function(){ // event.preventDefault(); // disabilito link; // modifico gli attributi $(this).data("caller",Vis.numeroDjvu+"").data("called",$(this).attr("href")).attr("onclick","test(this)"); Vis.cron.push(Vis.numeroDjvu); console.log("link interno alla pagina:" + $(this).html(), "numero pagina djvu chiamante: "+ Vis.numeroDjvu,($(this).html()==Vis.numeroDjvu)); $("#pageInput").val(Vis.lp[Vis.numeroDjvu]); $(".visForm input[value='djvu']").click(); $(".visForm input[name='vai_a_pagina']").val(dati[2]); $("#esegui_vai").click(); }); // link a pagina dello stesso libro } else { $(this).attr("target","linkEsterno"); } */ }); }); }; function start() { Vis.cron=[]; Vis.build(); var pagina=""; switch(mw.config.get("wgCanonicalNamespace")) { case "Page": pagina = mw.config.get("wgPageName"); break; // case "Index": pagina = mw.config.get("wgPageName").replace("নির্ঘণ্ট:","পাতা:")+"/"+ // /\/page(\d+)-/.exec($(".thumbinner img").attr("src"))[1];break; case "Index": pagina = mw.config.get("wgPageName").replace("নির্ঘণ্ট:","পাতা:")+"/"+/\/page(\d+)-/.exec($(".mw-parser-output>div>div>a.image>img").attr("src"))[1];break; case "":pagina = decodeURIComponent( $(".ws-pagenum").eq(0).attr("title") );; if (pagina === undefined) { //testo non proofread return; } else { pagina = pagina.replace(/ /g,"_"); } } /* if (mw.config.get("wgCanonicalNamespace") === "Page") { pagina = mw.config.get("wgPageName"); } else { pagina = $(".numeropagina a").eq(0).attr("title"); if (pagina === undefined) { //testo non proofread return; } else { pagina = pagina.replace(/ /g,"_"); } } */ Vis.baseDjvu=pagina.substring(0,pagina.lastIndexOf("/")+1); Vis.numeroDjvu=convertEnglishNumber(pagina.substring(pagina.lastIndexOf("/")+1))*1; Vis.lp=[]; $.ajax({ url: 'https://bn.wikisource.org/w/api.php', data: { format: 'json', action: 'parse', prop:"text", page: Vis.baseDjvu.substring(0,Vis.baseDjvu.length-1).replace("পাতা:","নির্ঘণ্ট:") }, dataType: 'jsonp' // this is the important one! }).done(function(data) { var $html=$(".prp-index-pagelist",$((data.parse.text["*"]))); // modificata 28/12/2018 $("a[title^='পাতা:']",$html).each(function() { // idem $(this).children().filter("span").remove(); // console.log($html); var href= decodeURIComponent($(this).attr("href")); if ($(this).attr("class")==="new") // Vis.lp[alert(href)/\/(\d+)&action/.exec($(this).attr("href"))[1]*1]=$.trim($(this).text()); Vis.lp[convertEnglishNumber(href.substring(href.lastIndexOf('/') + 1))*1]=$.trim($(this).text()); else Vis.lp[convertEnglishNumber(href.substring(href.lastIndexOf('/') + 1))*1]=$.trim($(this).text()); // Vis.lp[/\d+$/.exec($(this).attr("href"))[0]*1]=$.trim($(this).text()); }); // if (isFront()) Vis.numeroDjvu-=1; Vis.show(Vis.baseDjvu+Vis.numeroDjvu,"retro current"); Vis.show(Vis.baseDjvu+(Vis.numeroDjvu+1),"fronte current"); $(".vis input[name='numeroPagine']").val(Vis.lp.length-1); $(".vis input[name='numeroDjvu-retro']").val(Vis.numeroDjvu*1); $(".vis input[name='numeroLibro-retro']").val(Vis.lp[Vis.numeroDjvu*1]); $(".vis input[name='numeroDjvu-fronte']").val(Vis.numeroDjvu*1+1); $(".vis input[name='numeroLibro-fronte']").val(Vis.lp[Vis.numeroDjvu*1+1]); $(".vis input[name='baseDjvu']").val(Vis.baseDjvu); localStorage.lp=JSON.stringify(Vis.lp); $("body").css("overflow","hidden"); $(".vis").toggle(); shortcut.add("Ctrl+left",function() {$("#frecciaIndietro").click();}); shortcut.add("Ctrl+right",function() {$("#frecciaAvanti").click();}); shortcut.add("Ctrl+x",function() {$("#iconaChiudi").click();}); $(document).keydown(function (e) { if (e.which == 27) { //ESC $("#iconaChiudi").click(); $(document).off('keydown'); } else if (e.which == 39) { //freccia DX $("#frecciaAvanti").click(); } else if (e.which == 37) { //freccia SX $("#frecciaIndietro").click(); } }); }); /*if (! isFront()) Vis.numeroDjvu-=1; Vis.show(Vis.baseDjvu+Vis.numeroDjvu,"retro current"); Vis.show(Vis.baseDjvu+(Vis.numeroDjvu+1),"fronte current"); $("body").css("overflow","hidden"); $(".vis").toggle(); */ return false; } function isFront() { var isOdd=true; try { if ((Vis.lp[Vis.numeroDjvu]*1)%2===0) isOdd=false; } catch(err) { isOdd=true; } return isOdd; } if ((mw.config.get("wgCanonicalNamespace")==="Index" ||mw.config.get("wgCanonicalNamespace")==="Page" || mw.config.get("wgCanonicalNamespace")==="") && mw.config.get("wgAction")==="view") { shortcut.add("Ctrl+Alt+v",start); mw.util.addPortletLink( 'p-tb', "javascript:void(0)", 'পুস্তকপাঠ', 'পুস্তকপাঠ', 'পুস্তকপাঠ' ); $("#পুস্তকপাঠ").click(function() {start();}); if (window.location.href.indexOf("vis=true")!==-1) start(); if (mw.config.get("wgCanonicalNamespace")==="Index") $('<div class="mw-indicator" style="cursor: pointer" title="বই আকারে লেখা পড়ুন">'+ '<img alt="বই আকারে লেখা পড়ুন" src="https://thumb.wikimedia.org/wikipedia/commons/thumb/6/64/Android_Emoji_1f4d6.svg/40px-Android_Emoji_1f4d6.svg.png">'+ '</div>').click(function() {start();}).prependTo(".mw-indicators"); } /* conta il numero di occorrenze di stringa dentro testo*/ function count(testo, stringa) { n = 0; while (testo.indexOf(stringa) > -1) { n = n + 1; testo = testo.replace(stringa, ""); } return n; } function find_stringa(testo, idi, idf, dc, x) { idip = testo.indexOf(idi); idfp = testo.indexOf(idf, idip + idi.length) + idf.length; if (idip > -1 && idfp > -1) { if (x !== "") { while (count(testo.slice(idip, idfp), x) > count(testo.slice(idip, idfp), idf)) { idfp = testo.indexOf(idf, idfp) + idf.length; } } if (dc === 0) { vvalore = testo.slice(idip + idi.length, idfp - idf.length); } else { vvalore = testo.slice(idip, idfp); } } else { vvalore = ""; } return vvalore; } function produciLista(testo, s1, s2, delim, x) { lista = []; while (find_stringa(testo, s1, s2, true, x) > "") { elemento = find_stringa(testo, s1, s2, true, x); testo = testo.replace(elemento, ""); if (delim) { lista.push(elemento); } else { lista.push(elemento.slice(s1.length, - s2.length)); } } return lista; } function convertOdiaNumber(number) { var input = String(number).split(''); var mapData = { "0": "০", "1": "১", "2": "২", "3": "৩", "4": "৪", "5": "৫", "6": "৬", "7": "৭", "8": "৮", "9": "৯" }; var output = ''; var tempArray = []; for (var i = 0; i < input.length; i++) { tempArray.push(mapData[input[i]]); } output = tempArray.join(''); return output; } function convertEnglishNumber(number) { var input = String(number).split(''); var mapData = { "০": "0", "১": "1", "২": "2", "৩": "3", "৪": "4", "৫": "5", "৬": "6", "৭": "7", "৮": "8", "৯": "9" }; var output = ''; var tempArray = []; for (var i = 0; i < input.length; i++) { tempArray.push(mapData[input[i]]); } output = tempArray.join(''); return output; } k3ug0qamp2100kuhkviomubvygqoc6x মিডিয়াউইকি:Gadget-bookreader.js 8 775010 2006951 1537978 2026-11-02T23:04:07Z Maintenance script 3796 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 2006951 javascript text/javascript /* Embeding Wikisource pdf viewer Author : User:jayantanth Book reader: https://tools.wmflabs.org/bookreader/ */ $(document).ready( function() { if (mw.config.get("wgCanonicalNamespace")==="Index" ||mw.config.get("wgCanonicalNamespace")==="চিত্র") { $('<div class="mw-indicator" title="স্ক্যান পড়ুন">'+ '<img alt="Read as pdf" src="https://thumb.wikimedia.org/wikipedia/commons/thumb/f/f2/BookReader-favicon.svg/20px-BookReader-favicon.svg.png">'+ '</div>').click(function() {loadBookReader();}).prependTo(".mw-indicators"); } function loadBookReader() { var book_url = "https://bookreader.toolforge.org/" + mw.config.get( 'wgContentLanguage' ) + "/" +mw.config.get( 'wgPageName' ); $('body').append('<div id="bookReaderModal" class="modal"></div'); $('#bookReaderModal').append('<div class="modal-content" id="bookReaderModalContent"></div'); $('#bookReaderModalContent').append('<span class="close">&times;</span>'); $('#bookReaderModalContent').append('<embed src="'+ book_url +'"" height="600" width="100%">'); $('.modal').show(); } $('body').on('click', '.close', function() { $('#bookReaderModal').remove(); }) }); rsrr7klkapklw0y98z39wiybjsvtfc9 মিডিয়াউইকি:Gadget-dictionaryLookupHover.js 8 777232 2006952 1542903 2026-11-02T23:04:08Z Maintenance script 3796 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 2006952 javascript text/javascript try { // containerize gadget, to protect other gadgets if this one goes wrong if (!window.disableWiktLookup) { /***************** See //en.wikinews.org/wiki/WN:WiktLookup#Wiktionary_lookup_gadget_.28Hover_box_variety.29 for details on this script, and how to use it on your own site. *****************/ /*** This is the stable version of the gadget js.***/ /***************** Note this script can take a number of parameters. Parameters are stored in the wiktLookup object. Generally its a good idea to set parameters before the onload event is fired (some parameters it matters, others it doesn't). An example of parameters would be using the following js code (don't feel like you have to set all of them. they all have defaults. this is just an example): if (!window.wiktLookup) wiktLookup = {}; wiktLookup.count = 1; //number of defn to return. wiktLookup.showWord = bold; // to show what word we're looking up. one of bold, none, link wiktLookup.noRedir = false;// true to stop magic (not mediawiki)-redirection. unrecomended wiktLookup.audio = true;// true, false, autoplay. NOT IMPLEMENTED wiktLookup.width = 500; // width of box. make sure number not string. in units of pixels. wiktLookup.height = 400; //- height of box wiktLookup.key = 'w';// - ctrl+shift+key makes box popup (should be lowercase. default is 'l') wiktLookup.reverseShift = false; // - if set, requires shift+double click to lookup a word. wiktLookup.mode = context; // - context, bottom. default to context. to display as tooltip, or at bottom wiktLookup.definitionBegin = 'Definition ('; // - for i18n. in english it is 'Definition ('. used in mode='bottom' wiktLookup.definitionEnd = '):'; // - for i18n. in English it is '):' used in bottom mode wiktLookup.hideText = 'hide'; //- for i18n. in English it is 'hide'. used in bottom mode. wiktLookup.exit = true; //have a hide link. wiktLookup.disableByDefault = true; //enable only in <span class="wiktLookup-enable">blah</span> sections. *****************/ /*** This is the stable version of the gadget js.***/ /* Stolen from fr wikinews, and than subsequently heavily modified by Bawolff. This script is based on the french one created by [[:en:wiktionary:User:Bequw]] and [[en:wiktionary:User:Conrad.Irwin]]. The bottom mode is heavily based on work done by [[:fr:wikt:user:Darkdadaah]]. Special thanks for [[wikinews:User:Amgine]], [[:fr:Wikinews:User:Otourly]], [[:fr:wikinews:user:Sniff]], [[:fr:Wikinews:User:JackPotte]], [[:en:wikibooks:user:TestPilot]], and many others for support and assistance. The current version of this is maintained by Bawolff. please don't hesitate to contact me (bawolff - //en.wikinews.org/wiki/user_talk:Bawolff ) if you have any issues, comments, bugs, need help, or whatever. */ /*global wgUserLanguage, wgContentLanguage, window, hookEvent, XSLTProcessor*/ /*jslint browser: true, undef: true, nomen: true, eqeqeq: true, bitwise: true, newcap: true, immed: true, maxerr: 80 */ /*members TEXT_NODE, addEventListener, appendChild, attachEvent, body, border, charAt, clientWidth, clientX, clientY, cloneContents, cloneRange, collapse, createElement, createRange, data, detach, display, documentElement, en, endContainer, endOffset, event, expand, findWord, firstChild, focus, fr, fra, frc, fre, getElementById, getInnerWidth, getRangeAt, getScrollX, getScrollY, getSelection, height, id, innerWidth, left, length, lookupWord, match, nl, nodeType, ondblclick, open, pageXOffset, pageYOffset, position, preferLang, preventDefault, rangeOffset, rangeParent, rangeToWord, readyState, replace, returnValue, scrollLeft, scrollTop, selection, setEnd, setStart, setup, shiftKey, split, src, startContainer, startOffset, stopPropagation, stripAfterDash, style, substring, text, toString, top, useNewWindow, validLangs, wgUserLanguage, width, wiktDomain, wiktLookup, zIndex, audio, count, toUpperCase, audio, noRedir */ //set wiktLookup.useNewWindow to true to force new window. if (!window.wiktLookup) var wiktLookup = {}; wiktLookup.key = wiktLookup.key ? wiktLookup.key : 'l'; /* Options: count - numb results to return showWord - bold, none, link noRedir - true to stop redirection audio - true, false, autoplay width - width of box height - height of box key - ctrl+shift+key makes box popup (should be lowercase) reverseShift - if set, requires shift+double click to lookup a word. mode - context, bottom. default to context definitionBegin - for i18n. in english it is 'Definition (' definitionEnd - for i18n. in English it is '):' hideText - for i18n. in English it is 'hide'; exit - X in corner to hide. disableByDefault - only enable in specially marked sections. */ wiktLookup.validLangs = {en: "en", bn: "bn", fa: "fa", sa: "sa"}; wiktLookup.wiktDomain = 'en'; //default wiktLookup.stripAfterDash = /-.*$/; if (wiktLookup.validLangs[mw.config.get('wgUserLanguage')]) { wiktLookup.wiktDomain = wiktLookup.validLangs[mw.config.get('wgUserLanguage')]; } else if (wiktLookup.validLangs[mw.config.get('wgUserLanguage').replace(wiktLookup.stripAfterDash)]) { wiktLookup.wiktDomain = wiktLookup.validLangs[mw.config.get('wgUserLanguage').replace(wiktLookup.stripAfterDash)]; } else if (wiktLookup.validLangs[mw.config.get('wgContentLanguage')]) { wiktLookup.wiktDomain = wiktLookup.validLangs[mw.config.get('wgContentLanguage')]; } else if (wiktLookup.validLangs[mw.config.get('wgContentLanguage').replace(wiktLookup.stripAfterDash)]) { wiktLookup.wiktDomain = wiktLookup.validLangs[mw.config.get('wgContentLanguage').replace(wiktLookup.stripAfterDash)]; } if (!wiktLookup.preferLang) wiktLookup.preferLang = (window.wgContentLanguage ? mw.config.get('wgContentLanguage') : wiktLookup.wiktDomain ); if (wiktLookup.disableByDefault === undefined) wiktLookup.disableByDefault = false; wiktLookup.getOptions = function () { var opt = ''; if (wiktLookup.count) opt += '&count=' + wiktLookup.count; if (wiktLookup.showWord) opt += '&showWord=' + wiktLookup.showWord; if (wiktLookup.audio) opt += '&audio=' + wiktLookup.audio; if (wiktLookup.noRedir) opt += '&rd=500'; if (wiktLookup.exit) opt += '&exit=true'; return opt; } wiktLookup.rangeToWord = function (selection) { //includes apostraphes //fixme: if at begin of container. var finalText = selection.toString(); try { var expandWord = /['\-]/ //list of chars that are not actual word boundries. var range = selection.getRangeAt(0); var rangeBefore = range.cloneRange(); if (rangeBefore.startOffset !== 0 ) { rangeBefore.setStart(rangeBefore.startContainer, rangeBefore.startOffset - 1); var textNode = rangeBefore.cloneContents().firstChild; if (textNode.nodeType === 3 && expandWord.test(textNode.data.charAt(0))) { for (var i = 0; i < 30 /*to stop run-away*/; i++) { rangeBefore.setStart(rangeBefore.startContainer, rangeBefore.startOffset - 1); textNode = rangeBefore.cloneContents().firstChild; if ((textNode.nodeType !== 3) || (textNode.nodeType === 3 && textNode.data.match(/^\s/))) { rangeBefore.setStart(rangeBefore.startContainer, rangeBefore.startOffset + 1); finalText = rangeBefore.toString(); rangeBefore.detach(); range.detach(); return finalText; } else if (rangeBefore.startOffset === 0) { //at the end of the range. this might add periods, which are stripped later. finalText = rangeBefore.toString(); rangeBefore.detach(); range.detach(); return finalText; } } } } rangeBefore.detach(); //done with it. var rangeAfter = range.cloneRange(); rangeAfter.setEnd(rangeAfter.endContainer, rangeAfter.endOffset + 1); var textNode = rangeAfter.cloneContents().firstChild; //double var... if (textNode.nodeType === 3 && expandWord.test(textNode.data.charAt(textNode.data.length - 1))) { for (var i = 0; i < 30 /*to stop run-away*/; i++) { rangeAfter.setEnd(rangeAfter.endContainer, rangeAfter.endOffset + 1); textNode = rangeAfter.cloneContents().firstChild; if ((textNode.nodeType !== 3) || (textNode.nodeType === 3 && textNode.data.match(/\s$/))) { rangeAfter.setEnd(rangeAfter.endContainer, rangeAfter.endOffset - 1); finalText = rangeAfter.toString(); rangeAfter.detach(); range.detach(); return finalText; } else if (rangeAfter.endOffset - rangeAfter.endContainer.data.length === 0) { // this assumes this is a text node... this might add periods, which are stripped later. finalText = rangeAfter.toString(); rangeAfter.detach(); range.detach(); return finalText; } } } rangeAfter.detach(); //no match, and done with this range. } catch (e) { if (window.range) {range.detach();} return finalText; } return finalText; } wiktLookup.findWord = function (e) { if (!e) {e = window.event;} if (e.shiftKey && e.type === 'dblclick' && !wiktLookup.reverseShift) { return true; //don't do anything if shift is pressed down. for compat with other things. } if (!e.shiftKey && e.type === 'dblclick' && wiktLookup.reverseShift) { return true; //if reverse shift is on, require shift key for double click. } var clientX, clientY, coordsAbs, langOverride; if (e.clientX) {//this implies has Y as well clientX = e.clientX; clientY = e.clientY; } // stolen from http://www.codetoad.com/javascript_get_selected_text.asp var text; if (window.getSelection) { text = wiktLookup.rangeToWord(window.getSelection()); if (!clientX) { try { //mostly for from keyboard requests var parent = window.getSelection().anchorNode.parentNode; clientX = parent.offsetLeft + 7*window.getSelection().anchorOffset; //this is very rough clientY = parent.offsetTop + parent.offsetHeight; //at bottom of elm coordsAbs = true; while (parent = parent.offsetParent) { clientX += parent.offsetLeft; clientY += parent.offsetTop; } } catch (e) {} } try { //figure out what language the current node is. //and determine if we're in an enabled section // aka <span class="wiktLookup-enable">blah</span> //wiktLookup.disableByDefault var enabled = !wiktLookup.disableByDefault; var foundAnEnableSection = false; var foundLangSection = false; var cur = window.getSelection().anchorNode.parentNode; for (var i = 0; i < 9; i++) { if (!foundAnEnableSection && cur.className.indexOf('wiktLookup-disable') !== -1) { return; //die } if (!foundAnEnableSection && cur.className.indexOf('wiktLookup-enable') !== -1) { enabled = true; foundAnEnableSection = true; if (foundLangSection) break; } if (!foundLangSection && cur.lang) { langOverride = cur.lang.replace(wiktLookup.stripAfterDash); if (foundAnEnableSection) break; } else { if (cur.parentNode) {cur = cur.parentNode;} else {break;} } } if (!enabled) { return; //die } } catch (e) { /*ignore error*/ if (!enabled) { return; //die } } } else if (document.getSelection) { text = wiktLookup.rangeToWord(document.getSelection()); } if (!clientX) { clientX = 400; clientY = 200; //good as numbers as any... } if (text && text.length < 32) { //If we have the text. we be done. return wiktLookup.lookupWord(text, clientX, clientY, coordsAbs, langOverride); } // seems to work somewhat on moz. Hopefully moz will be picked up above. So this shouldn't be neccesary. if (e.rangeParent && e.rangeParent.nodeType === document.TEXT_NODE) { //mozilla part var rangeOffset = e.rangeOffset; var my_rangestr = e.rangeParent.data; //the event is dynamic! // which word the rangeOffset is in var wordlist1 = my_rangestr.substring(0, rangeOffset).split(/\s+/); var wordlist2 = my_rangestr.substring(rangeOffset, my_rangestr.length).split(/\s+/); if (my_rangestr.length > 0) { wiktLookup.lookupWord(wordlist1[wordlist1.length]+wordlist2[wordlist2.length], clientX, clientY, coordsAbs, langOverride); } e.preventDefault(); e.stopPropagation(); } //IE specific stuff. Try this as a last resort. else { try { if (document.readyState !== "complete") return false; //IE var my_range = document.selection.createRange(); my_range.collapse(); my_range.expand("word"); wiktLookup.lookupWord(my_range.text, clientX, clientY, coordsAbs, langOverride);; e.returnValue = false; return false; } catch (err) { /*ignore*/ } } } wiktLookup.getScrollX = function () { //standard if (window.pageXOffset !== undefined) { return window.pageXOffset; } //IE 6 in standards mode if (document.documentElement && document.documentElement.scrollLeft !== undefined) { return document.documentElement.scrollLeft; } //other IE if (document.body && document.body.scrollLeft !== undefined) { return document.body.scrollLeft; } return 0; //default } wiktLookup.getScrollY = function() { //standard if (window.pageYOffset !== undefined) { return window.pageYOffset; } //IE 6 in standards mode if (document.documentElement && document.documentElement.scrollTop !== undefined) { return document.documentElement.scrollTop; } //other IE if (document.body && document.body.scrollTop !== undefined) { return document.body.scrollTop; } return 0; } wiktLookup.getInnerWidth = function() { //standard if (window.innerWidth !== undefined) { return window.innerWidth; } //IE 6 in standards mode if (document.documentElement && document.documentElement.clientWidth !== undefined) { return document.documentElement.clientWidth; } //other IE if (document.body && document.body.clientWidth !== undefined) { return document.body.clientWidth; } return 0; } wiktLookup.lookupWord = function(word, x, y, absCoords,langOveride) { if (word.match(/(?:^\s[\w\u0980-\u09ff]|[\w\u0980-\u09ff]\s$)/)) { //this regex doesn't work if word starts or ends with accents. //is this regex even needed? var word2 = word.match(/[\w\u0980-\u09ff]*/); //strip spaces } var s = word2 ? word2[0] : word //if regex failed, fall back to word s = s.normalize(); console.log(s, "অনুসন্ধান হচ্ছে"); if (!s) {return false;} // test if null or empty. s = encodeURIComponent(s); if (!wiktLookup.supported()) { //This includes IE, which doesn't recognize the mime type mediawiki uses. // in future this could put the window where user clicked. var newwin = window.open('//' + wiktLookup.wiktDomain + '.wiktionary.org/wiki/' + s + '?uselang=' + wiktLookup.preferLang,'temp','height=450,width=800,location,menubar,toolbar,status,resizable,scrollbars'); if (newwin) { newwin.focus(); } return true; } var frame = document.getElementById('dict-popup-frame'); frame.src = 'about:blank'; //don't display old results. frame.style.display = 'block'; frame.src = '//hangor.toolforge.org/lex/bn/' + s var left, top; if (!absCoords) { var left = x + wiktLookup.getScrollX(); if (left + (wiktLookup.width ? wiktLookup.width : 420) > wiktLookup.getInnerWidth() && left - (wiktLookup.width ? wiktLookup.width : 420) > 0) { left -= (wiktLookup.width ? wiktLookup.width : 420); } top = (y + wiktLookup.getScrollY() + 10); } else { top = y + 10; left = (x + (wiktLookup.width ? wiktLookup.width : 420) > wiktLookup.getInnerWidth() ? wiktLookup.getInnerWidth() - (wiktLookup.width ? wiktLookup.width : 420) : x ); } frame.style.top = top +'px'; frame.style.left= left +'px'; document.getElementById('dict-popup-container').style.display = 'block'; } wiktLookup.setup = function () { if (document.addEventListener) { document.addEventListener("dblclick", wiktLookup.findWord, true); //capture } else if (document.attachEvent) { document.attachEvent("ondblclick", wiktLookup.findWord); } else { document.ondblclick = wiktLookup.findWord; } $("#mw-content-text").on('keypress', function(event) { if (!event) event = window.event; if (!(event.ctrlKey && event.shiftKey)) return true; var key = (event.charCode ? event.charCode : event.keyCode); if (key && (String.fromCharCode(key) === wiktLookup.key || String.fromCharCode(key) === wiktLookup.key.toUpperCase())) { wiktLookup.findWord(event); if (event.preventDefault) event.preventDefault(); return false; } return true; }); } wiktLookup.supported = function () { if (navigator && navigator.userAgent && navigator.userAgent.indexOf('Gecko') !== -1 && navigator.productSub && navigator.productSub <= 20090823 && navigator.productSub > 2000000) { //old moz has broken support for html entities. //FIXME: figure out exact date when gecko was fixed. return false; } if (wiktLookup.useNewWindow) return false; if (window.XSLTProcessor || document.selectNodes ) return true; //note: second part for IE return false; } $(wiktLookup.setup); $(function () { if (!wiktLookup.definitionBegin) wiktLookup.definitionBegin = 'Definition ('; if (!wiktLookup.definitionEnd) wiktLookup.definitionEnd = '):'; if (!wiktLookup.hideText) wiktLookup.hideText = 'hide'; var div = document.createElement('div'); div.id = 'dict-popup-container'; var frame = document.createElement('iframe'); frame.style.border = 'none'; if (wiktLookup.mode !== 'bottom') frame.style.position = 'absolute'; frame.style.display = 'none'; frame.style.zIndex = '102'; if (wiktLookup.mode === 'bottom') { frame.style.width = '98%'; } else { frame.style.width = (wiktLookup.width ? wiktLookup.width + 'px' : '800px'); //default 300 if unset } frame.style.height = (wiktLookup.height ? wiktLookup.height + 'px' : '500px'); //default 150 if unset. frame.id = 'dict-popup-frame'; frame.src = 'about:blank'; if (wiktLookup.mode === 'bottom') { div.style.padding = '0.3em'; div.style.display = 'none'; div.style.position = 'fixed'; div.style.margin = '0'; div.style.bottom = '0'; div.style.zIndex = '50'; div.style.background = 'url(//thumb.wikimedia.org/wikipedia/commons/thumb/e/ec/Wiktionary-logo.svg/840px-Wiktionary-logo.svg.png) white no-repeat 30%'; div.style.borderTop = 'solid thin black'; div.style.width = '100%'; div.appendChild(document.createTextNode(wiktLookup.definitionBegin)); var link = document.createElement('a'); link.href = '#'; link.onclick = wiktLookup.hide; link.appendChild(document.createTextNode(wiktLookup.hideText)); div.appendChild(link); div.appendChild(document.createTextNode(wiktLookup.definitionEnd)); } div.appendChild(frame); document.body.appendChild(div); }); wiktLookup.hide = function() { try { var frame = document.getElementById('dict-popup-frame'); if (frame.src !== 'javascript:%22%20%22') frame.src = 'javascript:%22%20%22'; //transparent //not using about:blank due to bug with font re-sizing on firefox. frame.style.display = 'none'; document.getElementById('dict-popup-container').style.display = 'none'; } catch(e) {/*ignore*/ } } $("#mw-content-text").on('click', wiktLookup.hide); } } catch (e) { // containerize gadget, to protect other gadgets if this one goes wrong // ignore } htvr0hwzuemamcpbjeu2revxuo9sesx মিডিয়াউইকি:Pathoschild.regexeditor.css 8 805867 2006957 1671978 2026-11-02T23:04:16Z Maintenance script 3796 Use thumb.wikimedia.org for thumbnails ([[phab:T427465]], Operator: Ladsgroup) 2006957 css text/css /********* ** Layout *********/ #regex-editor { position: relative; margin: 0.5em; padding: 0.5em; border: 1px solid #AAA; border-radius: 15px; line-height: normal; } /********* ** Syntax highlighting ** This places a formatted <pre> behind the raw <textarea>. The <textarea> must have a transparent ** background (so the cursor shows through), the text formatting must match exactly (so the ** text aligns), and the preview must auto-expand to fit its content (the <textarea> will be ** resized to align the text). This glorious hack is inspired by regexpal.com, whose open-source ** library is used for the syntax highlighting. *********/ #regex-editor .re-syntax-highlighted { position: relative; } #regex-editor .search, #regex-editor .preview { position: absolute; top: 0; left: 0; min-height: 2em; width: 100%; margin: 0; padding: .1em; border: 0; box-sizing: border-box; font-family: 'courier new', monospace; line-height: 1.3em; font-size: 1em; } #regex-editor .preview { z-index: 1; height: auto; /* expand to fit content */ background: #FFF; color: #FFF; } #regex-editor .search { z-index: 2; background: transparent; } /********* ** Button formatting *********/ #regex-editor .re-close, #regex-editor .re-add, #regex-editor .re-execute, #regex-editor .re-undo, #regex-editor .re-save, #regex-editor .re-session-apply, #regex-editor .re-session-delete { background-color: transparent; border: 0; cursor: pointer; } #regex-editor .re-close { position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; background: url('//thumb.wikimedia.org/wikipedia/commons/thumb/4/47/Noun_project_-_supprimer_round.svg/16px-Noun_project_-_supprimer_round.svg.png') no-repeat; } #regex-editor .re-add, #regex-editor .re-execute, #regex-editor .re-undo, #regex-editor .re-save { margin-right: 0.5em; padding-left: 18px; } #regex-editor .re-add { background: url('//thumb.wikimedia.org/wikipedia/commons/thumb/0/0c/Noun_project_-_plus_round.svg/16px-Noun_project_-_plus_round.svg.png') no-repeat; } #regex-editor .re-execute { background: url('//thumb.wikimedia.org/wikipedia/commons/thumb/5/57/Noun_project_-_crayon.svg/16px-Noun_project_-_crayon.svg.png') no-repeat; } #regex-editor .re-undo { background: url('//thumb.wikimedia.org/wikipedia/commons/thumb/1/13/Noun_project_-_Undo.svg/16px-Noun_project_-_Undo.svg.png') no-repeat; } #regex-editor .re-save { background: url('//thumb.wikimedia.org/wikipedia/commons/thumb/a/a0/Noun_project_-_USB.svg/16px-Noun_project_-_USB.svg.png') no-repeat; } #regex-editor #re-sessions { display: inline-block; padding: 2px; border: 1px solid #CCC; border-radius: 2px; } #regex-editor .re-session-apply { padding: 2px; font-size: 0.9em; background-color: #6C6; border-radius: 2px; } #regex-editor .re-session-delete { padding: 0; margin-right: 0.5em; font-family: monospace; font-weight: bold; color: red; } /* Regex Colorizer RegexPal theme This CSS has been modified for Pathoschild's regex editor. The text colour has been changed to always match the background color, because the syntax-highlighted text is shown behind a transparent textbox containing the user's text. If the text isn't hidden, that causes the text to appear blurred. */ .regex {font-family: Monospace;} .regex b {background: #aad1f7; color: #aad1f7;} /* metasequence */ .regex i {background: #f9ca69; color: #f9ca69;} /* char class */ .regex i b {background: #f7a700; color: #f7a700;} /* char class: metasequence */ .regex i u {background: #efba4a; color: #efba4a;} /* char class: range-hyphen */ .regex b.g1 {background: #d2f854; color: #d2f854;} /* group: depth 1 */ .regex b.g2 {background: #9ec70c; color: #9ec70c;} /* group: depth 2 */ .regex b.g3 {background: #ecc9f7; color: #ecc9f7;} /* group: depth 3 */ .regex b.g4 {background: #54b70b; color: #54b70b;} /* group: depth 4 */ .regex b.g5 {background: #b688cf; color: #b688cf;} /* group: depth 5 */ .regex b.err {background: #ff4300; color: #ff4300;} /* error */ .regex b, .regex i, .regex u {font-weight: normal; font-style: normal; text-decoration: none;} 9l78v7vsshlwnbr9mccr17k09e0ke79 পাতা:কমলাকান্তের পত্র - বঙ্কিমচন্দ্র চট্টোপাধ্যায় (১৯২৭).pdf/৩ 104 887537 2006961 2006907 2026-11-03T10:14:12Z Bodhisattwa 2549 /* মুদ্রণ সংশোধন করা হয়নি */ 2006961 proofread-page text/x-wiki <noinclude><pagequality level="1" user="Bodhisattwa" /></noinclude> প্রকাশক {{larger|'''শ্রীচারুচন্দ্র রায় এম্‌-এ,'''}} চন্দননগর। পরিবৰ্দ্ধিত দ্বিতীয় সংস্করণ আশ্বিন, ১৩৩৪ প্রিন্টার—শ্রীশান্তকুমার চট্টোপাধ্যায় দাম দু টাকা চার আনা বাণী প্রেস, ৩৩এ, মদন মিত্রের লেন, কলিকাতা<noinclude></noinclude> d8ekkuwnr690cgfkxw12unwawjwmfca পাতা:কমলাকান্তের পত্র - বঙ্কিমচন্দ্র চট্টোপাধ্যায় (১৯২৭).pdf/১৩ 104 887562 2006963 2006911 2026-11-03T10:14:41Z Bodhisattwa 2549 2006963 proofread-page text/x-wiki <noinclude><pagequality level="4" user="Blob009" /></noinclude>{{কেন্দ্র|২}} {{কেন্দ্র|{{larger|'''বিজয়া'''}}}} সন্ধ্যার পর প্রসন্ন অতি স্নানমুখে আমার কুটীরের দাওয়ার নীচে আসিয়া দাড়াইল, দূরে ঠাকুর-বিসর্জ্জনের বাজনা বাজিতেছিল; শানাইয়ের করুণ সুর জনকোলাহল ভেদ করিয়া জানাইতেছিল—এ বৎসরের মত বাঙালীর পূজার অর্থাৎ দুর্গাপূজার উৎসব শেষ হইল। {{ফাঁক}}প্রসন্ন কোন কথা না কহিয়া অতি ধীরে আমার কাছে আসিয়া গলায় আঁচিল দিয়া একটা গড় করিল! আমি প্রসন্নকে বলিলাম—প্রসন্ন! আজ সব ফ্যাসাদ মিটিয়া গেল ত? {{ফাঁক}}প্রসন্ন। দেখ, যেদিন প্রাতঃকালে উঠিয়া উঠানে ঠাকুর প্রতিমা ফেলিয়া দিয়া গিয়াছে দেখিলাম সেদিন আমার মাথায় আকাশ ভাঙ্গিয়া পড়িয়াছিল, কত আর্ত্তনাদ করিয়া তোমার কাছে ছুটিয়া আসিয়াছিলাম, মনে হইয়াছিল কি বিপদেই পড়িলাম। আজও তোমার কাছে ছুটিয়া আসিয়াছি, কিন্তু আজ বুঝিতে পারিতেছি না—কেন তখন আপনাকে এত বিপন্ন মনে করিয়াছিলাম। আজ ছুটিয়া আসিয়াছি—বাড়ীতে আর থাকিতে পারিতেছি না, আমার ক্ষুদ্র কুটীর যেন কত বড় কত ফাঁকা মনে হইতেছে; মনে হইতেছে যে, গ্রামের সমস্ত লোককে আমার উঠানে জড় করিলেও যেন সে ফাঁক ভরিয়া উঠিবে না। এমন, নিস্তব্ধ নির্জ্জন স্থান আমি কখনও কোথাও দেখি নাই। আমি সেখানে কেমন করিয়া থাকিব জানি না। {{nop}}<noinclude></noinclude> 9bj1rjuy85ol1c7imhczfbe3mm7nmsk পাতা:কমলাকান্তের পত্র - বঙ্কিমচন্দ্র চট্টোপাধ্যায় (১৯২৭).pdf/১ 104 887563 2006962 2006906 2026-11-03T10:14:19Z Bodhisattwa 2549 /* মুদ্রণ সংশোধন করা হয়নি */ 2006962 proofread-page text/x-wiki <noinclude><pagequality level="1" user="Bodhisattwa" /></noinclude>{{xxxx-larger|{{কেন্দ্র|'''কমলাকান্তের'''}}}} {{xxxx-larger|{{কেন্দ্র|'''পত্র'''}}}} {{block center/s}}<poem>To talk of many things Of shoes and ships and sealing wax Of cabbages and kings.</poem>{{block center/e}} {{block center/s}}<poem> ::১৩৩৪ রামেশ্বর এণ্ড কোং :চন্দননগর</poem>{{block center/e}}<noinclude></noinclude> ss9k258ir5p6mn5in92d8o96xr9qbmw পাতা:কমলাকান্তের পত্র - বঙ্কিমচন্দ্র চট্টোপাধ্যায় (১৯২৭).pdf/১৬ 104 887719 2006966 2003658 2026-11-03T10:17:25Z Bodhisattwa 2549 2006966 proofread-page text/x-wiki <noinclude><pagequality level="3" user="জয়শ্রীরাম সরকার" /></noinclude>{{কেন্দ্র|৩}} {{কেন্দ্র|{{x-larger|'''স্বপ্নলব্ধ রক্ষাকবচ'''}}}} {{ফাঁক}}তখন একটু মৌজেই ছিলাম বলিতে হইবে, প্রসন্ন আসিয়া আমার দাওয়ায় খুঁটি ঠেসান দিয়া বসিল—বলিল, গরুটা বড় ধ্যাড়াচ্ছে! {{ফাঁক}}বিশ্বব্রহ্মাণ্ডটা একনিমিষে ঘুরিয়া আসিয়া মনটা বেশ একটু তরতরে জলের স্রোতের মত স্নায়বিক হিল্লোলের উপর দিয়া ভাসিয়া চলিয়াছিল, প্রসন্নর গলার আওয়াজে একটু থামিয়া দাড়াইয়া পড়িল—কতক তাহার কথার সায় হিসাবে এবং কতকটা স্বগত বলিয়া উঠিল—“আজকাল অনেকেই তাই কচ্চে বটে!” {{ফাঁক}}তখনও প্রসন্নর মুখখানা আমি ভাল করিয়া দেখি নাই, যখন দেখিলাম, তখন আশঙ্কা হইল, বুঝিবা নেশার ঝোঁকে কিছু বেফাঁস বলিয়া ফেলিয়াছি, বলিলাম, “কি প্রসন্ন! ভ্রু দুটা অমন কুঞ্চিত করিয়া আমাকে সন্দেহের চক্ষে দেখিতেছ কেন? আমি সজ্ঞানে আছি ত!” {{ফাঁক}}প্রসন্ন বলিল—“তা বুঝতে পাচ্চি। আমি অনেকের কথা বলচি না—আমার মঙ্গলার কথা বলচি, গরুটা বড় ধ্যাড়াচ্ছে—দুধ কমে গেছে—” {{ফাঁক}}আমি। হ্যাঁ সেটা ভাবনার কথা বটে——দুধ কমে’ যাওয়াটা ভাবনারই কথা—কিন্তু ও-দুটা প্রক্রিয়া সঙ্গের সাথী—একটা হলেই আর-একটা ‘কেন নিবার্য্যতে’। মানুষই বল আর গরুই<noinclude></noinclude> is9g5dzrjwognsq6yg2qku256u18azw পাতা:ভারতের শক্তি সাধনা ও শাক্ত সাহিত্য - শশিভূষণ দাশগুপ্ত (১৯৬৫).pdf/৩০৩ 104 888094 2006947 2026-11-02T15:34:19Z Hrishikes 1618 /* মুদ্রণ সংশোধন করা হয়েছে */ 2006947 proofread-page text/x-wiki <noinclude><pagequality level="3" user="Hrishikes" />{{rh||পরবর্তী কালের প্রসিদ্ধ শক্তি-সাধকগণের সাধনা|২৮৭}}</noinclude>{{gap}}শ্রীঅরবিন্দ বার বার বহুভাবে একটা কথা বলিয়াছেন, অধ্যাত্ম-জীবনকে আমরা শুধুমাত্র একটা উপরে উঠিবার প্রক্রিয়া বলিয়া ভুল করিয়াছি। তিনি বলেন, এই যে অন্ন হইতে প্রাণে, প্রাণ হইতে মনে, মন হইতে আত্মায় উত্তরণ ইহা অধ্যাত্ম-সাধনার অর্ধ-সাধনা মাত্র; অপর অর্ধ হইল আত্মার চৈতন্যে অবতরণ, আত্ম-চৈতন্যের প্রাণে অবতরণ—সকলের আবার অন্নে বা বস্তুতে অবতরণ। এই আত্মা আর জড়বস্তু ইহারা অখণ্ড সত্যের দুইটি মেরু—মূলাধারে একেবারে ক্ষিতিতত্ত্ব, সহস্রারে রূপহীন জ্যোতির্ময় আনন্দময় আত্মতত্ত্ব; এই আত্মা ও জড়—মূলাধার ও সহস্রার ইহার মধ্যেই সকল বিবর্তন (evolution) ও উদ্ঘাতন (involution)। আমরা দিব্য-জীবনে বাঁচিয়া থাকিতে পারি না যদি শুধু ভগবত্তার চরমস্তরে উঠিয়া স্থিতি লাভ করিতে চাই; এই ভগবত্তাকে আমাদের নিম্নতম তত্ত্বের মধ্যে একেবারে আমাদের পার্থিব জীবনের স্থূল ভিত্তিভূমিতে নামাইয়া আনিতে হইবে। দেহের প্রত্যেকটি জীবকোষে যে পর্যন্ত ভগবত্তার আধান না হয় সে পর্যন্ত অধ্যাত্ম-জীবন লাভ হয় না। {{gap}}শ্রীঅরবিন্দের তন্ত্র-সাধনা হইল তাই একটি সম্পূর্ণ রূপান্তরের সাধনা। আত্মধর্মের আনন্দ ও জ্যোতিঃ দ্বারা দেহের অণু-পরমাণুকে অধ্যাহিত (surcharged) করিয়া লইতে হইবে; এই আধানের ফলেই ধীরে ধীরে দেহধর্মের ঘটে আত্মধর্মে রূপান্তর। এইজন্য এই রূপান্তরের সাধনায় নিম্নের তত্ত্বগুলিকে নিরন্তর অতিমানসের জ্যোতিঃ ও শক্তিদ্বারা অধ্যাহিত করিয়া লইবার কথা বলা হইয়াছে। অতিমানস হইতে ব্যক্তিচৈতন্য, চৈতন্য হইতে প্রাণ, প্রাণ হইতে অন্ন এই জ্যোতিঃ ও শক্তি লাভ করে। এই প্রক্রিয়ার ফলে নিম্নতম তত্ত্বই রূপান্তরিত হইয়া গিয়া উচ্চতম তত্ত্বের সহধর্মিতা লাভ করে। তখন জড় অণুই অধ্যাত্ম অণুতে পর্যবসিত হয়। এই জড় অণুর অধ্যাত্ম-অণুত্ব লাভের সম্ভাবনা সম্বন্ধে শ্রীঅরবিন্দ বলেন যে, জড় এবং আত্মা যদিও সৃষ্টিপ্রবাহের মধ্যে দুইটি প্রান্তকোটি, তথাপি এই উভয়ের ভিতরেই মধ্যবর্তী সকল উচ্চ ও নীচ তত্ত্বসমূহের বিবর্তন (evolution) ও উদ্ঘাতনের (involution) সম্ভাবনা নিহিত রহিয়াছে। বৈজ্ঞানিক দৃষ্টিতেও আমরা যখন বলি যে জড়বস্তু <ref follow=p302>new attainment, if in reaching the mental life we cast away or belittle the physical life which is our basis, or if we reject the mental and physical in our attraction to the spiritual, we do not fulfil God integrally nor satisfy the conditions of His self-manifestation. We do not become perfect, but only shift the field of our imperfection or at most attain a limited attitude. However high we may climb, even though it be to the Non-Being itself, we climb ill if we forget our base. Not to abandon the lower to itself, but to transfigure it in the light of the higher to which we have attained, is true divinity of nature.”—''The Life Divine''.</ref><noinclude>{{rule|8em|align=left}} {{smallrefs|85%}}</noinclude> 35878b0ks5z1htrto73whu18lloi9r3 পাতা:ভারতের শক্তি সাধনা ও শাক্ত সাহিত্য - শশিভূষণ দাশগুপ্ত (১৯৬৫).pdf/৩০৪ 104 888095 2006959 2026-11-03T01:51:25Z Hrishikes 1618 /* মুদ্রণ সংশোধন করা হয়েছে */ 2006959 proofread-page text/x-wiki <noinclude><pagequality level="3" user="Hrishikes" />{{rh|২৮৮|ভারতের শক্তি-সাধনা ও শাক্ত সাহিত্য}}</noinclude>হইতে প্রাণ বিবর্তিত হয়, অথবা প্রাণ হইতে মন বিবর্তিত হয় তখনই আমরা এ কথা স্বীকার করিয়া লই যে, জড়বস্তুর মধ্যেই প্রাণ নিহিত আছে, জড় যদি একান্ত অ-প্রাণ হইত, প্রাণ যদি একান্তই চৈতন্যধর্ম-বিবর্জিত হইত তাহা হইলে জড় হইতে প্রাণ ও প্রাণ হইতে চৈতন্যের উৎপত্তির কোন সম্ভাবনাই থাকিত না। প্রাণ যদি ‘ক’ হয়, আর জড় যদি ‘অ-ক’ হয়, তবে ন্যায়শাস্ত্রের অতি সাধারণ নিয়মেই বোঝা যায়, ‘অ-ক’ হইতে কখনও কোন ভাবেই ‘ক’-এর উৎপত্তির সম্ভাবনা নাই। সেইজন্যই এই বেদান্ত-মতকে স্বীকার করিয়া লইতেই হইবে যে জড়ের মধ্যেই প্রাণ, প্রাণের মধ্যেই মনের সম্ভাবনা নিহিত আছে; অন্যভাবে বলিতে গেলে বলিতে হয়, জড় হইল প্রাণেরই আবরণযুক্ত রূপ, প্রাণ হইল মনেরই আবরণযুক্ত রূপ। ঊর্ধ্বতত্ত্বের ভর্গ ও শক্তি আস্তে আস্তে যখন এই আবরণ নষ্ট করিয়া দিতে থাকে তখন নিম্নতত্ত্বগুলিও ক্রমান্বয় রূপান্তর লাভ করিতে থাকে। নিম্নতত্ত্বকে ঊর্ধ্বতত্ত্বে রূপান্তরিত করা শব্দের অর্থই হইল নিম্নতত্ত্বের ভিতরকার যে আবরণ ঊর্ধ্বতত্ত্বের প্রকাশে বাধা সৃষ্টি করিতেছিল সেই বাধাকে অপসারিত করিয়া দেওয়া। আমাদের মধ্যে ভগবত্তার আধান না হইবার কারণ হইল আমাদের সত্তার ভিতরকার কোষগুলির ভিতরের আবরণ; এই আবরণগুলিই আমাদের মধ্যে ভগবত্তার স্বচ্ছন্দ প্রকাশে বাধা সৃষ্টি করে। এই বাধা-সৃষ্টিকারী আবরণগুলি যতই একটি একটি করিয়া দূরীভূত হইতে থাকে ততই দিব্য জ্যোতিঃ ও শক্তি আমাদের সমগ্র সত্তায় অনুপ্রবিষ্ট হইয়া ধাপে ধাপে ছড়াইয়া পড়িতে থাকে, শেষ পর্যন্ত জীবসত্তার স্থূলতম স্তরও ভাগবতী সত্তা লাভ করে। সমস্ত সত্তাই যখন এইরূপে ভাগবতী সত্তায় রূপান্তরিত হইয়া যায় তখন মানুষই ভগবত্তা লাভ করিয়া অতিমানব বা দিব্যমানব রূপ ধারণ করে। {{gap}}এই যে সামগ্রিক পরিবর্তন ইহার জন্য প্রথমে ক্ষেত্র প্রস্তুত করিতে হয়, ইহাই হইল তন্ত্রের আধারশুদ্ধি। আধারশুদ্ধির অর্থই দেহস্থ ভূতশুদ্ধি এবং চিত্তশুদ্ধি। সমগ্র জীবনের সম্পূর্ণ রূপান্তরের জন্য এই আধারের মধ্যে যে দিব্যজ্যোতিঃ ও শক্তিকে নামাইয়া আনিতে হইবে তাহার অতি প্রখর তেজ, অতি প্রবল বেগ। কাঁচামাটির পাত্র কখনও যজ্ঞীয় সোমকে ধারণ করিতে পারে না, ফাটিয়া যায়। আমরা দেখিয়াছি, দিব্যজ্যোতিঃ ও দিব্যশক্তিই হইল শ্রীঅরবিন্দের তান্ত্রিক সোম; ভূতশুদ্ধি ও চিত্তশুদ্ধি-দ্বারা প্রথমে আধারটি বিশুদ্ধভাবে এবং দৃঢ়ভাবে প্রস্তুত করিয়া না রাখিয়া তাহার মধ্যে যদি অকালে দিব্যজ্যোতিঃ ও দিব্যশক্তিকে নামাইয়া আনা যায়, তবে সমগ্র সত্তা রূপান্তরিত হইবার পরিবর্তে অপক্ব পাত্রের ন্যায় ফাটিয়া গিয়া সর্বপ্রকার অনর্থের সৃষ্টি করিবে।<ref name=p304>“If the psychic mutation has not taken place, if there has been a pre-mature pulling down of the higher Forces, their contact may</ref><noinclude>{{rule|8em|align=left}} {{smallrefs|85%}}</noinclude> 8i88g53bozlt5vh5s0rceikvidvtvb4 পাতা:ভারতের শক্তি সাধনা ও শাক্ত সাহিত্য - শশিভূষণ দাশগুপ্ত (১৯৬৫).pdf/৩০৫ 104 888096 2006960 2026-11-03T02:17:56Z Hrishikes 1618 /* মুদ্রণ সংশোধন করা হয়েছে */ 2006960 proofread-page text/x-wiki <noinclude><pagequality level="3" user="Hrishikes" />{{rh||পরবর্তী কালের প্রসিদ্ধ শক্তি-সাধকগণের সাধনা|২৮৯}}</noinclude>{{gap}}আমাদের সত্তার প্রত্যেক স্তরে যে পর্যন্ত ভগবত্তার অবতরণ না হয় এবং আমাদের সমগ্র সত্তা যখন পর্যন্ত এইভাবে সামগ্রিক রূপান্তর লাভ না করে সেই পর্যন্তই আমরা অশুদ্ধ প্রকৃতির রাজ্যে বাস করি এবং সেই পর্যন্তই আমরা সাধারণ প্রাকৃতিক নিয়মের দ্বারাই বাধিত ও নিয়ন্ত্রিত হই। কিন্তু যেই মাত্র আমাদের সত্তার সম্পূর্ণ পরিবর্তন সাধিত হইয়া যায়, অশুদ্ধ প্রকৃতির নিয়মবিধান আর আমাদের উপরে কাজ করিতে পারে না—তখন আমরা শুধু দিব্যবিধানের দ্বারাই পরিচালিত হই। এই দিব্যবিধানগুলিই হইল ভগবৎ-ইচ্ছা; সুতরাং ভাগবতী সত্তার অধিকারী অতিমানুষ ভগবানের হাতের একটি নিখুঁত যন্ত্র হইয়া ওঠে, সেই নিখুঁত যন্ত্রের ভিতর দিয়া ভগবান্ তখন তাঁহার দিব্য সুরকে অবাধিত-ভাবে বিস্তার করিয়া দেন। এইরূপ অবস্থায় সাধক তাঁহার চৈতন্যের প্রত্যেকটি কেন্দ্রে, তাঁহার প্রাণশক্তির প্রতিটি স্পন্দনে, তাঁহার দেহের প্রতিটি জীবকোষে ভগবানের উপস্থিতি অনুভব করেন। তাঁহার নিজের ভিতরকার প্রকৃতির প্রত্যেকটি শক্তির প্রত্যেকটি কাজে তিনি পরম জগজ্জননীর কাজের—পরা প্রকৃতির কাজের ধারা অনুভব করিতে পারেন। তখন তিনি দেখিতে পাইবেন যে তাঁহার প্রাকৃত সত্তা আর কিছুই নয়, ইহা এক জগজ্জননীরই শক্তির বিকাশ এবং প্রকটিত অবস্থা মাত্র। {{gap}}“He would feel the presence of the Divine in every centre of his consciousness, in every vibration of his life-force, in every cell of his body. In all the workings of his force of Nature he would be aware of the workings of the supreme World-Mother, the Supernature; he would see his natural being as the becoming and manifestation of the power of the World-Mother.”<ref>Ibid.</ref> {{gap}}এইখানেই আমরা শ্রীঅরবিন্দের তন্ত্র-সাধনার ভিতর দিয়া তাঁহার শক্তি-সাধনার স্বরূপ বুঝিয়া লইতে পারি। শ্রীরামকৃষ্ণের সমস্ত শক্তি-সাধনার মূলকথা যেমন এই উক্তিতে—“আমার আমার করিস্ না রে নরেন, ঐ আ-টাই হ’ল উপসর্গ, আসল অর্থকে সব ঘুলিয়ে দেয়; ওটাকে ছেড়ে দিয়ে শুধু বল্—মা’র মা’র মা’র।”—শ্রীঅরবিন্দের শক্তি-সাধনার মূলকথাও হইল ঠিক ইহাই, পরা প্রকৃতি জগজ্জননীর হাতের একটি নিখুঁত যন্ত্র বনিয়া যাওয়া—সমস্ত জীবনের <ref follow=p304>be too strong for the flawed and impure material of Nature and its immediate fate may be that of the unbaked jar of the Veda which could not hold the divine ''Soma'' wine; or the descending influence may withdraw or be split up because the nature cannot contain or keep it.”—''The Life Divine''.</ref><noinclude>{{rule|8em|align=left}} {{smallrefs|85%}}</noinclude> 8yjcw1zcf6wm5d0haagc6434bho4qc7 কমলাকান্তের পত্র (১৯২৭)/বিজয়া 0 888097 2006964 2026-11-03T10:15:30Z Bodhisattwa 2549 "<pages index="কমলাকান্তের পত্র - বঙ্কিমচন্দ্র চট্টোপাধ্যায় (১৯২৭).pdf" from=13 to=15 header=1/>" দিয়ে পাতা তৈরি 2006964 wikitext text/x-wiki <pages index="কমলাকান্তের পত্র - বঙ্কিমচন্দ্র চট্টোপাধ্যায় (১৯২৭).pdf" from=13 to=15 header=1/> dkihh9ncevtl4uzirou3xfcv0rnnz6w কমলাকান্তের পত্র (১৯২৭)/স্বপ্নলব্ধ রক্ষাকবচ 0 888098 2006965 2026-11-03T10:15:52Z Bodhisattwa 2549 "<pages index="কমলাকান্তের পত্র - বঙ্কিমচন্দ্র চট্টোপাধ্যায় (১৯২৭).pdf" from=16 to=21 header=1/>" দিয়ে পাতা তৈরি 2006965 wikitext text/x-wiki <pages index="কমলাকান্তের পত্র - বঙ্কিমচন্দ্র চট্টোপাধ্যায় (১৯২৭).pdf" from=16 to=21 header=1/> bmvt1il38u3g76f7ai62hzkqswmg7xk নির্ঘণ্ট:সুইজারল্যাণ্ডের স্বাধীনতা - বিনয়কৃষ্ণ সেন (১৯২৮).pdf 102 888099 2006969 2026-11-03T10:57:23Z Bodhisattwa 2549 "" দিয়ে পাতা তৈরি 2006969 proofread-index text/x-wiki {{:MediaWiki:Proofreadpage_index_template |wikidata_item=Q141985518 |Title= |Subtitle= |Volume= |Issue= |Edition= |Author= |Foreword_Author= |Translator= |Editor= |Illustrator= |Publisher= |Address= |Printer= |Year= |Source=pdf |Image=1 |Progress=X |Pages=<pagelist /> |Volumes= |Remarks= |Notes={{BSG}} |Header= |Header_even= |Header_odd= |Footer= |Footer_even= |Footer_odd= }} gay55zvyierd151gmntj4gkta5m4srl