Kézikönyv:$wgOOUIEditPage

From mediawiki.org
This page is a translated version of the page Manual:$wgOOUIEditPage and the translation is 50% complete.
Frontend: $wgOOUIEditPage
Whether to use OOjs UI buttons, checkboxes and summary input in the edit form.
Bevezetve:1.29.0 (Gerrit change 231600; git #I25aa78a)
Eltávolítva:1.30.0 (Gerrit change 366872; git #I2b468c8)
Megengedett értékek:(boolean)
Alapértelmezett érték:true

Megjegyzés

A $wgOOUIEditPage el lett távolítva a MediaWiki 1.30 -ben, mivel az az alapértelmezett. This was documented as a temporary variable during the migration period.

Részletek

The edit form since MediaWiki 1.29 uses pretty OOjs UI buttons, checkboxes and summary input. Because this change can cause problems for extensions and on-wiki scripts depending on the exact HTML, the old version is still available in MediaWiki 1.29 and can be used by setting $wgOOUIEditPage = false; in LocalSettings.php.

To make testing easier, users can also force either mode by adding &ooui=true or &ooui=false to the action=edit URL.