Difference between revisions of "User:Cmorse/Notebook/MediaWiki for Open Science/2009/02/05"

From OpenWetWare
Jump to: navigation, search
Line 7: Line 7:
 
* Turns out that using wgTitle was a bad idea as it only cuts everything in front of a semicolon off of the title, and it remove special characters such as underscores from the title. The wgPageName appears to give the entire page name as desired. Thanks to [[User:Steven J. Koch|Steve Koch]] for helping me track this bug down.
 
* Turns out that using wgTitle was a bad idea as it only cuts everything in front of a semicolon off of the title, and it remove special characters such as underscores from the title. The wgPageName appears to give the entire page name as desired. Thanks to [[User:Steven J. Koch|Steve Koch]] for helping me track this bug down.
 
* Also found some weird issues with cookies from older versions of the extension causing it to fail to work on some pages. So I added a function to reset cookies created by old versions of the extension.
 
* Also found some weird issues with cookies from older versions of the extension causing it to fail to work on some pages. So I added a function to reset cookies created by old versions of the extension.
 +
 +
[http://cmorse.svnrepository.com/pub/trac.cgi/changeset?old_path=/extensions/mediawiki/LiveSaver&old=14&new_path=/extensions/mediawiki/LiveSaver&new=15 diff]
  
 
<!-- ##### DO NOT edit below this line unless you know what you are doing. ##### -->
 
<!-- ##### DO NOT edit below this line unless you know what you are doing. ##### -->

Revision as of 00:05, 5 February 2009

<html><img src="/images/9/94/Report.png" border="0" /></html> Main project page
<html><img src="/images/c/c3/Resultset_previous.png" border="0" /></html>Previous entry<html>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</html>Next entry<html><img src="/images/5/5c/Resultset_next.png" border="0" /></html>
  • Turns out that using wgTitle was a bad idea as it only cuts everything in front of a semicolon off of the title, and it remove special characters such as underscores from the title. The wgPageName appears to give the entire page name as desired. Thanks to Steve Koch for helping me track this bug down.
  • Also found some weird issues with cookies from older versions of the extension causing it to fail to work on some pages. So I added a function to reset cookies created by old versions of the extension.

diff