MediaWiki:Gadget-editSummary.js: различия между версиями

м O0o___o0O
м fcuk!!111
Строка 1: Строка 1:
//Summary buttons  
//Summary buttons  
function SummaryButtons(){
function SummaryButtons(){
  var sum = (document.getElementById('editpage-copywarn') || document.getElementById('wpSummary'));
  var sum = (document.getElementById('wpSummaryLabel') || document.getElementById('wpSummary'));
  if (!sum || (sum.form.wpSection && sum.form.wpSection.value == 'new')) return;
  if (!sum || (sum.form.wpSection && sum.form.wpSection.value == 'new')) return;
  var sp = document.createElement('div'); sp.id = 'userSummaryButtonsA';
  var sp = document.createElement('div'); sp.id = 'userSummaryButtonsA';