Extension:CopyWatchers
CopyWatchers Release status: experimental |
|
---|---|
Implementation | Parser function |
Description | Allows editors to copy watchers from other pages using the parser function #copywatchers |
Author(s) | James Montalvo (Jamesmontalvo3talk) |
Latest version | 0.1.0 (2013-05-16) |
MediaWiki | |
Database changes | Yes |
License | GNU General Public License 3.0 or later |
Download | Download snapshot Note: README |
The CopyWatchers extension allows editors to copy watchers from other pages using the parser function #copywatchers. The author's intention for this parser function is to use with meeting notes pages in his work environment. Notetakers will be able to list related articles, and copy in the watchers of those articles. The meeting notes will thereby be watched by all parties who care about them.
Installation
[edit]Download the files from GitHub, put them in your MediaWiki extensions folder, then include this line in your LocalSettings.php file:
wfLoadExtension("CopyWatchers")
Usage
[edit]Include the following in any page to copy watchers from other pages into the page being edited:
{{#copywatchers: My Page, My Other Page, A Third Page }}
Pages should be separated by commas. At this point I have not put in any handling for pages that include commas, so I doubt they will work for now. This parser function has no output by default, but if you would like to see what pages are being referenced and how many watchers they have, do the following:
{{#copywatchers: My Page, My Other Page, A Third Page | true }}