Extension talk:WikiEditor/Archive

afp links in editor not turned into links
The editor has performed really nicely so far but I just can't make afp (apple file protocol) links work in the editor. Seems like afp links are not recognized so users of our internal org wiki can't link to files on our file server. I suppose this is more of a feature request. Any chance of this being implemented in an upcoming version of the editor?

Add a button
Hi, I already added the Extension:EmbedVideo to my wiki and it works well. Now i try to add a button that facilitates the embedding of video. That button should display a popup, where i can put "service" (e.g. youtube), "id" (of the video), ... Have anyone an idea where can i find info to build this? (i'm using mediawiki 1.16, Wikieditor from Extension:UsabilityInitiative) Thanx


 * same here, please help--12.46.139.200 23:37, 13 July 2011 (UTC)

Call to undefined method OutputPage::addModules
I am getting this error when trying to install the toolbar. Fatal error: Call to undefined method OutputPage::addModules in /home/sambend1/public_html/memory/extensions/WikiEditor/WikiEditor.hooks.php on line 635


 * Solution -- place the call in the LocalSettings file AFTER the require_once ... DefaultSettings line! by MKRD.info MKRD info 22:54, 5 June 2011 (UTC)


 * Don't use the vrunk version of WikiEditor with MediaWiki 1.16, there's an older version of WikiEditor for that. Max Semenik 08:10, 3 November 2010 (UTC)
 * Hi, where can i get a running Version for MediaWiki 1.16?
 * Special:ExtensionDistributor/UsabilityInitiative. Max Semenik 09:41, 3 November 2010 (UTC)
 * Ah thanks =) --Roumeo 10:17, 3 November 2010 (UTC)

Include FCKeditor
I'm trying to get the WikiEditor working alongside FCKeditor for rich editing. When loading the rich editor the WikiEditor toolbar remains. Is there a way these could work alongside each other. I suspect it may just be a case of having the WikiEditor toolbar exist inside a "toolbar" div so that FCKeditor can hide it. Thanks

Gone?!
After I installed the WikiEditor the whole bar (the old edit toolbar too) just went away. What happened! Teamcoltra 21:16, 8 February 2011 (UTC)


 * It seems to me that Extension:WikiEditor hasn't fully compatible with PHP 5.3.x. Now I had to downgrade to 5.2.x and so it works again... Also sometimes the feature "interactive tools" (dialogs) may be a cause of the panel's disappearence (if it activated). AvalarMS 03:06, 25 February 2011 (UTC)

why can't wikEd work with UsabilityInitiative/WikiEditor in my 1.16.2wiki?
When I enable these two editor together, text disappear(edit window become too small to edit).

Actually I find these two extensions work fine together in zh.wikipedia.org(1.17) but not in my wiki(1.16.2). Is the different between version cause this problem?

here is a Screenshot of the broken editor http://easycaptures.com/fs/uploaded/387/0939602272.png --晒太阳的冰 04:48, 29 March 2011 (UTC)

Does this Work With iPhone, iPad?
Does not seem to work with MW 1.16 and 0.0.2 on the iPhone and iPad —The preceding unsigned comment was added by 128.189.126.187 (talk • contribs) 22:32, 30 March 2011 (UTC). Please sign your posts with ~ !
 * No, does only work with MW 1.17 --188.23.142.51 07:30, 10 April 2011 (UTC)

Problems with WikiEditor
Recently, I tried to install this extension in my wiki, but it seems that it doesn't work. My wiki is 1.17 beta 1 and PHP is 5.2.6. I turn on WikiEditor in "my preferences" but it also doesn't work!! And it just show the old and original editor of wiki. Anyone knows the problem or anyone had similar situation with me?
 * Just use newest version from SVN, and it will work ;) 89.74.216.91 13:34, 14 May 2011 (UTC)
 * Is it here? -> http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/WikiEditor  I tried to download all the files and installed on my wiki again. But it still not work. BTW, thanks! -- TKPSS 07:59, 15 May 2011 (UTC)

I have the same problem. I had 1.16.2 and updated to 1.17.0. I download lates WikiEditor extension, but problem is the same. Also old toolbar doesn't work... Solution: comment this line in LocalSettings.php:
 * 1) require_once("$IP/extensions/UsabilityInitiative/Vector/Vector.php");

WikiEditor does nothing?
I can't get it to work, i don't get wikieditor toolbar at all while ussing mediawiki 1.17

Tested in Opera 11.10, 11.11 and Firefox 3.5.19. My server is running Apache 2.2.17, php 5.3.6, MediaWiki 1.17b1. I have checked out /svnroot/mediawiki/trunk/extensions/WikiEditor and set it up as detailed in the README. I have ensured that "Enable enhanced editing toolbar" has been enabled in my preferences. Upon going to any edit page, I see the following in my server log:

So the wiki editor is obviously being loaded, however I only see the 'classic' toolbar, not the new toolbar. The Error Log in firefox shows no javascript errors, nor does the Error Console in Opera. The trunk Vector extension works fine (collapsible tabs and nav work as expected, etc), the problem only appears to affect WikiEditor. Applicable section of my LocalSettings.php is very basic:

require_once("$IP/extensions/WikiEditor/WikiEditor.php"); $wgDefaultUserOptions['wikieditor-preview'] = 0; $wgDefaultUserOptions['usebetatoolbar'] = 1; $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;

Any suggestions about what else I can do to narrow down the problem? --Ishtralimnar 12:07, 23 May 2011 (UTC)

Update to 1.17 stable, then it should work. --178.151.78.159 15:20, 22 June 2011 (UTC)

I'm wondering if this worked for the above user after upgrading? I have 1.17.0 stable, and wikieditor does not work for me. When I was using the UsabilityInitiative this also did not work. I commented the line in LocalSettings that was "loading" it with the UI extension when I was using 1.16.x of MW, and it still will not load.

Presently I only have "require_once("$IP/extensions/WikiEditor/WikiEditor.php");" in my LocalSettings. If I enabled: $wgDefaultUserOptions['usebetatoolbar'] = 1; $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;

Then I don't get anything. All that shows up is the edit box with the text for the articles, and the old toolbar will not even display. Is there another extension that is required or am I missing something? I too also have no issues with the Vector extension. [here is the site]

Irt3hj4y 10:36, 27 July 2011 (UTC)

WikiEditor toolbar does not load successfully with Vector skin if--
--"Enable dialogs for inserting links, tables and more" is checked in preferences

Product	Version: MediaWiki	1.17.0beta1, PHP	5.3.5 (cgi-fcgi), MySQL	5.1.53-log

I just today switched to the Vector skin to test Extension:Vector's collapsible tabs. That extension seems to be working fine, but when I tried to edit a page after making the switch the WikiEditor toolbar no longer appeared. The regular edit toolbar does not appear either. After going through all of the toolbar-related options in Preferences, the WikiEditor toolbar finally reappeared when "Enable dialogs for inserting links, tables and more" was unchecked; nothing else mattered.

I only started building my wiki a week or to ago, so I have no clue where to look. However, I did see the following errors in Chrome's debug console: index.php:317Uncaught ReferenceError: addButton is not defined Drafts.js:183Uncaught ReferenceError: hookEvent is not defined index.php:333Uncaught TypeError: Object # has no method 'tabs' ''"Drafts.js" is part of Extension:Draft. It's only breaking when the toolbar does not appear. It's trying to register a hook to something's load event, maybe the document or the edit form; I don't know...''

--Tomlong75210 22:40, 27 May 2011 (UTC)

functionality for running js ... code examples?
There has been documentation on how to add text and to me it has completely bamboozled my non-hacker brain and I couldn't get it to work, especially when other variations were used around the place. Krinkle has created a nice script at meta: that has allowed me to add text easily and more akin with ye olde toolbar.

We still do not have documentation for how to run scripts from buttons. I have grubbed through the code and see that there is 'encapsulate', 'callback' and 'dialog' in the case statement, so I am presuming that it is 'callback'. Would it be possible to get some examples on how to the code for these. Thanks. — billinghurst  sDrewth  13:07, 19 June 2011 (UTC)

Preview not working on 1.17.0 ? (PHP 5.3)
Hi,

yesterday I upgraded to Squeeze (including PHP 5.3) and upgraded my MW to 1.17.0

However, since then, neither the preview tab (it's just showing the rotating loading icon) nor the publish button (doesn't do anything) are working. Any hints?

doesn't work @all
i am using mediawiki 1.17 and the bar doesn't shows up at all
 * I have the same trouble with r85437 from snapshot as well as with r92640 from svn. my wiki is 1.17.0 upgraded from 1.16.2 95.84.190.156 15:09, 20 July 2011 (UTC)

not loading for Internet Explorer?
Anyone experiencing this toolbar not loading up for Internet Explorer? it's working fine for Firefox and Chrome..

-- I'm seeing the same thing, did anyone find a resolution? Acaldwell 22:15, 24 July 2011 (UTC)

Cannot get it to work
I'm wondering if this worked for any of the above users after upgrading? I have 1.17.0 stable, and wikieditor does not work for me. When I was using the UsabilityInitiative this also did not work. I commented the line in LocalSettings that was "loading" it with the UI extension when I was using 1.16.x of MW, and it still will not load.

Presently I only have "require_once("$IP/extensions/WikiEditor/WikiEditor.php");" in my LocalSettings. If I enabled: $wgDefaultUserOptions['usebetatoolbar'] = 1; $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;

Then I don't get anything. All that shows up is the edit box with the text for the articles, and the old toolbar will not even display. Is there another extension that is required or am I missing something? I too also have no issues with the Vector extension. [here is the site]

Irt3hj4y 17:36, 30 July 2011 (UTC)