Index: trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php |
— | — | @@ -115,6 +115,8 @@ |
116 | 116 | |
117 | 117 | $wgExtensionMessagesFiles['SemanticForms'] = $sfgIP . '/languages/SF_Messages.php'; |
118 | 118 | $wgExtensionAliasesFiles['SemanticForms'] = $sfgIP . '/languages/SF_Aliases.php'; |
| 119 | +// Allow for file-upload windows for MW >= 1.16.1 |
| 120 | +$wgEditPageFrameOptions = 'SAMEORIGIN'; |
119 | 121 | |
120 | 122 | // register client-side modules |
121 | 123 | if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) { |