By default all edits are published and get visible on your MediaWiki website. In this lesson you will learn about holding each and every edit for moderation so that users with specific rights would be able to approve or reject new edits.
How MedaiWiki Moderation Works?
- Every new edit or image upload is being sent to moderation.
- The page is kept unchanged unless the moderator approves the edit.
- Pending edits neither go to page history nor shown in RecentChanges.
- But user can still see his edit and may continue editing his own version of the page.
How To Enable Moderation In MediaWiki?
Start by downloading Moderation sources from GITHub. Once downloaded, visit FTP of your MediaWiki website and follow the steps:
- Upload the ZIP and extract it in your
extensionsfolder located in your site’s root directory.
- After files are extracted, make sure all are located in ‘Moderation’ folder of your extensions directory.
- Now add the following code in LocalSettings.php file (located in site’s root directory):
- There are even more configuration options and permissions (optional) which you may set in this extension.
- Run the update script to automatically generate necessary database tables.
That’s it for configuration.
How To Moderate New MediaWiki Edits?
- Login to your MediaWiki account and type ‘Special:Moderation’ in search box, press ENTER.
- This new special page is much like the RecentChanges page, but it has “Approve”, “Reject”, “Approve all” and “Reject all” options.
- Using these options you can easily moderate each and every edit including media file uploads.
All rejected edits go into the rejected archive section whereas approved edits are applied and goes visible on your MediaWiki pages.
The extension logs “who approved what” and only the moderators can see such logs. If an edit conflict is detected which cannot be resolved automatically, the moderator may use the Merge button to apply that edit manually.
For online support email to firstname.lastname@example.org or download Personal App of System Administrator.