Modül:GHS ibareleri
--------------------------------------------------------------------------------
-- Module:GHS phrases
-- -- main: reads GHS parameters (arguments like "H301", "P401")
-- and returns for each (listtype='abbr'):
-- phraseID visible; formal phrase text as -- setID	= "H" or "P"
-- phraseID = e. g. "H201", "P231+P234"
-- phrase text read from array tables in Module:GHS phrases/data
--
-- Implements: Template:GHS phrases
-- Helppage: Template:GHS phrases
-- Error category: Category:GHS errors, Category:GHS warnings (mainspace pages only)
--
-- Also: -- listAll(), numberOfPhrases(), listOmitRules(),
-- listtype, omit
--------------------------------------------------------------------------------
require('strict')
local r = {}	-- "r" for return, so no confusion with setID P
local GHSdata	= mw.