Sửa đổi Mô đun:Footnotes
Chú ý: Bạn chưa đăng nhập và địa chỉ IP của bạn sẽ hiển thị công khai khi lưu các sửa đổi.
Bạn có thể tham gia như người biên soạn chuyên nghiệp và lâu dài ở Bách khoa Toàn thư Việt Nam, bằng cách đăng ký và đăng nhập - IP của bạn sẽ không bị công khai và có thêm nhiều lợi ích khác.
Các sửa đổi có thể được lùi lại. Xin hãy kiểm tra phần so sánh bên dưới để xác nhận lại những gì bạn muốn làm, sau đó lưu thay đổi ở dưới để hoàn tất việc lùi lại sửa đổi.
Bản hiện tại | Nội dung bạn nhập | ||
Dòng 1: | Dòng 1: | ||
− | require(' | + | require('Module:No globals'); |
− | local getArgs = require (' | + | local getArgs = require ('Module:Arguments').getArgs; |
Dòng 36: | Dòng 36: | ||
local function target_check (anchor_id, args) | local function target_check (anchor_id, args) | ||
local namespace = mw.title.getCurrentTitle().namespace; | local namespace = mw.title.getCurrentTitle().namespace; | ||
− | local anchor_id_list_module = mw.loadData (' | + | local anchor_id_list_module = mw.loadData ('Module:Footnotes/anchor_id_list'); |
local anchor_id_list = anchor_id_list_module.anchor_id_list; | local anchor_id_list = anchor_id_list_module.anchor_id_list; | ||
local article_whitelist = anchor_id_list_module.article_whitelist; | local article_whitelist = anchor_id_list_module.article_whitelist; | ||
local template_list = anchor_id_list_module.template_list; | local template_list = anchor_id_list_module.template_list; | ||
− | local whitelist_module = mw.loadData (' | + | local whitelist_module = mw.loadData ('Module:Footnotes/whitelist'); |
local whitelist = whitelist_module.whitelist; | local whitelist = whitelist_module.whitelist; | ||
local special_patterns = whitelist_module.special_patterns; | local special_patterns = whitelist_module.special_patterns; |