Difference between revisions of "AjaxLoader"

From Wiki4Intranet
Jump to: navigation, search
(Created page with "{{Extension4info |name=AjaxLoader |description en=Allows to make parts of wikipages AJAX-loadable. |description ru=Позволяет делать динамически за...")
 
(No difference)

Latest revision as of 17:21, 1 June 2016

English

AjaxLoader is a MediaWiki extension, designed for: Allows to make parts of wikipages AJAX-loadable.

Full description

Русский

AjaxLoader — расширение MediaWiki, его назначение: Позволяет делать динамически загружаемые вставки на вики-страницах.

Полная информация


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.