Mobile app version of vmapp.org
Login or Join
BetL925

: Does MediaWiki have a News extension? Many CMS' have news on the front page, where e.g. the sysop/webmaster posts about down time and other important news. Often these can be scheduled, so that

@BetL925

Posted in: #Mediawiki

Many CMS' have news on the front page, where e.g. the sysop/webmaster posts about down time and other important news.

Often these can be scheduled, so that you e.g. write on Monday, and wants it to be visible from Tuesday to Friday.

Question

Does MediaWiki have something like that?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @BetL925

2 Comments

Sorted by latest first Latest Oldest Best

 

@Frith620

The "dpl" (Dynamic Page List) extension can also be used for that.

We use the following to display a random page from our site on our landing page. With DPL, you can filter that to a specific category, or filter by myriad other means.

<dpl>
namespace=
includepage=*
includemaxlength=600
escapelinks=false
resultsheader=__NOTOC__ __NOEDITSECTION__
randomcount=1
mode=userformat
addpagecounter=true
listseparators=<h2>A Random Selection From Page: , [[%PAGE%]]</h2>,,nn
</dpl>

10% popularity Vote Up Vote Down


 

@Sue5673885

Yes, you can use the #switch function to do this. There are some examples on this article - generating dynamic content with mediawiki.

The documentation on #switch is here: www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23switch

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme