Extension talk:WikiEditor/2014
Add topicRemove classic buttons from the bottom
[edit]I've added the tabs on the top but would like to disable the classic buttons on the bottom. Otherwise it shows two previews. How to do that? --Aviationwikinet (talk) 20:44, 10 May 2014 (UTC) 12:57, 23 May 2014 (UTC)
- You can easily edit the « /extensions/WikiEditor/modules/jquery.wikiEditor.toolbar.config.js » file and comment what you want to hide.
- Or use the removeFromToolbar call in your javascript code to do it. NikusPokus (talk) 14:12, 23 May 2014 (UTC)
- Thanks! I got that working. Waiting for the VisualEditor to be implemented in the MediaWiki for good. Aviationwikinet (talk) 10:30, 26 August 2014 (UTC)
RefToolbar included by default
[edit]I have come across many people looking on how to get the RefToolbar in their MediaWiki instance. I was one of those people and I still don't have it working. There is certainly a demand for this tool, so can the RefToolbar be included in the base extension. It can be an opt-in gadget in the config. Thanks. -24Talk 14:27, 3 June 2014 (UTC)
1.23 java script error causes editor tool bar not to display
[edit]mw.loader.go and mw.loader.version so code using those will break.Hi, I am using this extension from the git module I am checked out on revision 25cfabf.
When I try to edit a page I get this java error: TypeError: mw.loader.version is not a function
I have traced the error to line 189 modules/jquery.wikiEditor.js which looks like:
return src + '?' + mw.loader.version( 'jquery.wikiEditor' );
Changing the line to:
return src + '?' + mw.loader.version;
will cause the tool bar to show up again but I don't know if that breaks the caching that was spoken of in the comments.
Thanks for looking at this. 129.97.19.227 18:52, 20 June 2014 (UTC)
- Just found this in the release notes
- mw.loader.go and mw.loader.version have been removed. 129.97.19.227 18:57, 20 June 2014 (UTC)
- See bugzilla:63762 and the fix on gerrit:114094. Helder.wiki 00:42, 23 June 2014 (UTC)
PSA: If your toolbar icons appear wrong…
[edit]And your browser gives an error to do with "Transferred with MIME type text/xml but interpreted as image", then your web server is serving SVG files with the wrong MIME type.
You should add the following to your Apache config if you're using Apache.
<IfModule mime_module>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule> Andrew Garrett (talk) 01:43, 25 June 2014 (UTC)
The text editor is too small
[edit]I have one big problem: the text editor is only 17px height and I have no idea how to change it. Any idea to help me? 81.13.201.152 16:32, 8 July 2014 (UTC)
WikiEditor will not displayed after upgrade
[edit]Hi there,
i upgraded my Wiki from 1.20.2 to the latest version. But there is still a minimalist editor like this. How to display the modern Extension:WikiEditor? The Configuration seems to be not working, too. Best regards --79.194.134.199 08:05, 25 August 2014 (UTC)
- What you mean with "The configuration seems to be not working". Have you set all configuration variables? Is WikiEditor visible in Special_Version? Is no editor or only the standard editor there when you try to edit a page? Florianschmidtwelzow (talk) 08:21, 25 August 2014 (UTC)
- I set all configuration variables. Nothing happens. Yes, WikiEditor (0.4.0) is visible in Special:Version. Look at the linked image. This is the editor i see at the moment, when i try to edit a page. 79.194.138.141 08:54, 26 August 2014 (UTC)
- Just a wild guess, but what happens when you leave out the configuration settings except the require_once bit from your Localsettings.php file? (And as always, don't forget to clear the browser cache) Cavila (MW 1.22, MySQL 5.5.37-0, Php 5.4.4-14 squeeze, SMW 1.9.2, SF 2.7) 09:40, 26 August 2014 (UTC)
- It doesn't change anything. I still see a minimalist editor. Best regards 79.194.138.141 10:03, 26 August 2014 (UTC)
- What browser do you use? Have you a link to you website? Please make sure, that you set at least these lines under the require_once in you LocalSettings.php:
- Florianschmidtwelzow (talk) 10:08, 26 August 2014 (UTC)
$wgDefaultUserOptions['usebetatoolbar'] = 1; $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
- Firefox, Chrome... all latest version. It's a local Wiki on Xampp. I added these lines again and the whole editor disappeared. I switched to "Preferences". "Show edit toolbar" and "Enable enhanced editing toolbar" were checked. I unchecked "Show edit toolbar" => editor is still disappeared => i unchecked "Enable enhanced editing toolbar" => minimalist editor is visible again. 79.194.138.141 11:00, 26 August 2014 (UTC)
- Ah, ok, we have a progress ;) So, when you have the lines in your LocalSettings.php (installed like explainend on extension page), the "normal" editor disappear and you have a blank line (~no editor) on the edit page, yes?
- If so: Can you open the console in Chrome (Ctrl+Shift+J) and look if there are any errors? If yes: What errors? Florianschmidtwelzow (talk) 13:12, 26 August 2014 (UTC)
- Alright. The console shows the following error:
- Uncaught Error: Unknown dependency: jquery.collapsibleTabs load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20140825T0…:151
- event.returnValue is deprecated. Please use the standard event.preventDefault() instead. 79.194.133.36 13:06, 28 August 2014 (UTC)
- What other extensions do you have installed? What MediaWiki version you have installed? Florianschmidtwelzow (talk) 19:57, 28 August 2014 (UTC)
- I've updated from 1.20.2 to the latest version (1.23.2).
- Extensions:
- Echo
- Nuke
- Renameuser
- Cite
- ParserFunctions
- ConfirmEdit
- Gadgets
- Upload Wizard
- Thanks
- Vector
- WikiEditor
- Best regards 79.194.133.36 20:15, 28 August 2014 (UTC)
- Can you remove Extension:Vector please? It's obsolete since MW 1.22. Florianschmidtwelzow (talk) 20:39, 28 August 2014 (UTC)
- Well done! :) That was the problem. Removing Extension:Vector solved the problem. Thank you very much.
- Can you also tell me how to solve the following problem? When I go to Preferences at Wikipedia I am able to create a custom CSS/JS-file for each skin. In my own Wiki there is only (default | Preview) behind each skin, but no option to create a custom CSS/JS-file. Do I need an extension? Best regards 79.194.143.188 08:01, 29 August 2014 (UTC)
- -> Manual:$wgAllowUserCss
- -> Manual:$wgAllowUserJs
- If you have further questions, please open a new thread, so it's easie to follow the topics and finc solutions for others :) Florianschmidtwelzow (talk) 08:16, 29 August 2014 (UTC)
- Works fine. Thanks. Have a nice day 79.194.143.188 09:23, 29 August 2014 (UTC)
- Can you remove Extension:Vector please? It's obsolete since MW 1.22. Florianschmidtwelzow (talk) 20:39, 28 August 2014 (UTC)
- What other extensions do you have installed? What MediaWiki version you have installed? Florianschmidtwelzow (talk) 19:57, 28 August 2014 (UTC)
- Alright. The console shows the following error:
- Did the file LocalSettings.php got changed from 1.20 to 1.23? Cause i kept my old one. 79.194.138.141 11:02, 26 August 2014 (UTC)
- That fixed it for me!
- Thanks! FKLinguista (talk) 00:47, 3 February 2015 (UTC)
- Firefox, Chrome... all latest version. It's a local Wiki on Xampp. I added these lines again and the whole editor disappeared. I switched to "Preferences". "Show edit toolbar" and "Enable enhanced editing toolbar" were checked. I unchecked "Show edit toolbar" => editor is still disappeared => i unchecked "Enable enhanced editing toolbar" => minimalist editor is visible again. 79.194.138.141 11:00, 26 August 2014 (UTC)
- It doesn't change anything. I still see a minimalist editor. Best regards 79.194.138.141 10:03, 26 August 2014 (UTC)
- Just a wild guess, but what happens when you leave out the configuration settings except the require_once bit from your Localsettings.php file? (And as always, don't forget to clear the browser cache) Cavila (MW 1.22, MySQL 5.5.37-0, Php 5.4.4-14 squeeze, SMW 1.9.2, SF 2.7) 09:40, 26 August 2014 (UTC)
- I set all configuration variables. Nothing happens. Yes, WikiEditor (0.4.0) is visible in Special:Version. Look at the linked image. This is the editor i see at the moment, when i try to edit a page. 79.194.138.141 08:54, 26 August 2014 (UTC)
newline for search/replace
[edit]- When search and replace, can I insert newline? '\n' seems not to work for replace text. ChongDae (talk) 09:23, 25 August 2014 (UTC)
- Wikitext is not just a string so common "\n" doesn't make new lines here. Use HTML tag "<br />" instead of "\n" to make a new line in the article. Utar (talk) 13:58, 6 November 2014 (UTC)
- What if the intention is not to make a new line in the displayed text, but only in the wikitext? Helder 13:49, 30 November 2014 (UTC)
- Wikitext is not just a string so common "\n" doesn't make new lines here. Use HTML tag "<br />" instead of "\n" to make a new line in the article. Utar (talk) 13:58, 6 November 2014 (UTC)
- An example would be to search & replace * bullet1 *bullet2 *bullet3 *bullet4 *bullet5 - search "*" replace "\n*" unfortunately does not work - doing this manually is very tedious so adding the capability to insert tabs newlines and other special characters would be really helpful. Seppl2013 (talk) 16:29, 19 November 2015 (UTC)
- Now tracked in phab:T281326. Wqnvlz (talk) 03:50, 4 April 2022 (UTC)
No editor bar displayed
[edit]Hello,
I'm using mediawiki 1.23.5 and WikiEditor 0.4.0. which looks correctly installed in Special:Vesion
I have no editor bar when I update a page. When I remove the Wikieditor extension, I don't get back the simple editor bar.
I've tryied with and without advanced configuration but it doesn't work.
In the user preferences, I've checked :
Warn me when I leave an edit page with unsaved changes Show edit toolbar Enable enhanced editing toolbar Enable wizards for inserting links, tables as well as the search and replace function
Otherwise, I've read some other extensions may conflict. Here is what I have installed : CategoryTree – Nuke- Renameuser - User Merge and Delete - AntiBot – ConfirmEdit - PDF Handler - News - Gadgets - Cite - ParserFunctions - RandomImageByCategory - Recently Created Page List
Thanks for sharing your experience Vangoce (talk) 12:42, 10 October 2014 (UTC)
- Hi there,
- I have the same problem with @Vangoce, WikiEditor ran smoothly until I install Echo. It show this error : Unknown dependency: mediawiki.ui.anchor. How can I use both of them ?
- Thanks and best regards. 203.162.139.107 09:01, 22 October 2014 (UTC)
- I had the same issue when using Echo with an older version of MediaWiki. The solution is to check out a version of Echo from before August 11 2014. Andrew Garrett (WMF) (talk) 14:22, 10 February 2015 (UTC)
User script, customization
[edit]is it possible do have a common.js and a user/common.js together?
I cannot figure a working way to do it. 94.165.53.205 22:16, 21 October 2014 (UTC)
Button size
[edit]Hello,
Is there a way to change de default size of the buttons we add on the toolbar? We have created several buttons, but they are not pretty with the 22x22 pixels display.
Thanks for your help! Nouklea (talk) 19:51, 11 November 2014 (UTC)
Editor disappeared after upgrading wiki to latest version
[edit]So I just updated my wiki to 1.23.6 version (previously 1.22.1).
I kept everything the same, same local settings and everything, uploaded the new package through FTP and ovewrote everything existent, ran the mw-config, then tested the wiki and the editor simply disappeared, there isnt even a minimalistic editor, its just the editing page with no editor at all.
The only error appearing in my error log is this one, which Im not sure has anything to do with this issue
- PHP Fatal error: Class 'ResourceLoaderLanguageNamesModule' not found in /home/comptf/public_html/includes/resourceloader/ResourceLoader.php on line 437
I have all these lines on my localsettings
require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
$wgDefaultUserOptions['usebetatoolbar'] = 1; $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
$wgDefaultUserOptions['wikieditor-preview'] = 1; $wgDefaultUserOptions['wikieditor-publish'] = 1; 2001:8A0:6A42:301:E473:79E7:D205:EB13 17:10, 12 November 2014 (UTC)
Git not working
[edit]I try to do this:
git clone https://git.wikimedia.org/git/mediawiki/extensions/WikiEditor.git
but get this result:
Klone nach 'WikiEditor'...
fatal: unable to access 'https://git.wikimedia.org/git/mediawiki/extensions/WikiEditor.git/':
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Temptuousinsolence (talk) 10:02, 28 November 2014 (UTC)
- I was just able to complete the git clone successfully. Perhaps you could try again? Ckoerner (talk) 17:44, 1 December 2014 (UTC)
- I did a clone of the WikiEditor yesterday as well and it appears to be working now. Did another test today and works also in a second environment. Maybe it had just been a temporary issue. Temptuousinsolence (talk) 08:26, 2 December 2014 (UTC)
Why are all versions of IE barred from using the search and replace dialog
[edit]I'm sure some older versions of IE are problematic but the way it is now, none of the versions of IE are enabled. This makes it kind of hard to test anything.
Does this require opening a Task? George Orwell III (talk) 08:39, 3 December 2014 (UTC)
- phab:T88875 / gerrit:191698 Helder 00:54, 28 June 2015 (UTC)
- That list still "sucks" (no iPod, iPhone & iPad for example) and I'm not sure IE11 and higher are still "detected" that way (something about "Edge?). Either way, I don't know for sure.
- Plus it seems T78527 should be either merged or closed in light of the answers to my above no? George Orwell III (talk) 22:50, 29 June 2015 (UTC)
Toolbar buttons missing after upgrade to 1.24
[edit]I've upgraded to 1.24 from a recent 1.23. I've also updated all the extensions to the REL1_24 branch. All works fine but now my toolbar buttons don't show, there's just an empty space on the toolbar until the 'Advanced' submenu. The buttons still seem to be working when I click on the empty spaces. I found a reference to the same problem on this page and I've updated my MediaWiki:Common to be the same as the one on Wikipedia but that doesn't seem to fix the issue. Any idea what could be the problem?
Edit: I figured I might as well ask the same question on the above mentioned page, sorry for the duplicate question. Richie765 (talk) 20:05, 7 December 2014 (UTC)
Changing pop-up Publish menu
[edit]- Hello, whenever I click the WikiEditor "Publish" button on the top-right corner, a menu pops up. The title bar of the menu literally says "Publish to (SITENAME)", but without the parens of course, instead of "Publish to" and then my site's actual name. How do I fix this? Thanks! :) Ssjgoku75x (talk) 23:42, 19 December 2014 (UTC)
- There's no solution to this, other than turning off that option off by using
$wgDefaultUserOptions['wikieditor-publish'] = 0;. Aviationwikinet (talk) 15:25, 4 January 2015 (UTC)- Forgive me if I'm out of line here, but can't they just edit (or blank completely?) MediaWiki:Wikieditor-publish-dialog-title.
- I'm guessing there is no SITENAME magic-word setup to regurgitate the label on that particular install huh? George Orwell III (talk) 20:15, 4 January 2015 (UTC)
- Adding $wgDefaultUserOptions['wikieditor-publish'] = 0; didn't work for me and the link "MediaWiki:Wikieditor-publish-dialog-title." is not a page. MW 1.23.5 Kmacdowe (talk) 02:26, 25 February 2015 (UTC)
- There's no solution to this, other than turning off that option off by using
- Modify MediaWiki:Wikieditor-publish-dialog-title to chance SITENAME 201.164.234.45 (talk) 04:40, 24 July 2015 (UTC)
- What does this comment mean? On another private server, where is this page to be edited? 2601:2C2:0:FC00:A9D8:7D3B:E900:40F8 (talk) 17:35, 22 March 2016 (UTC)