Extension:News2
From MediaWiki.org
|
News Release status: beta |
|||
|---|---|---|---|
| Implementation | Tag | ||
| Description | The News extension allows to show the latest articles of a specific category, default is News. | ||
| Author(s) | Erich | ||
| MediaWiki | 1.15 | ||
| License | GPL | ||
| Download | http://www.erichsteiger.com/images/4/40/News_0.0.2.tar.gz | ||
| Example | http://www.erichsteiger.com | ||
|
|||
| Check usage and version matrix; stats | |||
The News extension allows to show the latest articles of a specific category, default is News.
Installing[edit]
- Download the News_0.0.2.tar.gz and unpack it in your mediawiki extensions subfolder
- Then add the following line to your LocalSettings.php file (near the end):
require_once( "$IP/extensions/News/News.php" );
Usage[edit]
- <news>
- this includes a list of elements from the category "News". The last added entry comes first
- <news rows="5">
- limits the list to 5 elements. This means the last 5 News entries will be shown
- <news title="FooBar">
- shows the title "FooBar" on top
- <news category="FooBar">
- shows elements from Category "FooBar". Default is "News"
