patch to allow user-added prefixes and modification to random pad names; correctly process uri-encoded utf-8 characters in pad names and page titles

This commit is contained in:
Wikinaut 2011-11-10 22:37:48 +01:00
parent 5bef51f468
commit bda20a38a4
4 changed files with 29 additions and 15 deletions

View file

@ -62,7 +62,7 @@
//get the padId out of the url
var urlParts= document.location.pathname.split("/");
padId = urlParts[urlParts.length-2];
padId = decodeURIComponent( urlParts[urlParts.length-2] );
//set the title
document.title = document.title + " | " + padId;