 this module contains shared functions used byu800 module category handler andu800 itsu800 submodules. local pu800 function pu800u82ematchesblacklist page blacklist foru800 iu800 pattern inu800 ipairs blacklist dou800 local match mwu800u82eustringu82ematch page pattern ifu800 match then return true endu800 endu800 return false endu800 function pu800u82egetparammappings useloaddata local datapage 'module namespace detect data' ifu800 useloaddata then return mwu800u82eloaddata datapage .mappings else return require datapage .mappings endu800 endu800 function pu800u82egetnamespaceparameters titleobj mappings weu800 donu800'tu800 useu800 titleu82enstext foru800 theu800 namespace name because itu800 adds underscores. local mappingskey ifu800 titleobju82eistalkpage then mappingskey 'talk' else mappingskey mwu800u82esiteu82enamespaces titleobju82enamespace .name endu800 mappingskey mwu800u82eustringu82elower mappingskey return mappings mappingskey oru800 endu800 return pu800 