r79039 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79038‎ | r79039 | r79040 >
Date:02:39, 27 December 2010
Author:yaron
Status:deferred
Tags:
Comment:
Removed $sfgFancyBoxIncluded (unnecessary since last version), added $sfgRedLinksCheckOnlyLocalProps
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_Settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_Settings.php
@@ -103,14 +103,16 @@
104104 $sfgCacheFormDefinitions = false;
105105
106106 # ##
107 -# Page properties, used for the API
 107+# When modifying red links to potentially point to a form to edit that page,
 108+# check only the properties pointing to that missing page from the page the
 109+# user is currently on, instead of from all pages in the wiki.
108110 # ##
109 -$wgPageProps['formdefinition'] = 'Definition of the semantic form used on the page';
 111+$sfgRedLinksCheckOnlyLocalProps = false;
110112
111113 # ##
112 -# Ensures that the FancyBox Javascript library is only included once
 114+# Page properties, used for the API
113115 # ##
114 -$sfgFancyBoxIncluded = false;
 116+$wgPageProps['formdefinition'] = 'Definition of the semantic form used on the page';
115117
116118 # ##
117119 # Global variables for Javascript

Status & tagging log