Index: trunk/extensions/JS2Support/mwEmbed/jsScriptLoader.php |
— | — | @@ -84,8 +84,7 @@ |
85 | 85 | * outputs js |
86 | 86 | */ |
87 | 87 | function doScriptLoader() { |
88 | | - global $wgScriptLoaderNamedPaths, $IP, |
89 | | - $wgEnableScriptMinify, $wgUseFileCache; |
| 88 | + global $wgScriptLoaderNamedPaths, $IP, $wgUseFileCache; |
90 | 89 | |
91 | 90 | // Load the javascript class paths: |
92 | 91 | require_once( realpath( dirname( __FILE__ ) ) . "/includes/jsClassLoader.php"); |
— | — | @@ -504,7 +503,7 @@ |
505 | 504 | * validate classes and generate request key |
506 | 505 | */ |
507 | 506 | function postProcRequestVars(){ |
508 | | - global $wgContLanguageCode, $wgEnableScriptMinify, $wgScriptLoaderNamedPaths, |
| 507 | + global $wgContLanguageCode, $wgScriptLoaderNamedPaths, |
509 | 508 | $wgStyleVersion; |
510 | 509 | |
511 | 510 | // Set debug flag |
— | — | @@ -585,11 +584,7 @@ |
586 | 585 | |
587 | 586 | // Add the unique rid |
588 | 587 | $this->requestKey .= $this->urid; |
589 | | - |
590 | | - // Add a minify flag |
591 | | - if ( $wgEnableScriptMinify ) { |
592 | | - $this->requestKey .= '_min'; |
593 | | - } |
| 588 | + |
594 | 589 | } |
595 | 590 | /** |
596 | 591 | * Pre-process request variables ~without configuration~ or any utility functions. |