mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
ee743f869d
* Add lib/ve. * Remove modules provided by VisualEditor core. * Update paths. * Remove VisualEditor core specific things from Gruntfile. * Remove entries from external.js already in lib/ve/.docs/external.js. * Implement build script to compose a jsduck index that includes all of VisualEditor core. Right now it includes VisualEditor's index as-is, and because those patterns (e.g. ve.dm.*Node) will also MW subclasses this means our category page will include MW classes under "VisualEditor (core)" (before the repo split, this was intentional). This is inevitable unless we list every class individually, or (the plan) until we move the MW subclasses out of the ve.* namespace and into mw.* somewhere. Bug: 45342 Change-Id: Iff45cd555430634c9fc341fd3b177c1e0625300b
23 lines
463 B
JavaScript
23 lines
463 B
JavaScript
/**
|
|
* Provided by VisualEditorDataModule.php for the MediaWiki environment.
|
|
*
|
|
* @class ve.version
|
|
* @singleton
|
|
*/
|
|
|
|
/**
|
|
* @property {string|boolean} [id=false] Git commit hash (abbreviated to 7 characters)
|
|
*/
|
|
|
|
/**
|
|
* @property {string|boolean} [url=false] URL to git commit viewer for #id
|
|
*/
|
|
|
|
/**
|
|
* @property {number|boolean} [timestamp=false] Commit date (UNIX timestamp)
|
|
*/
|
|
|
|
/**
|
|
* @property {string} [dateString=""] Formatted date or empty string
|
|
*/
|