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

From OpenWetWare
Jump to: navigation, search
Line 9: Line 9:
  
 
[http://cmorse.svnrepository.com/pub/trac.cgi/changeset?old_path=/extensions/mediawiki/LiveSaver&old=14&new_path=/extensions/mediawiki/LiveSaver&new=15 diff]
 
[http://cmorse.svnrepository.com/pub/trac.cgi/changeset?old_path=/extensions/mediawiki/LiveSaver&old=14&new_path=/extensions/mediawiki/LiveSaver&new=15 diff]
 +
 +
* The more work I do on these mediawiki extensions the more I realize that the documentation for writing extensions is far from complete, and in some cases no longer accurate. I'm going to try to improve and/or update the documentation for the portions I have to get familiar with.
  
 
<!-- ##### 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 20:57, 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>      </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

  • The more work I do on these mediawiki extensions the more I realize that the documentation for writing extensions is far from complete, and in some cases no longer accurate. I'm going to try to improve and/or update the documentation for the portions I have to get familiar with.