Returns the wiki page name given a url. Uses wikiRoot to determine the base URL, so wikis that aren't something.pbwiki.com may need to set that manually. To get the current page name, there is the variable pageName.
Usage is as follows:
<script>
var aPageName = widget.getPageName('http://mywiki.pbwiki.com/CoolPage');
alert(aPageName); //will open a pop-up box saying "CoolPage"
</script>
Page Information
|
Wiki Information |
Recent PBwiki Blog Posts |