Update links in comments to developer.mozilla.org
authorFomafix <fomafix@googlemail.com>
Mon, 19 Feb 2018 08:54:25 +0000 (09:54 +0100)
committerFomafix <fomafix@googlemail.com>
Mon, 19 Feb 2018 08:54:25 +0000 (09:54 +0100)
Change-Id: I2310cf73ab494375655067833cea11b18483a396

resources/src/mediawiki.special/mediawiki.special.upload.js
resources/src/mediawiki/mediawiki.js

index 57578a6..de5ab87 100644 (file)
                                };
                                reader.readAsArrayBuffer( file );
                        } else if ( 'URL' in window && 'createObjectURL' in window.URL ) {
-                               // Supported in Firefox 4.0 and above <https://developer.mozilla.org/en/DOM/window.URL.createObjectURL>
+                               // Supported in Firefox 4.0 and above <https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL>
                                // WebKit has it in a namespace for now but that's ok. ;)
                                //
                                // Lifetime of this URL is until document close, which is fine
index 104f699..e9efc16 100644 (file)
@@ -53,7 +53,7 @@
        }
 
        function defineFallbacks() {
-               // <https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Set>
+               // <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set>
                StringSet = window.Set || ( function () {
                        /**
                         * @private