User:Atmark-chan/custom/logTab.js
< User:Atmark-chan | custom
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
if (mw.config.get('wgNamespaceNumber') == 2) {
mw.util.addPortletLink(
'p-cactions',
'/wiki/Special:log/' + mw.config.get('wgTitle').split('/')[0],
'実行記録',
'ca-log1',
'この利用者による実行記録を表示',
null,
'#ca-move'
);
}
mw.util.addPortletLink(
'p-cactions',
'/wiki/Special:log?page=' + mw.config.get('wgPageName'),
'記録',
'ca-log',
'このページの記録を表示',
null,
'#ca-move'
);