local Set = require('Module:Set')
local base = {"collapsed", "type", "parliament", "year", "statutebookchapter", "simadedate", "silaiddate", "repealdate", "amends", "replaces", "primarylegislation", "eudirectives", "statusie", "statusni", "statusew", "statusscot", "legislationhistory", "theyworkforyou", "millbankhansard", "originaltext", "usenewukleg", "uklegtitle", "revisedtext"}
local other = {"name", "shorttitle", "image", "legislature", "consideredby", "enactedby", "dateenacted", "imagesize", "imagealt", "caption", "longtitle", "citation", "territorialextent", "datepassed", "enactedby", "dateenacted", "datepassed", "dateassented", "royalassent", "datesigned", "signedby", "datecommenced", "commencement", "dateeffective", "dateofexpiry", "daterepealed", "administeredby", "bill", "billdate", "streading", "ndreading", "rdreading", "billcitation", "introducedby", "confcommitteepassed", "committeereport", "bill", "billcitation", "billdate", "introducedby", "streading", "ndreading", "rdreading", "confcommitteepassed", "committeereport", "dateconfcommittee", "whitepaper", "amendments", "repeals", "repealinglegislation", "related", "relatedlegislation", "summary", "keywords", "status"}
return table.concat(Set.valueIntersection(base, other), '; ')