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]]*/
Uses material from the Wikipedia article Wikipedia:WikiProject User scripts/Scripts/Get tidy title, released under the CC BY-SA 4.0 license.