확장기능:위키편집기

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Extension:WikiEditor and the translation is 32% complete.

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎한국어 • ‎Lëtzebuergesch • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎sicilianu • ‎سنڌي • ‎中文
This extension comes with MediaWiki 1.18 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
미디어위키 확장 기능Manual:Extensions
Crystal Clear action run.png
WikiEditor

Release status:Extension status stable

VectorEditorBasic-en.png
설명Template:Extension#description 확장 가능한 위키테스트 편집 인터페이스와 많은 기능을 제공하는 묘듈들을 제공합니다.
만든이Template:Extension#username Trevor Parscal, Roan Kattouw
버전Template:Extension#version 0.5.1 (2016-04-15)
MediaWikiTemplate:Extension#mediawiki 1.25+
라이선스Template:Extension#license GNU General Public License 2.0 or later
다운로드
README
ExampleTemplate:Extension#example Test Wikipedia
변수Template:Extension#parameters

$wgWikiEditorFeatures

사용된 훅Template:Extension#hook
EditPage::showEditForm:initialManual:Hooks/EditPage::showEditForm:initial
GetPreferencesManual:Hooks/GetPreferences
MakeGlobalVariablesScriptManual:Hooks/MakeGlobalVariablesScript
ResourceLoaderRegisterModulesManual:Hooks/ResourceLoaderRegisterModules

Translate the WikiEditor extension if it is available at translatewiki.net

Check usage and version matrix.

IssuesPhabricator

Open tasks · Report a bug

WikiEditor 확장은 위키문법의 편집시 인터페이스의 개선을 제공합니다. 또한 위키피디아가 2010년부터 지금까지 데스크톱 유저들에게 제공하는 editing interface이기도 합니다.

이것은 확장 가능한 프레임워크를 포함하고 있습니다.


설치[edit]

  • 파일을 다운로드해서, extensions/ 폴더 내의 WikiEditor 이라는 이름의 디렉터리 내에 설치합니다.
  • 아래의 코드를 LocalSettings.php의 말미에 추가합니다:
    wfLoadExtension( 'WikiEditor' );
    
  • If necessary configure at your convenience.
  • YesY 완료 - 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

환경 설정[edit]

# Enables use of WikiEditor by default but still allows users to disable it in preferences
$wgDefaultUserOptions['usebetatoolbar'] = 1;

# Enables link and table wizards by default but still allows users to disable them in preferences
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;

# Displays the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 1;

# Displays the Publish and Cancel buttons on the top right side
$wgDefaultUserOptions['wikieditor-publish'] = 1;

Add the above code at the bottom of your LocalSettings.php. In some situations, WikiEditor may not show in your browser after the installation. Clearing your browser cache will solve the problem.

주의 주의:

사용자 도구 설정[edit]

툴바 커스터메이징 참조.

Extending[edit]

툴바 모듈[edit]

위키편집기.

A toolbar visible on editing pages which replaces the stock toolbar. 툴바 아이콘을 참조.

섹션[edit]

도구
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

Actions[edit]

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 메시지 설명
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

Labs Modules[edit]

Part of the WikiEditor extension were a number of alpha quality modules. These alpha modules are now deprecated and are being removed. The modules are: highlighter, toc, templates and template editor. You should not be using them.

같이 보기[edit]