Page MenuHomePhabricator

Kill of most/all the WikiEditor RL modules
Closed, ResolvedPublic1 Estimated Story Points

Description

Almost all of them are loaded by default; "ext.wikiEditor" should just be it, I'd have thought?

jquery.wikiEditor.core
jquery.wikiEditor.dialogs
jquery.wikiEditor.dialogs.config
jquery.wikiEditor.toolbar
jquery.wikiEditor.toolbar.config
jquery.wikiEditor.toolbar.i18n
ext.wikiEditor
ext.wikiEditor.core
ext.wikiEditor.dialogs
ext.wikiEditor.styles
ext.wikiEditor.toolbar

Event Timeline

note that CodeEditor does not load all of them.

In T165112#3262499, @TheDJ wrote:

note that CodeEditor does not load all of them.

CodeEditor shouldn't load any of them, but that's a different task. :-(

Change 392902 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/WikiEditor@master] Merge all the non-styles-only ResourceLoader modules into one

https://gerrit.wikimedia.org/r/392902

Change 392902 merged by jenkins-bot:
[mediawiki/extensions/WikiEditor@master] Merge all the non-styles-only ResourceLoader modules into one

https://gerrit.wikimedia.org/r/392902

Does the above patch resolve this task?

Change 402025 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/WikiEditor@master] Follow-up I51745e8: Make all old modules aliases of 'ext.wikiEditor'

https://gerrit.wikimedia.org/r/402025

Many of these are used in the wild by user scripts, so I've re-added them as aliases. We should do an mwgrep after this has been deployed so they can eventually be killed off.

Change 402025 merged by jenkins-bot:
[mediawiki/extensions/WikiEditor@master] Follow-up I51745e8: Make all old modules aliases of 'ext.wikiEditor'

https://gerrit.wikimedia.org/r/402025

Added the deprecation to Tech/News. Will create a task for that.

Many of these are used in the wild by user scripts, so I've re-added them as aliases. We should do an mwgrep after this has been deployed so they can eventually be killed off.

Is this a simple text replacement? ie. all instances of commands in the list in the description above to be replaced with ext.wikiEditor

Many of these are used in the wild by user scripts, so I've re-added them as aliases. We should do an mwgrep after this has been deployed so they can eventually be killed off.

Is this a simple text replacement? ie. all instances of commands in the list in the description above to be replaced with ext.wikiEditor

Yes, though if there's duplicates after that they should be merged. Follow-up is in T184194: Remove deprecated ResourceLoader alias modules for WikiEditor.

Change 485355 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[mediawiki/extensions/WikiEditor@master] Remove deprecated ext.wikiEditor module aliases

https://gerrit.wikimedia.org/r/485355

Change 485355 merged by jenkins-bot:
[mediawiki/extensions/WikiEditor@master] Remove deprecated ext.wikiEditor module aliases

https://gerrit.wikimedia.org/r/485355