MDL-40295 wiki mod: fix mixing ->set_url() error for printer friendly page.
Removed unused global  declaration.
MDL-40295 wiki mod: Fix wiki pagelayout when printing