ผู้ใช้:Dong/monobook.js

จากวิกิพีเดีย สารานุกรมเสรี

< ผู้ใช้:Dong

หมายเหตุ: หลังจากบันทึกแล้ว, คุณต้องล้างแคชของเบราว์เซอร์เสียก่อน จึงจะเห็นการเปลี่ยนแปลง: Mozilla/Safari/Konqueror: กด Shift ค้าง แล้วกด Reload (หรือ Ctrl-Shift-R), IE: กด Ctrl-F5, Opera: กด F5

/*  */
function getPname() {
  return wgPageName.replace(/_/g, ' ');
}
/*  */

// ========== เว้นบรรทัด ==========

function doConvertNumber() {
  text = document.editform.wpTextbox1.value;
  text = replace(text,'\n','\n\n');
  document.editform.wpTextbox1.value = text;
  document.editform.wpSummary.value = "Double Line";
}