Jump to content

افزونه:WikiEditor

From mediawiki.org
This page is a translated version of the page Extension:WikiEditor and the translation is 50% complete.
راهنمای افزونهٔ مدیاویکی
WikiEditor
وضعیت انتشار: پایدار
توضیحات یک رابط ویرایش ویکی‌متن قابل گسترش و بسیاری از ماژول های ارائه دهنده ویژگی ها را فراهم می کند
نویسنده(گان)
آخرین نسخه: به‌روزرسانی‌های پیوسته
MediaWiki >= 1.47.0
  • $wgWikiEditorRealtimePreviewDebounce
  • $wgWikiEditorRealtimePreview
  • $wgWikiEditorRealtimeDisableDuration
Licence پروانۀ همگانی گنو ۲٫۰ یا بعدتر
بارگیری
README
نمونه: ویکی‌پدیای تست
Translate the WikiEditor extension if it is available at translatewiki.net
Issues Open tasks · گزارش یک مشکل

افزونهٔ WikiEditor یک رابط بهبود یافته (عمدتاً یک نوار ابزار) برای ویرایش ویکی‌متن ارائه می‌دهد. این رابط ویرایش ویکی‌متن است که ویکی‌پدیا در سال ۲۰۱۰ استفاده از آن را برای کاربران دسکتاپ آغاز کرد، و به همین دلیل گاهی اوقات به آن ویرایشگر ویکی‌متن ۲۰۱۰ می‌گویند.

نصب‌کردن

This extension comes with MediaWiki 1.18 and later, so you do not need to download it. The remaining configuration instructions must still be followed.
  • Download and move the extracted WikiEditor folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
    
  • کد زیر را در انتهای $LocalSettings خودتان اضافه کنید:
    wfLoadExtension( 'WikiEditor' );
    
  • Yes انجام شد – به Special:Version در ویکی خودتان بروید تا مطئمن شوید که افزونه با موفقیت نصب شده است.

در برخی شرایط، ممکن است ویکی‌ادیتور پس از نصب در مرورگر شما نمایش داده نشود. پاک کردن کش مرورگر مشکل رو حل ميکنه.

Note for IIS setup: By default, IIS doesn't understand .svg files. WikiEditor uses them to represent the icons. To fix this, you have to add the MIME type.

پیکربندی

فعال/غیرفعال کردن نوار ابزار

No configuration is needed "out of the box". By default, when installed, this extension will be available to all users, and logged-in users can disable it from their preferences via the نوارابزار ویرایش فعال شود: گاهی از این ویژگی به عنوان «ویرایشگر ویکی‌متن ۲۰۱۰» یاد می‌شود. option (under the ویرایش tab).

If you wish all users to have it, and be unable to disable it, add it to $wgHiddenPrefs in your LocalSettings.php file:

$wgHiddenPrefs[] = 'usebetatoolbar';
نسخهٔ مدیاویکی:
1.31

If you are using a version before REL1_31 and would want the toolbar to be default for users when they first join, add this line to your LocalSettings.php:

$wgDefaultUserOptions['usebetatoolbar'] = 1;

پیش‌نمایش بلادرنگ

This configuration parameter defaults to true starting with version 1.41.0 of MediaWiki.
نسخهٔ مدیاویکی:
1.41

Realtime Preview is enabled by default. Disable the Realtime Preview feature with the following:

$wgWikiEditorRealtimePreview = false;
MediaWiki versions:
1.39 – 1.40

Enable the Realtime Preview feature with the following:

$wgWikiEditorRealtimePreview = true;

دکمهٔ امضا

The button for adding user signatures (four tildes) is available on talk pages and in namespaces specified in $wgExtraSignatureNamespaces .

همچنین ببینید

  • RefToolbar 2.0, on-wiki JavaScript that adds Cite template tools to WikiEditor's UI.