Jump to content
Wikipedia The Free Encyclopedia

Module:Database reports/Example report

From Wikipedia, the free encyclopedia
Module documentation[view] [edit] [history] [purge]

This is an example report configuration using Module:Database report. It is used on User:SDZeroBot/sandbox/Example report.

The above documentation is transcluded from Module:Database reports/Example report/doc. (edit | history)
Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages.
Subpages of this module.

 localReport=require('Module:Database report')

 localp={}

 p.main=function()
 localreport=Report:new()
 report:setSQL("SELECT page_namespace, page_title, page_touched FROM page LIMIT 10")
 report:useWikilinks(2,'c1')
 report:hideColumns(1)
 returnreport:generate()
 end

 returnp

AltStyle によって変換されたページ (->オリジナル) /