Extension:WikiEditor/ru

From MediaWiki.org
< Extension:WikiEditor
Jump to: navigation, search


Bugs:list openlist allreport

MediaWiki extensions manual - list
Crystal Clear action run.png
WikiEditor

Release status: unknown

Description Обеспечивает расширяемый интерфейс редактирования викитекста и многие функции, предоставляемые модулями.
Author(s) Trevor Parscal, Roan Kattouw
MediaWiki 1.17+
License GPL v2
Download Download snapshot

Subversion [Help]
Browse source code

README

Example Wikipedia Prototype
Parameters

$wgWikiEditorFeatures

Hooks used
EditPage::showEditForm:initial

GetPreferences
MakeGlobalVariablesScript
ResourceLoaderRegisterModules

Это расширение было перенесено из Extension:UsabilityInitiative. Во время этой миграции это расширение был перенесен, чтобы использовать ResourceLoader функциональность, что делает его совместима только с MediaWiki 1.17+.

WikiEditor обеспечивает расширяемый интерфейс редактирования викитекста и многие функции, предоставляемые модулями.

Contents

[edit] Переход из UsabilityInitiative

Если вы переходите из UsabilityInitiative (MediaWiki 1.16 совместимая) версия, версия, вам возможно потребуется обратить внимание на изменение наименования для конфигурационных переменных. См. README.

[edit] Установка

В 1.16, WikiEditor была частью юзабилити инициативы. Таким образом, чтобы получить его для 1.16, пожалуйста, загрузите его с Special:ExtensionDistributor/UsabilityInitiative или 1.16 svn branch.

Для 1.17 и выше:

  1. Получите расширение с дистрибьютора или svn и поместите его в каталог MediaWiki /extensions
  2. Настройте LocalSettings.php/ru как поясняется в README.

[edit] Настройка панели инструментов

Смотрите /Toolbar customization.

[edit] Расширение

[edit] Панель инструментов модуля

The WikiEditor компонент этого расширения.

Панель инструментов отображается в редактировании страниц, которые заменяет фондовые инструменты. Смотрите значки панели инструментов.

[edit] Разделы

Toolbar
The bold button tool.
Default select tools: Format, Insert, Special characters, Help

A toolbar is a series of groups, each with a series of tools, rendered in the writing direction of the content language, with visible dividers between groups.

Supported Tool Types

  • Button - an icon which can be clicked
  • Select - a drop-down list which can be selected from
Booklet
Loading help booklet

A booklet is a series of named pages which can be viewed one at a time and navigated through using an index list widget.

Supported Page Types

  • Table - a grid of columns and rows
  • Characters - a series of rectangular buttons containing text values

[edit] Actions

Each tool has an action which is executed when the tool is used. The most commonly used action is encapsulate, which operates on the currently selected text, prepending text, appending text and in the case that no text was selected inserting text at the cursor. The encapsulate action takes three parameters, pre, peri and post, which can either be raw text or message keys.

Raw Text Message Description
pre preMsg Text to place before the cursor/selection
peri periMsg Text to place at the cursor if there is no selection
post postMsg Text to place after the cursor/selection/peri text

[edit] Table of Contents Module

Navigable table of content while editing a page to navigate in its sections. This module will enable the HTML iframe version of the text editing control, which is unstable and should only be used in experimental environments.

Язык: English  • Русский
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox