PoNG Module: MediaWiki View
This module shown MediaWiki content in your PoNG portal.
Please have a look at the other standard modules coming with PoNG.
Usage in "structure"
Simply add a action to the type
array with "type": "pong-mediawiki"
Example structure file extract:
{ "layout": { ... "rows": [ { "rowId": "bla", "type" : "pong-mediawiki", "resourceURL": "http://mh-svr.de/mw/", "resourceParam": { "page": "PoNG", "wikiRef":"/mw/index.php/", "wikiImg":"/mw/images/" }, ... }, ... ], ... }
Since the REST API of the MediaWiki is used, there is no meta description file to be loaded.
So all the definition for this view have to be provided in the layout structure file in the field resourceParam
.
You have to provide the fields:
page
: The initial page to be displayed.wikiRef
: WIKI internal href start with this string.wikiImg
: WIKI internal image src start with this string.