Jump to content

MediaWiki:Common.js/edit.js: Difference between revisions

that worked; restoring 2/4 lines now
(is it any of these lines? temporarily breaking file)
(that worked; restoring 2/4 lines now)
Line 81: Line 81:
'Y2':['6/63/Button_includeonly.png','Include only',"<includeonly>","<\/includeonly>",'Text'],
'Y2':['6/63/Button_includeonly.png','Include only',"<includeonly>","<\/includeonly>",'Text'],
'Z':['3/35/Button_substitute.png','Substituted page link',"{{subst:","}}",'Template'],
'Z':['3/35/Button_substitute.png','Substituted page link',"{{subst:","}}",'Template'],
'AI':['c/cc/Button_adv_image.png','Advanced image',"[[Image:","|thumb|right|px|Caption]]",'FileName.jpg'],
'GEO': ['b/b8/Button_Globe.png', 'Geo location', "", "", ""],
'GEO': ['b/b8/Button_Globe.png', 'Geo location', "", "", ""],
'TALK': ['4/49/Button_talk.png', 'Add talk template', "", "", ""]
'TALK': ['4/49/Button_talk.png', 'Add talk template', "", "", ""]
Line 1,162: Line 1,163:
var f = document.XEBPopupImageForm;
var f = document.XEBPopupImageForm;
hideXEBPopup();
hideXEBPopup();
var code = '[[Image:';
code += f.imgFile.value;
code += f.imgFile.value;
code += '|' + f.imgType.value;
code += '|' + f.imgType.value;