🌟現在、鉄壁 鉄壁ヘッドショットには対応済みです。
鉄壁HSは通常HSと同じダメージになります。LMG及びDMR、チャージライフル、ハンマーポイント弾を除き、すべてのダメージ値が一致していることを確認しています。

「MediaWiki:Gadget-NewPP-report.js」の版間の差分

提供:Apex Data
ナビゲーションに移動 検索に移動
 
(名前空間がMediaWikiのとき実行しないように変更)
6行目: 6行目:
$(function () {
$(function () {
'use strict';
'use strict';
$(mw.util.addPortletLink('p-cactions', '#', 'NewPP report')).on('click', function (e) {
var ns = mw.config.get('wgNamespaceNumber');
e.preventDefault();
if (ns !== 8 /* MediaWiki */) {
$(this).remove();
$(mw.util.addPortletLink('p-cactions', '#', 'NewPP report')).on('click', function (e) {
e = null;
e.preventDefault();
$('.mw-parser-output').contents().filter(function () {
$(this).remove();
return this.nodeType === 8 && /^\s*(NewPP|Transclusion|Saved) /.test(this.data);
e = null;
}).replaceWith(function () {
$('.mw-parser-output').contents().filter(function () {
var pre = $('<pre>', { dir: 'ltr' }).text($.trim(this.data));
return this.nodeType === 8 && /^\s*(NewPP|Transclusion|Saved) /.test(this.data);
if (!e) e = pre[0];
}).replaceWith(function () {
return pre;
var pre = $('<pre>', { dir: 'ltr' }).text($.trim(this.data));
if (!e) e = pre[0];
return pre;
});
if (e) e.scrollIntoView();
});
});
if (e) e.scrollIntoView();
}
});
});
});

2021年8月27日 (金) 10:11時点における版

/**
 * @description:
 * This script makes the [[mw:NewPP parser report]] visible on every content page at the bottom.
 * @required modules: 'mediawiki.util'
 */
$(function () {
'use strict';
	var ns = mw.config.get('wgNamespaceNumber');
	if (ns !== 8 /* MediaWiki */) {
		$(mw.util.addPortletLink('p-cactions', '#', 'NewPP report')).on('click', function (e) {
			e.preventDefault();
			$(this).remove();
			e = null;
			$('.mw-parser-output').contents().filter(function () {
				return this.nodeType === 8 && /^\s*(NewPP|Transclusion|Saved) /.test(this.data);
			}).replaceWith(function () {
				var pre = $('<pre>', { dir: 'ltr' }).text($.trim(this.data));
				if (!e) e = pre[0];
				return pre;
			});
			if (e) e.scrollIntoView();
		});
	}
});