Jump to content

Wikipedia:WikiProject User scripts/Scripts/Get tidy title

From Wikipedia, the free encyclopedia
/*<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]]*/