Index: trunk/extensions/UploadWizard/UploadWizardPage.js |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | |
10 | 10 | // create UploadWizard |
11 | 11 | mw.ready( function() { |
12 | | - // add the discussion link, using standard DOM (sigh) since jquery not guaranteed available |
| 12 | + // add the discussion link |
13 | 13 | var discussListItem = addPortletLink( 'p-namespaces', |
14 | 14 | 'http://usability.wikimedia.org/wiki/Multimedia_talk:Upload_wizard', |
15 | 15 | 'Discussion', |
— | — | @@ -17,7 +17,6 @@ |
18 | 18 | var discussLink = discussListItem.getElementsByTagName( 'a' )[0]; |
19 | 19 | discussLink.setAttribute( 'target', 'usability_discussion' ); |
20 | 20 | |
21 | | - |
22 | 21 | // The namespace for media files. We use this to look up what the URL prefix is on this MediaWiki, usually |
23 | 22 | // 'Image:' or something like that. Defined in defines.php |
24 | 23 | var NS_FILE = 6; |