localexport={}localmatch=mw.ustring.matchlocalsplit=mw.text.splitfunctionexport.track_data_module(page)ifnotpagethenpage=mw.title.getCurrentTitle().fullTextendiftype(page)=='table'thenpage=page.args[1]endpage_part=split(page,"/")page_type=page_part[3]page_param=page_part[3]=="ltc-pron"and"|mc=[1-9y]"or"|oc=[1-9y]"page_char=page_part[4]ifnot(mw.title.new(page_char)or{}).existsthenrequire('Module:debug').track('zh-track/'..page_type..'/character page not found')returnendlocalcontent=mw.title.new(page_char):getContent()or""ifnotmatch(content,"== ?ภาษาจีน ?==")thenifmatch(content,"== ?ภาษาจีนกลาง ?==")thenrequire('Module:debug').track('zh-track/'..page_type..'/ununified character page')elserequire('Module:debug').track('zh-track/'..page_type..'/no Chinese section found')endelseifnotmatch(content,"zh%-pron")thenifmatch(content,"zh%-see")thenrequire('Module:debug').track('zh-track/'..page_type..'/variant or simplified character')elserequire('Module:debug').track('zh-track/'..page_type..'/no character pronunciation')endelseifnotmatch(content,page_param)thenrequire('Module:debug').track('zh-track/'..page_type..'/unused data module')endendreturnexport