User:LNDDYL/PortletLink.js

注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。

mw.util.addPortletLink(
 'p-personal',
 '/wiki/Template:管理員',
 '管理員',
 'pt-mysandbox',
 '管理員相關',
 null,
 '#pt-preferences'
 );
mw.util.addPortletLink(
 'p-personal',
 '/wiki/Special:所有頁面?namespace=8',
 '系統介面',
 'pt-mysandbox',
 '在地化',
 null,
 '#pt-preferences'
 );
mw.util.addPortletLink(
 'p-personal',
 '/w/index.php?title=Special:MyPage/Sandbox&action=edit&preload=Template:%E7%94%A8%E6%88%B6%E6%B2%99%E7%9B%92/preload&editintro=Template:%E7%94%A8%E6%88%B6%E6%B2%99%E7%9B%92',
 '我的沙盒',
 'pt-mysandbox',
 '進入您的沙盒',
 null,
 '#pt-preferences'
 );
 mw.util.addPortletLink(
 'p-personal',
 '/wiki/Wikipedia:%E7%AB%99%E5%A4%96%E6%8E%A8%E5%B9%BF',
 '站外推廣',
 'pt-mysandbox',
 '站外推廣維基百科',
 null,
 '#pt-preferences'
 );
mw.util.addPortletLink(
 'p-personal',
 '/wiki/Template:CGroup',
 '公共轉換組',
 'pt-mysandbox',
 '檢視或編輯「公共轉換組」',
 null,
 '#pt-preferences'
 );
mw.util.addPortletLink(
 'p-personal',
 '/wiki/User:LNDDYL/The_hosts_file_for_Wikimedia_projects',
 'hosts',
 'pt-mysandbox',
 '檢視最新的hosts',
 null,
 '#pt-preferences'
 );
mw.util.addPortletLink(
 'p-personal',
 '/w/index.php?title=Special%3A%E6%9C%80%E6%96%B0%E9%A1%B5%E9%9D%A2&namespace=all&tagfilter=&username=&hideredirs=',
 '最新頁面',
 'pt-mysandbox',
 '巡查最新頁面',
 null,
 '#pt-preferences'
 );
 mw.util.addPortletLink(
 'p-personal',
 '/wiki/Special:%E7%BC%96%E8%BE%91%E7%9B%91%E8%A7%86%E5%88%97%E8%A1%A8',
 '編輯監視',
 'pt-mysandbox',
 '編輯監視清單',
 null,
 '#pt-preferences'
 );
$( document ).ready( function() {
  mw.util.addPortletLink(
    'p-tb',
    location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'uselang=qqx',
    '訊息名稱',
    't-messagenames',
    '顯示目前頁面 MediaWiki 訊息名稱取代文字'
  );
});