View source for Module:ISBNT

From HandWiki

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in one of the groups: Users, Bureaucrats.
  • You do not have permission to edit pages in the Module namespace.

You can view and copy the source of this page.

-- This module implements [[Template:ISBNT]]
local p = {}
function p.link(frame)
local check_isbn = require( "Module:Check isxn" ).check_isbn
local isxns = mw.text.split(frame.args[1] or frame:getParent().args[1] or '', "%s*,%s*")
local res = {}
for i, isxn in ipairs(isxns) do
table.insert(res, '[[Special:BookSources/' .. isxn .. '|' .. isxn .. ']]'
.. check_isbn({['args'] = {isxn, ['error'] = '<span class="error" style="font-size:88%">Check ISBN</span>' ..
frame:preprocess('{{main other|[[Category:Pages with ISBN errors]]}}')}})
)
end
return table.concat(res, ', ')
end
return p
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000
1:0
Debug console
* The module exports are available as the variable "p", including unsaved modifications. * Precede a line with "=" to evaluate it as an expression or use print(). Use mw.logObject() for tables. * Use mw.log() and mw.logObject() in module code to send messages to this console.

Template used on this page:

Return to Module:ISBNT.