Talk:Main Page
From MediaWiki+FCKeditor
[edit] Justifycenter and others don't work on mediawiki 1.10v4
Not sure if any version of mediawiki will work but I have not been able to get mediawiki 1.10v4 to work. While in edit mode it looks like it is going to center or right justify, but when you hit the save button it does not put any formatting on that line of text.
[edit] FCKeditor with non-monobook skin?
I'm trying to use this extension with the cavendish (mozilla) skin loaded and the editor doesn't show up. In monobook it works fine, but as soon as I switch to cavendish the edit "menu" switches back to the wikimedia default one. Does anyone have an idea of how this can be fixed? is the editor just incompatible with other skins?
Thanks!
I have the same problem. I'm going to look at the other skins and compare with monobook to see if I can fix this.
<a href="User:71.34.112.48">71.34.112.48</a> 19:42, 1 April 2008 (CEST)
Update: I think I've solved this problem. I have no idea if this will solve anyones problems - but - it worked for me when trying to use the Studentlink skin w/ FCKeditor.
I added this line to the skin template (usually located in /skins/skin_name.php where "skin_name" is the name of the skin you're using) right before the </head> tag:
<?php $this->html('headscripts') ?>
Apparently FCKeditor is using this method to output its javascript code. I'm just not knowledgeable enough on php and javascript to know exactly what's going on here, but it worked for me.
71.34.112.48 21:24, 1 April 2008 (CEST)
==FCKeditor and PageProtectionPlus(PPP) When I activate PPP and FCK i cannot modify pages that are encrypted. Event if I disable FCKeditor in preference of my user. It work only if I comment FCKeditor in LocalSettings.php. I have:
- Mediawiki 1.12 on Suse 10 SP1.
- PPP (Version 2.3b)
- Latest FCKeditor
[edit] Redirect?
how can you do a #redirct with this extension installed?
Answer: just type #REDIRECT [[some link]] at the beginning.
[edit] Maintained?
Is this extension being maintained? I have been looking at the bug tracking over at http://dev.fckeditor.net/report/12 and nothing seems to be progressing. Bugs keep piling up but I never see any go away.
Yes it is!
[edit] Has Problems with Semantic MediaWiki
This is a very nice extension, but it doesn't work with the Semantic MediaWiki extension. Semantic MediaWiki enhances links. Also, there's som e extra part with information with Semantic Mediawiki (facts about...); this occurs in the text. It would be nice, if this extension could handle this stuff. --Hans Oesterholt-Dijkema
[edit] After Installation just Blank Edit Page
After Installation (adding the require_once statement to LocalSettings.php) only a blank page appears, if the edit button is pressed!? --91.4.96.18 13:36, 13 March 2008 (CET)
Fixed
[edit] This extension should be put into a edit tab!
Although this is a very nice extension, it isn't stable enough to be used without the user choosing to do so. Instead of having all users to document their default behaviour in their user preferences, they should be able to choose on a page if they want to use the Rich editor or the WikiText editor. -- <a href="User:80.127.15.33">80.127.15.33</a> 21:02, 17 December 2007 (CET)
[edit] Save/cancel button in the toolbars
This extension should have a save and cancel button in the toolbar!
[edit] Simply Awesome!
However, we seem to be missing some functionality we had before the switch from MediaWiki to MediaWiki+FCKEditor.
- Sign a comment
- Spell Checker (we used a ASpell plugin, which crudely added a "Spell Check" text on our form.
Apart from this, things are working REALLY well, users are very happy, and discovering cool stuff every day "hey, I can use keyboard shortcuts". Many Thanks., If anyone has a simple solution to add a signature button and a Spell Checker to the editor toolstrip, I would be happy to see it :-)
Lastly, is there a changelog for SVN?
I noticed the version has bumped, how can I tell what's changed?
Click here to see list of changes: http://dev.fckeditor.net/log/MediaWiki
[edit] Can't Use Plugins or Extensions?
Our wiki has a lot of plugins and rss feeds. I can't get them to work. Examples:
<flickr tag="life" count="5"></flickr>
<rss file="<a href="http://del.icio.us/rss/tag/life">[n]</a>" items="5" date="true" author="true"></rss>
< rs's>te's't</i>< <i>rs'</b>s<b><i><b>></b></span>'<b></i></span><b></span></b></b></span>''''<p><p><p></p><p>Where can I add code to "escape" such things so they work? Thanks. </p> </p> </p> </p>
- This might help you a bit, but at the moment it's only for insert the tags. not for editing articles. If you edit an article the editor might destroy your tags again. http://www.mediawiki.org/wiki/Extension:TagCorrection
Answer: FCKeditor extension should be now able to handle other extensions without any extra stuff.
[edit] Changing Mediawiki Skins
When I try and change skins at my wiki the pages look fine until I try to edit a page. Then I get an error that says "Fatal error: Cannot access protected property SkinStandard::$skinname in /home/udiy/public_html/extensions/FCKeditor/FCKeditor.body.php on line 166". I looked at that file, and that line doesn't een exist. Any suggestions? </p><p> You can diagnose the error for yourself at my wiki: http://www.udiy.org.
Fixed
[edit]
[edit] Is there a syntax for the editor ignoring to format special code?
Would need that for syntax highlighting. The problem is the editor is changing for example <source> into the <source> and then I can't use highlighting. I would like to second this. Any <> type of tags break. I'm interested in <source>, <pre>, <tex> (what I have instead of <math>) and <poll>. Anyone know of a manual fix I can apply?
[edit] Answer:
Maybe this article will help you with the <source> tag <a href="http://www.fckeditor.net/forums/viewtopic.php?f=6&t=6693&p=18001#p18001">http://www.fckeditor.net/forums/viewtopic.php?f=6&t=6693&p=18001#p18001</a>
[edit] One word: fantastic!
You guys are removing the <b>only drawback</b> I was seing with MW. I opened a bug (not a programmer myself) at http://bugzilla.wikimedia.org/show_bug.cgi?id=10731 . I hope you will manage to work with MW team to make this an extension, so that you do not have to edit MW files anymore. </p><p>
[edit] Bug: wiki table headers overwritten
- Editing a wiki table that has a header (!) in FCKeditor and saving it just overwrite the header and changes it back to a normal cell.
- FCKeditor could support adding headers to tables (<th>)
Fixed
[edit] Bug: image resize don't work
- When you insert an image and resize it the new size is not saved. When you see the article the size is the original.
[edit] Bug: Switching to Wikitext remove the internal link tag and changed it to bold
When you have a link to an internal document such as this Main_Page, switching to Wikitext and back to WYSIWYG will remove the [[ ]] tag and replace it with bold markup. You can try for yourself now.
[edit] Bug: Enabling "Show preview on first edit" screws up the whole page
By enabling "Show preview on first edit", once the page is saved, it produces a conflict and converts the current (your) text into HTML tags where all the < > tags are displayed (the code behind is < and >).
[edit] Enhancement: adding classes to tables
In the table "edit properties" menu, it would be nice to:
- be able to set the class(es) for a table
- have a checkbox for inactivating width, cellspacing and cellpadding options if we enter a class
For instance, the "sortable" class is very popular/useful for instance under MW, see below:
| title 1 | title 2 |
| a | 2 |
| b | 1 |
[edit] Enhancement: Image preview
When selecting an image in the search box, would it be possible to get a preview of it, like in CKfinder ?
[edit] Enhancement: Switch off the WYSIWYG
Because of the special treatment of the code the editor use it's change the code you use when you edit in plain text. There might be a way to disable the feature or some code that makes a part of the text untouchable by the editor. For example, something like:
<nowysiwyg><br>some code that won't be changed<br></nowysiwyg><br>
For example, for putting code in <pre></pre> or for puting <input>s tags
I remember an older implementation (which was not so fine like this) but they had a magic-word _USE_EDITOR_ to switch the FCKedtior on/off on a per-Article Basis. Since behavour of FCK in tags, images, tables is sometimes strange, it would be nice to have such a Feature. --<a href="User:193.171.50.242">193.171.50.242</a> 14:19, 29 August 2007 (CEST)
[edit] Enhancement: Button for signature
Adding a signature should also be made easier, for example by addinga button for doing so.
[edit] Enhancement: Manual Link Entry [ ]
[edit] Request
Nice editor. Please add manual link entry. <a href="User:Testuser">Testuser</a> 18:32, 29 July 2007 (CEST)
[edit] Anwer
You can already do that, when adding a link, just enter any entry you want into the "Link" box, and click "ok" instead of picking up one of the searches.
[edit] Pasting tables from excel
Using the fckeditor demo <a href="http://www.fckeditor.net/demo/">[n]</a> when pasting tables from excel you see the gridlines. Unfortunately, I don't see that when using this (with ie 6). That's be a nice feature to have.
[edit] Editing existing articles that have thumbnails
This is a great implementation! One bug: When editing an existing article that has thumbnails, when the article is saved, the images are saved at full size, instead of the thumbs. --<a href="User:Tderouin">Tderouin</a> 21:49, 3 August 2007 (CEST)On this page here, that is working, at my installation i have this bug too, did you fix it here? --<a href="User:Dckreisel">DCkreisel</a>
This should work fine in the latest release.
[edit] Is the option "Paste from Word" lost in this version?
This option is really usefull in the standard FCK Editor and, even if having Wikitext is a big temptation, when you have most of your documentation in Word, it can discourage you in the upgrade to this version...
Incredible job, in any case :-) !!
Bosqui
I agree this is a very useful option. Any plans on adding this back in?
I also agree - It would definitely make it a ton better. --N0ctrnl 15:51, 24 March 2008 (CET)
[edit] Links sometimes not parsed correctly?!
I have a page with lots of tables and wiki links like <a href="Test">Test</a> (Wikicode: &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;a href="Test"&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;Test&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;) that are displayed as &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;a href="test"&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;test&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;. I didn't figure out why this happens and didn't find any solution in your forums or with Google. It also seems that you have the same problems on some pages of your site here - like on <a href="Configuration Options">Configuration Options</a>
What I also recognized that I can not use the "Wikitext" button on my site - if I click on it nothing happens and the editor doesn't show me the wiki-code. But if I disable the FCKeditor and copy the wikicode, enable the FCKeditor again delete everything so the page is empty and switch to "Wikitext" (it's working now!?) and paste the wikicode into the textarea and then preview the text, it seems to work. But after I save it, every link is again displayed as &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;a href="test"&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;test&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt;. If this is confusing I can send you some screenshots.
I'm useing Mediawiki 1.10.1. and I appreciate every help. Thank you.
PROBLEM:I think I have found the problem that's causing this. If you have a table with colspans FCKeditor isn't parsing this right. The "Wikitext" button then doesn't work anymore and the links are shown as above. Please fix this because that's a little bit annoying. Besides if you create a table with FCKeditor the merging with the right-mousebutton option doesn't work.
MORE INFO: From another user. I can confirm that this is a problem. It works fine if editing with <b>Firefox</b> however, but <b>not IE'</b><b>. Also, when this problem happens I get a javascript error in IE that says line 504 - Object does not support this method. FCKEditor.html</b>
It seems that when you "cut" a line, the line break is also cut too. When the cut line is pasted, a line break is also pasted and the line break tells the editor to make another bullet even though it doesn't belong. I will test this more to see if that is the case in the error 3 section next.
[edit] fck editor destroys tags
think this project is quite good, to make more people work on a wiki in a company. but unfortunately the editor is destroying our syntax highlighting tags. It simply ends the tag at the first line of the code an then sets a <pre> around the rest. could you please integrate a variable or file in which tags who have to be ignored can be stored? that would be great.
[edit] Not working with Dusk
I use a edited version of Dusk, and the editor won't show up. It shows up in MonoBook, but not Dusk. Anyone else experienced this, or know how to fix it? <a href="User:217.118.40.229">217.118.40.229</a> 01:31, 2 September 2007 (CEST)
[edit] Not working 100% with Cite.php
Using Cite.php extension, FCKeditor does allow easy reference insertion using the <R> button on the toolbar. However, there's no way of displaying all the reference (usually at the end of the page), as it requires the tag <references /> and not <ref /> (which is what will show up if you press the <R> button on toolbar and leave everything empty). How to get the FCKeditor to put down <references /> without having to edit it in Wikitext source?
[edit] Fantastic!
I've been searching wide and far for something like this. After wasting time installing and setting up Wikiwyg, I can't wait to get this integrated. Excellent functionality! I hope it works with 1.11.0... Any tests so far? -- <a href="User:216.99.65.63">216.99.65.63</a>
Just tried it -- works perfectly! The only flaw I see (and it seems to be in this site, too) is that "double-clicking" a word or phrase and modifying it will highlight and modify the trailing space. Then, after saving the edit, the trailing space will be deleted (resulting in a run-on word). Any fixes? -- <a href="User:216.99.65.63">216.99.65.63</a> 22:30, 11 September 2007 (CEST)
[edit] problem file:// links
hi, I've got a problem with file:// links.
I can't use a name for them cause the FCKeditor extension parser destroys this link and shows [file://path/to/file name].
Any fixes?
[edit] did fix it myself
<a href="http://www.mediawiki.org/wiki/Extension:FileLinkCorrection">www.mediawiki.org/wiki/Extension:FileLinkCorrection</a>
[edit] PRE tags problem
I believe that I am also running into <a href="http://dev.fckeditor.net/ticket/1274">bug #1274</a>. It can be seen in the sandbox, where text in <pre> tags is reduced to one line with escaped <BR> tags inserted where line breaks ough to be. Specifically, this occurs when you switch to wikitext from WYSIWYG (or vice versa). Anyone else seeing this?
[edit] yes
Yes, I confirm it. We've got this bug since firefox updated to 2.0.0.6
[edit] fixed ! It appears to be fixed in this online version.
Bug# ? Do we have a bug number? I'd very much like to track this one, so I can update as soon as it's fixed.
[edit] Fixed?
This appears to be fixed in svn 951.
[edit] Using MW 1.10.1 with this and trying to implement Google Maps extension
The google maps extension: http://www.mediawiki.org/wiki/Extension:Google_Maps/Editor%27s_Map places a button in the default MW editor to edit and add a google map. My <googlemap> tags work fine with the extension but this button doesn't show up. I know that both this extension and the google maps one are using EditPage::showEditForm:initial as a hook. Anyone know how the google maps extension or this one or both need to be modified in order to see the button which reveals the map editor?
[edit] Issues with "maintenance/rebuildImages.php --missing"
After adding fckeditor to mediawiki 1.11.0, if you attempt to run "maintenance/rebuildImages.php --missing" you will get the error "getNamespace() failed on a non-object in line 99 of ../extensions/FCKeditor/FCKeditor.body.php
My work around was to bail out of the function onParserAfterTidy in FCKeditor.body.php by adding a new line of "return true;" on line 94 (after the "global $wsUseTex, $wgUser, $wgTitle;" line.)
Once the import was complete, I removed my "return true;" line.
I have just submitted this as a bug. (Ticket <a href="http://dev.fckeditor.net/ticket/1295">#1295</a>)
[edit] Using this extension with the Google Maps extension
I have to disable the FCKeditor in order to make the google maps extension work because the "make a map" button will not show up anywhere on the edit page dialog with the FCKeditor. Can anyone help me or just give me some way of enabling the google maps extension with the FCKeditor anyway? I'm not asking for full functionality with the FCKeditor or anything. Just a little text link above the editor window would be great! I just don't understand the complexities of the code well enough to get MW 1.10.1 to play with this extension and the FCKeditor integration at the same time!
I guess my problem really is: How can I instantiate the map editor somewhere else besides in the editor? (like maybe below or above it)
FCKeditor renders the <googlemap> tags just fine. I just need to let the user have an interface with which to edit the article since this is essential to the goal of my wiki site. (allowing each user a simple way to add a map to their article).
Thanks again! --68.35.119.165 19:22, 25 September 2007 (UTC) Nate
[edit] Love the extension but it's breaking 'media:' mark-up tag (fixed)
So anything put in as
[[media:filename.doc]]
using the Wiklitext edit option saves ok but if the article is edited using FCK, the link is changed to a link to a new page. Any suggestions? Thanks, Michael (m.clarke at careers.lon.ac.uk)
[edit] I agree
I'm seeing the same behavior, using Firefox 2.0.0.7 and IE6.
This is an example:
[[media:filename.pdf]]becomes
[[Wiki/sandbox/index.php?title=Special:Upload&wpDestFile=filename.pdf|media:filename.pdf]]Any official word on this?
[edit] Workaround
It appears that the FCKEditor extension is assuming a file doesn't exist, even if it does, so it inserts the Special:upload page link for that filename (as above). If you use this link (which shows up as a new page in the article) to upload the file, the editor then will insert a new link in the page pointing to the newly-uploaded file. This does appear to be a bug, no?[edit] This is fixed
For those interested in this bug and its history/resolution, see <a href="http://dev.fckeditor.net/ticket/1327">bug #1327</a>.[edit] Sorry - not fixed in Firefox
In wikitext view, one can add a media:filename.ext tag, save the article and the link appears as intended. But now when someone edits that page in FCKeditor, the media tag is doubled up as follows when the page is saved and the link promptly breaks:
[[media:filename.ext]] becomes [[media:filename.ext|media:filename.ext]]Is FCKedit ever going to be able to link to anything other than images? The work-around we're using, by the way, is to link to files via the image tag (being as all media ends up in the image folder by default) and add the desired link to the caption box. It doesn't look pretty and it drives our users mad but at least it doesn't break!
Michael, m.clarke@careers.lon.ac.uk
Y'all have been working really steadily on this project; the new svn fixes, I think, everything listed above, and more. Well done! And thanks for the quick turnaround on bugs!
[edit] Wikitext and FCKeditor is broken with IE 6 + IE 7 and spanned table - <a href="http://dev.fckeditor.net/ticket/1214">Ticket #1214</a>
How to replicate this problem:
- Open IE and edit any page
- Add a table
- Right click a cell and select "Cell Properties"
- Put 2 or higher in "Rows Span" or "Colums Span"
- Click OK
- Click on "Wikitext" button to see error in IE "Object doesn't support this property or method"
- Changes to page can't be saved
- You can make "Wikitext" work again by changing "Rows Span" or "Colums Span" to 1
Check out the <a href="Sandbox">Sandbox</a> for sample.
This is broken for Internet Explorer 6 and Internet Explorer 7 when using the latest nightly :(
[edit] A Few Errors with tables, bulleted lists, and text formatting (not sure how to officially submit tickets)
[edit] Table errors
[edit] First Error
Look what happens here with a table at 100 percent width. We get a horizontal scrollbar that appears at the bottom of your browser window. I am using IE 7.0
| blah blah blah moo moo moo | blah blah blah moo moo moo |
| blah blah blah moo moo moo | blah blah blah moo moo moo |
| blah blah blah moo moo moo | blah blah blah moo moo moo |
[edit] Second Error
This one I am having a hard time replicating but I'll try. Here's the same table:
| blah blah blah blah blah blah | moo moo moo moo moo moo |
| blah blah blah blah blah blah | moo moo moo moo moo moo |
| blah blah blah blah blah blah | moo moo moo moo moo moo |
Now I will take the same table, copy it below, save it FIRST, and THEN I edit it (without using WIKITEXT mode) </p><p>following these steps and the result is what you see below.
- I highlighted and copied the contents of row 1 col
- 1 "blah blah blah blah blah blah" using control - c (for copy)
- Then I positioning the cursor directly after the 3rd "moo" in row 3
- col 2 and pushed "control - v" (for paste)
- The dialog box pops up asking if I want to allow script access or something like that and I say yes
- HTML <td> and </td> are generated incorrectly.
| blah blah blah blah blah blah | moo moo moo moo moo moo |
| blah blah blah blah blah blah | moo moo moo moo moo moo |
| blah blah blah blah blah blah | <td>moo moo moo</td>blah blah blah blah blah blah moo moo moo |
Here's another table where I will get this error to occur another way.
| blah blah blah moo moo moo | blah blah blah moo moo moo |
| blah blah "blah moo" moo moo | blah blah blah moo moo moo |
| blah blah blah moo moo moo | blah blah blah moo moo moo |
and then I duplicate this same table and SAVE both of them first. This error only seems to happen when you have a table that is already saved and then you edit some text under special conditions and td tags get added.
- I highlighted the text within the quotes inside row 2 col 1. I did not highlight the quotes.
- I typed in exactly what you see below which is the phrase "I must test".....again I didn't add or remove the quotes, only selected what was between them and typed over the existing text with something else.
| blah blah blah moo moo moo | blah blah blah moo moo moo |
| <td>blah blah "I must test</td>" moo moo | blah blah blah moo moo moo |
| blah blah blah moo moo moo | blah blah blah moo moo moo |
<a href="User:Engquist">Engquist</a>
[edit] Weird errors with bulleted lists
[edit] first problem
While I was making the last error I experienced another error that keeps happening with bulleted lists. Look above and you'll see what I mean! Let me know investigate step by step how this error occurs so that I may replicate it for you. </p><p>The error seems to be that when editing or maybe it's adding bullets, I end up with extra bullets like you see above once in a while. I think it happens when I try to edit a bulleted list that is already saved. This error does not seem to occur when I keep changing a bulleted list that I have never saved. </p><p>Another thing about this error is that just like the last errors with the tables, you will not see it happen as you are editing. it will only be evident after you have clicked "save page" and then look at the results.
So now I will make a bulleted list with five items and I will "save page" with this list FIRST
- I am not switching to wikitext at all to make this list
- I did this list before I saved it
- by clicking the buttom on the toolbar above for a bulleted list
- and then I hit the "enter" key each time I want to go down to the next line and
- this action adds a new bullet. Once I finish this sentence, I push "enter" and then I backspace to remove the bullet and use my mouse to unselect the bulleted list buttom on the toolbar above.
Ok now I am in wikitext. I am copying the bulleted list and pasting it below. Once I copy and paste it I will click "save page" again. the list that follows doesn't look the same because after saving it I edited it by doing the following things: 1) Use the mouse to click at the end of any line in a bulleted list (I chose the end of the line for the third bullet) 2) press the "enter key" twice 3) Now press backspace once 4) The editor shows everything fine and indeed it will also look this way if you save it. However if you look at the wikitext for this list below you will see that there is a full line in between still. I'm not sure what implications this little bug might have...but I have ran into many issues with lists and I will try to replicate some more in the next error.
- I am not switching to wikitext at all to make this list
- I did this list before I saved it
- by clicking the buttom on the toolbar above for a bulleted list
- and then I hit the "enter" key each time I want to go down to the next line and
- this action adds a new bullet. Once I finish this sentence, I push "enter" and then I backspace to remove the bullet and use my mouse to unselect the bulleted list buttom on the toolbar above.
[edit] second problem
Here's our bulleted list:
- line one test
- line two test
- line three test
- line four test
Follow these steps to recreate the error (Imagine you want to switch the content of the first and second bullets):
- Select (highlight with mouse) the entire second line (line two test) including the space that appears behind it.
- "cut it" (control - x) . You will still "see" the bullet but no text.
- position your cursor before "line one test"
- "paste it" using (control-v) and then push "enter" to put the content of line one onto line two
Here's the output you get (an extra bullet was created):
- line two test
- line one test
- line three test
- line four test
This is what you should've expected: (you actually do get this if before hitting "enter" and step 4 above you switch to wikitext and back first)
- line two test
- line one test
- line three test
- line four test
Or better yet when using "cut" to cut a bulleted line the bullet should be "cut" or removed too and following the above directions would actually give this:
- line two test
- line one test
- line three test
- line four test
My theory why
[edit] Third Problem
Here's our bulleted list:
- line one test
- line two test
- line three test
- line four test
Do these steps:
- Highlight (select) the whole third line (line three test) and copy it using control-c or the toolbar button in the FCKeditor
- Now paste it at the end of any other bullet, even itself.
It creates a bullet on the line ABOVE wherever it gets pasted strangely enough. Here it is pasted to line 1:
- line one test line three test
- line two test
- line three test
- line four test
and if it's pasted at the end of the second bullet:
- line one test
- line two test line three test
- line three test
- line four test
<a href="User:Engquist">Engquist</a>
[edit] Other errors I've noticed and will elaborate on more later
[edit] formatting w/ bold italic and underline
When formatting text and changing something from say bold to italic or maybe making something that's already bolded also italic, it seems common that extra apostrophes get added. I frequently have to go into the wikitext mode and manually apply changes so that the correct type of formatting is applied to my text. Imagine that I make this word bold.
Now I come back after it is saved and change the word bold into the word 'bo loves do'</i>gs
See what happened? It should say bo loves dogs but weird stuff happened. It doesn't seem to do the error if you change a word into a different word with the same formatting. changing boldinto bowlingdidn't do it. It happened when I started typing in the middle of the word and added new words and stuff. Similar stuff happens with italics and underlining too.
[edit] another table issue
Tables aren't supposed to be stacked on top of each other. Sometimes I will have one table that is supposed to be directly BELOW another table. If I save both the tables it seems ok at first because the one does appear under the other. When I go back to edit the top table, under certain conditions, I will use the "insert row above" or "insert row below" feature and soon the browser is trying to stack the two tables on top of each other. </p><p>Another way it's handled is by creating a horizontal scrollbar in the browser window and then squeezing the bottom table in over to the right. The way I correct for this is by adding HTML line breaks but that gets annoying if you have a top table with 100 rows in it because following this table must be 100 line breaks or more in order for the bottom table to render underneath as you intend for it to do. You can really get a feel for all the errors I have listed today by just trying to add a restaurant into my pre-loaded template for a new article at my site WIKI-EATIA. Try it out and / or view source on an article and you'll see what I mean. Complex table situations become problematic very fast for my website users. </p><p>it's at <a href="http://www.wiki-eatia.com">[n]</a> (<a href="http://www.wiki-eatia.com">www.wiki-eatia.com</a>) </p><p>Thanks a million! This editor is great and keeps getting better! Soon my users will have a seamless editing experience which is my goal because wikitext is not intuitive for people who do not code. <a href="User:Engquist">Engquist</a>
[edit] Good start
Well done. A few questions: 1. Any idea on a date for a stable version? Not sure if to put the current version in my production wiki. 2. What PHP or Javascript assistance do you need? 3. I'd like to be able to specify the class for the table, e.g. wikitable class 4. A "category" list dropdown would be superb. 5. An image upload function (like in FCKEditor) would be nice. Woohoo. David C
[edit] Using Wiki for Code Commenting Causes Problems
I have noticed alot of differnet problems with using the wiki editor and trying to edit pages previously created by wiki language. For one when we the page being edited now by the wiki wysiwyg <code> </code> tags are preempted by <pre> tags. This causes problems in the line-up of the code. Also alot of the <br> insterted will cause mis-allignements.
Example:
<code>Sub Main()
On Error GoTo ErrorHandler
Dim test As New XXXEventLogger.EventLogger
test.SetDebugMode False, "X.XXXXX@techsmith.com"
test.ApplicationStart "XXXEventLogger Test App", Importance_Low
... your code here ...
test.Log ("Successful Completion()")
ExitProcess:
test.ApplicationEnd
Exit Sub
ErrorHandler:
Dim ErrorText
ErrorText = " Number: " & Err.Number & vbCrLf
ErrorText = ErrorText & " Description: " & Err.Description & vbCrLf
ErrorText = ErrorText & " Error Source " & Err.Source & vbCrLf
test.ApplicationError (ErrorText)
test.Log ("Unuccessful Completion()")
Resume ExitProcess
End Sub
</code>
[edit] Disabling Wysiwyg does not work
I have tried everything to disable the wysiwyg by going to preferences and clicking the button which states (disable rich text editor) or even going into the group for disabling based on namespace. Neither of these works. When I go to a page each page will still show the wysiwyg and switching to wikitext does not display right at all.
[edit] BUG: Style attribute gets removed
Whenever I add a style attribute to a HTML tag, it gets removed as soon as I click 'Wikitext'! <a href="User:TheDevilOnLine">TheDevilOnLine</a> 10:54, 5 November 2007 (CET) </span> I'm getting the same problem, I notice that this works on this site,
<font style="background-color: yellow;">next</font> however on my local wiki the style attribute gets stripped out and replaced with this
<font size="+0">next</font>
when flicking between the wikitext/editor views. Ended up using span+css and adding a new style to fckeditor in the end so it probably ended up for the best.
[edit] Disable Editor by default in certain namespaces
Is it possible to disable the editor in certain namespaces by default even for users who aren't logged in and have it disabled as their personal prefs? This is a temporary way to get arounds some of the parsing problems. For Example you have a map names in which you use Google Maps Extension, the editor is disabled in this namespace, so it won't mess up the code. When you need a map in an article you simply transclude it: <img _fck_mw_template="true" _fckrealelement="4" _fckfakelement="true" src="http://mediawiki.fckeditor.net/extensions/FCKeditor/fckeditor/editor/images/spacer.gif" class="FCK__MWTemplate">.
[edit] Solution
add
$wgDefaultUserOptions['riched_disable'] = 1;
to LocalSettings.php
Same can be done for all namespaces :
- riched_disable_ns_main
- riched_disable_ns_talk
- riched_disable_ns_user
- riched_disable_ns_user_talk
- riched_disable_ns_project
- ....
[edit] Image Upload
Is the image upload function within FCKeditor only available with v2.5? I downloaded from the svn but dont see that option and the editor for this pages does not have it either. One of my clients has a jotspot account (before registration was turned off) and that is one of the easiest Wiki's to use. Please let me know if and when the upload function will work in mediawiki. Otherwise this is awesome!!!!
-Damian
[edit] MediaWiki:SideBar
i think this affect with other pages as you cannot use Media Wiki:SideBar shows you an empty page :(
[edit] Bug: Don't use the Delete Key
So, backspace seems to work fine, but if you use the delete key in wysiwyg mode, it get's translated as a line break and then all those annoying html paragraph tags start showing up. The backspace key apperas to work just fine. So, to reproduce the problem... "Type in your sentence but don't use the ddelete key" </p><p>Then go back and delete the extra "d" in "ddelete" and you get:
"Type in your sentence but don't use the delete key" The work around is to go into wikitext mode and clean everything up before submitting it. It's so common for me to do that now that I usually switch back and forth between wikitext and richtext mode before submitting my page.
- Update. I apparently have an older version of this integration. My version puts paragraph tags around sentences to indicate new lines that only show up in wikitext mode. This version doesn't have the paragraph tags.
- Second update - Apparently this is a known bug. <a href="http://dev.fckeditor.net/ticket/1528"><a href="http://dev.fckeditor.net/ticket/1528">[http://dev.fckeditor.net/ticket/1528 n</a></a> though I wish it had a higher priority. I can't give it to users and tell them they can only use a subset of their keyboard.
[edit] Change Default to "Disable rich editor"?
When you install FCKeditor, it becomes the default for all users. Why is that? I'd expect such extensions to be as unobtrusive as possible, so this caught me by surprise. Some of our users will definitely be happy with this extension, others will prefer to use wikitext, and they will miss the buttons that come with the default wiki editor. Is there a way to change the default to "Disable rich editor"? Does anyone have a method to change that value for all users? --<a href="User:Hvdeynde">Hvdeynde</a> 09:35, 20 December 2007 (CET)
[edit] Solution :
add
$wgDefaultUserOptions['riched_disable'] = 1;
to LocalSettings.php
[edit] Making Wikitext load first (sort of)
It took me a while to find, but my desired effect is to edit wiki text first, then go to a Rich-text editor second. While I couldn't stop FCKeditor from parsing the page, and loading the page in WYSIWYG I figured out how to call SwitchEditmode after the editor loads up.
- open /wiki/extensions/FCKeditor/fckeditor/editor/fckeditor.html
- around line 178 at the bottom of
if ( typeof( window.parent.FCKeditor_OnComplete ) == 'function' ) window.parent.FCKeditor_OnComplete( FCK ) ;
- add this line
FCK.SwitchEditMode();
- It will look like this when your done
if ( typeof( window.parent.FCKeditor_OnComplete ) == 'function' ) window.parent.FCKeditor_OnComplete( FCK ) ; FCK.SwitchEditMode();
- Great. Thank you. Is there a way to change this directly from monobook? --Flominator 12:43, 14 April 2008 (CEST)
[edit] Feature Requests
- Paste rich or formatted text.Currently you can only paste in plain text. To paste in all those Word Docs with their included formatting, this feature is paramount.
- Insert Image directly. It appears that you can only actually reference an already uploaded image. It would be nice if this feature actually allowed you to choose an image from the user's local filesystem, upload it to the wiki, then pasted the reference directly where the user wanted it, instead of making the user jump through all of these hoops.
- Change text color. Is it just me or is it not currently possible? The <font> tags work so why can't you do this? EDIT - It does work, you just need to uncomment the button from the config file.
- Alignt text left, right, center and block. Hi, the only feature I'm missing is to align the text, the buttons are available, but doesnt "work" on mediawiki 1.11.0. The <font> and <div> tags work so why can't you do this?
- Get speller pages working. I have tried but I can't get it to work, the button won't show on the edit toolbar. EDIT - I've done it. There is a slight problem with the 'pop-up' window being too small but other than that it works.
There ist a big Problem, using Semantic MediaWiki and the FCKeditor extensions together.
In case, editing a page within Semantic MediaWiki-Tag, the FCKeditor includes the parsed lines and tables from the "Semantic MediaWiki" into the page content.
<div class="smwfact"><span class="smwfactboxhead">Facts to Headline — Search <span class="smwsearchicon">+</span> like pages.</span><span class="smwrdflink"><span class="rdflink">[http://site.com/wiki/index.php?title=Spezial:ExportRDF/Show Headline as RDF]</span></span>
{| class="FCK__ShowTableBorders"
|-
| class="relhead" |
| class="relhead" | Relations to other articles
|-
| class="smwrelname" | [[Relation:Neighbour of|Neighbour of]]
| class="smwrels" | [[Neighbour]] <span class="smwsearch">[http://site.com/wiki/index.php?title=Spezial:SearchTriple&relation=Neighbour+of&object=Neighbour&do=Search+Relations +]</span>
|}
</div>
[edit] Image gallery not working
Hello
I have problems with image <gallery> -tag. For example following wiki code:
<gallery>
Image:first scoping diagram.png|Figure 1a:
</gallery>
Is changed to:
| [[/Image:First_scoping_diagram.png|[[Image:]]]] Figure 1a using FCKeditor. Any ideas? |
Thanks a lot for this!!! -brian
That has been fixed.
[edit] Version 2.6?
Is there an easy way to get version 2.6 of the FCKEditor running with the extension? I tried installing the complete extension (using 2.5.1) and then overwriting my FCKeditor/fckeditor directory with the latest version from the fckedtor.net web site, but that just resulted in a broken editor...
[edit] You are awesome!!!
(see above)
[edit] Internal Link Bug, while switching source view (wikitext button)
internal wiki link <---used to a link to the main page, then i clicked on source toolbar button (wikitext) then clicking on same button again leaves me with a non working link in bold text!! how is this fixed? This bug was verified by using this page as a test.. assuming if this editor is going to be setup correctly this is the place.
64.65.250.19 20:57, 17 April 2008 (CEST)
[edit] Template issues
- it seems the FCK editor is behaving incorrectly when working with templates, I've noticed it'll try to replace the template code as if it were being used as {{subst:Template name}}. This leads to a pain in the ass when working with tables and border="2" width="100%" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;", bgcolor="#A7C1F2", the template information is lost!!!!!!!
Example:
Go edit any page, go to wiki text, type:
{|{{Prettytable}} |- | {{Hl2}} | Cell 1 | {{Hl2}} | Cell 2 |}
Click on Wikitext button again, no blue colors right? get back to Wikitext, BAM, templates lost. Desired effect:
| Cell 1 | Cell 2 |
However, if you happen to click on the Wikitext button, you get:
| Cell 1 | Cell 2 |
Fixed #2069
[edit] Output HTML, not MediaText
I am trying to integrate FCKeditor so that it outputs HTML and not wikitext. It seems that is the exact opposite goal of this extension. However, could anyone give me some advice on how to do this type of integration? Our users would like to be able to copy rich text directly from word and paste into the editor. They'd also like to be able to code in HTML and view source, much like the non-extension FCKEditor does a very good job of. Any help would be greatly appreciated!
[edit] User Preferences "Editing" Tab does not mention an option for Rich Editor Disabling
I have installed FCKEditor on my mediwiki installation
Mediawiki 1.12.0
FCKEditor : Version fckeditor/mw-extension $Rev$ 2008)
This article mentions an option to Disable the FCKEditor in the Preferences page but I can't find it in my preferences page
--> OK, found them in the "Misc" Tab, not in "Editing > Disable rich editor" as mentioned on the main page
Ideally I'd like FCKEditor to be disbled by default, the user to be able to change this default for him in his preferences page
--> found a solution to disable the editor by default : add
$wgDefaultUserOptions['riched_disable'] = 1;
to LocalSettings.php
Same can be done for all namespaces :
- riched_disable_ns_main
- riched_disable_ns_talk
- riched_disable_ns_user
- riched_disable_ns_user_talk
- riched_disable_ns_project
- riched_disable_ns_project_talk
- riched_disable_ns_image
- riched_disable_ns_image_talk
- riched_disable_ns_mediawiki
- riched_disable_ns_mediawiki_talk
- riched_disable_ns_template
- riched_disable_ns_template_talk
- riched_disable_ns_help
- riched_disable_ns_help_talk
- riched_disable_ns_category
- riched_disable_ns_category_tal
,...
[edit] Anchors
Anyone know how to properly use the anchor button? I'm using MW 1.12.0 on Linux, FCKeditor 2.5.1 that I picked up from a nightly build around May 1 and added the edits to EditPage.php and Sanitizer.php as instructed. Most features work fine. However, I used it to set an anchor but it just created in wikitext a pipe character surrounded by two square brackets: [[|]] According to the FCKeditor documentation, to use an anchor you use the Link button and specify the anchor, but the Link dialog says nothing about anchors. It seems totally unusable. Am I doing something wrong?
[edit] Image captions disappear when they have formatting
I made this page to recreate the behavior. Testing image captions
Add some text, and then click save. You'll see....
P.S. Where's the button for the signature?
