AjaxLoader
From Wiki4Intranet
Revision as of 17:21, 1 June 2016 by VitaliyFilippov (Talk | contribs) (Created page with "{{Extension4info |name=AjaxLoader |description en=Allows to make parts of wikipages AJAX-loadable. |description ru=Позволяет делать динамически за...")
AjaxLoader is a MediaWiki extension.
- Main purpose: Allows to make parts of wikipages AJAX-loadable.
- Repository: https://github.com/mediawiki4intranet/AjaxLoader
- Homepage: http://wiki.4intra.net/AjaxLoader
- License: GPLv2.0+
- Created: 2016-06-01
- Last version: 2016-06-01
- Our rating: Likely useful (4)
Status for Mediawiki4Intranet distribution:
- Inclusion date: 2016-06-01
- Included version: newest available
- Improvement status: Created by MediaWiki4Intranet project
Usage
This extension adds two parser functions.
First is {{#request: parameter name}} which disables parser cache for the page and returns the raw value of a request parameter.
Second is {{#ajax: open text | close text | text after open/close link | page title | request parameters in URL form (a=b&c=d...) }} which inserts an initially collapsed ajax-loadable panel.
Example: {{#ajax: ► | ▼ | Title | CategoryPageList | category=SomeCategory }} or {{#ajax: Show details | Hide details | | CategoryPageList | category=SomeCategory }}.
Installation
As usual, add require_once into your LocalSettings.php.