Difference between revisions 59950 and 59951 on jawikisource

/*<pre>*/
function getElementsByClass(searchClass,node,tag) {
  // Function from http://www.dustindiaz.com/getelementsbyclass/
  var classElements = new Array();
  if ( node == null )
    node = document;
  if ( tag == null )
    tag = '*';
(contracted; show full)		'spam',
		'p-block-spam');
	mw.util.addPortletLink('p-cactions',
		'javascript:('+QuickBlock+')("infinite","spamアカウント")',
		'spamアカウント',
		'p-block-soa');
	mw.util.addPortletLink('p-cactions',

		'javascript:('+QuickBlock+')("infinite","spambot")',
		'spambot',
		'p-block-sbot');
	mw.util.addPortletLink('p-cactions',
		'javascript:('+QuickBlock+')("infinite","不適切な利用者名")',
		'不適切な利用者名',
		'p-block-usoft');
	mw.util.addPortletLink('p-cactions',
		'javascript:('+QuickBlock+')("infinite","アカウント作成荒らし")',
		'アカウント作成荒らし',
		'p-block-uhard');
	mw.util.addPortletLink('p-cactions',
		'javascript:('+QuickBlock+')("infinite","パスワード公開")',
		'パスワード公開',
		'p-block-selfc');
	mw.util.addPortletLink('p-cactions',
		'javascript:('+QuickBlock+')("1 week","{{anon"+"block|1=}}<!--{{anon"+"block|1=|sig=--~~"+"~~}}-->")',
		'anonblock',
		'p-block-anon');
	mw.util.addPortletLink('p-cactions',
		'javascript:('+QuickBlock+')("1 week","{{school"+"block|1=}}<!--{{school"+"block|1=|sig=--~~"+"~~}}-->")',
		'schoolblock',
		'p-block-school');
	mw.util.addPortletLink('p-cactions',
		'javascript:('+QuickBlock+')("infinite","open proxy")',
		'open proxy',
		'p-block-op');
}
if ( wgCanonicalSpecialPageName == 'Block' )addOnloadHook(addblockoptions);
/*</pre>*/