Thread:Project:Support desk/Can I pass parameter to getTitle()? (2)

Hi,

My requirement is that I want to get category and title information of referrer page (Previous page) because same page is added under two categories and I want to track from which category it was referred.

Since I an using $template->getSkin->getTitle function to get title and then $wgPageTitle->getParentCategoryTree to get category I am getting both Title and Category for current page correctly.

I am getting referrer URL from $_SERVER['HTTP_REFERER'] variable but I was not able to pass this information to $template->getSkin->getTitle function to get title and its Category Tree :(

Is there any other way to achieve this?

version info : MediaWiki = 1.23.2 (1c9d2fd), PHP = 5.5.23 (apache2handler), MariaDB = 5.5.41-MariaDB

Thanks in advance.