Thành viên:Hide on Rosé/AfDList.js
Chú ý: Sau khi lưu thay đổi trang, bạn phải xóa bộ nhớ đệm của trình duyệt để nhìn thấy các thay đổi. Google Chrome, Firefox, Internet Explorer và Safari: Giữ phím ⇧ Shift và nhấn nút Reload/Tải lại trên thanh công cụ của trình duyệt. Để biết chi tiết và hướng dẫn cho các trình duyệt khác, xem Trợ giúp:Xóa bộ nhớ đệm.
/* This script adds an "AfDs All" link to the top toolbar that gives the list of AfDs of past 7 days and more.
It is primarily designed for AfD regulars who prefer to directly review the full list of AfDs
To use the script, add the following line to Special:MyPage/common.js:
importScript('User:Lourdes/AfDList.js'); // Linkback: [[User:Lourdes/AfDList.js]]
*/
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function() {
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl('Wikipedia:Biểu quyết xoá bàu'),
'AfDs All',
'pt-specialnew',
'Biểu quyết xoá bài',
null,
'#pt-preferences'
);
});