![]() | This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
- Will Pittenger 06:46, 18 November 2006 (UTC)
Looks good. Thanks for getting to it. Will ( Talk - contribs) 04:59, 25 February 2007 (UTC)
Did you ever add a feature to strip underscores out of links? I figure the RegEx button could do it, but my Regular Expression skills are not that great. (Besides, you would want to be be available for everyone.) Also, there are really five cases to be dealt with.
If this feature can't be done with a regular expression, you might let us know where you added it. Thanks. Will ( Talk - contribs) 05:27, 22 February 2007 (UTC)
Would it be possible to have QPreview as a part of wikEd? It's a very nice previewing feature that is currently incompatible with wikEd unless you add some extra code to include it as a custom button. Alex Smotrov first suggested adding QPreview to wikEd in my discussion with him here. Apparently, the code for QPreview is quite short and could easily be made part of wikEd. Pyrospirit Flames Fire 23:30, 28 March 2007 (UTC)
Hi Cacycle: This looks like a nice product! Just installed it and ...
1) The upper left (I assume) undo/redo buttons show "undefined" tooltips when over-hovered.
2) I:
(I've turned off a lot of copywrite notices, etc. in my .css, but that's a real edit page.) (FF 1.5.0.11 XP)
2.3) Question: when I copied the title of the pic page to here for the link, it copied BIG and BOLD. Anyway short of a refresh to get rid of that?
Everything seems to be working OK editing this, though. Really like the quick preview.
Looking forward to 1.01 :-) -- Saintrain 20:40, 29 March 2007 (UTC)
3) I forgot to close a [[
in an edit and, in the quick preview only, everything from the first "[" to the sig disappeared.
4) In the sentences above beginning with"::", if there aren't 2 CRs before each, instead of indenting as expected, the quick preview runs them together with the previous sentence(s) into one PP. (Except for the 1st. Hmmm.)
5) Minor snit. In the preview, wikilinks are formatted red. Howsbout blue? Red wikilinks mean something. Is that configurable?
I'm not complaining. Honest. I hate it when people don't tell me about code features I didn't expect or intend. -- Saintrain 23:27, 29 March 2007 (UTC)
The missing texts for the undo/redo buttons have been added back in, please update to 0.9.32a by pressing Shift-Reload. Additionally, wikEd now uses InstaView instead of LivePreview. Thanks, Cacycle 15:15, 1 April 2007 (UTC)
Can wikEd search and replace strings with carriage returns in them?
If so, how?
If it can't, do you know of a text editor which can? I'm in great need of being able to do this.
The Transhumanist (AWB) 22:25, 29 March 2007 (UTC)
Basically, when pasting formatting, wikEd doesn't properly wikify pasted internal links formatted as external, such as links to edit a page or create a new section, and also history links and log links. Example: this link, when pasted and wikified using wikEd, comes out as [wikEd&action=edit§ion=new this link], which clearly doesn't work. Basically, I think it sees that the URL is from Wikipedia and assumes the link is internal, which results in it being incorrectly formatted. Perhaps you could fix this sometime soon? (Note: I use wikEd 0.9.32a updated April 1.) Thanks, Pyrospirit Flames Fire 04:46, 3 April 2007 (UTC)
Hi, I've update the french translation, thanks. For next update, you can see
this page to add the changes directly
Thanks for all.
Leag
07:17, 3 April 2007 (UTC)
Hey Cacycle, I'm here to say: WikED is really neat, and I can't wait to get on my FireFox browser and use it! You see, I use IE6 most of the time, but I have FireFox on another computer, so I can use it then. Good luck on making it IE compatible! Ry Guy 13:56, 4 April 2007 (UTC)
I've long had trouble with search and replace. As an example, edit User:Cacycle/wikEd, and try to replace " />" with "/>" (no quotes, of course). It'll find it, but it won't replace it. -- Flex ( talk| contribs) 19:45, 4 April 2007 (UTC)
I made a Hungarian translation for wikEd
http://hu.wikipedia.org/wiki/User:Cs%C3%B6rf%C3%B6ly_D/wikEd-hu.js
and modified your templates.
however I have a suggestion
in wikEdSummaryUsing you have
'…using [[User:Cacycle/wikEd|wikEd]]',
which should be changed to '…using [[User:Cacycle/wikEd|wikEd]]'
not to produce a red link in non-english wikipedias since they use the same code if properly installed
--
Csörföly D
21:00, 4 April 2007 (UTC)
In WikEdFixCaps(), you are currently using \w, which only matches basic Latin characters. This is causing problems in languages with diacritics, for example:
The regex will match [[Á as the non-word part and break the link, turning it into ÁGoston Judit. Other functions may be affected, too, if they are using \w or \W. KovacsUr 22:13, 4 April 2007 (UTC)
Hi Cacycle,
I use your wikied on the wikipedia and it works great. I tried to install it on my wiki (no Internet connection but only Lan). The wikied logo is displayed correctly, however if I try to edit a page it renders with the cross = some errors. and the wikied' buttons are not rendered.
I have: wikied 0.9.33e firefox 2.0.0.3 (client) browser add-ons: DOM inspector user scripts: only wikied OS: Solaris (server) Win XP (client)
errors(from errors console): wikied is not found: http://mywiki/index.php?=title:Admin/monobook.js&action=raw&ctype=text/javascript&dontcountme=s Line 1
Error: wgTitle is not defined Source File: http://en.wikipedia.org/?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 1187
I tried to change it with var wgTitle;
Error: wikEdButtonBarJump has no properties Source File: http://en.wikipedia.org/?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 6654 Plz let me know how to fix it. Regards, -- Aretai 11:16, 10 April 2007 (UTC)
Are the images (for the wikied icons) downloaded from the web? I mean if I want to replace them or have them on my computer, what do I have to do? -- Aretai 09:52, 11 April 2007 (UTC)
// use local copies of images var wikEdUseLocalImages = false; // path to local images for testing var wikEdImagePathLocal = 'file:///D:/wikEd/images/'; // path to images var wikEdImagePath = 'http://upload.wikimedia.org/wikipedia/commons/'; // image filenames var wikEdImage = []; // WikedInitImage: define image URLs function WikedInitImage() { WikEdInitImage(wikEdImage, { 'blank': 'WikEd_blank.png', ... 'wikiLink': 'WikEd_wikilink.png' }); }
Thx for info -- Aretai 15:09, 11 April 2007 (UTC)
Please consider minor change to your code - I think it would be better if you default wgTitle. This was a reason for my problems.
I've defaulted it in the global variables: var wgTitle;
And then wikied worked.
Regards, -- Aretai 10:14, 12 April 2007 (UTC)
It was mentioned before [1], but it is a pity that, even though nested braces have multiple colors, matching braces do not have the same color. If they would that would be very helpful and a major application of syntax highlighting.-- Patrick 15:48, 10 April 2007 (UTC)
Hi Cacycle,
Thx once again for Wikied. I have a question on how to add new buttons. User:Cacycle/wikEd#Custom_buttons you state that the code should go before the installation block in monobook.js. Is there a way to integrate it into the code. I think of designing a standard buttons that all users on my wiki should have enabled by default. thx in advance, Regards, -- Aretai 13:53, 12 April 2007 (UTC)
You've misunderstood me sorry. I know I can add the code to MediaWiki:Common.js, but I'd like rather choose whether they want to use this extension. Now it's much simpler for them to add to their monobook.js:
// install [[User:Aretai/wikEd]] in-browser text editor document.write('<script type="text/javascript" src="' + 'http://mywiki/index.php?title=User:Aretai/wikEd.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
Instead of code extended with additional buttons as it was stated in the customization section. -- Aretai 14:37, 13 April 2007 (UTC)
wiked 0.9.33e
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Error: wgTitle is not defined Source File: http://en.wikipedia.org/?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 1187
I have no ad-ons installed
I have the complete version isntalled
I have $wgAllowUserJs = true; in the proper place.
I installed it a few weeks ago and it was working fine. Now the liitle Icon has an X over it when I try to use it.
"Loading error - wikEd 0.9.35b (April 14, 2007) Click to disable"
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
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://en.wikipedia.org/?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 1429"]
Windows XP
After I put the installation script and changed in LocalSettings.php the parameter $wgAllowUserJs to true, I could see an icon on the top right of the page (after the refresh). When I edit a document the icon turn to an error icon and the above error occurs...
I am using Mediawiki 1.5.3. If you need additional inforamtion about the problem, please tell me. -- Charalamposc 08:21, 17 April 2007 (UTC)
Hi Cacycle. I've made wikEdTypoFix.js (Portuguese) but I got some problems:
wikEdTypoFix replace the word Gasômetro by Gásômetro (wrong) based on:
//gás obj.str = obj.str.replace(/\b(G|g)a[zs]\b/g, "$1ás");
It does the same on praça by paraça (wrong) based on:
//para obj.str = obj.str.replace(/\b(P|p)ra\b/g, "$1ara");
and Há muito tempo atrás by Hhá muito tempo atrás (wrong) based on:
//há muito tempo obj.str = obj.str.replace(/\b[aàá] muito tempo\b/g, "há muito tempo");
and others (but very similar). Can you tell me how can I fix it?
Do you mean:
//gás obj.str = obj.str.replace(/[^\w](G|g)a[zs](?!\w)/g, "$1ás");
Don't know where to put [\wÀ-ÖØ-öø-\u0220\u0222-\u0233ΆΈΉΊΌΎΏΑ-ΡΣ-ώ\u0400-\u0481\u048a-\u04ce\u04d0-\u04f5\u04f8\u04f9] Mosca2 07:34, 17 April 2007 (UTC)
//gás obj.str = obj.str.replace(/[^\wÀ-ÖØ-öø-\u0220\u0222-\u0233](G|g)a[zs](?![\wÀ-ÖØ-öø-\u0220\u0222-\u0233])/g, "$1ás");
Thanks. It's almost working. wikEd is replacing:
Mosca2 18:45, 17 April 2007 (UTC)
Another problem:
I need one "alt" field in
tradução (translation page) for
button on
.
'wikEdDiffPreview alt': 'Alterações', 'wikEdDiffPreview title': 'Mostrar alterações rápidas em baixo',
Strange. Now works. I always use Ctrl-Shift-R in Firefox. Mosca2 07:34, 17 April 2007 (UTC)
Using WikEd 0.9.35c MediaWiki installation 1.6.8 (last version pre PHP5 but I plan to move soon to 1.9)
From the LocalSettings.php file on my site:
$wgArticlePath = "$wgScript?title=$1";
I've tried the following alternative but it breaks the rest of my site:
$wgArticlePath = "$wgScript/$1";
I'm using Firefox 2.0.0.3 on a Mac OS X 10.4
I have a number of extension but when using WikEd on Wikipedia everything is fine so I don't believe its a browser issue.
When I call up a page to edit on my site, if WikEd is alreday turned on, then it loads but badly. I get the following error in the console:
Error: wgArticlePath is not definied
wikEdArticlePrefix = wgArticlePath.replace(/\$1$/, );
The script then shows the WikEd edit field being displayed below the edit summary box and the Save buttons no longer work properly in that changes made in the WikEd box are ignored. All sorts of weird behaviour follows if one turns WikEd on and off.
I can get it to work by turning off WikEd, editing the page, then turning it on only when the edit page is displayed.
If this is because of my version of mediaWiki then I hope this may improve when I move to PHP5 and MediaWiki 1.9
Hi, I want to know if it's possible to disable wikEdDiff by default with a line in monobook.js like this :
var wikEdDiffPreset = false;
like other preset buttons :
This will be usefull to not have to click on the Δ button to disable it each time I open Firefox.
I hope it's comprehensible :) Thanks Leag 11:34, 18 April 2007 (UTC)
var wikEdDiffPreset = false;
I think it doesn't work in my monobook, wikEdDiff is always display until I click on Δ button. Have you an idea of the problem? Leag 05:48, 19 April 2007 (UTC)
There is an other problem with wikEdDiff, when I click on
at the bottom of the page, wikEd display changes like that :
c<span style="font-weight: normal; text-decoration: none; color: #ffffff; background-color: #990033;">oe</span><span style="font-weight: normal; text-decoration: none; color: #ffffff; background-color: #009933;">œ</span>ur
instead of coeœur
wikEdDiff doesn't interpret the html code like it did before. On the other hand, when I click on "changes" button (next to
) the diff is display correctly (with html interpretation).
Have you the same problem on :en ?
Is it possible to correct that ? Thanks Leag 11:06, 19 April 2007 (UTC)
Hi Cacycle, I really liked wikEd but I've had to remove it because it was causing my browser to keep crashing. I use firefox and IE but on different computers. Works fine in firefox but in IE, as you've said, it wont work. But there was a nasty side effect of having in installed when in IE.
This is from what I wrote to the
help desk before I figured out what was causing it (I thought it might be an upgrade, like the coloured numbers in recient changes:
When in Internet Explorer, on any article page, when you click the history tab and use the compare selected pages feature, a centered green triangle symbol appears below the usual page comparision. It then expands to display what is above it but in a different way. This takes a lot of time to load and many times causes the browser to crash. When you hover the mouse over it, it say show improved diff view.
Anyway, just thought I'd let you know. Great work and I really enjoyed useing WikEd!
Think outside the box
10:12, 20 April 2007 (UTC)
var wikEdDiffPreset = false;
I have fixed the boolean customization settings - thanks for the help. The enhanced diff view (wikEdDiff) is now disabled by default and has to be enabled by pressing the Δ button. Cacycle 01:51, 24 April 2007 (UTC)
Is the request not to copy WikEd intended for users of Wikipedia to keep them from using lots of spaced to host code unecessarily? If you are running your own MediaWiki and want a site-wide installation it seems to be the best option to install it locally for your users... but I'd like to honor the requests of the author, so if you don't mind explaining it would be appreciated. Looks like a great tool!
Thanks Cacycle! Looks like it will be a great addition to our wiki!
Edit this comment then look here:
black - green - orange - purple - "brown" - yellow
Is this just me? I am using:
Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Regards, Razorclaw 23:34, 24 April 2007 (UTC)
Hi and thanks for your message on :fr. I've made all changes to redirect to User:Leag/wikEd-fr.js.
Thanks again for updating the var wikEdDiffPreset = false;
Leag
14:08, 26 April 2007 (UTC)
Hi cacyle, nice app, works fine and all on install, but I don't understand how to wikify tables (in my case, very long, quite complex tables with both row and colspans) from microsoft word (2004 for mac). if I cut from word and paste into wikEd then I lose most of the relevant information, I just get a lot of text, and no table. I've tried every other approach I can think of but still can't get my table to appear unless I export from word to .html, manually strip all the junk out of the html, and then post it. Even with this approach I do not end up with the wiki formatted table that I want. I was wondering if you could add a brief note to the documentation explaining, step by step, how to import complex tables from word, into wiki markup. Thanks!
On the homepage, you give permission to use the program on a wiki other than Wikipedia, however, how do you copy the image files (buttons, etc.) to that wiki?
I use the MediaWiki software internally on my network, which is not connected to the internet; therefore I have to copy the entire program.
Thank you! HeathersAngel 23:59, 29 April 2007 (UTC)
first of all- Thanks for this Great tool!
Hi my name is Paul I'm real new to wikipedia.. (wikipedia username:gargamel573)
I read your comment about using wiked offline (LAN for ex)
I'm having trouble with the local wiked.js file.
what template should i use to store it on my mediawiki installation?
-instead of the following in your original wiked.js page:
I pasted the installation code into common.js with a link to the local wiked.js file but after refresh the editor does not appear (it does appear when i link to your (Cacycle's) user page on wikipedia...)
any help greatly appreciated!
Thanks
http://localhost/FLM/mediawiki-1.9.3/extensions/wikEd_images/Temp_ImagePaths.js does not work, you have to copy the code (i.e. the contents of this file) to this place. Cacycle 23:51, 6 May 2007 (UTC)
Still no luck... this is the installation code I use:
I double checked- the wiked.js and the images are in place
I get the following error in the console:
Thanks again for any help! -- Gargamel573 08:14, 10 May 2007 (UTC)
+ '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>');
Hi, I installed wikEd into my monobook.js on my wiki. However, I've got a lot of first time users and I want the interface to be as clean as possible when they see the edit page the first time. Is there a variable that I can change, so that these symbolbars closed at the beginning. Users can then change this setting within their cookies, can't they.
Thanks, Jan
var wikEdUseWikEdPreset = false;
I've got WikEd working at http://theaquariumwiki.com/ but all my internal links in the preview have /wiki/ prefix stuck on for some reason. How can I turn this off?
I've not got the script installed on our server.
-- Quatermass 11:08, 12 May 2007 (UTC)
The color highlighting is a nice feature, but seeing a blue background for every occurrence of "blue" is a bit distracting. Is there a quick way to set this off? (i.e. "set wikEdShowColors = false;" or some similar code in my .js) Thanks. - SigmaEpsilon → Σ Ε 22:54, 15 May 2007 (UTC)
Just tried to preview an edit and got the original page. Not even the edit box etc. Just the original page!? That happened for the quick and regular Preview and the Save buttons. Purge didn't help. Disabling WikEd did.
WikEd 0.9.36; Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11. No changes in my .js or .css in weeks but using Lupin's popups.
Thanks. Saintrain 20:35, 16 May 2007 (UTC)
It's on the 6th line at {{{map_filename}}}';">[[Image:{{{map_filename}}}. The ';"> That's been there since November 2005!
When I edit the template my javascript console shows:
Error: unterminated string literal Source File: javascript:alert('TODO: FIXME') Line: 0, Column: 73 Source Code: var linkUrl='/wiki/Image:%7B%7B%7Bmap_filename%7D%7D%7D'; var linkName = 'Image:<span class=
and
Error: uncaught exception: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://en.wikipedia.org/?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s :: WikEdFollowLinks :: line 4211" data: no] .
Does that help? Saintrain 19:26, 17 May 2007 (UTC)
It was actually a very strange invisible special character that caused the problems. I have removed it from the article and will fix wikEd soon. Thanks for your help, Cacycle 22:35, 17 May 2007 (UTC)
var wikEdSubmitTabOrder = true;
to the monobook.js before the wikEd installation code. Hope that helps :-)
Cacycle
01:16, 20 May 2007 (UTC)
![]() | This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
- Will Pittenger 06:46, 18 November 2006 (UTC)
Looks good. Thanks for getting to it. Will ( Talk - contribs) 04:59, 25 February 2007 (UTC)
Did you ever add a feature to strip underscores out of links? I figure the RegEx button could do it, but my Regular Expression skills are not that great. (Besides, you would want to be be available for everyone.) Also, there are really five cases to be dealt with.
If this feature can't be done with a regular expression, you might let us know where you added it. Thanks. Will ( Talk - contribs) 05:27, 22 February 2007 (UTC)
Would it be possible to have QPreview as a part of wikEd? It's a very nice previewing feature that is currently incompatible with wikEd unless you add some extra code to include it as a custom button. Alex Smotrov first suggested adding QPreview to wikEd in my discussion with him here. Apparently, the code for QPreview is quite short and could easily be made part of wikEd. Pyrospirit Flames Fire 23:30, 28 March 2007 (UTC)
Hi Cacycle: This looks like a nice product! Just installed it and ...
1) The upper left (I assume) undo/redo buttons show "undefined" tooltips when over-hovered.
2) I:
(I've turned off a lot of copywrite notices, etc. in my .css, but that's a real edit page.) (FF 1.5.0.11 XP)
2.3) Question: when I copied the title of the pic page to here for the link, it copied BIG and BOLD. Anyway short of a refresh to get rid of that?
Everything seems to be working OK editing this, though. Really like the quick preview.
Looking forward to 1.01 :-) -- Saintrain 20:40, 29 March 2007 (UTC)
3) I forgot to close a [[
in an edit and, in the quick preview only, everything from the first "[" to the sig disappeared.
4) In the sentences above beginning with"::", if there aren't 2 CRs before each, instead of indenting as expected, the quick preview runs them together with the previous sentence(s) into one PP. (Except for the 1st. Hmmm.)
5) Minor snit. In the preview, wikilinks are formatted red. Howsbout blue? Red wikilinks mean something. Is that configurable?
I'm not complaining. Honest. I hate it when people don't tell me about code features I didn't expect or intend. -- Saintrain 23:27, 29 March 2007 (UTC)
The missing texts for the undo/redo buttons have been added back in, please update to 0.9.32a by pressing Shift-Reload. Additionally, wikEd now uses InstaView instead of LivePreview. Thanks, Cacycle 15:15, 1 April 2007 (UTC)
Can wikEd search and replace strings with carriage returns in them?
If so, how?
If it can't, do you know of a text editor which can? I'm in great need of being able to do this.
The Transhumanist (AWB) 22:25, 29 March 2007 (UTC)
Basically, when pasting formatting, wikEd doesn't properly wikify pasted internal links formatted as external, such as links to edit a page or create a new section, and also history links and log links. Example: this link, when pasted and wikified using wikEd, comes out as [wikEd&action=edit§ion=new this link], which clearly doesn't work. Basically, I think it sees that the URL is from Wikipedia and assumes the link is internal, which results in it being incorrectly formatted. Perhaps you could fix this sometime soon? (Note: I use wikEd 0.9.32a updated April 1.) Thanks, Pyrospirit Flames Fire 04:46, 3 April 2007 (UTC)
Hi, I've update the french translation, thanks. For next update, you can see
this page to add the changes directly
Thanks for all.
Leag
07:17, 3 April 2007 (UTC)
Hey Cacycle, I'm here to say: WikED is really neat, and I can't wait to get on my FireFox browser and use it! You see, I use IE6 most of the time, but I have FireFox on another computer, so I can use it then. Good luck on making it IE compatible! Ry Guy 13:56, 4 April 2007 (UTC)
I've long had trouble with search and replace. As an example, edit User:Cacycle/wikEd, and try to replace " />" with "/>" (no quotes, of course). It'll find it, but it won't replace it. -- Flex ( talk| contribs) 19:45, 4 April 2007 (UTC)
I made a Hungarian translation for wikEd
http://hu.wikipedia.org/wiki/User:Cs%C3%B6rf%C3%B6ly_D/wikEd-hu.js
and modified your templates.
however I have a suggestion
in wikEdSummaryUsing you have
'…using [[User:Cacycle/wikEd|wikEd]]',
which should be changed to '…using [[User:Cacycle/wikEd|wikEd]]'
not to produce a red link in non-english wikipedias since they use the same code if properly installed
--
Csörföly D
21:00, 4 April 2007 (UTC)
In WikEdFixCaps(), you are currently using \w, which only matches basic Latin characters. This is causing problems in languages with diacritics, for example:
The regex will match [[Á as the non-word part and break the link, turning it into ÁGoston Judit. Other functions may be affected, too, if they are using \w or \W. KovacsUr 22:13, 4 April 2007 (UTC)
Hi Cacycle,
I use your wikied on the wikipedia and it works great. I tried to install it on my wiki (no Internet connection but only Lan). The wikied logo is displayed correctly, however if I try to edit a page it renders with the cross = some errors. and the wikied' buttons are not rendered.
I have: wikied 0.9.33e firefox 2.0.0.3 (client) browser add-ons: DOM inspector user scripts: only wikied OS: Solaris (server) Win XP (client)
errors(from errors console): wikied is not found: http://mywiki/index.php?=title:Admin/monobook.js&action=raw&ctype=text/javascript&dontcountme=s Line 1
Error: wgTitle is not defined Source File: http://en.wikipedia.org/?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 1187
I tried to change it with var wgTitle;
Error: wikEdButtonBarJump has no properties Source File: http://en.wikipedia.org/?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 6654 Plz let me know how to fix it. Regards, -- Aretai 11:16, 10 April 2007 (UTC)
Are the images (for the wikied icons) downloaded from the web? I mean if I want to replace them or have them on my computer, what do I have to do? -- Aretai 09:52, 11 April 2007 (UTC)
// use local copies of images var wikEdUseLocalImages = false; // path to local images for testing var wikEdImagePathLocal = 'file:///D:/wikEd/images/'; // path to images var wikEdImagePath = 'http://upload.wikimedia.org/wikipedia/commons/'; // image filenames var wikEdImage = []; // WikedInitImage: define image URLs function WikedInitImage() { WikEdInitImage(wikEdImage, { 'blank': 'WikEd_blank.png', ... 'wikiLink': 'WikEd_wikilink.png' }); }
Thx for info -- Aretai 15:09, 11 April 2007 (UTC)
Please consider minor change to your code - I think it would be better if you default wgTitle. This was a reason for my problems.
I've defaulted it in the global variables: var wgTitle;
And then wikied worked.
Regards, -- Aretai 10:14, 12 April 2007 (UTC)
It was mentioned before [1], but it is a pity that, even though nested braces have multiple colors, matching braces do not have the same color. If they would that would be very helpful and a major application of syntax highlighting.-- Patrick 15:48, 10 April 2007 (UTC)
Hi Cacycle,
Thx once again for Wikied. I have a question on how to add new buttons. User:Cacycle/wikEd#Custom_buttons you state that the code should go before the installation block in monobook.js. Is there a way to integrate it into the code. I think of designing a standard buttons that all users on my wiki should have enabled by default. thx in advance, Regards, -- Aretai 13:53, 12 April 2007 (UTC)
You've misunderstood me sorry. I know I can add the code to MediaWiki:Common.js, but I'd like rather choose whether they want to use this extension. Now it's much simpler for them to add to their monobook.js:
// install [[User:Aretai/wikEd]] in-browser text editor document.write('<script type="text/javascript" src="' + 'http://mywiki/index.php?title=User:Aretai/wikEd.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
Instead of code extended with additional buttons as it was stated in the customization section. -- Aretai 14:37, 13 April 2007 (UTC)
wiked 0.9.33e
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Error: wgTitle is not defined Source File: http://en.wikipedia.org/?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 1187
I have no ad-ons installed
I have the complete version isntalled
I have $wgAllowUserJs = true; in the proper place.
I installed it a few weeks ago and it was working fine. Now the liitle Icon has an X over it when I try to use it.
"Loading error - wikEd 0.9.35b (April 14, 2007) Click to disable"
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
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://en.wikipedia.org/?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s Line: 1429"]
Windows XP
After I put the installation script and changed in LocalSettings.php the parameter $wgAllowUserJs to true, I could see an icon on the top right of the page (after the refresh). When I edit a document the icon turn to an error icon and the above error occurs...
I am using Mediawiki 1.5.3. If you need additional inforamtion about the problem, please tell me. -- Charalamposc 08:21, 17 April 2007 (UTC)
Hi Cacycle. I've made wikEdTypoFix.js (Portuguese) but I got some problems:
wikEdTypoFix replace the word Gasômetro by Gásômetro (wrong) based on:
//gás obj.str = obj.str.replace(/\b(G|g)a[zs]\b/g, "$1ás");
It does the same on praça by paraça (wrong) based on:
//para obj.str = obj.str.replace(/\b(P|p)ra\b/g, "$1ara");
and Há muito tempo atrás by Hhá muito tempo atrás (wrong) based on:
//há muito tempo obj.str = obj.str.replace(/\b[aàá] muito tempo\b/g, "há muito tempo");
and others (but very similar). Can you tell me how can I fix it?
Do you mean:
//gás obj.str = obj.str.replace(/[^\w](G|g)a[zs](?!\w)/g, "$1ás");
Don't know where to put [\wÀ-ÖØ-öø-\u0220\u0222-\u0233ΆΈΉΊΌΎΏΑ-ΡΣ-ώ\u0400-\u0481\u048a-\u04ce\u04d0-\u04f5\u04f8\u04f9] Mosca2 07:34, 17 April 2007 (UTC)
//gás obj.str = obj.str.replace(/[^\wÀ-ÖØ-öø-\u0220\u0222-\u0233](G|g)a[zs](?![\wÀ-ÖØ-öø-\u0220\u0222-\u0233])/g, "$1ás");
Thanks. It's almost working. wikEd is replacing:
Mosca2 18:45, 17 April 2007 (UTC)
Another problem:
I need one "alt" field in
tradução (translation page) for
button on
.
'wikEdDiffPreview alt': 'Alterações', 'wikEdDiffPreview title': 'Mostrar alterações rápidas em baixo',
Strange. Now works. I always use Ctrl-Shift-R in Firefox. Mosca2 07:34, 17 April 2007 (UTC)
Using WikEd 0.9.35c MediaWiki installation 1.6.8 (last version pre PHP5 but I plan to move soon to 1.9)
From the LocalSettings.php file on my site:
$wgArticlePath = "$wgScript?title=$1";
I've tried the following alternative but it breaks the rest of my site:
$wgArticlePath = "$wgScript/$1";
I'm using Firefox 2.0.0.3 on a Mac OS X 10.4
I have a number of extension but when using WikEd on Wikipedia everything is fine so I don't believe its a browser issue.
When I call up a page to edit on my site, if WikEd is alreday turned on, then it loads but badly. I get the following error in the console:
Error: wgArticlePath is not definied
wikEdArticlePrefix = wgArticlePath.replace(/\$1$/, );
The script then shows the WikEd edit field being displayed below the edit summary box and the Save buttons no longer work properly in that changes made in the WikEd box are ignored. All sorts of weird behaviour follows if one turns WikEd on and off.
I can get it to work by turning off WikEd, editing the page, then turning it on only when the edit page is displayed.
If this is because of my version of mediaWiki then I hope this may improve when I move to PHP5 and MediaWiki 1.9
Hi, I want to know if it's possible to disable wikEdDiff by default with a line in monobook.js like this :
var wikEdDiffPreset = false;
like other preset buttons :
This will be usefull to not have to click on the Δ button to disable it each time I open Firefox.
I hope it's comprehensible :) Thanks Leag 11:34, 18 April 2007 (UTC)
var wikEdDiffPreset = false;
I think it doesn't work in my monobook, wikEdDiff is always display until I click on Δ button. Have you an idea of the problem? Leag 05:48, 19 April 2007 (UTC)
There is an other problem with wikEdDiff, when I click on
at the bottom of the page, wikEd display changes like that :
c<span style="font-weight: normal; text-decoration: none; color: #ffffff; background-color: #990033;">oe</span><span style="font-weight: normal; text-decoration: none; color: #ffffff; background-color: #009933;">œ</span>ur
instead of coeœur
wikEdDiff doesn't interpret the html code like it did before. On the other hand, when I click on "changes" button (next to
) the diff is display correctly (with html interpretation).
Have you the same problem on :en ?
Is it possible to correct that ? Thanks Leag 11:06, 19 April 2007 (UTC)
Hi Cacycle, I really liked wikEd but I've had to remove it because it was causing my browser to keep crashing. I use firefox and IE but on different computers. Works fine in firefox but in IE, as you've said, it wont work. But there was a nasty side effect of having in installed when in IE.
This is from what I wrote to the
help desk before I figured out what was causing it (I thought it might be an upgrade, like the coloured numbers in recient changes:
When in Internet Explorer, on any article page, when you click the history tab and use the compare selected pages feature, a centered green triangle symbol appears below the usual page comparision. It then expands to display what is above it but in a different way. This takes a lot of time to load and many times causes the browser to crash. When you hover the mouse over it, it say show improved diff view.
Anyway, just thought I'd let you know. Great work and I really enjoyed useing WikEd!
Think outside the box
10:12, 20 April 2007 (UTC)
var wikEdDiffPreset = false;
I have fixed the boolean customization settings - thanks for the help. The enhanced diff view (wikEdDiff) is now disabled by default and has to be enabled by pressing the Δ button. Cacycle 01:51, 24 April 2007 (UTC)
Is the request not to copy WikEd intended for users of Wikipedia to keep them from using lots of spaced to host code unecessarily? If you are running your own MediaWiki and want a site-wide installation it seems to be the best option to install it locally for your users... but I'd like to honor the requests of the author, so if you don't mind explaining it would be appreciated. Looks like a great tool!
Thanks Cacycle! Looks like it will be a great addition to our wiki!
Edit this comment then look here:
black - green - orange - purple - "brown" - yellow
Is this just me? I am using:
Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Regards, Razorclaw 23:34, 24 April 2007 (UTC)
Hi and thanks for your message on :fr. I've made all changes to redirect to User:Leag/wikEd-fr.js.
Thanks again for updating the var wikEdDiffPreset = false;
Leag
14:08, 26 April 2007 (UTC)
Hi cacyle, nice app, works fine and all on install, but I don't understand how to wikify tables (in my case, very long, quite complex tables with both row and colspans) from microsoft word (2004 for mac). if I cut from word and paste into wikEd then I lose most of the relevant information, I just get a lot of text, and no table. I've tried every other approach I can think of but still can't get my table to appear unless I export from word to .html, manually strip all the junk out of the html, and then post it. Even with this approach I do not end up with the wiki formatted table that I want. I was wondering if you could add a brief note to the documentation explaining, step by step, how to import complex tables from word, into wiki markup. Thanks!
On the homepage, you give permission to use the program on a wiki other than Wikipedia, however, how do you copy the image files (buttons, etc.) to that wiki?
I use the MediaWiki software internally on my network, which is not connected to the internet; therefore I have to copy the entire program.
Thank you! HeathersAngel 23:59, 29 April 2007 (UTC)
first of all- Thanks for this Great tool!
Hi my name is Paul I'm real new to wikipedia.. (wikipedia username:gargamel573)
I read your comment about using wiked offline (LAN for ex)
I'm having trouble with the local wiked.js file.
what template should i use to store it on my mediawiki installation?
-instead of the following in your original wiked.js page:
I pasted the installation code into common.js with a link to the local wiked.js file but after refresh the editor does not appear (it does appear when i link to your (Cacycle's) user page on wikipedia...)
any help greatly appreciated!
Thanks
http://localhost/FLM/mediawiki-1.9.3/extensions/wikEd_images/Temp_ImagePaths.js does not work, you have to copy the code (i.e. the contents of this file) to this place. Cacycle 23:51, 6 May 2007 (UTC)
Still no luck... this is the installation code I use:
I double checked- the wiked.js and the images are in place
I get the following error in the console:
Thanks again for any help! -- Gargamel573 08:14, 10 May 2007 (UTC)
+ '&action=raw&ctype=text/javascript&dontcountme=s"></' + 'script>');
Hi, I installed wikEd into my monobook.js on my wiki. However, I've got a lot of first time users and I want the interface to be as clean as possible when they see the edit page the first time. Is there a variable that I can change, so that these symbolbars closed at the beginning. Users can then change this setting within their cookies, can't they.
Thanks, Jan
var wikEdUseWikEdPreset = false;
I've got WikEd working at http://theaquariumwiki.com/ but all my internal links in the preview have /wiki/ prefix stuck on for some reason. How can I turn this off?
I've not got the script installed on our server.
-- Quatermass 11:08, 12 May 2007 (UTC)
The color highlighting is a nice feature, but seeing a blue background for every occurrence of "blue" is a bit distracting. Is there a quick way to set this off? (i.e. "set wikEdShowColors = false;" or some similar code in my .js) Thanks. - SigmaEpsilon → Σ Ε 22:54, 15 May 2007 (UTC)
Just tried to preview an edit and got the original page. Not even the edit box etc. Just the original page!? That happened for the quick and regular Preview and the Save buttons. Purge didn't help. Disabling WikEd did.
WikEd 0.9.36; Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11. No changes in my .js or .css in weeks but using Lupin's popups.
Thanks. Saintrain 20:35, 16 May 2007 (UTC)
It's on the 6th line at {{{map_filename}}}';">[[Image:{{{map_filename}}}. The ';"> That's been there since November 2005!
When I edit the template my javascript console shows:
Error: unterminated string literal Source File: javascript:alert('TODO: FIXME') Line: 0, Column: 73 Source Code: var linkUrl='/wiki/Image:%7B%7B%7Bmap_filename%7D%7D%7D'; var linkName = 'Image:<span class=
and
Error: uncaught exception: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://en.wikipedia.org/?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript&dontcountme=s :: WikEdFollowLinks :: line 4211" data: no] .
Does that help? Saintrain 19:26, 17 May 2007 (UTC)
It was actually a very strange invisible special character that caused the problems. I have removed it from the article and will fix wikEd soon. Thanks for your help, Cacycle 22:35, 17 May 2007 (UTC)
var wikEdSubmitTabOrder = true;
to the monobook.js before the wikEd installation code. Hope that helps :-)
Cacycle
01:16, 20 May 2007 (UTC)