Jump to content
MediaWiki

Module:ExtensionJson/testcases

From mediawiki.org
This is the test suite for the module Module:ExtensionJson. Results of the test cases.
 localdatalist=require("Module:ExtensionJson")
 localp={}

 functionp.showall(frame)
 localitem={}
 localn=0

 fork,vinpairs(datalist)do
 n=n+1
 item[n]='# [[Extension:'..k..']]\n'
 end
 table.sort(item)
 items=table.concat(item)
 returnitems
 end

 returnp

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