User:Nishkid64/DYK/monobook.js

Today, User:Nishkid64/DYK/monobook.js is a topic of great relevance and interest to society in general. With the advancement of technology and globalization, User:Nishkid64/DYK/monobook.js has become an increasingly important topic in different areas, from politics to science. In this article we will explore in detail the different aspects related to User:Nishkid64/DYK/monobook.js, from its origin and evolution to its impact today. In addition, we will analyze the different perspectives and opinions about User:Nishkid64/DYK/monobook.js, in order to offer a complete and objective vision of this topic that is so relevant today.
// <nowiki> 
//automate insertion of the following functions:
// Article talk page: {{subst:dyktalk|10 June|2006}}
// Article creator's talk page: {{subst:UpdatedDYK|]}}
// Nominator's talk page: {{subst:UpdatedDYKNom|]}}

function pipe_date()
{
  var months = new Array('January', 'February', 'March', 'April', 'May', 'June',
                         'July', 'August', 'September', 'October', 'November', 'December');
  var date = new Date();
  var yearStr = date.getUTCFullYear();
  var dayMoStr = months +" "+ date.getUTCDate();
  var t = dayMoStr+"|"+yearStr;
  return t;
}

function dyk_talk()
{
  
  var f = document.editform, t = f.wpTextbox1;
  if (t.value.length > 0)
    t.value += '\n';
  t.value += "{{subst:dyktalk|"+pipe_date()+"}}  ~~~~";
  f.wpSummary.value = "This article was selected for ]!" 

}

function updated_dyk()
{
  var page = prompt("User created which article?")
  var f = document.editform, t = f.wpTextbox1;
  if (t.value.length > 0)
    t.value += '\n';
  t.value += "{{subst:UpdatedDYK|"+pipe_date()+"|" + page + "}} \nThanks for your contributions! ~~~~";
  f.wpSummary.value = "Your  article, '']'', was selected for ]!" 
}

function updated_dyk_nom()
{
  var page = prompt("User nominated which article?")
  var f = document.editform, t = f.wpTextbox1;
  if (t.value.length > 0)
    t.value += '\n';
  t.value += "{{subst:UpdatedDYKNom|"+pipe_date()+"|" + page + "}} \nThanks for your contributions! ~~~~";
  f.wpSummary.value = "Your ] nomination for ] was successful" 
}

// end of file </nowiki>