MediaWiki talk:Gadget-oldeditor.js

Latest comment: 9 years ago by Quiddity (WMF) in topic Edit request

Edit request

edit

The init module ext.visualEditor.viewPageTarget.init has been renamed to ext.visualEditor.desktopArticleTarget.init. There is an alias in place but you should update your code as the old name is now deprecated. ESanders (WMF) (talk) 15:00, 25 August 2015 (UTC)Reply

See also https://www.mediawiki.org/wiki/Topic:Spdy7ipje59svni8 . --Elitre (WMF) (talk) 08:26, 22 September 2015 (UTC)Reply

I am occasionally getting a full stack trace message in webconsole too, if that helps.

Extended content
Exception in module-execute in module ext.gadget.oldeditor: load.php:177:688
Error: Unknown dependency: ext.visualEditor.viewPageTarget.init Error: Unknown dependency: ext.visualEditor.viewPageTarget.init
Stack trace:
sortDependencies@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:160:321
resolve/<@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:161:313
.each@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:5:226
resolve@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:161:277
mw.loader.using@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:170:713
@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=ext.flow.ui%7Cext.gadget.oldeditor%7Coojs-ui%7Coojs-ui.styles.icons%2Cicons-editing-advanced&skin=vector&version=55679e655550:54:629
jQuery.Callbacks/fire@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:45:104
jQuery.Callbacks/self.add@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:45:656
jQuery.fn.ready@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:49:40
@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=ext.flow.ui%7Cext.gadget.oldeditor%7Coojs-ui%7Coojs-ui.styles.icons%2Cicons-editing-advanced&skin=vector&version=55679e655550:54:507
execute/runScript/<@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:162:659
jQuery.Callbacks/fire@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:45:104
jQuery.Callbacks/self.add@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:45:656
.Deferred/promise.always@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:46:865
execute/runScript@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:162:535
execute/</checkCssHandles@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:163:319
execute@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:164:25
mw.loader.implement@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=c54hDTto:170:389
@https://www.mediawiki.org/w/load.php?debug=false&lang=en&modules=ext.flow.ui%7Cext.gadget.oldeditor%7Coojs-ui%7Coojs-ui.styles.icons%2Cicons-editing-advanced&skin=vector&version=55679e655550:54:445
 load.php:177:726

However the gadget doesn't seem to work on any page? Plus, it seems superfluous to the option for `Temporarily disable the visual editor while it is in beta` in Special:Preferences#mw-prefsection-editing, right?

From the page history, @Matma Rex: wrote the original version. Perhaps he can advise on whether this gadget should be fixed, or retired, or other? Quiddity (WMF) (talk) 19:17, 28 September 2015 (UTC)Reply

Yes, this gadget is no longer needed. The English Wikipedia original (w:en:MediaWiki:Gadget-oldeditor.js) simply disables itself and enables the preference you mentioned since August 2013 (w:en:MediaWiki_talk:Gadget-oldeditor.js#Edit_request) and could probably be removed entirely. Matma Rex (talk) 20:51, 7 October 2015 (UTC)Reply
@Matma Rex: Do we need to do anything to switch over the preference, for editors using the gadget at this wiki? The code seems to differ, between here and Enwiki. I don't want to disable it prematurely! Thanks. Quiddity (WMF) (talk) 23:06, 7 October 2015 (UTC)Reply
Return to "Gadget-oldeditor.js" page.