Шаблон:Modeling/Sample — различия между версиями
Материал из SRNS
Korogodin (обсуждение | вклад) (Новая страница: «<!--- ************************************************************** Usage instructions: 1. REMOVE THE TAG line above this box IT WILL PREVENT PROPER DISPLAY...») |
Версия 16:27, 23 апреля 2011
Содержание |
What can this extension do?
Usage
Download instructions
Please cut and paste the code found below and place it in $IP/extensions/ExtensionName/ExtensionName.php
. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.
Installation
To install this extension, add the following to LocalSettings.php:
#add configuration parameters here
#setup user rights here
require_once("$IP/extensions/ExtensionName/ExtensionName.php");
#setup user rights here
require_once("$IP/extensions/ExtensionName/ExtensionName.php");
Configuration parameters
User rights
Code
<!-- put your code here - note that the ending ?> tag should not be present, as it's not needed and is likely to cause only problems. This has been since MediaWiki 1.11 and newer releases. -->