Content deleted Content added
Aaron Schulz (talk | contribs) m match |
Aaron Schulz (talk | contribs) m JS: Replacing "whattag = m[0];" with "whattag = m;". |
||
Line 622:
if( m = document.editform.wpTextbox1.value.match(/\{\{(\w\w-|)semi-protected(2|)\}\}/) )
{
whattag = m
whattype = artsemi;
var go = 'yes';
Line 628:
else if( m = document.editform.wpTextbox1.value.match(/\{\{(\w\w|)-full-protected(2|)\}\}/) )
{
whattag = m
whattype = artsemi;
var go = 'yes';
Line 634:
else if(m = document.editform.wpTextbox1.value.match(/\{\{sprot(ect|ected|)(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artsemi;
var go = 'yes';
Line 640:
else if(m = document.editform.wpTextbox1.value.match(/\{\{semiprotect(ed|)(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artsemi;
var go = 'yes';
Line 646:
else if(m = document.editform.wpTextbox1.value.match(/\{\{sprotect-banneduser(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artsemi;
var go = 'yes';
Line 652:
else if(m = document.editform.wpTextbox1.value.match(/\{\{sprotected-banneduser(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artsemi;
var go = 'yes';
Line 658:
else if (m = document.editform.wpTextbox1.value.match(/\{\{vprotect(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artfull;
var go = 'yes';
Line 664:
else if (m = document.editform.wpTextbox1.value.match(/\{\{vprotected(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artfull;
var go = 'yes';
Line 670:
else if(m = document.editform.wpTextbox1.value.match(/\{\{Vprotect(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artfull;
var go = 'yes';
Line 676:
else if(m = document.editform.wpTextbox1.value.match(/\{\{Vprotected(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artfull;
var go = 'yes';
Line 682:
else if(m = document.editform.wpTextbox1.value.match(/\{\{protect(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artfull;
var go = 'yes';
Line 688:
else if (m = document.editform.wpTextbox1.value.match(/\{\{protected(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artfull;
var go = 'yes';
Line 694:
else if(m = document.editform.wpTextbox1.value.match(/\{\{Protect(2|)\}\}/i) !=-1)
{
whattag = m
whattype = artfull;
var go = 'yes';
Line 700:
else if(m = document.editform.wpTextbox1.value.match(/\{\{moveprotect(2|)\}\}/i) !=-1)
{
whattag = m
whattype = movesec;
var go = 'yes';
Line 706:
else if(m = document.editform.wpTextbox1.value.match(/\{\{moveprotected(2|)\}\}/i) !=-1)
{
whattag = m
whattype = movesec;
var go = 'yes';
|