Extension:Semantic Multi Edit Extension

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
Semantic Multi Edit Page

Release status: experimental

Implementation User interface, Special page
Description Adds a special page to a Semantic MediaWiki installation (which also has to have Semantic Forms and Page Object Model installed) which allows the user to use forms to edit multiple pages at once.
Author(s) Hauke Pribnowtalk
Latest version 0.3 beta (2009-12-19)
MediaWiki 1.15.1
PHP 5
License GPL
Download http://home.arcor.de/t.mod/smep/smep_v_0_3_beta.zip
Parameters

$smepEnableMultiEdit

Added rights

multiedit

Translate the Semantic Multi Edit Extension extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

What can this extension do?[edit | edit source]

The Semantic Multi Edit Page extension allows a user to specify a form and a category to edit a subset of pages of the chosen category to be edited through a special form.

Installation[edit | edit source]

NOTE BEFORE INSTALLING: Be sure to read the README.TXT which is included in the zip archive. At this point of development this extension can circument some security measures by Semantic Forms if set up in a wrong way. You have been warned.


My setup is a MediaWiki (Version 1.15.1) with the following extensions:

  • Semantic MediaWiki (Version 1.4.3)
  • Semantic Forms (Version 1.8.5)
  • Page Object Model (Version 0.1.3) - assumed to be installed in "$IP/extensions/PageObjectModel/POM.php"

I assume that you have the exact same extensions (i.e. also the same version numbers). If you don't, you shouldn't try to install this.


To install this extension, you'll have to apply the provided patch "semantic_forms.patch" to the SemanticForms extension directory first. After that, copy the folder "SemanticMultiEditPage" to the extension folder of your MediaWiki installation. Then add the following lines to your LocalSettings.php:

	include_once("$IP/extensions/SemanticMultiEditPage/SemanticMultiEditPage.php");
 
	$wgGroupPermissions['*']['multiedit'] = false;
	$wgGroupPermissions['user']['multiedit'] = true;
	$wgGroupPermissions['sysop']['multiedit'] = true;
 
	$smepEnableMultiEdit=true;

Modify the permissions according to your wiki's demands.


Configuration parameters[edit | edit source]

$smepEnableMultiEdit: Set this to true to enable multi page edits. Set this to false to disable it.

User rights[edit | edit source]

multiedit: Allows to specify which users will be allowed to use the Semantic Multi Edit Page.

See also[edit | edit source]