mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-18 03:31:34 +00:00
0540abb30c
Use the more verbose SpecialMobileDiff page Change-Id: I1e773b0a654d2b03601ae8ba37dc8bbc03910e7f
19 lines
470 B
JavaScript
19 lines
470 B
JavaScript
/**
|
|
* 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();
|