User:TheAstorPastor/VisualEditorEverywhere.js: Difference between revisions

From Test Wiki
Content deleted Content added
Created page with "// <nowiki> // TODO: fix the race condition. still present as of 08/31/22. got it when clicking from WT:NPPC to WP:NPPC. not consistently reproducible. use mw.hook( 've.activationComplete' )? list of VE hooks: https://codesearch.wmcloud.org/deployed/?q=mw%5C.hook.*%5C.fire&files=&excludeFiles=&repos=mediawiki%2Fextensions%2FVisualEditor // TODO: add support for [edit] links in diffs class VisualEditorEverywhere { execute() { this.articleName = mw.config.get( 'wgPage..."
 
No edit summary
 
Line 1: Line 1:
// <nowiki>
// <nowiki>


//Credit to User:Novem Linguae at English Wikipedia for the script
// TODO: fix the race condition. still present as of 08/31/22. got it when clicking from WT:NPPC to WP:NPPC. not consistently reproducible. use mw.hook( 've.activationComplete' )? list of VE hooks: https://codesearch.wmcloud.org/deployed/?q=mw%5C.hook.*%5C.fire&files=&excludeFiles=&repos=mediawiki%2Fextensions%2FVisualEditor
// TODO: add support for [edit] links in diffs

class VisualEditorEverywhere {
class VisualEditorEverywhere {
execute() {
execute() {