r93274 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93273‎ | r93274 | r93275 >
Date:14:57, 27 July 2011
Author:foxtrott
Status:deferred (Comments)
Tags:
Comment:
followup r93178: declared missing global
Modified paths:
  • /trunk/extensions/SemanticFormsInputs/SemanticFormsInputs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticFormsInputs/SemanticFormsInputs.php
@@ -2,11 +2,19 @@
33 /**
44 * Additional input types for [http://www.mediawiki.org/wiki/Extension:SemanticForms Semantic Forms].
55 *
 6+ * @defgroup SFI Semantic Forms Inputs
67 * @author Stephan Gambke
78 * @author Sanyam Goyal
8 - * @version 0.4.1
 9+ * @version 0.4.2 alpha
910 */
1011
 12+/**
 13+ * The main file of the Semantic Forms Inputs extension
 14+ *
 15+ * @file
 16+ * @ingroup SFI
 17+ */
 18+
1119 if ( !defined( 'MEDIAWIKI' ) ) {
1220 die( 'This file is a MediaWiki extension, it is not a valid entry point.' );
1321 }
@@ -67,7 +75,7 @@
6876 * Registers the input types with Semantic Forms.
6977 */
7078 function wfSFISetup() {
71 - global $sfgFormPrinter;
 79+ global $sfgFormPrinter, $wgVersion;
7280
7381 $sfgFormPrinter->setInputTypeHook( 'regexp', array( 'SFIInputs', 'regexpHTML' ), array() );
7482 $sfgFormPrinter->setInputTypeHook( 'datepicker', array( 'SFIInputs', 'jqDatePickerHTML' ), array() );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93178fixed usage of deprecated method and made some small tweaksjeroendedauw14:16, 26 July 2011

Comments

#Comment by Jeroen De Dauw (talk | contribs)   15:04, 27 July 2011

Oops - sorry for that :)

#Comment by F.trott (talk | contribs)   15:05, 27 July 2011

np. :)