Display title | MediaWiki:Gadget-CleanDeleteReasons.js |
Default sort key | Gadget-CleanDeleteReasons.js |
Page length (in bytes) | 386 |
Namespace ID | 8 |
Namespace | MediaWiki |
Page ID | 304425 |
Page content language | en - English |
Page content model | JavaScript |
Indexing by robots | Allowed |
Number of redirects to this page | 0 |
Number of subpages of this page | 0 (0 redirects; 0 non-redirects) |
Edit | Allow only users with "editsitejs" permission (infinite) |
Move | Allow only users with "editsitejs" permission (infinite) |
Delete | Allow only users with "editsitejs" permission (infinite) |
Page creator | GethN7 (talk | contribs) |
Date of page creation | 08:26, 16 December 2013 |
Latest editor | Southparkfan (talk | contribs) |
Date of latest edit | 14:08, 31 May 2016 |
Total number of edits | 3 |
Recent number of edits (within past 180 days) | 0 |
Recent number of distinct authors | 0 |
Description | Content |
Article description: (description ) This attribute controls the content of the description and og:description elements. | // Written and maintained by User:Mike.lifeguard
jQuery( document ).ready( function() {
if ( mw.config.get( 'wgAction' ) == 'delete' ) {
var wpReason = document.getElementById( 'wpReason' );
if ( !wpReason ) {
return;
}
var regexp = /(content was|page was empty|content before blanking was)/i;
if ( regexp.test( wpReason.value ) ) {
wpReason.value = ;
}
}
} ); |