PURPOSE: This randomized phase III trial is studying biliary stenting to see how well it works compared with biliary stenting and photodynamic therapy using porfimer sodium in treating patients with locally advanced, recurrent, or metastatic cholangiocarcinoma or other biliary tract tumors that cannot be removed by surgery.