User:Jeblad/Javascript and Mediawiki

Jump to navigation Jump to search
Javascript and Mediawiki
Notes about good and bad practices

This is a collection of notes about good and bad practices for coding Javascript within the Mediawiki environment. Perhaps the collection will be large enough to be useful for others, but for the moment it is only a loosely knit collection of personal notes. It is also influenced by my own understanding of the problems, which may be skewed, flawed or even outright dangerously wrong.

A kind of micro lexicon is used for structuring the notes, as I have had some success on reuse of such notes at other projects.



  • E4X
  • WebStorage - Can't be used from WebWorker
  • IndexedDB - Can be used with blocking interface from Web Worker