Module:Layout/Production/Test/Mediawiki

Uit Wikibooks
 Deze module is nog in ontwikkeling (versie 0.0) en wordt getest.

De Module:Layout is bedoeld om snel, consistent en uitgebreid een pagina op te maken.
Er is een op de module afgestemde handleiding over deze onderwijswiki beschikbaar.

De module wordt geïnitialiseerd met de configuratie in Module:Layout/Production/Configuration.

Controleer op scriptfouten of opmaak notificaties.




local test = {};

local CFG       = require("Module:Layout/Configuration");
local mediawiki = CFG.LOAD.LIBRARY_MEDIAWIKI();
local unittest  = CFG.LOAD.LIBRARY_TEST();
local testframe = {};
local testpath  = "Module:Layout/Test/Testcases/";
local private   = {};

test = unittest:new();

local testpage = {
	not_exist          = testpath .. "Does_Not_Exist",     -- Page is not existing.
	empty              = testpath .. "Empty",              -- Page has no content.
	only_text          = testpath .. "Empty Page"          -- Page has only text into it. No headings, templates or whatsoever.
}


return test;
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.