Extension:PopupAlerts
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> <translate> If you are interested in taking on the task of developing and maintaining this extension, [[<tvar name=request>Special:MyLanguage/Gerrit/Privilege policy#Requesting Gerrit privileges</tvar>|you can request repository ownership]].</translate> <translate> As a courtesy, you may want to contact the author.</translate> <translate> You should also remove this template and list yourself as maintaining the extension in the page's <tvar name=extension>{{Extension }}</tvar> infobox.</translate> |
PopupAlerts Release status: unmaintained |
|
---|---|
Description | Adds popup alerts to wiki pages with optionally specified expiration dates |
Author(s) | Vedmaka, Ike Hecht |
Latest version | 0.1 (March 2019) |
Compatibility policy | For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension. |
MediaWiki | 1.31+ |
Database changes | No |
License | MIT License |
Download | |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Translate the PopupAlerts extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The PopupAlerts extension allows to add popup alerts to wiki pages with an optionally specified expiration date so it can be controlled when (and if) users will see the popup again. It also has an integrated checksum-based invalidation mechanism to detect popup content change and hence reset the “already-seen” markers.
This extension was created for WikiWorks.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/PopupAlerts</tvar>|Download]] and move the extracted <tvar name=name>
PopupAlerts
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PopupAlerts - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'PopupAlerts' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Usage
{{#popupalert:some random wiki markup}}
popup will be seen once in 100 years
{{#popupalert:some random wiki markup|3600}}
popup will be seen once in one hour (3600 seconds)
Note: If you have many popups added to the page, only the first one will be taken into account. This limitation was added intentionally to prevent wiki pages from being spammed with popups.
- Pages with script errors
- Pages with broken file links
- Unmaintained extensions
- Extensions without an image
- Extensions with invalid or missing type
- Extensions with long-term support release branches compatibility policy
- Extensions with manual MediaWiki version
- MIT licensed extensions
- Extensions in Wikimedia version control
- ParserFirstCallInit extensions
- All extensions
- Popup extensions