r76325 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76324‎ | r76325 | r76326 >
Date:18:45, 8 November 2010
Author:neilk
Status:ok
Tags:
Comment:
remove tab hack, restores compatibility (partially) with non-Vector skins, fix bug#25796
Modified paths:
  • /trunk/extensions/UploadWizard/UploadWizardPage.js (modified) (history)
  • /trunk/extensions/UploadWizard/resources/combined.js (modified) (history)
  • /trunk/extensions/UploadWizard/resources/combined.min.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/combined.js
@@ -10696,15 +10696,6 @@
1069710697
1069810698 // create UploadWizard
1069910699 mw.UploadWizardPage = function() {
10700 - // add the discussion link
10701 - var discussListItem = addPortletLink( 'p-namespaces',
10702 - 'http://usability.wikimedia.org/wiki/Multimedia:Upload_wizard/Questions_%26_Answers',
10703 - 'Q & A',
10704 - 'usability_upload_wizard_qa',
10705 - 'Questions & answers about this experimental extension at the Usability wiki');
10706 - var discussLink = discussListItem.getElementsByTagName( 'a' )[0];
10707 - discussLink.setAttribute( 'target', 'usability_discussion' );
10708 -
1070910700
1071010701 var apiUrl = false;
1071110702 if ( typeof wgServer != 'undefined' && typeof wgScriptPath != 'undefined' ) {
Index: trunk/extensions/UploadWizard/resources/combined.min.js
@@ -10697,15 +10697,6 @@
1069810698
1069910699 mw.UploadWizardPage=function(){
1070010700
10701 -var discussListItem=addPortletLink('p-namespaces',
10702 -'http://usability.wikimedia.org/wiki/Multimedia:Upload_wizard/Questions_%26_Answers',
10703 -'Q & A',
10704 -'usability_upload_wizard_qa',
10705 -'Questions & answers about this experimental extension at the Usability wiki');
10706 -var discussLink=discussListItem.getElementsByTagName('a')[0];
10707 -discussLink.setAttribute('target','usability_discussion');
10708 -
10709 -
1071010701 var apiUrl=false;
1071110702 if(typeof wgServer!='undefined'&&typeof wgScriptPath!='undefined'){
1071210703 apiUrl=wgServer+wgScriptPath+'/api.php';
Index: trunk/extensions/UploadWizard/UploadWizardPage.js
@@ -5,15 +5,6 @@
66
77 // create UploadWizard
88 mw.UploadWizardPage = function() {
9 - // add the discussion link
10 - var discussListItem = addPortletLink( 'p-namespaces',
11 - 'http://usability.wikimedia.org/wiki/Multimedia:Upload_wizard/Questions_%26_Answers',
12 - 'Q & A',
13 - 'usability_upload_wizard_qa',
14 - 'Questions & answers about this experimental extension at the Usability wiki');
15 - var discussLink = discussListItem.getElementsByTagName( 'a' )[0];
16 - discussLink.setAttribute( 'target', 'usability_discussion' );
17 -
189
1910 var apiUrl = false;
2011 if ( typeof wgServer != 'undefined' && typeof wgScriptPath != 'undefined' ) {

Status & tagging log