mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2025-01-09 19:25:16 +00:00
8ef144f936
Change-Id: I5aa3ab891890b52057a5fc855315e5b1b2203037
29 lines
496 B
JavaScript
29 lines
496 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();
|