Extension:MassMessage/he

Category:GPL licensed extensions/he
מדריך להרחבות מדיה-ויקי
MassMessage
סטטוס שחרור: גרסה יציבהCategory:Stable extensions/he
יישום Special page Category:Special page extensions/he, ממשק API Category:API extensions/he
Description מאפשר למשתמש לשלוח בקלות הודעה לרשימה של משתמשים.
Author(s) Kunal Mehta, wctaiwan
Latest version 0.5.0 (2023-01-08)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.25+, השתמש ב REL1_X ענפים עבור גרסתך של MediaWikiCategory:Extensions with manual MediaWiki version/he
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control/he
  • $wgNamespacesToConvert
  • $wgMassMessageAccountUsername
  • $wgNamespacesToPostIn
  • $wgAllowlistedMassMessageTargets
  • $wgAllowGlobalMessaging
  • $wgMassMessageWikiAliases
  • massmessage
Translate the MassMessage extension if it is available at translatewiki.net
Vagrant role massmessage
Issues Open tasks · Report a bug
Category:All extensions/he

הרחבה MassMessage מאפשרת למשתמש לשלוח הודעה לרשימה של דפים באמצעות דף מיוחד Special:MassMessage. לקבלת עזרה כיצד להשתמש בהרחבה, ראה Help:Extension:MassMessage. המסמכים של האפי"י ניתן למצוא ב Extension:MassMessage/API.

התקנה

  • Download and move the extracted MassMessage 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/MassMessage
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'MassMessage' );
    
  • Yes בוצע – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

פרמטרי אילוץ

חלקי שמות להפרסם

כאשר מפרסמים הודעות, רק לפרסם אותם במקומות שמות מוגדרים. כל חללי שמות דיבורים כבר רשומים ברשימת הלבנים.

$wgNamespacesToPostIn = [ NS_PROJECT ];
חלקי שמות כדי להפוך

אם אתה רוצה שהמשתמשים יוכלו לספק קישור למשתמש: דף, אבל יש את הפוסט של הבוט בדף השיחה של המשתמש: אתה יכול להגדיר את זה כאן.

$wgNamespacesToConvert = [ NS_USER => NS_USER_TALK ];

שם משתמש: What username the bot should post with. By default, this is "MediaWiki message delivery". If the user already exists, the extension will take over the account. It will be impossible for users to rename the account. You can override the default account name by specifying (for example):

$wgMassMessageAccountUsername = 'MessengerBot';

• אפשרות של הודעות גלובליות: האם אפשר לשלוח הודעות מוויקי אחד לשני. אם אתה פועל על ייצור wikifarm כמו וויקימדיה, אתה יכול לחתום את זה על כל וויקיים חוץ אחד כדי לשמור את היומן במקום אחד.

$wgAllowGlobalMessaging = true;

תסריטי תחזוקה

אתה יכול לשלוח הודעות מהשורה של הפקודה

php sendMessages.php --pagelist <קבוצה של רשימת הדפים> --subject <תיק הנושא> --message <קבוצה של הודעות>

כאשר כל שורה של קבוצת רשימת הדפים מכילה שם דף, בעקבותיו שם וויקי (בסיס נתונים), נפרד על ידי קישור.

זכויות המשתמש

  • massmessage - מאפשר למשתמש לשלוח הודעות. כדוגמא מיועדת לקבוצה של משתמשים "סייסופ".

הערות

Extensions which integrate with this one: Echo, LiquidThreads.

ממשק

הרחבה הזו נראית בשלוש מקומות:

ראו גם

Category:Extensions used on Wikimedia/he#MassMessage/he Category:Notification extensions/he Category:ContentHandler extensions/he Category:Extensions with StructuredDiscussions support/he
Category:APIQuerySiteInfoStatisticsInfo extensions/he Category:API extensions/he Category:All extensions/he Category:BeforeEchoEventInsert extensions/he Category:BeforePageDisplay extensions/he Category:ChangeTagsListActive extensions/he Category:ContentHandler extensions/he Category:Extensions in Wikimedia version control/he Category:Extensions included in Canasta/he Category:Extensions included in Miraheze/he Category:Extensions included in WikiForge/he Category:Extensions used on Wikimedia/he Category:Extensions with StructuredDiscussions support/he Category:Extensions with manual MediaWiki version/he Category:GPL licensed extensions/he Category:ListDefinedTags extensions/he Category:Notification extensions/he Category:ParserFirstCallInit extensions/he Category:RejectParserCacheValue extensions/he Category:SkinTemplateNavigation::Universal extensions/he Category:Special page extensions/he Category:Stable extensions/he Category:UserGetReservedNames extensions/he