Module

Editing Contributors

You do not need to log in to make changes. If you choose to create an account (a simple process) and log in then the page's edit history will contain your username instead of IP address.
local p = {}
local cargo = mw.ext.cargo
function p.Main( frame )
local tables = 'Contributors'
local fields = 'CONCAT ( SUBSTRING_INDEX(Name, ",", -1), " ", SUBSTRING_INDEX(Name, ",", 1) )=Contributor, Place=About, _pageName=Page, Contribution'
local args = {
orderBy = 'Name',
limit = '200'
}
local results = cargo.query( tables, fields, args )
local output = ''
local oldcontributor = ''
for r = 1, #results do
local result = results[r]
local contributor = result['Contributor']
local about = result['About']
local page = result['Page']
local contribution = result['Contribution']
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
000
1:0
Cancel Editing help (opens in new window)
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: