MediaWiki DynamicPageList

From WebHostingNeeds.com
Jump to: navigation, search

You can find more information on this extension at

https://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia)#category

To install on WebHostingNeeds

cd /home/webhostingneeds.com/public_html/extensions/
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/intersection.git intersection


Now edit file

vi /home/webhostingneeds.com/public_html/LocalSettings.php


Add at end of the file

#Dynamic Page List
require_once "$IP/extensions/intersection/DynamicPageList.php";

Now i added following to Main Page of WebHostingNeeds.

<DynamicPageList>
 category  = Linux
 stablepages=only
 count=20
 ordermethod=categoryadd
 namespace=0
 suppresserrors=true
 googlehack=true
</DynamicPageList>

This will display latest posts from category Linux.