Wikipedia:WikiProject User scripts/Scripts/Edit Top: Difference between revisions

Content deleted Content added
m Reverted edits by 99.6.89.78 (talk) unexplained removal of content (HG)
`/
Line 1:
============== [
Ever want to just change something at the top of a fairly long article, but don't feel like loading the entire page again like the "Edit this page" link does? Well, now you can do just that, using this wiki user script!
 
[[````]]
{|border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;"
!Name
!Version
!Description
!Skins
!Author
|-
|'''Edit Top'''
|1.1.1
|Allows you to edit just the first section of an article.
|MonoBook
|[[User:pile0nades|pile0nades]]
|}
 
==Installation instructions==
To install the script:
* Go to [[Special:Mypage/skin.js]] and click "Edit this page"
* Add the line<br><code style="margin-left:2em;line-height:3em;padding:1em;border: 1px dashed #2f6fab;">importScript("[[Wikipedia:WikiProject User scripts/Scripts/Edit Top.js]]");</code><br>to your skin script and save
* [[WP:BYPASS|Bypass your browser cache]]
 
A slightly modified version is also available at [[User:Gerbrant/edit/top.js]].
 
==Usage==
Now go to any page on Wikipedia and the [edit intro] link will appear at the top right. This link will load only the "zeroth" section of the article into the edit page.
 
[[Category:Wikipedia scripts]]