Jump to content

User talk:Cacycle/wikEd/Archive 004

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


Problems with [T] and [W]

I copied some selected text that included a red internal Wikipedia link to wikEd. I then pressed [W]. [W] turned the link into a cross between an external link and a internal link. It should have been internal only.

Also, when I selected text and then clicked [T], all that happened was that the selection was cleared. No changes to the text or formatting happened. Will (Talk - contribs) 07:13, 15 February 2007 (UTC)

On a related note, is there an option to automatically paste text as plain text only? I'm having trouble to always fix the formatting after pasting an article title copied from the article title bar... Sandstein 10:35, 17 February 2007 (UTC)
Unfortunately, that's technically impossible. But the whole edit window is "auto-[T]extified" before being submitted. Cacycle 22:16, 17 February 2007 (UTC)

Copying a page title to wikitext

When I copy a rendered page title from another window to the wikitext (into a link) I first see it formatted (in large font), which after pressing preview or "Convert pasted content to plain text" converts to plain text, but with a newline before and after it, so I have to delete two newlines. Is there an easier way to copy the title as unformatted text?--Patrick 08:50, 15 February 2007 (UTC)

Try [T]extifying the whole text by not having anything selected when you press the button. Cacycle 22:18, 17 February 2007 (UTC)
I still get two newlines.--Patrick 12:14, 19 February 2007 (UTC)
Works now, please update to 0.9.26a. Cacycle 20:35, 24 February 2007 (UTC)
Thanks!--Patrick 15:33, 10 April 2007 (UTC)

wikEd for anonymous users

When administrator edits MediaWiki:Common.js and installs wikiEd for all users then wikiEd will not be displayed for not-logged-in users - wikiEd's icon in top right corner will show "Loading error - WikEd 0.9.24e ...". Javascript console contains single line with 'document.getElemetById("wpMinoredit") has no properties'. Non edit pages display wikiEd icon properly.

Default installation of MediaWiki come with $wgAllowAnonymousMinor set to false, so anonymous users are not provided with ability to set minor edit flag. (I tried to enable this option but wiki ignored the option.) I have looked in wikiEd's code and it seems that it only uses "wpMinoredit" to get div around edit summary and two checkboxes. Shanging the getElemetById to use "wpSummary" should fix the problem.--Alvin-cs 11:36, 15 February 2007 (UTC)

I have fixed the first error message. Does it work now in 0.9.24f? Cacycle 00:43, 18 February 2007 (UTC)
Tested with 0.9.25c and it works. Thank you! --Alvin-cs 13:07, 7 March 2007 (UTC)

wikEd 0.9.25a broken badly

WikEd is completely broken for me. Even with custom buttons commented out, I get a static edit box with toolbars on top. The button to disable wikEd is not working. I have completely disabled wikEd.

Will (Talk - contribs) 03:55, 21 February 2007 (UTC)

I have notified you that you have to update you custom button bar definitions yesterday! :-S Cacycle 04:09, 21 February 2007 (UTC)

I told you that I disabled all custom buttons. Besides, I found no changes in your sample. Will (Talk - contribs) 04:13, 21 February 2007 (UTC)

The "wikEdButtonBar['custom1'] = ..." part has changed. Cacycle 04:36, 21 February 2007 (UTC)

Well, I don't know why I thought that wikEd was not working at all. I started by reenabling just wikEd. That worked. I then changed the line you mentioned, but I am still getting the following error. Earlier, when I thought there were no changes, I should have looked at the history for the page. Didn't think of it. Sorry. However, I just checked it now. I made all the changes shown there. Will (Talk - contribs) 06:07, 21 February 2007 (UTC)

I still don't know what what is wrong. I have compared the sample with my current code and see no additional changes. If you have time, could you look at it? It's at User:Will Pittenger/monobook.js#Custom Buttons. Note: You might need to purge the page to get the section link to work. Also, I rearrange the sample to make it more modular and allow me to add more buttons such that it is easy to follow. That will make it harder to compare. Sorry about that. Will (Talk - contribs) 05:17, 22 February 2007 (UTC)
Remove the /* before wikEdButton[102]. Cacycle 05:29, 22 February 2007 (UTC)

Well, duh. I forgot to uncomment the section. I am surprised the rest of my scripts even worked. Will (Talk - contribs) 05:33, 22 February 2007 (UTC)

Still not working. However, there is an improvement. The custom buttons do appear and all bars are in the correct location. The edit box is blue (like its transparent) and empty. It is definitely non-functional. I also clicked on one of the custom buttons. I got another "Null function" error.
Will (Talk - contribs) 05:46, 22 February 2007 (UTC)
It should work again if you update to 0.9.26 and fix your monobook.js:
  • You have to add "this" to the WikEdEditButton calls: javascript:WikEdEditButton(this, this.id, null, Handler);
  • You have to use &lt; and &gt; instead of < and > in the Handler for html code
Cacycle 04:46, 23 February 2007 (UTC)

It all now works except for the code button. That fails to remove existing code tags. I don't see any difference between that and the div button, which does remove existing div tags. If you happen to see something, please let me now. Will (Talk - contribs) 05:33, 23 February 2007 (UTC)

// keep the changed text selected, needed to remove the formatting with a second click
obj.changed.keepSel = true;

before the return, exactly as in the example on the wikEd homepage. Cacycle 02:58, 24 February 2007 (UTC)

Now it's working. Sorry to be such a problem. However, most of the buttons I have created so far fall into one of two select patterns. Either I am simply inserting text or I am adding/removing tags from the selection. I figure both could be automated somewhat. Could wikEd add the following functions?
  • Insert the text at the cursor. If there is a selection, you can replace it. (I would never use this function unless the box were empty.)
  • Add or Remove an HTML tag. Only one parameter is needed: which tag. This would be passed as just the name of the tag. (Eg: Pre, Code, Div).
In order to use them, I would still declare the button as we do now and provide a handler. However, all the handler would do is call your function. Is this doable? It would simplify things next time you need to make changes to how buttons work.
It might also help if you simplify the declaration too. How about a function that takes the button name, graphic, and handler and does the rest for the caller? Will (Talk - contribs) 21:54, 24 February 2007 (UTC)
This will definitely come, but it may take a while. Cacycle 03:45, 27 February 2007 (UTC)

You can insert text at the cursor position by using the WikEdInsertTags('tagOpen', 'tagClose', 'sampleText') function. This is equivalent to the standard insertTags() routine and is used by the standard toolbar buttons and the special chars panel. Cacycle 01:49, 28 February 2007 (UTC)

Texts over flow

One thing I noticed was that the texts over flow the

box with this editor. Is this a known bug?--Kohyin 11:52, 9 February 2007 (UTC) (Moved question from homepage)

Where and when exactly does text overflow and from which field. Cacycle 14:26, 9 February 2007 (UTC)

Bug?

wikEd works wonderfully on Wikipedia, but I cannot make it work on our internal MediaWiki. I get these two error on the Error Console (FireFox 2.0.0.1):

Error: wikEdFrameBody has no properties Source File: http://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 5764

Error: wikEdTextarea has no properties Source File: http://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 5789

Any ideas? --Sted 16:39, 9 February 2007 (UTC)

What MediaWiki version are you running, you might need to update it. Cacycle 22:23, 9 February 2007 (UTC)
Check the Special:Version page on your MediaWiki installation. Cacycle 17:43, 10 February 2007 (UTC)

Problem (fix buttons in a second row) and suggestions

Hi Cacycle. I'm using wikEd on 15" laptop at maximum resolution (1024x768) and I see something similar to this (fix buttons are in a second row) This problem will increase if you add more buttons. One possible solution:
FormatingFind & replaceFixwikEd
.


This way, you could even add things easily in future development:
FormatingCharactersTemplatesFind & replaceFixwikEd

– — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Á á Ć ć É é Í í Ó ó Ś ś Ú ú Ý ý Ǿ ǿ · À à È è Ì ì Ò ò Ù ù ·  â Ĉ ĉ Ê ê Ĝ ĝ Ĥ ĥ Î î Ĵ ĵ Ô ô ŝ Ŝ Û û · Ä ä Ë ë Ï ï Ö ö Ü ü ÿ · à ã Ñ ñ Õ õ · Å å · Ç ç · Č č Š š ŭ · Ł ł · Ő ő Ű ű · Ø ø · Ā ā Ē ē Ī ī Ō ō Ū ū · ß · Æ æ Œ œ · Ð ð Þ þ

(We don't need MediaWiki:Edittools anymore on edit window.)


FormatingCharactersTemplatesFind & replaceFixwikEd

Cleanup ▼Deletion ▼Info box ▼Nav box ▼User warnings ▼Maintenance ▼Disambig ▼

Software


Taxobox
Chembox


Book
Film
Artist
Golfer

Clicking on "Software", wikEd should add:

{{Infobox Software
| name = 
| logo = 
| screenshot = 
| caption = 
| author = 
| developer = 
| released = 
| latest release version = 
| latest release date = 
| latest preview version = 
| latest preview date = 
| operating system = 
| platform = 
| language = 
| genre = 
| license = 
| website = 
}}

Can you do that? At least the first idea/solution or something similar. Fix buttons in a second row takes too much space. Mosca2 08:37, 10 February 2007 (UTC)

I think this was I good idea! {{support}}Dvyjonest·c·e 09:38, 10 February 2007 (UTC)
Thanks for your suggestions. One major problem I see with the fancy functions is that they are too specific for Wikipedia in general and the English Wikipedia in particular. wikEd is a general extension that is written for any Mediawiki installation in any language, be it an intranet installation or Wikia.
I also see the problem with too many buttons. wikEd is now more or less button-complete and I do not expect many more buttons to come. Actually, I have already removed a button two versions ago.
One solution could be wikEd plugins for Wikipedia. The wikEd homepage has some documentation on how to use wikEd functions to make text changes. Actually, it is relatively easy to add additional buttons or to add toolbar hiding buttons.
Cacycle 17:41, 10 February 2007 (UTC)
E.g. see fr:MediaWiki:Edittools and it:MediaWiki:Edittools. It would be difficult to integrate them into wikEd. Cacycle 03:44, 11 February 2007 (UTC)

All MediaWiki software have template namespace, right? The "Template" tab I suggested could be customizable (something like actual language translations in wikEd) acording to the project/site, language, and changes in templates (template name or fields in the code of it). It's just an example. Characters/Edit tools tab is less important, since they exist in MediaWiki. Mosca2 07:35, 12 February 2007 (UTC)

I am currently adding a 'grip area' on the left side of every button bar to hide the buttons in the bar. That way you could hide the fix buttons. Cacycle 00:17, 13 February 2007 (UTC)
The grips have been added to the latest release, please update to 0.9.25 (Shift-Reload). What do you think about them. Cacycle 14:26, 22 February 2007 (UTC)

Good solution. Thanks. Mosca2 09:27, 23 February 2007 (UTC)

Feature question/suggestion

I frequently need to edit text that is densely populated with references, and it's damn near impossible to find that missing comma or badly worded sentence in the thicket of reference text. Syntax highlighting sort of helps, but it also highlights a lot of other irrelevant things in the text. Would it be possible for wikEd or a similar tool to have an option for hiding everything enclosed in <ref> tags, perhaps replacing it with just a "ref" note, without actually stripping it from the submitted text? Opabinia regalis 04:57, 11 February 2007 (UTC)

It could be done with a user defined button by setting the CSS definition of the ref markup to invisible (display: none;). Cacycle 00:14, 13 February 2007 (UTC)
Do the example custom buttons still work in the current version? I tried just copying the example text and both the 'div' and 'test' buttons result in the javascript error 'unknown edit function "null"' and clicking through the error, deletion of the character immediately preceding the cursor. I don't know my ass from my elbow about javascript, but especially the last part makes no sense to me. Opabinia regalis 05:14, 14 February 2007 (UTC)
Sorry, I have updated the example. The definition of custom button bars will change with the next release, so everybody with custom buttons will need to adjust the code. Cacycle 13:57, 14 February 2007 (UTC)
Added in 0.9.29. Cacycle 15:18, 17 March 2007 (UTC)

IE7

Thank you for this great tool. I placed my thank you note on the WikEd page, but it has disappeared. So, I am writing here again. I usually use IE7 but I installed FireFox so that I can install WikEd. One thing I noticed was that having WikEd installed on my site powered by WikiMEdia engine disables all the original WikiMedia edit tools when I open the site with IE7. Is there anyway I can swith between WikEd and Original Edit tools when I am on IE? I would appreciate your kind help.--Kohyin 18:38, 12 February 2007 (UTC)

Thanks, I'll fix it today. Cacycle 00:13, 13 February 2007 (UTC)
Fixed, press Shift-Reload to update to 0.9.24e. Cacycle 02:38, 13 February 2007 (UTC)

wikEd in Netscape 7

I know that no good comes of using Netscape 7, but in my work environment, I've got no choice. I peruse Wikipedia at home using Firefox and at work using NS7. I've got wikEd set up in my profile, and until a month or so ago, it would appear at home, and not at all at work. More recently, though, wikEd appears in NS7, but doesn't actually work. I can't do anything in wikEd, and have to disable it, though I've occasionally seen some problems that appeared to be caused by having wikEd running but disabled (at one point, for example, I couldn't add an edit summary). Is there any way that, like in the past, wikEd could check to see if a compatible browser is being used, and not run at all if an incompatible browser is being used? —Erik Harris 18:01, 22 February 2007 (UTC)

I have improved the browser detection, everything before Netscape 8, SeaMonkey 1.0, and Firefox 1.5 will not run wikEd. Cacycle 05:18, 23 February 2007 (UTC)

Do you support SVG for button images?

Do you support SVG for button images? Will (Talk - contribs) 05:38, 23 February 2007 (UTC)

Me, wikEd, or my browser? Cacycle 02:48, 24 February 2007 (UTC)

Sorry. I was thinking my inclusion of the question would imply whether wikEd supports use of SVGs and button images. I don't have a way to convert them myself, if it wikEd supports it, I will add {{ShouldBeSVG}} to their Commons pages. Will (Talk - contribs) 05:01, 25 February 2007 (UTC)

Nobody will construct completely new svg button images for wikEd because of that tag and just converting from one image format into another makes no sense whatsoever. The image format is independent of wikEd, the browsers must be able to render it. Cacycle 02:11, 26 February 2007 (UTC)

Troubles pasting text

I was entering a post on a talk page when I pasted some text after a ". I then typed another " and continued my post.

First enter the contents of this pre box.

#Some spammer spiders might be able to go into Word docs.  The format is too common.
#Many users don't trust Word files.  Too many viruses have gotten around that way.

Originally, I was afraid to post my e-mail address publicly.  I assumed that the "

Then paste the contents of this pre box.

Enable e-mail from other users

Finally, enter a closing quote. Continue typing. What happened to the text you posted? For me, it vanished along with everything after it. I disabled wikEd and found the plain-text box under wikEd showed only the text before the paste. Will (Talk - contribs) 05:34, 25 February 2007 (UTC)

I have tried hard, but I could not replicate your problems. Can you? Did you copy&paste html from the pre tags, did you type it, or did you paste plain text, in which order, and did you push any wikEd button. Cacycle 02:04, 26 February 2007 (UTC)

I suppose that would be a lot of text to type. I did not paste it when I found the problem. I did paste it into the above post. However, while I thought the problem might happen here, it did not. Let's wait a week. If you don't see anything more here, please assume that I am giving up. Will (Talk - contribs) 04:10, 26 February 2007 (UTC)

Arrows controls don't work anymore

After installing wikEd, my arrows control in my keyboard don't work any more. Any clue? Thanks? Mauro do Carmo 02:00, 26 February 2007 (UTC)

Please describe exactly which keys you are talking about, if you press a modifier key (Shift, Ctrl), on which pages and where on the page it does not work, and what exactly happens instead. Unfortunately, I do not have a full keyboard today to replicate your problem. Thanks, Cacycle 02:56, 26 February 2007 (UTC)
ok. The keys I was talking about are the arrow's keys: arrow up, arrow down, arrow left, and arrow right. And on the adition to those keys, "Ctrl c" and "Ctrl v" and "Ctrl x" are not working as well. I hope someone have some fix for that. Thanks. Mauro do Carmo 23:55, 27 February 2007 (UTC)
I cannot reproduce any of your problems (and obviously none of the other users can). So please provide every detail that might be relevant to solve your problems, including the questions above, your operating system, your browser with version, what exactly happens if you push one of those buttons, and if you see any related errors in your (JavaScript) error console (under Tools). Thanks, Cacycle 01:37, 28 February 2007 (UTC)

Green tickY I am using Mozilla Firefox 2.0.0.1 on Windows XP. Whenever I push any of those buttons above nothing happens. So when I push "arrow left", as instance, my cursor should move to the left, but insted it stay stoped. In order to make the add-on wikipedia 0.5.2 work with my my Firefox 2.0.0.1, I've installed two add-ons, the Nightly Tester Tools and the Mr tech local install. If you need any more information, just let me know. Thanks. Mauro do Carmo 10:41, 28 February 2007 (UTC)

Thanks. Can you please try to answer the other questions from above. Additionally, in which field does moving the cursor (caret) not work and in which fields does it work. Does it work if you switch off wiked by pushing the logo on top or by pushing the logo button on the button bar. Does it work on non-edit pages with wikEd turned on. What happens if you disable your Firefox add-ons. I really need all those details in order to help you. Thanks, Cacycle 13:52, 28 February 2007 (UTC)
What question above do you mean? About "shift" key, it appears to work fine with me. Regarding those last questions: Everything works everywhere besides on the edit windows with wikEd turned on. So, the problems with those keys is just on the edit windows, and just when the wikEd is turned on. I should add that all tests were performed with all my Firefox add-ons disabled. One extra information is that the function "copy", "past", and "cut" when I use the right click menu toolbar, is working fine even with wikEd turned on. Thanks. Mauro do Carmo 20:49, 28 February 2007 (UTC)
wikEd is incompatible with the Wikipedia Firefox add-on, I have updated the incompatibility list on the wikEd homepage. Since wikEd provides the same functionality I'd suggest to uninstall that extension. Cacycle 00:37, 1 March 2007 (UTC)
Thank you so much. It is working absolutely fine! Thanks again. []'s Mauro do Carmo 10:09, 1 March 2007 (UTC)

Font Request

Any chance of having a font editor? For example, I'd love to be able to change the color of my fonts or the size of my fonts with the click of a button! Thanks. Debpowell 20:58, 27 February 2007 (UTC)

Only as a plugin that somebody has to develop. See the custom button section on the wikEd homepage. The interface might even become a bit easier in the future. Cacycle 01:40, 28 February 2007 (UTC)

Folding / collapsing tags

Fantastic work! Is it possible to implement a folding mechanism of some kind? This could be particularly useful for articles littered with <ref> tags which make editing more difficult. Being able to collapse all tags, and expand selectively, would make the source text much more readable.

Another wishlist item: a little pop-up for defining table dimensions. The French Wikipedia has something like that for its regular table toolbar button (try it on a test page - it's the first button in the row).--Eloquence* 10:34, 28 February 2007 (UTC)

Thanks :-) I will add both suggestions to the feature wish list. Cacycle 05:46, 1 March 2007 (UTC)
I have added a new <ref>...</ref> hiding (or better: fading) button to the right bar in the current version 0.9.29. Together with the new jump-to-heading function this should make editing complex and long articles much easier. Cacycle 15:12, 17 March 2007 (UTC)

Compatibility with VandalProof

Can I edit with WikEd while using VandalProof as my browser? I frequently edit using VandalProof because it makes tagging articles and posting user warnings much easier, and I'd like to be able to use WikEd at the same time as well. Pyrospirit Flames Fire 20:47, 28 February 2007 (UTC)

Unfortunately you cannot use wikEd under VandalProof yet. VandalProof seems to use Internet Explorer and wikEd is currently not working under IE. I am still looking out for people that participate to make wikEd compatible with IE7, see wikEd dev, and wikEd dev talk. Cacycle 00:46, 1 March 2007 (UTC)

No matter what I do my wikEd logo doesent turn on, I click wait and click and wait

Im using Firefox what have I done wrong!???? -- — Semper Fi, Darkest Hour 17:13, 2 March 2007 (UTC)

  • It says firefox not supported. :(
Please provide all necessary informations and details to solve your problem (including error messages, exact descriptions of what happens, where it happens, what you see, what it should do, your browser version, installed add-ons, other Wikipedia user scripts you are using, JavaScript error messages, who says firefox is not supported, and so on). Thanks, Cacycle 18:40, 2 March 2007 (UTC)
It just says browser not supported, Latest Firefox version, almost all add-ons, grey pen and pencil by log out, everywhere I edit, I was using just popups dev, Now I have the formatter script, wikEd picture that you click to turn it on and off says that when I hover over it. Sorry for being choppy but thats all I know. -- Darkest Hour 17:06, 5 March 2007 (UTC)
Have you changed your browser id string or use a "browser spoofing" add-on? Cacycle 00:40, 6 March 2007 (UTC)
Please update to the current version 0.9.27f, this should work for browsers with messed-up id. Cacycle 03:35, 6 March 2007 (UTC)

Make it work with WP:TW

I currently use twinkle, but wikiEd breaks it while it is on. Should I go to the developers of Twinkle, or is this the right place? ffm yes? 23:21, 5 March 2007 (UTC)

Please explain in detail what breaks, when it breaks, what still works, which browser version with which add-ons you are using, and so on. Please also check the JavaScript error console under the Tools menu of Firefox for errors. I need this to decide on which side the error occurs. Cacycle 04:14, 6 March 2007 (UTC)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0rfiyrf . TW breaks when it tries to paste in the text area, like when warning a user. TW rollback still works, strangly enough.

Errors:

Error: this[id] has no properties
Source File: http://wiki.riteme.site/w/index.php?title=User:Firefoxman/monobook.js&action=raw&ctype=text/javascript&dontcountme=s
Line: 354
Warning: Unknown property 'column-count'.  Declaration dropped.
Source File: http://wiki.riteme.site/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400
Line: 38
ffm yes? 16:47, 7 March 2007 (UTC)
Your TWINKLE installation on your monobook.js page is wrong. Never copy the whole program in order to use the latest version. You have to use:
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklefluff.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');
importScript('User:AzaToth/twinklewarn.js');
importScript('User:AzaToth/twinklearv.js');
importScript('User:AzaToth/twinklespeedy.js');
importScript('User:AzaToth/twinklediff.js');
importScript('User:AzaToth/twinkleprotect.js');
importScript('User:AzaToth/salt.js');
But using that it still doesn't work... Cacycle 00:15, 12 March 2007 (UTC)
AzaToth has just updated Twinkle and it works fine for me. Cacycle 03:38, 12 March 2007 (UTC)

Install does not work

This is great stuff, but I tried it on my wiki in Mediawiki:Monobook.js with this

// install User:Cacycle/wikEd in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

I get the icon near logout, but no wikied-buttons are in edit window, if i click on the icon i get this in java console of firefox:

Error: wikEdFrameBody has no properties
Source: http://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s
Line: 5776
Error: wikEdTextarea has no properties
Source: http://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s
Line: 5801

I tried it in english wikipedia and here it works.

Any help please? --Wissenslogistiker 12:14, 19 February 2007 (UTC)

Are there earlier error messages from during the installation process? Cacycle 13:18, 19 February 2007 (UTC)
No, nothing. It is MW 1.5.8, is it possible to get it to work in this version? --Wissenslogistiker 14:00, 19 February 2007 (UTC)
Oops, I meant error messages during each page load when wikEd is setup. Please also check if it works from a user/monobook.js page. I am not sure if it is compatible with 1.5.8 yet, but we could try to make it compatible... Cacycle 23:42, 19 February 2007 (UTC)
user/monobook.js does not work. I do only get the described errors when clicking on the wikied button.
Error: document.getElementById("wpSummary") has no properties
Source: http://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s
Line: 1337
No error messages else in Java Script Console. :( --Wissenslogistiker 16:43, 26 February 2007 (UTC)
Please check the latest update (0.9.27d), I think I have found a work-around. Please could you email me the html source code of an edit page or a link to your wiki so that I can test the code myself. Thanks, Cacycle 01:07, 27 February 2007 (UTC)
I have tested it again, with 0.9.27e. The behavior is now, that I get a loading error and the edit page is displaced.
Error: uncaught exception: [Exception... "Node cannot be inserted at the specified point in the hierarchy"  code: "3" nsresult: "0x80530003 (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)"  location: "http://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 1358"]
I sent you the html code of the edit page. --Wissenslogistiker 09:03, 28 February 2007 (UTC)

I am working on it, but it's not an easy fix, it's really hard work. I have already spent one and a half days on it and I am not sure if it is worth the effort. It would definitely be easier if you'd install a current MediaWiki, also for security reasons. Cacycle 13:33, 6 March 2007 (UTC)

  • I really appreciate this. I would upgrade if I could but there are many extensions running which are not compatible with current versions. I also realised that many wikis still use the 1.5.x for that reason, so me thinks that it is worth the effort. --Wissenslogistiker 09:13, 7 March 2007 (UTC)

Does not work for our installation

Hi, we have a mediawiki 1.9.3 running happily in our intranet. We can't make wikEd work. The complete procedure (pasting the three lines of code with the document.write sentence) works fine for us in the English Wikipedia. However, in our local installation the icon doesn't show up, and the editor is the default one. We double-checked everything, tried both Camino and Firefox, Javascript enabled, no errors in the console, tried English language, no joy. Any ideas? Thanks.

In order for user scripts like wikEd to function the following line has to be added to the MediaWiki configuration file LocalSettings.php by an administrator:
$wgAllowUserJs = true;
Cacycle 16:14, 7 March 2007 (UTC)
Thanks a lot, that did it. I suggest that you add this to the instructions.
I have just copy-and-pasted it from the wiked homepage :-) Cacycle 21:15, 7 March 2007 (UTC)

If I use the basic fix option on external links in a page an extra unneeded opening bracket is added. Simple example at Brian Pendleton. Rjwilmsi 11:15, 10 March 2007 (UTC)

I have tried, but I cannot reproduce it. Please can you give the revision of this article, what exactly you were doing, and what exactly happened. Thanks, Cacycle 15:36, 10 March 2007 (UTC)
It's a problem for me for all articles. If I edit the Brian Pendleton article, select all text and press the Regex typo fix button, extra opening square brackets are added to the external links. Rjwilmsi 09:31, 11 March 2007 (UTC)
For me it works fine, so this seems to be a tricky one. Please could you help me to track this down by filing a complete bug report (see above). Thanks for your effort, Cacycle 15:20, 11 March 2007 (UTC)
You might want to clean up your monobook.js page. All you need for wikEd is:


// install [[User:Cacycle/wikEd]] editing page extension
document.write('<script type="text/javascript" src="'
+ 'http://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
You should especially remove all the double calls of wikEd related JavaScript pages. Cacycle 15:42, 11 March 2007 (UTC)
Thanks for your help. I have tracked the issue down to a Firefox extension called linkification (1.3.3). The bug goes away if this extension is disabled, so case closed. Thanks for making wikEd a great tool. Rjwilmsi 20:16, 13 March 2007 (UTC)

Add <onlyinclude> to ignored tags

While <includeonly> and <noinclude> are ignored by the syntax higlighter (Actually, I think it would be nice if they—but not their content—could be given a bg color), <onlyinclude> (a rarer tag used mostly to generate the Wikipedia:featured content summaries) is not, even though it should. Circeus 18:59, 10 March 2007 (UTC)

Ooops, that was a bug, I have fixed it in the current version 0.9.27g. Only correct opening/closing tag pairs are highlighted. Cacycle 20:27, 10 March 2007 (UTC)

followup on the ref-hiding question above

Wayyy above, I asked a question about hiding the reference text in the edit window - which I forgot about for a long time, and recently thought about again. I can get this to work by itself, but not in conjunction with the custom button definition, such that the button would show/hide the references. I still don't know my ass from my elbow about javascript, but it seems like this should be quite possible, yes? (User:Opabinia regalis/monobook.js if it helps.) Thanks! Opabinia regalis 05:07, 13 March 2007 (UTC)

I am pretty busy, please give me some time :-) Thanks, Cacycle 13:02, 16 March 2007 (UTC)
I have added a new [1] hiding (or better: fading) button to the right bar in the current version 0.9.29. Cacycle 15:09, 17 March 2007 (UTC)
Thanks! That would be perfect if it weren't for the strange side effect of selecting all the text in the window when the ref-toggle button is pressed. It might be my browser, but the text also can't be un-selected by dragging the mouse, and can be un-selected line by line by triple-clicking. Opabinia regalis 05:04, 18 March 2007 (UTC)
It does not stay selected for me (and it shouldn't). Does it always happen or only for certain articles. Which browser are you using, and do you get an error message (see the top of this page). Thanks, Cacycle 05:39, 18 March 2007 (UTC)
Wow, you're quick ;) Always happens on every article I've tried; clicking the toggle button perma-selects the text. I'm using Firefox 1.5 under Windows (ugh). No error messages. Opabinia regalis 17:28, 18 March 2007 (UTC)
This looks like a weird Firefox 1.5 bug, I can see it under Firefox 1.5.0.7. Why don't you update to Mozilla 2.0... I will try to find a workaround later. Cacycle 20:36, 18 March 2007 (UTC)
It shoud work now in 0.9.29b, Shift-Reload to update. Cacycle 23:14, 18 March 2007 (UTC)
Hmm, I'm glad you reminded me of this - I was going to say that I couldn't update because 2.0 breaks another program that I actually need, as opposed to one I want... and it turns out that's not true anymore. So the ref-hiding feature works beautifully in 2.0 now - for what it's worth, it also worked in 1.5(.0.10), but took a very long time after the first toggle. Thanks for looking into this; it makes it so much easier to read text with thickets of citations in it. Opabinia regalis 02:03, 19 March 2007 (UTC)

This interfers with the fact that WikEd still has issues coping with reused references in the format <ref name="foobar"/> (it keeps going until it hits a </ref>). See Iguanodon: first section. Fading causes a large chunk of the second paragraph to "go away." Circeus 21:41, 20 March 2007 (UTC)

Thanks, fixed in 0.9.29c, please press Shift-Reload to update. Cacycle 22:32, 20 March 2007 (UTC)

WikEd international translation: update?

Cacyle, you asked me for the update of Slovenian translation, but it doesn't seem you changed much in User:Cacycle/wikEd international en.js. [1]. Have you really updated this file? --Eleassar my talk 14:58, 13 March 2007 (UTC)

Oops, you are right. I have now updated that page. Thanks, Cacycle 15:23, 13 March 2007 (UTC)

Image button is not working

What can I do to use "Image" button? When I click on it this error appears:

Error: obj.focusWord has no properties Source File: http://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 3272
Fixed in 0.9.28a, Shift-Reload to update. Thanks, Cacycle 13:01, 16 March 2007 (UTC)

Thank's for the fast reply. Indeed, yesterday wiked woked ok. Now I am trying to install it again and it doesn't work. Something happened with the latest release.

Error: Source File: Line:
Unknown property 'column-count'. Declaration dropped. http://wiki.riteme.site/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400 38
Error in parsing value for property 'vertical-align'. Declaration dropped. http://wiki.riteme.site/wiki/User:Cacycle/wikEd 0
These warnings are not related to wikEd. Cacycle 21:00, 17 March 2007 (UTC)

Still wont work...

I'm using Windows ME.
Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Error says browser not supported. -- Darkest Hour 21:00, 16 March 2007 (UTC)

Could you please fill out the complete bug report from above (minus error description). Thanks, Cacycle 22:03, 16 March 2007 (UTC)
Oh, I see, your browser is an unsupported ancient version from about two years ago. You should update it as soon as possible, also for security reasons! Cacycle 22:18, 16 March 2007 (UTC)

Cannot use <math> tag with wikiEd

When I try to use the <math> tag, wikiEd not work fine. If I write the tag by hand, then wikiEd put the html code for < and >. If I use the old buuton (the blue with the radical), then puts the selection in blue, but when I save, the tags are dropped.... I loose some setting?

carpani 13:17, 21 March 2007 (UTC).

I don't have these problems (e.g. <math>html</math>). Do the tags disappear from the article text (check by re-editing the article). Can you please fill out a complete bug report including operating system and your browser (see the top of the page under the bug reporting section). Thanks, Cacycle 14:11, 21 March 2007 (UTC) OK. I Can solve the trouble. I don't undertand very well the installation mechanism. Now is solved. But I have other question in other sections. Thanks.

carpani 164.73.32.3 20:32, 21 March 2007 (UTC)

How can I install wikiEd in a local Wiki?

I have some Mediawiki installations. I want to install wikiEd here... but our connection to the "world" is limited. Sometimes, all connections are down. How can I install without any dependency from Wikipedia?

carpani 164.73.32.3 20:32, 21 March 2007 (UTC)

This is the only case were it makes sense to copy the whole wikEd program somewhere else:

  • copy the whole page wikEd.js to your own wiki
  • similarly, copy the respective translation page (see User:Cacycle/wikEd_international) to your wiki
  • change the http://... addresses in the wikEd and the translation installation code to your wiki address

Make sure you update the code pages regularly as the code is updated constantly and you will not get the updates automatically. Feel free to contact me again if you have problems. Cacycle 20:57, 21 March 2007 (UTC)

Nice idea, but...

I often copy and paste text that I don't want the formating of to be attached, so I've uninstalled it. If there were an option to specify what the default paste behavior is, I might reconsider. Caerwine Caer’s whines 09:45, 25 March 2007 (UTC)

When submitting a page all formatting is automatically stripped, leaving only the plain text. Pushing the [T] button does the same. Cacycle 15:03, 25 March 2007 (UTC)
I have now clarified this in the mini tutorial under User:Cacycle/wikEd_help#Quick_tutorial. Unfortunately, for technical reasons there cannot be an option to specify the default paste behavior - other than toggling between the classic text area and wikEd (the logo button on the rightbutton bar). Cacycle 01:04, 26 March 2007 (UTC)
Not even as a bit of manually added Javascript after the wikEd script? Caerwine Caer’s whines 00:04, 27 March 2007 (UTC)
No, I'm sorry :-) See User:Cacycle/wikEd_help#Automatic_syntax_highlighting for the reasons. Cacycle 00:13, 27 March 2007 (UTC)

A very basic question

Forgive my ignorance. I just started working on Mediawiki two weeks ago and stumbled upon this wonderful editing tool. But, where can I find monobook.js? I searched all my wiki files but there doesn't seem to be a file called monobook.js. Am I missing out something? Pls advice. I really would like to give WikEd to my end-users. - Radha

Just click this link (from the installation section): Special:Mypage/monobook.js, or follow this one (you can also type this into the search field or edit it into the browser's address bar): User:Radhas1042/monobook.js. Cacycle 12:57, 26 March 2007 (UTC)


Cannot save the code to my wiki

I tried to save the following code to my wiki, gives me an error. http://www.knowledgewithoutlimits.com/w/User:NilamDoctor/monobook.js

Error: You don't have permission to save /w/index.php

Any idea to implement it...

// install [[User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://wiki.riteme.site/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
Try http://www.knowledgewithoutlimits.com/wiki/User:NilamDoctor/monobook.js Cacycle 15:18, 27 March 2007 (UTC)


I have installed the wiki on http://www.knowledgewithoutlimits.com/w/Main_Page

Finally I managed: I copied a dummy text in my User:NilamDoctor/monobook.js and modified it with PHPMyAdmin to the installation script provide by you. Thank you very much.

I will be adding this editor to to all my senior editors on Knowledge Without Limits. I will also train them to use your editor. Initially I was planning to use FCKeditor, but when I looked into this editor, I was very much pleased by the facilities and commands incorporated in this.

Thanks again!

Nilam Doctor


  1. ^ ...