User talk:Supadawg/secedit.js
From Wikipedia, the free encyclopedia
SecEdit is an inline section editor; in other words, you can edit sections of a Wikipedia article without going to a separate page. It also supports previewing and viewing changes inline.
To install and use:
- SecEdit is only tested on Firefox 1.5 and above, so you need it to continue. It may work on Safari and Opera, but I haven't tried it yet.
- Copy the following to your monobook.js:
importScript('User:Supadawg/secedit.js');
- Clear your cache
- Go to a normal article and click on the [edit] link directly to the right of a section title. In a second or two, the normal editing box should appear, replacing the section text. Clicking Show preview or Show changes will cause the preview or changes to appear directly above the edit box. When you're done, click Save page as normal. The [edit] link has been replaced by [cancel], which will restore the previous text.
- Please share any comments or bugs on this page!
Contents |
[edit] Bug found
This script is failing for me on Wikipedia:Administrators' noticeboard and related pages. (I'm running Firefox 1.5.0.9 on WinXP, btw.) I'm pretty sure it's because the title has an apostrophe in it. Any chance of fixing it? Thanks for the wonderful script. – Anþony talk 02:45, 27 December 2006 (UTC)
- Thanks, it's fixed now. If you clear your cache you should be able to edit the page. Supadawg (talk • contribs) 20:55, 27 December 2006 (UTC)
[edit] Hows this meant to work
- How do I even use this
- Whats it meant to do? I copied the contents to my monobook.js, bypassed cache and theres no difference.
IE7. --Alfakim-- talk 19:04, 7 January 2007 (UTC)
- I really should add a description. First of all, it won't work for you, as you use Internet Explorer, and it's only tested in Firefox. If you had Firefox, you would go to a normal article, and click on one of the "edit" links of a section (directly to the right of the section title). The text of the section would be replaced by an edit box. It has the ability to preview, view changes, and, of course, cancel. Supadawg (talk • contribs) 21:48, 7 January 2007 (UTC)
- Any chance of getting it to work in IE? Any different scripts you know of that do? --Alfakim-- talk 18:22, 8 January 2007 (UTC)
- Honestly, I don't currently have the time to work around every IE-specific bug, as well as fixing the differences between IE 6 and 7, which apparently are manifold (I have other projects). If there is enough demand for it, I could try it, though. You could try QuickEdit, but I'm not sure if that works in IE either, and it doesn't have "Preview" and "Show changes" options. However, you could always switch to a standards compliant browser ;) Supadawg (talk • contribs) 00:51, 10 January 2007 (UTC)
- Any chance of getting it to work in IE? Any different scripts you know of that do? --Alfakim-- talk 18:22, 8 January 2007 (UTC)
[edit] Safari 3
Seems to work in Safari 3. Just so you know :D --TheDJ (talk • contribs) 20:03, 12 July 2007 (UTC)
[edit] Bug
I followed the instructions for installation, but whenever I click on a section edit link, the section sort of collapses, leaving only the title of the section. The edit box never appears. --DearPrudence 04:06, 12 August 2007 (UTC)
- The script seems to work in Firefox and Opera but not in IE ∴ Alex Smotrov 17:18, 15 August 2007 (UTC)
- I am using Firefox. --DearPrudence 06:06, 16 August 2007 (UTC)
[edit] Question...
How can I make this script work withwikEd? That is to say, How do I get the extra edit functions and buttons available when using this tool as none are there currently. Wikidudeman (talk) 16:46, 27 September 2007 (UTC)
- I don't think it's easy to do without Cacycle's support. —AlexSm 17:06, 17 March 2008 (UTC)
[edit] script edits next section
Somehow the script is editing the section 2 when I click the edit link for section 1... Any Idea why this is happening? Btw I am using the modern skin. Thanks for the great script! Waldir talk 16:44, 17 March 2008 (UTC)
- I think I can answer this one. The script is not designed properly, and is not compatible with zero section [edit] link, which you probably installed as a gadget. —AlexSm 17:06, 17 March 2008 (UTC)