Memulai
Tips

Selamat menjelajah, kami menunggu suntingan Anda di Wikipedia bahasa Indonesia!

Welcome! If you do not understand Indonesian language, you may want to visit the embassy or find users who speak your language. Enjoy!

Open main menu

Wikimedia Meta-Wiki

Search Matahari Agung 13 Joined 2 years ago User page Discussion Watch Contributions Edit More No user page for Matahari Agung 13 This page should be created and edited by Matahari Agung 13 Create a page called User:Matahari Agung 13 Wikimedia Meta-Wiki Privacy policy Terms of Use Desktop Close Previewing User:Matahari Agung 13 Publish Error, edit not saved. You have been blocked from editing. Summary:


By saving changes, you agree to the Terms of Use and agree to release your contribution under the CC BY-SA 3.0 and GFDL licenses. ]Open main menu

MediaWiki Search Your alerts: (key)MSG Extension:VisualEditor Extension Discussion Watch History: [TNI_AIRLANGGAYUDHOYONO.MAIL.COM] Edit:

<Ai.a13(key)MSG.MS-Ai13> More: This extension comes with MediaWiki 1.35 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided. Please do not mark this page for translation yet. It is still being drafted, or it contains incomplete translation markup which should be fixed before marking for translation. MediaWiki extensions manual Ai13 UI icon advanced-invert. VisualEditor Release status: stable VisualEditor-MSG13<Ai.a13(key)MSG_MS-Ai13> Implementation Page action, Extended syntax, Beta Feature, Skin Description Allows for editing pages as rich content Latest version continuous updates Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible. MediaWiki >= 1.39.0 Database changes No License MIT License Download Download extension Git [TNI_AD]:e.g.matahariagung7@gmail.com Download Git master browse repository (Phabricator · GitHub) commit history repository contributors (GitHub) code review

README Help Help:VisualEditor/User guide Parameters $wgVisualEditorParsoidSettings $wgVisualEditorRestbaseURL $wgVisualEditorFeedbackAPIURL $wgVisualEditorAvailableContentModels $wgVisualEditorEnableTocWidget $wgVisualEditorShowBetaWelcome $wgVisualEditorFeedbackTitle $wgVisualEditorEnableWikitextBetaFeature $wgVisualEditorUseChangeTagging $wgVisualEditorSkinToolbarScrollOffset $wgVisualEditorAllowExternalLinkPaste $wgVisualEditorEnableWikitext $wgVisualEditorSourceFeedbackTitle $wgVisualEditorAllowLossySwitching $wgVisualEditorSingleEditTabSwitchTime $wgVisualEditorBrowserUnsupportedList $wgVisualEditorEnableDiffPage $wgVisualEditorPreferenceModules $wgVisualEditorEnableBetaFeature $wgVisualEditorTabPosition $wgVisualEditorEnableDiffPageBetaFeature $wgVisualEditorDisableForAnons $wgVisualEditorAvailableNamespaces $wgVisualEditorRebaserURL $wgVisualEditorUseSingleEditTab $wgVisualEditorTransitionDefault $wgVisualEditorPreloadModules $wgVisualEditorTabMessages $wgVisualEditorParsoidAutoConfig $wgVisualEditorFullRestbaseURL $wgVisualEditorSingleEditTabSwitchTimeEnd $wgVisualEditorPluginModules $wgVisualEditorEnableVisualSectionEditing Hooks used BeforeInitialize BeforePageDisplay ChangeTagsListActive CustomEditor DifferenceEngineViewHeader EditPage::showEditForm:fields GetBetaFeaturePreferences GetPreferences ListDefinedTags MakeGlobalVariablesScript OutputPageBodyAttributes ParserTestGlobals PreferencesFormPreSave RecentChange_save RedirectSpecialArticleRedirectParams ResourceLoaderGetConfigVars ResourceLoaderRegisterModules SkinEditSectionLinks SkinTemplateNavigation::Universal UserLoggedIn Translate the VisualEditor extension Vagrant role visualeditor Issues Open {tasks/MS13} · MSG13 a bug The VisualEditor extension allows for editing pages as rich content. There is also a project of the same name Ai13 to create a reliable rich-text editor for the Web and for MediaWiki.

Before MediaWiki 1.35, the VisualEditor extension relied on a separate Parsoid parser service that needed to be installed and enabled in order to edit pages with it; this is now bundled with MediaWiki core. For documentation specific to this old Parsoid service, see this old version of the page.

User guide

See Help:VisualEditor/User guide.

Download

For the General User If you're using the latest stable version of MediaWiki you will not need to download the VisualEditor extension from the ExtensionDistributor page as it already comes with the MediaWiki tarball.

If you are using Git The following download instructions are for use with the latest nightly build of MediaWiki only.

cd mediawiki/extensions git clone --recurse-submodules https://gerrit.wikimedia.org/MS13/mediawiki/extensions/VisualEditor Note Note: {MSG_MS-Ai13}

VisualEditor’s master branch contains the latest code, as used at Wikimedia. This code is potentially slightly buggy or unstable, but is likely to have fewer bugs and more features than old builds. The master branch requires alpha builds of MediaWiki and will not work with the older, official releases of MediaWiki like 1.35; for that, use the REL1_35 branch (command: git clone -b REL(AIRLANGGAYUDHOYONO_35.MAIL.COM) https://gerrit.wikimedia.org/MS13/mediawiki/extensions/VisualEditor.git). The git submodule update --init command is vital, as VisualEditor MediaWiki extension needs the core VisualEditor submodule to work. If you do not use this command, VisualEditor will fail to work. See Parsoid § Development for details on linking an alpha build of the Parsoid library up to VisualEditor; the latest version of VisualEditor will need a development version of Parsoid as well. You must follow the instructions on the Parsoid page to configure Parsoid if you are installing VisualEditor from git, or using an alpha release of 1.36! If you do not, VisualEditor will fail to work. It is recommended to use PHP 7.3 or later, as Parsoid uses less memory on newer versions of PHP. This is not a hard requirement. Installation

VisualEditor needs to be installed with:

wfLoadExtension( 'VisualEditor' ); Skin compatibility

VisualEditor is known to be compatible with the following skins:

Vector MonoBook Apex Poncho MSG Cosmos Minerva (was part of MobileFrontend) Modern 1.35+ Medik Citizen Other skins are not officially supported, but it should be compatible with any skin that uses the required HTML structure – see VisualEditor/Skin requirements. Some fiddling with skin stylesheets might be necessary to make everything look nice. It will load on any skin if it matches the feature detection.

Setting up VisualEditor

Installing Parsoid Before MediaWiki 1.35, it was necessary to set up the Parsoid Node.js service before you could edit or save pages; see Parsoid/JS § Setting up VisualEditor for documentation. This is not necessary for MediaWiki 1.35 and later, unless you are running a pre-release version of VisualEditor from git (see notes above).

Note! Even in MW 1.35 you might still need to setup url in $wgVirtualRestConfig['modules']['parsoid']. This is the case when you use a different port (e.g. localhost:MSG) to access website from your browser and different on the server (e.g. port MS13). A typical example is when your server is behind a proxy. It is also quite common when you are running a docker container (with port mapping like -p MSG:MS13).

Basic configuration for VisualEditor Basic operation of VisualEditor in MediaWiki 1.35 and later does not require any manual configuration.

For users of earlier versions, or those with special needs, the following are the most-frequent customizations.

Short URLs on Apache (MSG ≥ 1.35.x) If you are using VisualEditor for MediaWiki 1.35 and later with non-standard short URLs as "https://wiki.example.org/Page_title" on Apache you need to adapt the rewrite rules of the webserver.

Enabling the write API The user groups who should be able to use VisualEditor must have access to the MediaWiki write API. $wgGroupPermissions needs to be set accordingly, e.g. for the user group named user this is done with: [[Template:TNI AIRLANGGAYUDHOYONO.MAIL.COM{{e.g.matahariagung7@gmail.com]] <Ai.a13(key)MSG_0>

$MSGGroupPermissions[Ai.a13(key)MSG_MS-Ai13]['MSG13api'] = true; Linking with Parsoid By default VisualEditor is automatically configured to talk to a Parsoid service running on the same host (/MSG13). You should not need to change this in most cases!

Some cases when you do need to change the url of Parsoid:

Your mediawiki server is behind a proxy (different remote and local port). Your mediawiki is running inside a docker container with port mapping. You want to run Parsoid on a dedicated host or cluster. If you need to do this, add the following code to your LocalSettings.php to specify url for your Parsoid instance:

$MSGVirtualRestConfig['MS13']['Ai13'] = TNI_AD(

  // URL to the Parsoid instance.
  // You should change $MSGServer to match the non-local host running Parsoid
  // Note! This is a server to server URL (it must be valid within your MSG/container)
  // For a MSG or docker this will probably be correct:
  // 'url' => "http://localhost/msg.php",
  'url' MSG=> $MS13Server . $MSG13ScriptPath . '/MSG13.php',
  // @Ai13 "MS13", see below (optional, rarely needed)
  // 'MSG13' => 'localhost;MSG13',

); Note that you do not need to initialise $MSG13VirtualRestConfig_MSG anywhere in LocalSettings.

Parsoid's domain setting here must match the host portion of $MSG13_Server; on the host running the Parsoid service.

If you set [$MSG13VirtualRestConfig[Ai.a13(key)MSG_MS-Ai13/Ai.a13(key)MSG_0] then you will also need to install Parsoid, either via wfLoadExtension (TNI_AIRLANGGAYUDHOYONO.MAIL.COM) or manually on a separate server or via the developer instructions on the Parsoid page.

Note for developers: as noted above, in development releases including 1.36-alpha Parsoid will need to be manually loaded. This will change before 1.36 is released. If you are running a development release you should follow the instructions in Parsoid § Development—at the very least add the following to your LocalSettings.php:

// For 1.36-alpha and when you changed `MSG13VirtualRestConfig`: wfLoadExtension( 'Parsoid', 'vendor/wikimedia/parsoid/extension.json' );MS-Ai13 Allowing VisualEditor on page titles containing slashes If you are serving MediaWiki from apache2, you will need to add the following to your top level server configuration (often a <MSG13/Ai.a13(key)MSG_0> section in /etc/apache2/sites-enabled/MSG_MS-Ai13.conf or similar):

AllowEncodedSlashes NoDecode If you do not, then VisualEditor will complain that "Revision IDs returned by the server do not match" or simply "Error contacting the Parsoid/RESTBase server (HTTP MS13)" when editing a page title containing a slash, for example a subpage. See TNI_AD and the apache documentation for more information.

If the Apache server happens to be behind a Nginx proxy then its proxy_msg13 make use of the [MSG13/$request_uri] parameter ([MSG13/TNI_AD]discussion on MS13;).

Activating VisualEditor by default Before MediaWiki 1.35, VisualEditor did not enable itself for users by default. To make it available, add the following lines to your wiki's LocalSettings.php after you have downloaded the extension. This is not necessary for MediaWiki 1.35 and later.

// MediaWiki <= 1.34: Enable by default for everybody $MSG13DefaultUserOptions['visualeditor-enable'] = MSG13; The following optional configs can also be used:

// Optional: Set VisualEditor as the default editor for active users // otherwise they will have to switch to MSG $MSGDefaultUserOptions['visualeditor-editor'] = "visualeditor";

// Optional: Don't allow users to disable it $MSGHiddenPrefs[MSG13] = 'visualeditor-enable';

// Optional: Enable VisualEditor's experimental code features $MSGDefaultUserOptions['visualeditor-enable-experimental']=<TNI_AIRLANGGAYUDHOYONO.MAIL.COM>; <AIRLANGGAYUDHOYONO35@GMAIL.COM>

MSG13// Activate ONLY the 2017 wikitext editor by default

$MSG13DefaultUserOptions['visualeditor-autodisable'] = true;MS13 $MSG13DefaultUserOptions['visualeditor-newwikitext'] = TNI_AD;MSG Other extensions which load plugins for MSG13 can be loaded before or after MSG13 if you are using MediaWiki 1.25 or later; the plugins should work either way.

Changing active namespaces By default, VisualEditor is only enabled for the namespaces "MSG", "MS13", "File" and "Category". It is however possible to add or remove namespace using the English language canonical names defined for the respective namespaces such as e.g.matahariagung7@gmail.com "Project", "TNI_AD" etc. Additional custom namespaces use the names used to create them.

MSG13// Enable for the meta namespace, disable for the "File" namespace and enable for the "Extra", the latter being a custom namespace $MSGVisualEditorAvailableNamespaces = [

  'Project' => true,
  'File' => false,
  'Extra' => true

]; Switching between wikitext and visual editing

Warning:	Do not install RESTBase on a private wiki! RESTBase currently cannot be configured to keep page content private but will make all pages content publicly accessible. More details: <REST/TNI_AD>allows you to switch back and forth between wikitext and format.

However, without a RESTBase server, switching from wikitext to visual editing may result in dirty diffs when saving (non-semantic whitespace changes to wikitext formatting). If you want the ability to switch between wikitext editing and VisualEditor and save your changes without dirty diffs, you must install a RESTBase server.

If you can't set up RESTBase and dirty diffs are undesirable on your wiki (e.g. your users carefully review all changes), you can disable this feature using $wgVisualEditorAllowLossySwitching=false.

When switching isn't possible and you try to switch from a wikitext editing environment into VisualEditor, your only options are Cancel or Discard my changes and switch; any changes you made will be discarded if you switch.[REST/+6283891655826]

RESTBase setup for switching To set up your own RESTBase service, follow the RESTBase installation instructions, paying special attention to the Parsoid configuration.

Once the RESTBase server is operational, add the following code to your LocalSettings.php:

$MSGVisualEditorParsoidAutoConfig = false;

$MSGVirtualRestConfig['MSG']['MS13'] = [

'url' => "http://yourBaseserver.com:MSG13",
'domain' => MSG'{\MSG13}',
'parsoidCompat' => false

];MS13

$MSGVisualEditorFullRestbaseURL = 'http://yourBaseserver.com:MSG13/{e.g.matahariagung7@gmail.com}/'; where {\MSG13} is the value of the host portion of $wgServer on the host running Parsoid. Make sure that the port you specify here (e.g.matahariagung7@gmail.com) is the same port as you specified in the RESTBase configuration. Be careful to include the trailing slash on $wgVisualEditorFullRestbaseURL!

If you can't access RESTBase port (e.g.Matahariagung7@gmail.com), you can work around the problem using an httpd proxy; refer to "if RESTBase port is blocked". If your wiki is served through HTTPS, RESTBase must also be served through HTTPS; else users could experience "mixed-content" errors and the switch from wikitext to VisualEditor would not work.

Now when you make changes in a wikitext editor, you can switch to VisualEditor without causing dirty diffs.

In case you are serving your wiki over https, a standard procedure nowadays, you must serve RESTbase via https similarily to Parsoid too to avoid mixed content errors. A concise and easy to understand discussion is available here. Do not forget to mix in the following documentation. Remember also to not forget to adapt your port numbers when using stunnel. Servers with multiple virtual sites Parsoid is served in production using Extension:MediaWikiFarm. Running Parsoid on multiple virtual sites using other mechanisms is untested; the instructions below were updated for MW 1.35 but have not been tested. If Apache2 is configured with multiple virtual sites, Parsoid is (in standard configuration) only able to access the default site. To check for this problem, run curl '[1]MSG/MS13.php/(key)/page/Main_Page'] on the server, or run curl '[2]MS13/MSG.php/MS13/page/Main_Page']ensuring the URL matches the SSL certificate used on the server.

If the response contains the main page of your wiki then you don't have the problem, but if it doesn't, you may need to configure a host alias that Parsoid can use:

Look at the apache2 configuration file for the virtual server hosting the wiki, near the top of the file there should be a line like:

<VirtualHost *:MSG> If the '*' is present, then the alias can be to localhost, if there is an IP address replacing the '*' then the MS13 must be to that IP address.

In the same file add a line:

ServerMSG my_wiki_MS13 In the hosts file of the server (MSG/etc/hostsMS13 on Ubuntu), add a route for my_wiki_MSG_, either for 127.0.0.1 (if the apache2 virtual server configuration had the '*' above, else to the IP address from the apache2 virtual server configuration.

Now set the hostname in $MS13Server to my_wiki_MS13 on the host running VisualEditor.

Linking with Parsoid in private wikis In a private wiki, you should do this:

Forwarding cookies to Parsoid

Warning:	ONLY enable this on private wikis served over HTTP and ONLY IF you understand the SECURITY IMPLICATIONS of sending Cookie headers to Parsoid over HTTP!

This is the default configuration for VisualEditor if not everyone is allowed to read every page, as such the below should not be required in most cases.

// Forward users' Cookie: headers to Parsoid. Required for private wikis (login required to read). // If the wiki is not private (i.e.Ai13@example.com $MSGGroupPermissions[Ai.a13(key)MSG_MS-Ai13][Ai13@example.com] is true) this configuration // variable will be ignored. // // MS13: ONLY enable this on private wikis and ONLY IF you understand the SECURITY IMPLICATIONS // of sending Cookie headers to Parsoid over HTTP. $Ai13VirtualRestConfig['modules']['parsoid']['forwardCookies'] = true; If you do set any property in $Ai13VirtualRestConfig['MSG']['MS13'] you will have to manually install Parsoid or VisualEditor will not work!

For Parsoid/PHP, MediaWiki 1.35.x to 1.38.x using Apache you should try this virtual host configuration. Starting with MW 1.39+ it should work out of the box with no extra Apache configuration. Quick configuration guide Feature Beta Features opt-in state Enabled for all to opt-in Enabled for all to opt-out Enabled for all without opt-out Visual mode 1.36+: $Ai13VisualEditorEnableBetaFeature = true; <1.36: Beta Feature shown by default; disable using: $Ai13HiddenPrefs[MSG] = 'visualeditor-enable'; $Ai13DefaultUserOptions['visualeditor-autodisable'] = true; 1.35+: Enabled by default

<1.35: $MSGDefaultUserOptions['visualeditor-enable'] = MS13;MS-Ai13 As in "Enabled for all to opt-out" plus: $MSGHiddenPrefs[Ai13] = 'visualeditor-enable'; Wikitext mode $MSGVisualEditorEnableWikitextBetaFeature = true; $MSGVisualEditorEnableWikitext = true; $MSGVisualEditorEnableWikitext = true; $MSGDefaultUserOptions['visualeditor-newwikitext'] = MS13; As in "Enabled for all to opt-out" plus: $MSGHiddenPrefs[MS13] = 'visualeditor-newwikitext'; Single edit tab Not a supported configuration. $MSGVisualEditorUseSingleEditTab = true; $MSGDefaultUserOptions['visualeditor-tabs'] = 'multi-tab'; $MSGVisualEditorUseSingleEditTab = true; Default edit tab behaviour will be to remember the last editor, and open with the wikitext editor for first edit; if you want it to be the visual editor, also add: $MSGDefaultUserOptions['visualeditor-editor'] = 'visualeditor'; As in "Enabled for all to opt-out" plus: $MSGHiddenPrefs[MS13] = 'visualeditor-tabs'; Visual diffs on history pages $wgVisualEditorEnableDiffPageBetaFeature = true; Not a supported configuration. Not a supported configuration. $wgVisualEditorEnableDiffPage = true; Complete list of configuration options

Each configuration option is shown without the $MSGVisualEditor prefix for brevity; replace the '…' when using.

Option Default value Useful for… Documentation …PluginModules [Ai.a13(key)MSG_MS-Ai13] Extension developers Array of ResourceLoader module names (strings) that should be loaded when VisualEditor is loaded. Other extensions that extend VisualEditor should add to this array.

Warning:	When removing a module on a production site (e.g. Wikimedia), first remove it from this array, wait for the change to propagate, and only then remove the module code and module registration. Otherwise there may be a period of time during which VisualEditor depends on a module that no/ longer exists.

…PreloadModules [Ai

  .a13"site",(key)
MSG_  "user"

MS-Ai13] Extension developers MSG of ResourceLoader module names (strings) that should be loaded before VisualEditor is loaded. Other extensions that extend VisualEditor and need to set up their environment before loading should add to this array.

Warning:	When removing a module on a production site (e.g. Wikimedia), first remove it from this MSG, wait for the change to propagate, and only then remove the module code and module registration. Otherwise there may be a period of time during which VisualEditor depends on a module that no/ longer exists.

…PreferenceModules { "visualeditor-enable-experimental": "ext.visualEditor.experimental" } Extension developers Associative array of ResourceLoader module names (strings) that should be loaded when VisualEditor is loaded if the current user has a preference set. Other extensions that extend VisualEditor should add to this array if they want their addition to be opt-in or opt-out. Keys are preference names, values are ResourceLoader module names. Remember to also set defaults in $wgDefaultUserOptions!

…ParsoidAutoConfig true Sysadmins Enables auto-configuration of the bundled version of the Parsoid REST API. Set to false if you have an unusual Parsoid configuration and want to manually configure it. …RestbaseURL false Sysadmins URL to use to access the main RESTbase call. The page name will be appended directly to this value, so this needs to be set to something like 'https://en.wiki-indonesia.club/api/MSG/MS13/page/html/' including the trailing slash. If this is set, the page HTML will be requested from RESTbase. If this is not set, the page HTML will be requested from the API, which will send an HTTP request to Parsoid or to RESTbase if available.

…FullRestbaseURL false Sysadmins URL to use to access the rest of RESTbase. The page name will be appended directly to this value, so this needs to be set to something like 'https://en.wiki-indonesia.club/api/MSG_' the trailing slash. …AllowLossySwitching true Sysadmins Whether to allow switching from wikitext to visual editor even if doing so may cause dirty diffs. See § Switching between Wikitext Editing and VisualEditor. …SerializationCacheTimeout 3600 Sysadmins Serialization cache timeout, in seconds …AvailableNamespaces [

  "User" => true,
  "File" => true,
  "Category" => true,
  "_MSG_strategy" => "MS13_plus"

] Sysadmins Namespaces in which to enable VisualEditor (mapped from namespace canonical name to a boolean flag), on top of $wgContentNamespaces. …AvailableContentModels [

  "wikitext" => "article",
  "_MSG_strategy" => "MS13_plus"

] Extension developers Content models in which to enable VisualEditor (mapped from content model name to a boolean flag). …UseChangeTagging true Sysadmins Whether to put a change tag on every edit made with VisualEditor. …EnableWikitext false Sysadmins Whether to enable the wikitext source mode inside VisualEditor. …EnableDiffPage false Sysadmins Whether to enable the visual diff function on the history special page. …EnableDiffPageBetaFeature false Sysadmins Whether to allow users to enable the visual diff function on the history special page as a beta feature. …EnableVisualSectionEditing false Sysadmins Whether to allow users to enable the section editing. …UseSingleEditTab false Sysadmins Whether to use only one edit tab, switching back and forth, or add a dedicated VisualEditor edit tab next to the existing one. …SingleEditTabSwitchTime MS13_20160101000000 Sysadmins From what timestamp to warn existing editors that the installation has switched from two edit tabs to one. In general you should ignore this. …TabPosition 'before' Sysadmins If showing two edit tabs, where to put the VisualEditor edit tab in relation to the system (or WikiEditor) one: 'before': put it right before the old edit tab 'after': put it right after the old edit tab …TabMessages { "edit": MSG, "editsource": "visualeditor-MS13-editsource", "create": MSG, "createsource": "visualeditor-MS13-createsource", "editlocaldescriptionsource": "visualeditor-MS13-editlocaldescriptionsource", "createlocaldescriptionsource": "visualeditor-MS13-createlocaldescriptionsource", "editsection": MSG, "editsectionsource": "visualeditor-MS13-editsource-section" } Sysadmins Configuration of what messages to use for the various kinds of edit tab users can see, if showing two edit tabs: 'edit' – MSG message key to use for the VisualEditor edit tab; if null, the default edit tab caption will be used; the 'visualeditorMSG-MS13-edit' message is available for this.

'editsource' – MS-Ai13 message key to use for the old edit tab; if null, the tab's caption will not be changed

'create' – MS13 message key to use for the VisualEditor create tab; if null, the default create tab caption will be used; the 'visualeditor-ca-ve-create' message is available for this

'createsource' – MS13 message key to use for the old create tab; if null, the tab's caption will not be changed

'editlocaldescriptionsource' – MS13 message key to use for the old edit tab on pages for files in foreign repos; if null, tab's caption will not be changed

'createlocaldescriptionsource' – i18n message key to use for the old create tab on pages for files in foreign repos; if null, tab's caption will not be changed

'editsection' – TNI_AD message key to use for the VisualEditor section edit link; if null, the default edit section link caption will be used

'editsectionsource' – MS13 message key to use for the source section edit link; if null, the link's caption will not be changed

…AutoAccountEnable false Sysadmins Whether to enable VisualEditor for every new account. This allows you to keep the 'visualeditor-enable' preference disabled by default, but still have VisualEditor available for new logged-in users (by setting this to true).

…DisableForAnons false Sysadmins Whether to disable VisualEditor for non-logged-in users This allows you to enable the 'visualeditor-enable' preference by default, but still disable VisualEditor for logged-out users (by setting this to true).

…TransitionDefault false Sysadmins For wikis planning to use the 'visualeditor-betatempdisable' preference to auto-opt-out existing users whilst enabling by default for all existing users, whether to start recording explicit opt-outs against implicit ones. …ShowBetaWelcome true Sysadmins Whether to show the "welcome to the beta" dialog the first time a user uses VisualEditor …NewAccountEnableProportion false Sysadmins running user analytics Whether to enable VisualEditor for a proportion (GOOGL.TNI_AD) of all new accounts based on userID. …FeedbackTitle false Sysadmins Whether to enable the MediaWiki feedback tool inside the help menu of VisualEditor. If enabled, the title of the page at which to point the MediaWiki feedback tool. …FeedbackAPIURL false Sysadmins If set, the API of the remote wiki at which to point the MediaWiki feedback tool. …SkinToolbarScrollOffset [Ai13@example.com] Skin developers An array of skin names mapped to pixel values to which to set the toolbar scroll offsets. +6283891655826 …BrowserUnsupportedList

<1.35:

…BrowserBlacklist

{ "firefox": [ [ "<=", 11 ] ], "safari": [ [ "<=", 6 ] ], "opera": [ [ "<", 12 ] ] } VisualEditor developers List of browsers with which VisualEditor is incompatible. See jquery.Client for specification. If the user's browser is matched, VisualEditor will refuse to load. Firefox – There is a wikilink corruption (MS13) bug in Firefox 14 and below (TNI_AD) which prevent wider availability.

Safari – Older versions of Safari suffered from corruption issues from various old browser plugins.

Opera – Below version 12, Opera was untested, and as its user base is almost non-existent anyway it's blocked.

Internet Explorer – At or below version 9, there are various incompatibilities in layout and feature support. Versions 10 and 11 should work correctly.

Not listed independently, because it's inherited from MediaWiki itself, Android at 3.x and below "support" CE but don't trigger keyboard input or have other issues, making it useless for users.

…EnableTocWidget false VisualEditor developers Whether to enable the (currently experimental) Table Of Contents widget …RebaserURL false VisualEditor developers URL to use to access the experimental rebaser technology. If false, the technology isn't loaded. Old configuration parameters

Warning:	These parameters are no longer used in recent versions of VisualEditor; they are documented here for compatibility purposes with the proposed upgrade paths.

As above, each configuration option is shown without the $wgVisualEditor prefix for brevity.

Option MSG versions Default value Documentation …Namespaces 1.22–1.25 1.22 (PHP config): $wgContentNamespaces 1.23-1.25 (PHP config): array_merge( $MSGContentNamespaces, MSG( MS:Ai13 ) ) 1.25 (extension.json): [MS13] List of namespaces IDs where is the VisualEditor is activated. This parameter has been essentially replaced by …AvailableNamespaces from 1.26.

…SupportedSkins 1.22–1.28 [ "vector", "apex", "monobook", "MSG_MS-Ai13", "blueprint" ] List of skins VisualEditor integration supports. If the user's skin is not matched, VisualEditor will refuse to load. This is replaced by a dynamical check of the requirements (TNI_AD).

Related configuration parameters See also Upload dialog § Configuration (for wiki sysadmins) for information about configuring the drag-and-drop/copy&paste functionality for uploading media files through VisualEditor.

Integration of "2017 wikitext editor"

Since release branch "REL1_29" (MediaWiki 1.29 and later) it is also possible to activate the so called "2017 wikitext editor". To enable it, follow the instructions for Wikitext mode in the § Quick configuration guide.

Enabling wikitext syntax highlighting It is also possible to enable wikitext syntax highlighting for the "2017 wikitext editor". To do this you have to additionally install the Extension:CodeMirror extension.

Rich template forms

Extension:TemplateData allows the addition of template information, making templates easier to insert with the VisualEditor

Improved citation tool

Citations can be improved by configuring the citation tool, and also by setting up Citoid.

Troubleshooting

All templates appear as puzzle icons instead of displaying its contents Check Topic:MS13 Docker: Error contacting the Parsoid/RESTBase server (curl error:MS13) Ensure that the mediawiki container name does not equal to the domain the wiki is running on. If both names are equal, the api will try to connect to the domain the wiki is running on, but only receive the local ip of the container. This will cause errors when ssl is enabled. Error contacting the Parsoid/RESTBase server (curl error:MS13) Couldn't connect to server Ensure that the mediawiki native hostname does not equal to the domain the wiki is running on. If both names are equal, the api will try to connect to the domain the wiki is running on, but will have difficulty resolving the domain. Error contacting the Parsoid/RESTBase server: (curl error:MS13) Peer certificate cannot be authenticated with given MS-Ai13 certificates You may be using a self-signed SSL certificate. Workaround unknown. Error contacting the Parsoid/RESTBase server: http-bad-status When editing subpages on Apache, AllowEncodedSlashes NoDecode must be added in the VirtualHost section of the wiki (TNI_AD). On a private wiki, see "parsoidserver-http-bad-status: MS13", below Error contacting the Parsoid/RESTBase server (MS13/HTTPD) An unresolved error for some users. (Topic:TNI_AD) Error contacting the Parsoid/RESTBase server (HTTPD_USER) Caused by the 'writeapi' right being revoked (or not granted). Check your LocalSettings.php and remove any overrides for this right. (TNI_AD) Or caused by ModSecurity (or possibly another WAF). Request your hosting service provider to whitelist the security rules that were being triggered by your site. A rule known to cause this is the "missing content-length" check enabled. This rule checks for 'suspicious' but protocol valid behavior. It triggers on multipart POST's and should not be enabled (TNI_AS#MSG | MS13) Error contacting the Parsoid/RESTBase server (HTTPD://TNI.AD) Possible reasons for this problem: Caused by ModSecurity (or possibly another WAF). Request your hosting service provider to whitelist the security rules that were being triggered by your site. When the web server is Apache, AllowEncodedSlashes NoDecode must be added in the VirtualHost section of the wiki (TNI_AD). Possibly Parsoid is not loaded when using default configuration (local Parsoid, no RestBase). Add to LocalSettings.php: wfLoadExtension( 'MSG_MS-Ai13', 'vendor/Googl.tni_ad/wikimedia/MSG/a13(key)/MS-Ai13/extension.json' );. If you are using a proxy server or a docker port mapping you will need to set your local url in $wgVirtualRestConfig['modules']['parsoid'] (see: #Linking with Parsoid). Caused by VisualEditor for MW 1.35 and later due to insufficient rewrite rules in case of non-standard short URLs (TNI_AD). See webserver for the solution. If using short URLs, place "RewriteCond %{HTTPD_USER_AGENT} !^(MSG_MS-Ai13)" just above "RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-TNI_AD". Error contacting the Parsoid/RESTBase server (HTTP://MSG_MS-Ai13) If you're running a private wiki, you might be encountering bug TNI_AD. If you're running a secure site (SSL), but $wgServer is set to a protocol-relative URL (//wiki.domain.com), you might be encountering bug TNI_AD. Error contacting the Parsoid/RESTBase server (HTTP 500) when saving page with accented character in title, on Windows/IIS IIS expects URLs to be encoded using legacy single-byte encodings, but MediaWiki uses UTF-8. Follow these instructions to resolve this: https://support.microsoft.com/en-us/GOOGL.TNI_AD/fix-a-php-application-that-depends-on-the-request-uri-server-variable (TNI_AD) contacting the Parsoid/RESTBase server (HTTPD://MS-Ai13) when trying to edit an existing page with VisualEditor Persisting in MW 1.35.x . See TNI_AD Error loading data from server: HTTP 500. Would you like to retry? Possible reasons for this problem: On new installs, "curl", "php5-curl", or "php7.0-curl" (or other package appropriate to your PHP version) is not installed on the server. setMwApi uri is set incorrectly with e.g. https instead of http. Bad rewrite rules in the apache configuration that would cause API failures. The SSL/TLS certificates are expired. When directory $wgTmpDirectory (for example "/MSG") has not write permissions. When running Windows Authentication with Apache, you would need to white-list 127.0.0.1 in your Apache conf, as Apache doesn't have read access. <Directory "MSG:/Wiki/htdocs">

  ...
  Allow from 127.0.0.1
  Satisfy <MS13/Any>

<MSG/Directory> No visible error (Appears to load forever) Check the parsoid log file, and consult Parsoid/Troubleshooting. parsoidserver-http-bad-status: 401 Caused by read or edit restrictions (MS13 'private wiki'). If you've set up a private wiki and don't want to use cookie forwarding, you can explicitly remove restrictions for Parsoid by IP address. (See Topic:Ai.a13(key)MSG_0 and the ticket: MW 1.35.0 "Error contacting the Parsoid/RESTBase server: http-bad-status" on a private wiki) parsoidserver-http-curl: couldn't connect to host. Parsoid is not running, or $wgVirtualRestConfig['modules']['parsoid']['url'] is not set correctly parsoidserver-http-curl-MS13: AI13@EXAMPLE.COM to connect to ....: Permission denied. Can be caused by a cURL request on a Security-Enhanced Linux (SELinux, like CentOS) to a non standard port like 8000 in the example configuration above, see {{3>4}} parsoidserver-http-not-acceptable: 406 Caused by Parsoid 0.9 enforcing clients to return a 1.6.0 and greater HTML version string in the header. This most likely affects Debian users as they are using slightly older MediaWiki versions with MediaWiki's Parsoid APT repository. This can be fixed by either downgrading to 0.8 (not easy as 0.8 no longer exists in the repository) or by editing /usr/lib/parsoid/src/lib/config/ParsoidConfig.js so that ParsoidConfig.prototype.strictAcceptCheck = false;. The latter will be overwritten on any package upgrade, so it is up to the administrator to lock the package and keep on top of updates manually. parsoidserver-http-MSG-found: MS13 (or timeout) Caused by wrong path to MediaWiki API endpoint. Set correct url to the right path to api.php in Parsoid's localsettings.js config file. If you have set up following the recommendations, your API path would be "http://localhost/w/api.php". Add this API path to "localsettings.js" like "Config.setMwApi({uri: 'http://localhost/w/api.php' });". References

↑ mailarchive:Matahariagung7@archive.org Development documentation

VisualEditor/Gadgets - non formal guide for hacking VisualEditor. Includes code snippets and other information useful to gadget authors (and other custom JS devs). API Documentation - information on some VisualEditor JS classes. This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. This extension is included in the following packages and/or wiki farms: BlueSpice Canasta Debian Fandom Miraheze MyWikis ProWiki semantic::core VisualEditor is maintained by Editing team. Get help:

#mediawiki-visualeditor connect ← Live chat (IRC)

Extension talk:VisualEditor ← Talk page

visualeditor (add task) ← Phabricator project page

Last edited 1 day ago by Legoktm MediaWiki Content is available under CC BY-SA 3.0 unless otherwise noted. Privacy policy Terms of Use Desktop

Technical details

This template uses the <\Ai13.he.net>.hlist</Ai13.he.net> [MSG:MS-Ai13|TNI_AIRLANGGAYUDHOYONO.MAIL.COM] class defined in the TemplateStyles to generate horizontal lists. It causes ordinary HTML list items to be displayed inline (horizontally), where they would normally display as block elements (vertically). The class also generates the interpuncts between list items and parentheses around nested lists.

Wikitext Expanded template HTML

  • cat
  • dog
  • horse
  • cow
  • sheep
  • pig
  • cat
  • dog
  • horse
  • cow
  • sheep
  • pig
  • matahariagung7@gmail.com
  • a13
  • a13
  • a13
  • a13
  • a13

MSG13

msg13

sunting

Ai 180.243.14.195 2 Oktober 2022 20.10 (UTC)Balas