Jump to content

הרחבה:תגובות בדפי שיחה

From mediawiki.org
This page is a translated version of the page Extension:DiscussionTools and the translation is 24% complete.
Outdated translations are marked like this.
מדריך להרחבות מדיה-ויקי
DiscussionTools
סטטוס שחרור: גרסה יציבה
יישום User interface
Description כלי לשיפור דיון
Author(s) ויקימדיה צוות עריכה
Latest version עדכונים שוטפים
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
Database changes Yes
  • $wgDiscussionToolsReplyIndentation
  • $wgDiscussionToolsBeta
  • $wgDiscussionToolsTimestampFormatSwitchTime
  • $wgDiscussionToolsConflictingGadgetName
  • $wgDiscussionToolsShowFeedbackLinks
  • $wgDiscussionToolsTalkPageParserCacheExpiry
  • $wgDiscussionTools_visualenhancements_reply_icon_languages
Licence MIT License
Download
Help Help:DiscussionTools
Translate the DiscussionTools extension
Issues Open tasks · Report a bug

הרחבה DiscussionTools היא קבוצה של כלים לשיפור דפים לדיון. Template:נכון להיום, הוא נבנה על ידי ה צוות עריכה כחלק מה פרויקט דפי שיחה .

מסמכים של המשתמש הם ב Help:DiscussionTools .

ניתן להנטרל כמה תכונות בדפים וקטעים בודדים כפי שמתואר ב Help:DiscussionTools/Magic words and markup .

תכונות

תלות

Optional dependencies

התקנה

הרחבה זו כלולה במדיה־ויקי 1.40 ומעלה, ולכן אין צורך להוריד אותה. עדיין יש לפעול לפי שאר הוראות ההגדרה.
  • התקנת התלויות.
  • Download and move the extracted DiscussionTools 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/DiscussionTools
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'DiscussionTools' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Also in LocalSettings.php, ensure that you have a timezone set and $wgFragmentMode set to [ 'html5' ] or [ 'html5', 'legacy' ].
  • Configure as required.
  • Yes בוצע – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

Setting name

$wgDiscussionTools +

Default value Description
Beta false Make any configurable sub-features marked as 'default' part of a beta feature . See HookUtils::CONFIGS.
_visualenhancements 'default' Override availability of DiscussionTools visual enhancements.
Possible values:
'default', 'available', 'unavailable'
_visualenhancements_reply_icon_languages
[
  'ar' => true,
  'zh' => true,
  'yue' => true,
  'ja' => true,
  'nod' => true,
]
A dictionary of language codes which will receive an icon in their enhanced reply-button treatment, due to translation being very short. (T323537) Language fallbacks will be checked unless a language is explicitly set to false. (T352289) Normalized language codes are lower case.
TalkPageParserCacheExpiry 0 Override $wgParserCacheExpireTime for discussion pages, regardless of DiscussionTools enablement.
ReplyIndentation 'invisible' Reply indentation syntax to use: 'invisible' (use <dl><dd> tags to output : in wikitext) or 'bullet' (use <ul><li> tags to output * in wikitext).
ShowFeedbackLinks false MW 1.40+ Show "לשתף איתנו משוב על התכונה הזאת" links in the footer of reply tool and new topic tool.
TimestampFormatSwitchTime '2022-07-12' Date on which the internal timestamp format has changed (T304595), in ISO 8601 format.
ConflictingGadgetName 'convenientDiscussions' Internal name of the Convenient Discussions gadget, which conflicts with the reply tool. Reply tool will be unavailable when the user has this gadget enabled.

API

Editing

Action Description Internal?
discussiontoolscompare קבלת מידע על שינויי תגובות בין שתי גרסאות דף. Yes
discussiontoolsedit שליחת הודעה בדף שיחה. N
discussiontoolsfindcomment מציאת תגובה לפי המזהה או השם שלה. N
discussiontoolspageinfo מחזירה מטא־נתונים דרושים כדי לאתחל את כלי השיחה. N
discussiontoolspreview תצוגה מקדימה של הודעה בדף שיחה. Yes

Subscriptions

Action Description Internal?
discussiontoolsgetsubscriptions קבלת מצב המעקב של הנושאים הנתונים. N
discussiontoolssubscribe להירשם (או לבטל רישום) לקבלת התראות על נושא N

Special pages

Integration with other extensions

DiscussionTools can integrate with PlaceNewSection to put the location of where added new topics will begin to be placed.

It can also integrate with AutoModerator to enable community-configured reversion of Machine Language-scored bad edits.

See also