Difference between revisions of "Talk:Main Page"
(→Topic 55: new section) Tag: 2017 source edit |
m (Removed protection from "Talk:Main Page") |
| (One intermediate revision by the same user not shown) | |
(No difference)
| |
Latest revision as of 14:11, 18 February 2022
Comment faire ... ?[edit source]
A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum A laborum quod illum
VisualEditor Not Working[edit source]
https://www.mediawiki.org/wiki/Topic:Wbcdqrzfrumju8t1
add this to LocalSettings.php
wfLoadExtension( 'VisualEditor' );
// Enable by default for everybody $wgDefaultUserOptions['visualeditor-enable'] = 1; $wgDefaultUserOptions['visualeditor-enable-experimental'] = 1; $wgDefaultUserOptions['visualeditor-newwikitext'] = 1;
// Optional: Set VisualEditor as the default for anonymous users // otherwise they will have to switch to VE // $wgDefaultUserOptions['visualeditor-editor'] = "visualeditor";
// Don't allow users to disable it $wgHiddenPrefs[] = 'visualeditor-enable'; $wgHiddenPrefs[] = 'visualeditor-newwikitext';
// Per default, the VisualEditor only works with Namespace 0 (NS_MAIN), // i.e. the main article namespace. To change this, adapt the following example // that enables namespaces 0 (main), 2 (user) and 102 (some user specific one) $wgVisualEditorAvailableNamespaces = [ NS_MAIN => true, NS_USER => true, 102 => true, "_merge_strategy" => "array_plus" ];
$wgVisualEditorEnableWikitext = true;
Topic 2[edit source]
Enable and Disable File Uploads File uploads are disabled by default. Once the application is installed you can enable and disable file uploads at any time by modifying an option in the LocalSettings.php file of your MediaWiki. This is done with the option $wgEnableUploads. It should already be there. So if you open LocalSettings.php and find the following line there: $wgEnableUploads = false; this means that file uploads are disabled. To enable them simply replace false with true: $wgEnableUploads = true; In this way all users who belong to a user group that has the permission to upload files will be able to upload. By default, all registered users are allowed to upload files. Note that there are also default file types that are allowed, so that users will not be able to upload other file types. By default only the image formats PNG, GIF, JPG, JPEG are allowed. For more information on how to add more or remove allowed file types check out the section in this tutorial on how to change the allowed file types. You can change the user permissions for uploading files. For more information check the section in this tutorial on user upload