r79743 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79742‎ | r79743 | r79744 >
Date:19:01, 6 January 2011
Author:yaron
Status:deferred
Tags:
Comment:
Added setting of $wgEditPageFrameOptions to enable file-upload windows again after recent MW security patch
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php
@@ -115,6 +115,8 @@
116116
117117 $wgExtensionMessagesFiles['SemanticForms'] = $sfgIP . '/languages/SF_Messages.php';
118118 $wgExtensionAliasesFiles['SemanticForms'] = $sfgIP . '/languages/SF_Aliases.php';
 119+// Allow for file-upload windows for MW >= 1.16.1
 120+$wgEditPageFrameOptions = 'SAMEORIGIN';
119121
120122 // register client-side modules
121123 if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) {

Status & tagging log