Jump to content

ايڪسٽينشن:ماس پيغام

From mediawiki.org
This page is a translated version of the page Extension:MassMessage and the translation is 27% complete.
MediaWiki extensions manual
MassMessage
حالت جاری ڪریو: stable
Implementation Special page , API
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+, use REL1_X branches for your version of MediaWiki
License GNU General Public License 2.0 or later
Download
  • $wgNamespacesToConvert
  • $wgMassMessageAccountUsername
  • $wgNamespacesToPostIn
  • $wgAllowlistedMassMessageTargets
  • $wgAllowGlobalMessaging
  • $wgMassMessageWikiAliases
  • massmessage
Quarterly downloads 55 (Ranked 78th)
Public wikis using 1,039 (Ranked 257th)
Translate the MassMessage extension if it is available at translatewiki.net
Vagrant role massmessage
Issues Open tasks · Report a bug

The MassMessage extension allows a user to send a message to a list of pages via special page Special:MassMessage. For help on how to use the extension, see Help:Extension:MassMessage . The API documentation can be found at 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 Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

ٻاهرين صورت پيرا ميٽر- مقدار پيما

نيم اسپيس ٽپال ڏانهن ندر

When posting messages, only post them in the specified namespaces. All talk namespaces are already whitelisted.

$wgNamespacesToPostIn = [ NS_PROJECT ];
نيم اسپيس (نالو فضا) تبديل ڪرڻ

If you want users to be able to provide a link to a User: page, but have the bot post on their User talk: page you can define that here.

$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';
Enable global messaging

:

Whether to enable sending messages from one wiki to another. If running on a wikifarm setup like Wikimedia, you can disable this on all wikis except one to keep the logs in one place.

$wgAllowGlobalMessaging = true;

Maintenance script

You can send messages from the command line with

php sendMessages.php --pagelist <page list file> --subject <subject file> --message <message file>

where each line of <page list file> contains a page name followed by a wiki (database) name, separated by a tab.

يوزر حق

  • massmessage - Lets a user send out messages. By default assigned to the "sysop" user group.

نوٽس

Extensions which integrate with this one: Echo, LiquidThreads.

Interface

This extension is visible in three places:

See also