This script has been superseded by
MediaWiki:Gadget-edittop.js:
importScript('MediaWiki:Gadget-edittop.js')
in your personal js file.For discussion please use MediaWiki_talk:Gadget-edittop.js.
EditTop is a script that adds an [] link above page heading, allowing you to
edit the top section of the page.
Unlike other similar scripts that check the page you're on and then construct an [edit] link, this script simply looks for another [edit] link inside level 2 header below, then duplicates it. As a result:
__NOEDITSECTION__
on the page);Script should work in all major browsers. Source code is here.
Automatic (Intro)
edit summary can be added with the following code in your monobook.js:
if (wgAction=='edit' && document.URL.indexOf('§ion=0') != -1)
addOnloadHook(function(){
document.getElementById('wpSummary').value = '(Intro) '
})
Please do not use /* Intro */
as this creates misleading non-existent section link.
This works for secure.wikimedia.org, but it's a step down for me since it doesn't add a /* Intro */ or similar thing to the edit summary. Any chance of that being added? -- Gwern (contribs) 21:32 19 June 2007 (GMT)
This script has been superseded by
MediaWiki:Gadget-edittop.js:
importScript('MediaWiki:Gadget-edittop.js')
in your personal js file.For discussion please use MediaWiki_talk:Gadget-edittop.js.
EditTop is a script that adds an [] link above page heading, allowing you to
edit the top section of the page.
Unlike other similar scripts that check the page you're on and then construct an [edit] link, this script simply looks for another [edit] link inside level 2 header below, then duplicates it. As a result:
__NOEDITSECTION__
on the page);Script should work in all major browsers. Source code is here.
Automatic (Intro)
edit summary can be added with the following code in your monobook.js:
if (wgAction=='edit' && document.URL.indexOf('§ion=0') != -1)
addOnloadHook(function(){
document.getElementById('wpSummary').value = '(Intro) '
})
Please do not use /* Intro */
as this creates misleading non-existent section link.
This works for secure.wikimedia.org, but it's a step down for me since it doesn't add a /* Intro */ or similar thing to the edit summary. Any chance of that being added? -- Gwern (contribs) 21:32 19 June 2007 (GMT)