mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-12 06:16:01 +00:00
a32999e641
Change-Id: Icabf6e065ed5685207731262db72faf848a0a04d
21 lines
485 B
JavaScript
21 lines
485 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Represents the mobile-first Special:MobileDiff page
|
|
*
|
|
* @extends Page
|
|
* @example
|
|
* https://en.m.wikipedia.org/wiki/Special:MobileDiff/833886807
|
|
*/
|
|
|
|
const { Page } = require( './mw_core_pages' );
|
|
|
|
class SpecialMobileDiffPage extends Page {
|
|
|
|
get inserted_content_element() { return $( 'ins' ); }
|
|
get deleted_content_element() { return $( 'del' ); }
|
|
get user_info_element() { return $( '#mw-mf-userinfo' ); }
|
|
}
|
|
|
|
module.exports = new SpecialMobileDiffPage();
|