امتداد:تعديل_المشابه

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:EditSimilar and the translation is 100% complete.
Other languages:
English • ‎Türkçe • ‎العربية • ‎日本語
الدليل المرجعي لامتدادات ميدياويكي
OOjs UI icon advanced.svg
EditSimilar
حالة الإصدار مستقر
تنفيذ إشعار
بيان يحث المستخدمين على تعديل المقالات المشابهة (حسب التصنيف) للمقالة التي عدلها المستخدم لتوه.
المؤلف/المؤلفون Bartek Łapiński and Łukasz 'TOR' Garczewski
آخر إصدار 1.23 (2014-10-03)
MediaWiki 1.23+
ترخيص رخصة جنو العمومية 2.0 أو ما بعدها
التنزيل
  • $wgEditSimilarCounterValue
  • $wgEditSimilarMaxResultsToDisplay
  • $wgEditSimilarMaxResultsPool
ترجم الامتداد EditSimilar لو كان متوفرا على translatewiki.net

طالع مصفوفة الاستخدام والإصدارات.

EditSimilar is an extension that suggests similar articles that need attention upon save. It was originally written by Bartek Łapiński and Łukasz Garczewski for Fandom.

It finds and suggests another article that may need attention or improvement when a user saves an edit. It is designed to help users decide what to do next, and boost the number of edits on a wiki.

The suggestions are only displayed when saving in the main (article) namespace, and will not show up on talk pages, project pages and other namespaces.

By default, the message is set to appear after every five qualifying article edits. The frequency of messages can be adjusted by a global variable (see the Configuration section below).

المتطلبات

The following requirements must be satisfied for the EditSimilar extension to work.

  • MediaWiki 1.23 or newer

الرخصة

The extension is available under the GNU General Public License 2.0 or later.

The software is provided as-is. Updates will be made according to where critical vulnerabilities are discovered.

التثبيت

  • نزّل الملف/الملفات وضعها في دليل يحمل اسم ‎EditSimilar داخل مجلد ‎extensions/‎ لديك.
  • أضف الكود التالي في الجزء الأسفل من LocalSettings.php:
    require_once "$IP/extensions/EditSimilar/EditSimilar.php";
    
  • You also have to perform some basic setup. Edit the MediaWiki:EditSimilar-Categories article and populate it with category names you designate as "stubs". For example:
* Stub Category 1
* Stub Category 2
* Stub Category 3 

Those will be needed to determine relevant or suggested articles.

  • Yes تم التنفيذ – اذهب إلى Special:Version على موقع الويكي لديك كي تتحقق من أن الامتداد قد ثبت بنجاح.

الإعداد

Apart from editing MediaWiki:EditSimilar-Categories page, you can set additional parameters:

  • $wgEditSimilarMaxResultsPool - this is the maximum pool of results to choose randomly from (defaults to 50)
  • $wgEditSimilarMaxResultsToDisplay - this is the maximum number of chosen results to display (defaults to 3)
  • $wgEditSimilarCounterValue - this specifies per which number of edits show the results' message (defaults to 1, which means that every time results are found the message is shown)
  • $wgEditSimilarAlwaysShowThanks - whether to thank for an edit even on no results (unset by default, set to true if you want to have that)