Thành viên:Khangdora2809/common.js

Bách khoa toàn thư mở Wikipedia

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 ExplorerSafari: 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.

mw.loader.load('//en.wikipedia.org/wiki/User:NguoiDungKhongDinhDanh/CopyvioChecker.js');
mw.loader.load('/wiki/User:NguoiDungKhongDinhDanh/LinkReport.js?action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/wiki/User:NguoiDungKhongDinhDanh/CopyvioChecker.js');
mw.loader.load('/wiki/User:NguoiDungKhongDinhDanh/AfDCloser.js?action=raw&ctype=text/javascript');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/ShowRevisionID.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:BrandonXLF/Restorer.js&action=raw&ctype=text/javascript');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:BrandonXLF/ToTop.js&action=raw&ctype=text/javascript');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:NhacNy2412/BlankedThePage.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/wiki/User:NguoiDungKhongDinhDanh/CopyvioChecker.js');
mw.loader.load('//vi.wikipedia.org/w/index.php?title=Thành viên:Lê Song Vĩ/recent3.js&action=raw&ctype=text/javascript');
mw.loader.load('//vi.wikipedia.org/w/index.php?title=Thành viên:Phjtieudoc/recent2.js&action=raw&ctype=text/javascript');
mw.loader.load('//vi.wikipedia.org/w/index.php?title=Thành viên:Tryvix1509/userinfovi.js&action=raw&ctype=text/javascript'); 
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');
mw.loader.load('//vi.wikipedia.org/w/index.php?title=User:NguoiDungKhongDinhDanh/Gadget-tabbedwindow.js&action=raw&ctype=text/javascript');
mw.loader.load('https://commons.wikimedia.org/w/index.php?title=User:Jack_who_built_the_house/convenientDiscussions.js&action=raw&ctype=text/javascript');

//<nowiki>
/* Cat-a-lot - changes category of multiple files */
mw.loader.using(['jquery.ui', 'mediawiki.util'], function(){
	mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.Cat-a-lot');
});
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"watchlist":"preferences","minor":true,"editpages":true,"docleanup":false,"subcatcount":10};
////////////////////////////////////catALotEnd//
//</nowiki>

// Config cho QuickDelete. Đoạn mã dưới đây sẽ thêm các liên kết đến công cụ trong Menu "Tools" ("Công cụ").
// Để kích hoạt, đi tới [[:c:Special:Mypage/common.js]] và dán đoạn mã này.
// Để sử dụng, chỉ việc nhấn vào các liên kết trong menu Công cụ.
// Nếu bạn không có kiến thức cơ bản về [[JavaScript]], không sửa đổi để tránh lỗi trong quá trình sử dụng.
window.AjaxDeleteExtraButtons = [
	            {
                    'label': 'Permission needed (speedy)',		// Đánh dấu xóa nhanh do thiếu bằng chứng cho phép.
                    'tag': '{'+'{speedy|1=Permission from %PARAMETER% needed via [[COM:VRT|VRT]].}}',
                    'img_summary': 'Permission from %PARAMETER% needed via [[COM:VRT|VRT]].',
                    'prompt_text': 'Who is the <i>copyright holder</i>?',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=Permission from %PARAMETER% needed via [[COM:OTRS|OTRS]].}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE%, permission from copyright holder needed via [[COM:OTRS|OTRS]]',
                }, {
                    'label': 'Speedy Recreation DR',			// Đánh dấu xóa nhanh vì là trang được tạo lại sau khi có đồng thuận xóa.
                    'tag': '{'+'{speedy|1=[[COM:CSD#G4]], Recreation of content previously deleted per community consensus.}}',
                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#G4]]: Recreation of content previously deleted per community consensus.',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G4]], Recreation of content previously deleted per community consensus.}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G4]], recreation of content previously deleted per community consensus.',
                }, {
                    'label': 'Speedy Selfie/F10',				// Đánh dấu xóa nhanh tập tin mang tính cá nhân, không có tính giáo dục.
                    'tag': '{'+'{SD|F10}}',
                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#F10]]: Personal photos of or by non-contributors.',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#F10]], Personal photos of or by non-contributors.}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#F10]], personal photos of or by non-contributors.',
                }, {
                    'label': 'Speedy Advert/G10',				// Tập tin/trang chỉ có mục đích duy nhất là quảng cáo.
                    'tag': '{'+'{SD|G10}}',
                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#G10]]: Files and pages created as advertisements.',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G10]], Files and pages created as advertisements.}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G10]], files and pages created as advertisements.',
                }, {
                    'label': 'Speedy Vandalism/G3',				// Tập tin/trang hoàn toàn không có mục đích giáo dục, chỉ để phá hoại hoặc lừa bịp.
                    'tag': '{'+'{speedy|1=[[COM:CSD#G3]], vandalism.}}',
                    'img_summary': 'Requesting speedy deletion because of [[COM:CSD#G3]]: Vandalism.',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=[[COM:CSD#G3]], vandalism.}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% due to [[COM:CSD#G3]], vandalism.',
                }, {
                    'label': 'Speedy',							// Xóa nhanh với lý do tùy chỉnh
                    'tag': '{'+'{speedy|1=%PARAMETER%}}',
                    'img_summary': 'Requesting speedy deletion because %PARAMETER%',
                    'prompt_text': 'Why speedy delete?',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=%PARAMETER%}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE%',
                }, {
                    'label': 'Screenshot',						// Đánh dấu xóa nhanh vì là ảnh chụp màn hình của phần mềm không tự do hoặc tài liệu có bản quyền khác.
                    'tag': '{'+'{Screenshot}}',
                    'img_summary': 'Possible unfree screenshot',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=This image is a screenshot of a non-free program or other copyrighted material.}}',
                    'talk_summary': 'Notification of possible speedy deletion for %FILE% because it is an unfree screenshot.',
                }, {
                    'label': 'Tag as dupe',						// Tập tin trùng với tập tin đã tồn tại
                    'tag': '{'+'{duplicate|1=File:%PARAMETER%|user=%USER%}}',
                    'img_summary': 'Tagging as duplicate of [[File:%PARAMETER%]]',
                    'prompt_text': 'Which file is this a duplicate of? (do not include File:)',
                    'talk_tag': '{'+'{subst:speedynote|1=%FILE%|2=This file is an [[:Category:Duplicate|exact duplicate]] or scaled-down version of [[:%PARAMETER%]].}}',
                    'talk_summary': 'Notification of possible speedy deletion for duplicate %FILE% because it is an [[:Category:Duplicate|exact duplicate]] or scaled-down version',
                }, {
                    'label': 'Copyvio (www)',					// Tập tin được tìm thấy trên web những không xác định được nguồn cụ thể giữ bản quyền.
                    'tag': '{'+'{copyvio|1=[[COM:CSD#F1]], Possible copyright violation: [[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://www.google.com/searchbyimage?image_url={{filepath:{'+'{subst:BASEPAGENAME}}}} Google search]}}',
                    'img_summary': 'speedy deletion: possible copyvio',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:NETCOPYRIGHT|Found elsewhere on the web and unlikely to be own work]]: [https://www.google.com/searchbyimage?image_url={'+'{filepath:{'+'{subst:BASEPAGENAME}}}} Google search].}}',
                    'talk_summary': 'Notification of possible copyright violation for %FILE% because it is [[COM:NETCOPYRIGHT|found elsewhere on the web and unlikely to be own work]]: [https://www.google.com/searchbyimage?image_url={'+'{filepath:{'+'{subst:BASEPAGENAME}}}} Google search].}}',
                }, {
                    'label': 'Copyvio (source)',				// Tập tin thiếu bằng chứng cấp phép tự do từ nguồn ghi trên mô tả.
                    'tag': '{'+'{copyvio|1=[[COM:CSD#F1]], Possible copyright violation: No evidence of a free license at the claimed source.}}',
                    'img_summary': 'speedy deletion: possible copyvio',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:CSD#F1]], Possible copyright violation: No evidence of a free license at the claimed source.}}',
                    'talk_summary': 'Notification of possible copyright violation for %FILE% because there is no evidence of a free license at the claimed source.',
                }, {
                    'label': 'Fair use',						// Tập tin SDHL - Wikimedia Commons không chấp nhập tập tin này.
                    'tag': '{'+'{Fair use}}',
                    'img_summary': 'Marking as possible [[COM:CV|copyright violation]] because [[COM:Fair use|fair use]] media are not allowed on Commons.',
                    'talk_tag': '{'+'{subst:No fair use|1=%FILE%|2=Fair use.}}',
                    'talk_summary': 'Please do not upload media with fair-use claims, such as %FILE%, to Commons.',
                }, {
                    'label': 'Copyvio (covers/poster)',			// Poster phim/album VPBQ
                    'tag': '{'+'{copyvio|1=[[COM:CSD#F1]], Possible copyright violation: Album cover/Movie poster.}}',
                    'img_summary': 'speedy deletion: Album cover/Movie poster',
                    'talk_tag': '{'+'{subst:copyvionote|1=%FILE%|2=[[COM:CSD#F1]], Possible copyright violation: Album cover/Movie poster.}}',
                    'talk_summary': 'Notification of possible copyright violation for %FILE%.',
                }
];