Extension:NewsTicker
A request to archive this extension has been made on Phabricator. See <translate> task <tvar name=1>T353928</tvar></translate> for the archival request and the rationale for the request, and to leave comments about the request. |
This extension is incompatible with MediaWiki 1.35 or any later release! You are advised against using this extension on a live site. Volunteer developers are invited to pledge their efforts to updating this extension to make it compatible with MediaWiki 1.41 by replacing the {{Incompatible }} template with {{Incompatible |version=1.35|pledge=~~~~}} . |
<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> |
NewsTicker Release status: unmaintained |
|
---|---|
File:SpecialNewsTicker.png | |
Implementation | Special page , Variable |
Description | Adds a magic word that shows a news ticker that can be configured from a special page. |
Author(s) | Martin Keyler Sophivorus |
Latest version | 1.3 (2019-03-14) |
MediaWiki | 1.32.x - 1.34.x only |
PHP | 7.0+ |
License | GNU General Public License 3.0 or later |
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 NewsTicker extension if it is available at translatewiki.net |
The NewsTicker extension adds a magic word {{NEWSTICKER}}
to insert news tickers into wiki pages. The style and content of the news tickers, as well as the allowed pages where it can be displayed, are configured from a special page at Special:NewsTicker.
To use the special page, the "newsticker" right is needed, which is granted to all admins by default.
The data set through the special page is saved as JSON at MediaWiki:News.json, so no database changes are required.
Installation
- <translate> [[<tvar name=2>Special:ExtensionDistributor/NewsTicker</tvar>|Download]] and move the extracted <tvar name=name>
NewsTicker
</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/NewsTicker - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'NewsTicker' );
- 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
To use this extension, you need the 'newsticker' permission, that by default is granted only to admins. To give the permission to other user groups, add the following to your LocalSettings.php
$wgGroupPermissions['user']['newsticker'] = true;
Go to Special:NewsTicker and set the news you want to show on each page. Then go to each page and add the {{NEWSTICKER}}
magic word in the precise location where you want to display the news ticker.
The default style of the news ticker is ultra minimalist, but can be easily changed from Special:NewsTicker and/or MediaWiki:Common.css
- Pages with script errors
- Pages with broken file links
- Extensions incompatible with 1.35
- Unmaintained extensions
- Special page extensions
- Variable extensions
- Extensions without a compatibility policy
- Extensions with manual MediaWiki version
- GPL licensed extensions
- Extensions in Wikimedia version control
- BeforePageDisplay extensions
- MagicWordwgVariableIDs extensions
- ParserGetVariableValueSwitch extensions
- All extensions