https://bugzilla.wikimedia.org/show_bug.cgi?id=48091
--- Comment #11 from Rainer Rillke @commons.wikimedia <[email protected]> --- (In reply to comment #10) > I tried to hack in https://gerrit.wikimedia.org/r/#/c/64520/ but didn't work > in > Opera yet. Please be more specific: What did not work? Here is what I did: 1) Installed a local proxy (Fiddler2) 1a) Configurated Opera to use the local proxy 1b) went to http://commons.wikimedia.org/wiki/Special:UploadWizard in Opera 2) Dumped the UploadWizard HTML page 3) Enabled auto-response for UploadWizard from the dump; other requests were passed through to the WMF servers 4) Verified that the Upload Wizard still "hangs" and threw the same error at the JS Error console 5) MODIFIED THE DUMP: 5a) Moved <script>if(window.mw){ mw.config.set({"UploadWizardConfig":{ [...] directly before the loading call <script>if(window.mw){ mw.loader.load(["mediawiki.htmlform","ext.uploadWizard" AND IT WORKED! 5b) Moved the config into the head but below the other config so it looks like this: <script>if(window.mw){ mw.config.set({"wgCanonicalNamespace":"Special" [...] <script>if(window.mw){ mw.loader.implement("user.options" [...] <script>if(window.mw){ mw.config.set({"UploadWizardConfig": AND IT WORKED! Conclusion: There are many points where you can insert the config, you just have to care that: a) mw.config is there b) it must be *before* telling RL to load ext.UploadWizard Is this that difficult? Isn't there anyone who developed this OutPage.php monster? -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
