Extension:EditNotify/bn
মুক্তির অবস্থা: স্থিতিশীল |
|
|---|---|
| বাস্তবায়ন | প্রজ্ঞাপ্তি |
| বিবরণ | Extension for page creation/editing notifications |
| লেখক(গণ) | Abhinand and Yaron Koren |
| সর্বশেষ সংস্করণ | 1.1.2 (মে, ২০২৬) |
| সামঞ্জস্য নীতি | Master maintains backward compatibility. |
| MediaWiki | >= 1.36.0 |
|
|
| Licence | এমআইটি লাইসেন্স |
| ডাউনলোড | |
| ট্রানশলেটউইকি.নেট-এ উপলভ্য থাকলে EditNotify বর্ধনাংশটি অনুবাদ করুন | |
| Issues | উন্মুক্ত কাজ · বাগ প্রতিবেদন |
EditNotify is an extension to MediaWiki that allows users to receive notifications while creating and editing a page. The extension uses the Echo extension to notify users.
Features
The extension allows registered users to get notified for:
- নতুন পৃষ্ঠা তৈরি করা
- বিদ্যমান পৃষ্ঠাগুলিতে কোনো সম্পাদনা
- একটি নির্দিষ্ট টেমপ্লেট ক্ষেত্রের পরিবর্তন
- একটি নির্দিষ্ট টেমপ্লেট ক্ষেত্রকে একটি নির্দিষ্ট টেমপ্লেটে পরিবর্তন করা।
উপরে তালিকাভুক্ত যে কোনও ইভেন্টের জন্য সাবস্ক্রাইব করা সমস্ত ব্যবহারকারীকে একটি সাধারণ সতর্কতা বার্তা (ইকো বিজ্ঞপ্তি এবং একটি ইমেল) দিয়ে অবহিত করা হবে। পৃষ্ঠাগুলির সম্ভাব্য সেট যার জন্য ব্যবহারকারীরা বিজ্ঞপ্তি পাওয়ার জন্য বেছে নিতে পারেন:
- All pages - keep track of changes or creation of all pages
- All pages in one or more namespaces
- All pages in one or more categories
Installation
- Install the Echo extension required for this extension to work.
- Download the code via Git or zip file করুন এবং আপনার
extensions/ফোল্ডারেরEditNotifyনামক ডিরেক্টরিতে ফাইল(গুলি) নিন। - আপনার LocalSettings.php-এর নিচের অংশে নিম্নলিখিত কোড যোগ করুন:
wfLoadExtension( 'EditNotify' );
- Configure as required.
করা হয়েছে – এক্সটেনশনটি সফলভাবে ইনস্টল করা হয়েছে কিনা তা যাচাই করতে আপনার উইকির Special:Version-এ যান।
Configuration
- The array
$wgEditNotifyAlertsshould be added to your "LocalSettings.php", and usernames can be added to each sub-array within it to get that set of users notified of the respective events. - Template field names, or template field name/value pairs, can be added if you wish to track those changes. Namespaces or categories to be tracked can also be added to the respective 'namespace' or 'category' keys in the array.
- If a user wishes to receive a notification on all pages, then the category and namespace keys can be omitted.
$wgEditNotifyAlerts = [
[
'action' => 'create',
'users' => [ 'user1', 'user2' ]
],
[
'action' => 'edit',
'namespace' => 'namespace name',
'users' => [ 'user2' ]
],
[
'action' => 'edit',
'namespace' => 'namespace name',
'category' => 'category name',
'users' => [ 'user1' ]
],
[
'action' => 'edit',
'namespace' => 'namespace name',
'category' => 'category name',
'template' => 'template name',
'templateField' => 'field name',
'users' => [ 'user1', 'user2' ]
],
[
'action' => 'edit',
'namespace' => 'namespace name',
'category' => 'category name',
'template' => 'template name',
'templateField' => 'field name',
'templateFieldValue' => 'field value',
'users' => [ 'user1', 'user2' ]
],
...
];

Examples
Users can be notified of create and edit events for all pages. In the example below, Joe will be notified if any page is created or edited.
[
'action' => [ 'create', 'edit' ],
'users' => [ 'Joe' ]
],
Say, if users David and Ram have to get notified when a page is created, the user John has to get notified when a non-template page in the 'User' namespace is edited, and Charles has to track the edit event in 'Uniwiki' category, then the array would look something like:
$wgEditNotifyAlerts = [
[
'action' => 'create',
'users' => [ 'David', 'Ram' ]
],
[
'action' => 'edit',
'namespace' => 'User',
'users' => [ 'John' ]
],
[
'action' => 'edit',
'category' => 'Uniwiki',
'users' => [ 'Charles' ]
],
....
];
George and Ann will be notified of the change in template value if the field value of 'full name' changes in the template 'User info' in the 'User' and 'Talk' namespaces. Mia will be notified of the change in the field value of 'full name' in the template 'User info' on any page.
....
[
'action' => 'edit',
'namespace' => [ 'User', 'Talk' ],
'template' => 'User info',
'templateField' => 'full name',
'users' => [ 'George', 'Ann' ]
],
[
'action' => 'edit',
'template' => 'User info',
'templateField' => 'full name',
'users' => [ 'Mia' ]
],
...
If a page in the 'User' namespace includes a template called 'User info' with a field called 'full name' whose value changes to 'Albert Albertson', Brennan will be notified of this event.
[
'action' => 'edit',
'namespace' => 'User',
'template' => 'User info',
'templateField' => 'full name',
'templateFieldValue' => 'Albert Albertson',
'users' => [ 'Brennan' ]
],
...
As expected, you can add as many arrays to $wgEditNotifyAlerts as you want to handle additional events.
Version history
- 1.0.0 - August 22, 2016 - Initial version
- 1.1 - February 21, 2024 - Removed support for MW < 1.36; many coding improvements and bug fixes
- 1.1.1 - April 15, 2025 - Improved support for MW 1.37+
- 1.1.2 - May 27, 2026 - Improved support for MW 1.45+; coding improvements
See also
| This extension is included in the following wiki farms/hosts and/or packages: |
