mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
cbb113bccc
Apparently we didn't have any functions taking or returning an mw.Title object, which is kind of concerning. But now that we're introducing one, we need jsduck to shut up about mw.Title not existing. Change-Id: I04028e0e3d55ed9901878cce593f857183246ab3
28 lines
571 B
JavaScript
28 lines
571 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
|
|
*/
|
|
|
|
/**
|
|
* @class mw.Title
|
|
* @source <https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Title>
|
|
*/
|