Last modified: 2014-02-12 21:32:25 UTC
Hello, i just upgradged my wiki to 1.20.1 MediaWiki 1.20.1 PHP 5.4.3 (apache2handler) MySQL 5.1.33-community-log I install on localhost WYSIWYG / CKEditor (is part of instalation package) and CKeditor works fine on localhost. But editor doesnt work (i dont see editor) if i move to server. WYSIWYG extension (Verze 1.5.6_0 [B551], CKEditor 3.6 (revision 6902)) IE showed me small error for server address (for localhost doesnt show) Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; InfoPath.3; .NET4.0C) Timestamp: Fri, 7 Dec 2012 15:12:49 UTC Message: 'length' is null or not an object Line: 8 Char: 15 Code: 0 URI: http://server_address/extensions/WYSIWYG/ckeditor/config.js?t=B49E5BQ Message: Object required Line: 493 Char: 3 Code: 0 URI: http://server_address/index.php?title=Hlavn%C3%AD_strana&action=edit I discovered one more think - i cannoct see editor for localhost too if i swith in IE to Compatibility view. I can see editor if i "unswitch" compatibility view. I also try to switch and unswitch for server, but no change - editor is still not showed. I also try to click on server "Show RichTextEditor" but without change - editor is not showed. Then I comment couple lines in config.js and now i can see editor. You can recognize my comment (//) that they are on the biggining of rows. But there starts new problem - text is completelly broken if i edit something in editor (i think that this is because i comment some important thinks). So i bring changes back and again i cannoct see editor :-( /if (!String.prototype.InArray) { // String.prototype.InArray = function(arr) { // for(var i=0;i<arr.length;i++) { // if (arr[i] == this) // return true; // } // return false; // } //} CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; var showTbButton = (typeof window.parent.wgCKEditorHideDisabledTbutton == 'undefined'); CKEDITOR.plugins.addExternal( 'mediawiki', CKEDITOR.basePath + 'plugins/mediawiki/' ); CKEDITOR.plugins.addExternal( 'mwtemplate', CKEDITOR.basePath + 'plugins/mwtemplate/' ); // Remove the link plugin because it's replaced with the mediawiki plugin //CKEDITOR.config.plugins = CKEDITOR.config.plugins.replace( /(?:^|,)link(?=,|$)/, '' ); var extraPlugins = "mediawiki,mwtemplate"; config.toolbar = 'Wiki'; // var origToolbar = CKEDITOR.config.toolbar_Full // SMWHalo extension // var qiButton, stbButton; // if ( ('SMW_HALO_VERSION').InArray(window.parent.wgCKeditorUseBuildin4Extensions) || showTbButton) { // CKEDITOR.plugins.addExternal( 'smw_qi', CKEDITOR.basePath + 'plugins/smwqueryinterface/' ); // CKEDITOR.plugins.addExternal( 'smw_toolbar', CKEDITOR.basePath + 'plugins/smwtoolbar/' ); // extraPlugins += ",smw_qi,smwtoolbar"; // qiButton = 'SMWqi'; // stbButton = 'SMWtoolbar'; // } // DataImport extension // var wsButton; // if ( ('SMW_DI_VERSION').InArray(window.parent.wgCKeditorUseBuildin4Extensions) || showTbButton) { // CKEDITOR.plugins.addExternal( 'smw_webservice', CKEDITOR.basePath + 'plugins/smwwebservice/' ); // extraPlugins += ",smw_webservice"; // wsButton = 'SMWwebservice'; // } // SemanticRule extension // if (('SEMANTIC_RULES_VERSION').InArray(window.parent.wgCKeditorUseBuildin4Extensions)) { // CKEDITOR.plugins.addExternal( 'smw_rule', CKEDITOR.basePath + 'plugins/smwrule/' ); // extraPlugins += ",smw_rule"; // } // Richmedia extension var rmButton; // if ( ('SMW_RM_VERSION').InArray(window.parent.wgCKeditorUseBuildin4Extensions) || showTbButton) { // CKEDITOR.plugins.addExternal( 'smw_richmedia', CKEDITOR.basePath + 'plugins/smwrichmedia/' ); // extraPlugins += ",smw_richmedia"; // rmButton = 'SMWrichmedia'; }
(In reply to comment #0) > URI: http://server_address/extensions/WYSIWYG/ckeditor/config.js?t=B49E5BQ I assume this refers to http://www.mediawiki.org/wiki/Extension:WYSIWYG . That page says "1.16.x and 1.17.x only". > I discovered one more think - i cannoct see editor for localhost too if i > swith > in IE to Compatibility view. I can see editor if i "unswitch" compatibility > view. Also see https://www.mediawiki.org/wiki/Thread:Extension_talk:WYSIWYG/IE8_Compatibility_View_mode_breaks_the_editor/reply (In reply to comment #0) > i just upgradged my wiki to 1.20.1 > I install on localhost WYSIWYG / CKEditor (is part of instalation package) I'm surprised to hear that. I downloaded the 1.20.2 tarball to check and under "extensions" I do NOT see any of these, only WikiEditor.
Hi, thank you for your quick response. It seems that i did mistake - now i can see that package 1.20.1 doesnt include WYSIWYG. So, it seems that i install this extension after upgradge. I can see that page shows 1.16.x and 1.17.x only but as i said - editor works fine on localhost, so its reason why i would like to continue with editor after upgrade. I also saw https://www.mediawiki.org/wiki/Thread:Extension_talk:WYSIWYG/IE8_Compatibility_View_mode_breaks_the_editor/reply and i found that i need to add to LocalSettings following: function wfIncludeJQuery() { global $wgOut; $wgOut->includeJQuery(); } $wgExtensionFunctions[] = 'wfIncludeJQuery'; I added, but Editor is still not showed and explorer showed same error as before: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; InfoPath.3; .NET4.0C) Timestamp: Wed, 12 Dec 2012 06:49:11 UTC Message: 'length' is null or not an object Line: 8 Char: 15 Code: 0 URI: http://czbrn-fps02p/extensions/WYSIWYG/ckeditor/config.js?t=B49E5BQ I would like to be happy if you can help me to show editor on server address, i think that there is needed "just solve" error above, becouse this error is not showed for localhost address and on localhost editor works fine. Thank you
http://www.mediawiki.org/wiki/Extension:WYSIWYG#Download links to Sourceforge, so maybe http://sourceforge.net/projects/halo-extension/support?source=navbar is a place where you could get support from developers. Here it's unlikely.
Hi, thank you, Im little unhappy, but I know that my problem is not much relevant. Thanks