Extension:Interwiki/bn

This page is a translated version of the page Extension:Interwiki and the translation is 87% complete.
এই এক্সটেনশনটি মিডিয়াউইকি 1.21 ও তার উপরের সংস্করণের সাথে আসে। তাই আপনাকে এটি আবার ডাউনলোড করতে হবে না। তবে, আপনাকে এখনও অন্যান্য প্রদত্ত নির্দেশাবলী অনুসরণ করতে হবে।
মিডিয়াউইকি এক্সটেনশন ম্যানুয়াল
Interwiki
মুক্তির অবস্থা: স্থিতিশীল
বাস্তবায়ন বিশেষ পৃষ্ঠা
বিবরণ আন্তঃউইকি সারণি দেখতে এবং পরিচালনা করার জন্য একটি বিশেষ পাতা যোগ করে
লেখক(গণ) Stephanie Amanda Stevens, SPQRobin
সর্বশেষ সংস্করণ 3.2 (2019-07-15)
MediaWiki 1.36+
ডাটাবেজ পরিবর্তন না
লাইসেন্স গ্নু জেনারেল পাবলিক লাইসেন্স ২.০ অথবা পরবর্তী
ডাউনলোড
উদাহরণ Extension:Interwiki/Sites using this extension দেখুন
  • $wgInterwikiViewOnly
  • InterwikiCentralDB
interwiki
Quarterly downloads 145 (Ranked 74th)
Public wikis using 5,141 (Ranked 161st)
Translate the Interwiki extension if it is available at translatewiki.net
Issues Open tasks · বাগ প্রতিবেদন

Interwiki এক্সটেনশন "Special:Interwiki" পৃষ্ঠাটিকে MediaWiki -তে যোগ করে, interwiki টেবিল দেখতে ও সম্পাদনা করতে, এবং এটির সাথে করা যেকোনো কর্মের লগ।

এই এক্সটেনশনটি $wgInterwikiCache ভেরিয়েবলের সাথে কাজ করে। আন্তঃউইকি টেবিলে এটির সাথে করা পরিবর্তনগুলি transclusion এবং interwiki links উভয়ের আচরণকে প্রভাবিত করতে পারে।

"বিশেষ:ইন্টারউইকি"-এর তালিকাটি API api.php?action=query&meta =siteinfo&siprop=interwikimap-এর অনুরূপ, iw_api ক্ষেত্রটি ছাড়া আর উপলব্ধ নেই।

ডাউনলোড

The extension can be retrieved directly from Git [?]:

  • Browse code
  • Some extensions have tags for stable releases.
  • Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).

Extract the snapshot and place it in the extensions/Interwiki/ directory of your MediaWiki installation.

If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows:

cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki.git

ইনস্টল করা

  • ডাউনলোড করুন এবং আপনার extensions/ ফোল্ডারের Interwiki নামক ডিরেক্টরিতে ফাইল(গুলি) নিন।
  • আপনার LocalSettings.php -এর নিচের অংশে নিম্নলিখিত কোড যোগ করুন:
    wfLoadExtension( 'Interwiki' );
    // আন্তঃউইকি ডেটা সম্পাদনা করার জন্য প্রশাসক-কে অনুমতি দেওয়ার জন্য
    $wgGroupPermissions['sysop']['interwiki'] = true;
    
    // একটি নতুন ব্যবহারকারী গোষ্ঠী তৈরি করতে যা আন্তঃউইকি ডেটা সম্পাদনা করতে পারে
    // (আমলারা এই গ্রুপে ব্যবহারকারীদের যোগ করতে পারেন)
    # $wgGroupPermissions['developer']['interwiki'] = true; // মন্তব্য নির্দেশক মুছুন # উপযুক্ত হিসাবে
    
  •   করা হয়েছে – এক্সটেনশনটি সফলভাবে ইনস্টল করা হয়েছে কিনা তা যাচাই করতে আপনার উইকির Special:Version-এ যান।
  • মিডিয়াউইকির সাথে আসা কনফিগারেশন কোনো ব্যবহারকারী গ্রুপকে অনুমতি দেবে না। সুতরাং, আপনাকে নিজেই কনফিগারেশন যোগ করতে হবে বা কেউ ইন্টারউইকি সম্পাদনা করতে সক্ষম হবে না।
  • অন্যান্য সাইট থেকে ট্রান্সক্লুশন সক্ষম করতে, আপনাকে $wgEnableScaryTranscluding সক্ষম করতে হবে।
  • To disable adding prefixes through the Special:Interwiki interface, set $wgInterwikiViewOnly to true.
This extension's entry in the list of Special pages is not the name of the extension. তালিকার এন্ট্রিকে SpecialInterwiki.i18n.php-তে প্রতি লোকেলে সংজ্ঞায়িত interwiki বার্তা আইটেম দ্বারা সংজ্ঞায়িত করা হয়। এর মূল্য আন্তঃউইকি তথ্য দেখুন ও সম্পাদনা করুন

আন্তঃভাষা লিঙ্ক সেট আপ করা

To set up interlanguage links using this extension, make sure that $wgInterwikiMagic is set to true and $wgHideInterlanguageLinks is set to false (they are like this by default, you don't need to change them usually). Then go to Special:Interwiki as a user with the appropriate permissions. For example, if the French version of your wiki was located at http://fr.foowiki.tld/wiki/, you could add http://fr.foowiki.tld/wiki/$1 to the interwiki table with values trans 0 and local 0. Then the interlanguage link to the French version would work, but a #REDIRECT to a French-language page from a page in some other language would be refused.

See Manual:Interwiki table for a full explanation of the forward (iw_local) and transclude (iw_trans) bits.

In brief:

  • Enabling forwarding ('local' true) is normally done between all languages and projects in the same group, as it allows a link to any one of the languages to be used as a gateway to the others. The English-language Wikipedia, for instance, sets the 'local' bit true for all of the other-language Wikipedias and for projects like commons:, wikinews: or wikivoyage:. A user on a wiki outside Wikipedia where the wikipedia: interwiki prefix points to en.wikipedia.org could create a link like wikipedia:fr:Encyclopédie. That link goes initially to "fr:Encyclopédie" on the English-language Wikipedia. The en.wikipedia server immediately recognises fr: as a 'local' interwiki link, so replies with a redirect to la Wikipédia where fr.wikipedia.org/wiki/Encyclopédie displays the requested French-language Wikipédia page [[Encyclopédie]] et voilà.
  • Enabling transclusion is rarely done, as it allows an article on one wiki to use templates from some other wiki. This is referred to as 'scary transclusion' as it will cause problems if the other wiki changes the template unexpectedly. A few wiki farms use this to create one 'central wiki' with various templates which are made available to other wikis in the same farm. If you don't need this, don't enable it.

বৈশ্বিক আন্তঃভাষা

Since version 3, Interwiki supports defining a global/central database and pulling defined interwikis from there as well as from the local table. This functions essentially as a table merge, with local interwiki definitions overriding central. Language links are not pulled from the central table; these are set up as local-only due to a central table likely serving more than one project (with each having its own languages).

The central table is the interwiki table of the central wiki. This means that as far as the central wiki is concerned, it is basically just a normal non-global setup. There are therefore no special rights associated with the central (global) table, though it is likely you may want to be more picky about how you assign the 'interwiki' edit right on this wiki.

  • This was decided by looking at current possible use cases (ShoutWiki's hub, Uncyclomedia's central wiki, and Meta-Wiki) where the central wiki isn't going to have anything extra anyway.
  • This might change in the future, but anything more intelligent will require schema updates.
  • This probably doesn't work with table prefixes because of how the table is accessed.

To set up a central interwiki table, simply provide the name of the database of the wiki you want to use:

// To enable pulling global interwikis from a central database
$wgInterwikiCentralDB = 'mw_central';

Replace 'mw_central' with the name of the database.

For those using table prefixes here is an alternative solution for "pool_example_wiki" tables.

$wgSharedDB = 'example_wiki'; # The $wgDBname for the wiki database holding the main interwiki table
$wgSharedPrefix = 'pool_'; # The $wgDBprefix for the database. Defaults to the prefix of the current wiki if not specified
$wgSharedTables = ['interwiki'];

প্রোটোকল-সম্পর্কিত URLs

You can use protocol-relative URLs (PRURLs), so that users accessing your wiki over either HTTP or HTTPS can uses that same protocol to access interwiki links. To use a PRURL, first ensure the destination server supports HTTPS; if it does, then simply remove the https: portion of the URL in the link table. For example, change

https://en.wikipedia.org/wiki/$1

to:

//en.wikipedia.org/wiki/$1