Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.1 KB

CONTRIBUTING.md

File metadata and controls

24 lines (19 loc) · 1.1 KB

Contributing to the Deep Wiki Inspector

JavaScript

  • Stick with ECMAScript 5's strict mode.
  • Follow the MediaWiki coding conventions.
  • Always document new classes and methods.
  • Load third-party libraries from the cdnjs mirror at Wikimedia Tool Labs.
  • Use jQuery Deferreds and Promises instead of callbacks.
  • Work with dates in UTC flavors, e.g. use Date#getUTCDate() instead of Date#getDate() and d3.time.format.utc() instead of d3.time.format(). Mixtures of local and UTC times are likely to cause subtle bugs.

Internationalization

There is no aided translation system yet. You have to copy one of the existing JSON files from the i18n folder — preferably English or Italian, since those are the most up to date. Sorry for the inconvenience.