Extension:MassMessage/he
הרחבה MassMessage מאפשרת למשתמש לשלוח הודעה לרשימה של דפים באמצעות דף מיוחד Special:MassMessage. לקבלת עזרה כיצד להשתמש בהרחבה, ראה Help:Extension:MassMessage . המסמכים של האפי"י ניתן למצוא ב Extension:MassMessage/API .
התקנה
- Download and move the extracted
MassMessage
folder to yourextensions/
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' );
בוצע – 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.
ממשק
הרחבה הזו נראית בשלוש מקומות:
- Special:CreateMassMessageList, כדי ליצור רשימות משלוח.
- דפים ויקי עם מודל תוכן של
MassMessageListContent
, המייצגים רשימות משלוח. אלה מוגדרים באופן אוטומטי תחת Category:MassMessage delivery lists . - Special:MassMessage, כדי לשלוח הודעה לרשימה של משלוח.
ראו גם
- Extension:MassMessageEmail - דואר אלקטרוני למשתמשים במקום לפרסם בדפים לשיחה שלהם.
![]() | This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
![]() | This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |