Difference between revisions of "User:SimonA/monobook.js"

From Conservapedia
Jump to navigation Jump to search
(Hmm.)
(Bah.)
 
Line 1: Line 1:
−
// Simplified edit section 0 ([[User:ais523/editsection0tab.js]])
+
 
−
// Loosely based on [[Wikipedia:WikiProject User scripts/Scripts/Add edit section 0]]
 
−
// <source lang="javascript">
 
−
addOnloadHook(function()
 
−
{
 
−
  var x=document.getElementById('ca-history');
 
−
  if(x!=null)
 
−
    addPortletLink('p-cactions', wgServer+wgScript+"?title="+encodeURIComponent(wgPageName)+
 
−
                                "&action=edit&section=0", '0', 'ca-edit-0',
 
−
                                'Edit the lead section of this page', '0', x);
 
−
});
 
−
// </source>
 
−
//
 

Latest revision as of 03:36, December 10, 2007