w/extensions/FlaggedRevs/frontend/modules/ext.flaggedRevs.review.js
/*
	 * Flag users as "now reviewing"
	 */
Flag users as "now reviewing"
Flag users as " now reviewing "
function advertiseReviewing( e, isInitial ) {
		var msgkey, $underReview;
		if ( isInitial !== true ) { 
			if ( !setReviewingStatus( 1 ) ) {
				return; 
			}
		}
		msgkey = $( '#mw-fr-input-refid' ).length ?
			'revreview-adv-reviewing-c' : 
			'revreview-adv-reviewing-p'; 
		$underReview = $( '<span>' )
			.addClass( 'fr-under-review' )
			.text( mw.msg( msgkey, mw.user ) );
		$( '#mw-fr-reviewing-status' )
			.empty()
			.append(
				$underReview,
				' (',
				$( '<a>' )
					.text( mw.msg( 'revreview-adv-stop-link' ) )
					.css( 'cursor', 'pointer' )
					.click( deadvertiseReviewing ),
				')'
			);
	}
function advertiseReviewing ( e , isInitial ) { var msgkey , $underReview ; if ( isInitial !== true ) { if ( ! setReviewingStatus ( 1 ) ) { return ; } } msgkey = $ ( '#mw-fr-input-refid' ) . length ? 'revreview-adv-reviewing-c' : 'revreview-adv-reviewing-p' ; $underReview = $ ( '<span>' ) . addClass ( 'fr-under-review' ) . text ( mw . msg ( msgkey , mw . user ) ) ; $ ( '#mw-fr-reviewing-status' ) . empty ( ) . append ( $underReview , ' (' , $ ( '<a>' ) . text ( mw . msg ( 'revreview-adv-stop-link' ) ) . css ( 'cursor' , 'pointer' ) . click ( deadvertiseReviewing ) , ')' ) ; }
Flag users as "now reviewing"
Flag users as " now reviewing "
// don't send if just setting up form // failed // Build notice to say that user is advertising... // diff // page // Update notice to say that user is advertising... // eslint-disable-next-line no-use-before-define