mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
6bd240389e
Bug: T219920 Change-Id: I34b5301a274fe90a7a2db58a8bec2b9398d998b6
18 lines
453 B
JavaScript
18 lines
453 B
JavaScript
/**
|
|
* Represents a page showing the difference between two revisions
|
|
*
|
|
* @extends Page
|
|
* @example
|
|
* https://en.m.wikipedia.org/w/index.php?title=Barack_Obama&type=revision&diff=833886807&oldid=833885770&diffmode=source
|
|
*/
|
|
|
|
const { Page } = require( './mw_core_pages' );
|
|
|
|
class DiffPage extends Page {
|
|
|
|
get inserted_content_element() { return $( 'ins' ); }
|
|
get deleted_content_element() { return $( 'del' ); }
|
|
}
|
|
|
|
module.exports = new DiffPage();
|