Remove legacy javascript globals
Open, Stalled, LowPublic

Description

Timeline:

  • Add option to disable legacy globals: wgLegacyJavaScriptGlobals. – T30916, 49ce5de7d94 (MediaWiki 1.17 in 2011)
  • Add deprecation notices for accessing mw.config.get() when wgLegacyJavaScriptGlobals is enabled. – T58550, 24f84b08cf91ef (MediaWiki 1.25 in 2014)
  • Migrate usage and gradually disable on Wikimedia wikis:
    • Turn it off on test2.wikipedia.org. – T67011, bbfba08d31 (2014)
    • Fix the Collection extension to not depend on these. T177259
    • Turn it off on group0 wikis. (test.wikipedia.org, mediawiki.org, and read-only wikis)
    • Turn it off in Continuous Integration for all code merges. (Jenkins mw-config)
    • Turn it off on Beta Cluster for all wikis.
    • Turn it off on group1 wikis. (mostly non-Wikipedia)
    • Turn it off everywhere. (+group2: Wikipedia)
    • Turn it off by default in MediaWiki core. – T35837 (in release N)
  • Remove the feature. – (in release N+1 or later)

Details

Reference
bz70470
bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz70470.
bzimport added a subscriber: Unknown Object (MLST).
Krinkle created this task.Sep 5 2014, 10:44 PM
Krinkle updated the task description. (Show Details)Nov 24 2014, 10:10 PM
Krinkle claimed this task.
Krinkle set Security to None.
Krinkle removed a subscriber: Unknown Object (MLST).
Ricordisamoa added a subscriber: Ricordisamoa.
Krinkle lowered the priority of this task from Normal to Low.Jul 8 2015, 7:13 AM
Krinkle removed Krinkle as the assignee of this task.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 22 2016, 11:49 PM
Restricted Application added a subscriber: Luke081515. · View Herald TranscriptJan 29 2016, 7:37 PM
Krinkle changed the task status from Open to Stalled.Mar 7 2018, 8:23 PM
Krinkle updated the task description. (Show Details)Mar 7 2018, 8:32 PM

Updated the task description to formulate all the expected steps for major migrations of this sort. Also a copy here for the record:

  • Add option to disable.
  • Add deprecation notices. – (in release N)
  • Migrate usage and gradually disable on Wikimedia wikis:
    • Turn it off on test2.wikipedia.org.
    • Turn it off in Continuous Integration. (Jenkins mw-config)
    • Turn it off on Beta Cluster.
    • Turn it off on group0 wikis. (test.wikipedia.org, mediawiki.org, and read-only wikis)
    • Turn it off on group1 wikis. (mostly non-Wikipedia)
    • Turn it off everywhere. (+group2: Wikipedia)
  • Turn it off by default in MediaWiki core. – (in release N+1 or later)
  • Remove the feature. – (in release N+2 or later)
Nirmos added a subscriber: Nirmos.Mar 7 2018, 8:36 PM
Ahecht added a subscriber: Ahecht.Aug 20 2018, 9:03 PM

We're still cleaning up the mess caused by switching from Tidy to RemexHTML, and on larger wikis such as enwiki tech-savvy editors will still be needed to working on the hundreds of thousands of pages with broken rendering for the forseeable future. Breaking all the old scripts and gadgets "soon" (as specified in the Tech News blurb) would be a disaster. This is only compounded by the roll out of the Interface Administrator group later this month, which means that gadgets and scripts in the mediawiki namespace or in the namespace of inactive users will only be able to be fixed by the very small number of editors granted this permission.