r91847 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91846‎ | r91847 | r91848 >
Date:21:58, 10 July 2011
Author:yaron
Status:deferred
Tags:
Comment:
Removed SF_Settings.php (helper file that's no longer needed), and updated INSTALL
Modified paths:
  • /trunk/extensions/SemanticForms/INSTALL (modified) (history)
  • /trunk/extensions/SemanticForms/includes/SF_Settings.php (deleted) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/INSTALL
@@ -17,9 +17,8 @@
1818
1919 == Requirements ==
2020
21 -The extension requires an install of Semantic MediaWiki 1.0 or
22 -greater. For more details, see Semantic MediaWiki's own
23 -installation requirements.
 21+The extension requires an install of Semantic MediaWiki 1.4 or
 22+greater, as well as MediaWiki 1.14 or greater.
2423
2524 == Installation ==
2625
@@ -27,12 +26,13 @@
2827 all relevant files. Copy this directory (or extract/download it) to
2928 "[wikipath]/extensions/".
3029 (2) Insert the following line into the file "[wikipath]/LocalSettings.php":
31 - include_once('extensions/SemanticForms/includes/SF_Settings.php');
 30+ include_once('extensions/SemanticForms/SemanticForms.php');
3231
3332 '''Remark:''' Semantic Forms creates an additional custom namespace, "Form"
34 -(see http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces). If you have your
35 -own custom namespaces, you have to set the parameter $sfgNamespaceIndex before
36 -including SF_Settings.php. See SF_Settings.php for more details.
 33+(see http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces). If you have
 34+your own custom namespaces and you want to change the numbers used by Semantic
 35+Forms and Semantic MediaWiki, see the file SMW_Settings.php, within
 36+Semantic MediaWiki, for instructions.
3737
3838 == Contact ==
3939
Index: trunk/extensions/SemanticForms/includes/SF_Settings.php
@@ -1,11 +0,0 @@
2 -<?php
3 -
4 -/**
5 - * This file exists here for backward compatibility with installations of
6 - * Semantic Forms before version 2.0.
7 - *
8 - * @file
9 - * @ingroup SF
10 - */
11 -
12 -require_once dirname( __FILE__ ) . '/../SemanticForms.php';