Wikipedia:WikiProject User scripts/Scripts/Get tidy title

/*<pre>*/
// Get's the URL version of the page title.
function get_tidy_title()
{
  return mw.config.get('wgPageName');
}
// The result from this function might be needed unescape()ed
/*</pre>[[Category:Wikipedia scripts]]*/