Шаблон:Modeling/Sample — различия между версиями

Материал из SRNS
Перейти к: навигация, поиск
Строка 5: Строка 5:
 
     IT WILL PREVENT PROPER DISPLAY OF THE INFOBOX.
 
     IT WILL PREVENT PROPER DISPLAY OF THE INFOBOX.
  
  2. Fill in the template.  For help, see [[Template:Extension]]
+
  2. Fill in the template.  For help, see [[Template:Modeling]]
 
  3. Remove this comment when you no longer need it.
 
  3. Remove this comment when you no longer need it.
 
  **************************************************************
 
  **************************************************************
Строка 13: Строка 13:
 
|name          =  
 
|name          =  
 
|status        = beta
 
|status        = beta
|type1        = <!-- implementation type, see [[Template:Extension]] for details. -->
+
|type1        = <!-- implementation type, see [[Template:Modeling]] for details. -->
 
|type2        =
 
|type2        =
|hook1        = <!-- default/custom hooks used, see [[Template:Extension]] for details -->
+
|hook1        = <!-- default/custom hooks used, see [[Template:Modeling]] for details -->
 
|hook2        =
 
|hook2        =
 
|username      = <!-- optional, but strongly recommended -->
 
|username      = <!-- optional, but strongly recommended -->
Строка 26: Строка 26:
 
|mediawiki    =
 
|mediawiki    =
 
|php          =
 
|php          =
|license      = <!-- what license your extension is released under -->
 
 
|download      =  
 
|download      =  
 
|readme        =
 
|readme        =
 
|changelog    =
 
|changelog    =
|parameters    = <!-- configuration parameters, for use in LocalSettings.php -->
 
 
|tags          =
 
|tags          =
 
|rights        = <!-- user rights, for use with $wgGroupPermissions -->
 
|rights        = <!-- user rights, for use with $wgGroupPermissions -->
Строка 42: Строка 40:
  
 
==Download instructions==
 
==Download instructions==
<!-- revise these instructions if code is available via a download site -->
+
 
Please cut and paste the code found [[#Code|below]] and place it in <code>$IP/extensions/ExtensionName/ExtensionName.php</code>.  ''Note: [[Manual:$IP|$IP]] stands for the root directory of your MediaWiki installation, the same directory that holds [[Manual:LocalSettings.php|LocalSettings.php]]''.
+
  
 
==Installation==
 
==Installation==
To install this extension, add the following to [[Manual:LocalSettings.php|LocalSettings.php]]:
 
<source lang="php">
 
#add configuration parameters here
 
#setup user rights here
 
require_once("$IP/extensions/ExtensionName/ExtensionName.php");
 
</source>
 
  
 
===Configuration parameters===
 
===Configuration parameters===
<!-- Explain the purpose of each configuration parameter provided to Template:Extension -->
 
 
===User rights===
 
<!-- Explain the purpose of each user right provided to Template:Extension -->
 
 
==Code==
 
<!-- delete this section if code is available via a download site -->
 
<source lang="php">
 
  <!-- 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. -->
 
</source>
 
  
 
==See also==
 
==See also==
<!-- add other related extensions here, if applicable. If not, just delete this comment and the see also-header. -->
 

Версия 16:29, 23 апреля 2011


Список всех моделей
Crystal Clear action run.png
Описание
Загрузить no link
Хранилище no link


Содержание

 [убрать

What can this extension do?

Usage

Download instructions

Installation

Configuration parameters

See also

Персональные инструменты
Пространства имён

Варианты
Просмотры
Действия
SRNS Wiki