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

created new button E1, because the table wizard should not also place simple table markup in the page; I have no idea how this worked on MW
(removing debugging alerts)
(created new button E1, because the table wizard should not also place simple table markup in the page; I have no idea how this worked on MW)
Line 42: Line 42:
'D':['e/ea/Button_align_left.png','Left-aligned text','<div style="text-align: left; direction: ltr; margin-left: 1em;">\n','\n<\/div>','Left-aligned text'],
'D':['e/ea/Button_align_left.png','Left-aligned text','<div style="text-align: left; direction: ltr; margin-left: 1em;">\n','\n<\/div>','Left-aligned text'],
'D1':['a/a5/Button_align_right.png','Right-aligned text','<div style="text-align: right; direction: ltr; margin-left: 1em;">\n','\n<\/div>','Right-aligned text'],
'D1':['a/a5/Button_align_right.png','Right-aligned text','<div style="text-align: right; direction: ltr; margin-left: 1em;">\n','\n<\/div>','Right-aligned text'],
'E':['7/79/Button_cmpl_table.png','Smart Table','\n{| class="wikitable" \n|- \n| 1 || 2\n|- \n| 3 || 4','\n|}\n',''],
'E':['7/79/Button_cmpl_table.png','Simple table','\n{| class="wikitable" \n|- \n| 1 || 2\n|- \n| 3 || 4','\n|}\n',''],
'E1':['8/80/Button_smart_table.png', 'Smart table wizard', '','',''],
'F':['1/1e/Button_font_color.png','Colored text','<span style="color: ','">Colored text<\/span>','ColorName'],
'F':['1/1e/Button_font_color.png','Colored text','<span style="color: ','">Colored text<\/span>','ColorName'],
'FS':['6/6d/Button_unsigned.png','Unsigned post','{{subst:unsigned|','|date}}','user name or IP'],
'FS':['6/6d/Button_unsigned.png','Unsigned post','{{subst:unsigned|','|date}}','user name or IP'],
Line 287: Line 288:
//  table
//  table
extendAButton(Isrc + '7/79/Button_cmpl_table.png',XEBPopupTable)
extendAButton(Isrc + '7/79/Button_cmpl_table.png',XEBPopupTable)
extendAButton(Isrc + 'e/ef/Button_reflink_start.png',XEBPopupRef)
extendAButton(Isrc + '8/80/Button_smart_table.png',XEBPopupRef)
extendAButton(Isrc + 'b/b8/Button_Globe.png', XEBPopupGeoLink);
extendAButton(Isrc + 'b/b8/Button_Globe.png', XEBPopupGeoLink);
extendAButton(Isrc + '4/49/Button_talk.png', XEBPopupTalk);
extendAButton(Isrc + '4/49/Button_talk.png', XEBPopupTalk);