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

From OpenWetWare
Jump to navigationJump to search
No edit summary
No edit summary
(One intermediate revision by one other user not shown)
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.
** [[User:Steven J. Koch|Steve Koch]] 18:37, 7 February 2009 (EST): That is a really great idea that will help out a lot of people!


<!-- ##### 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 16:37, 7 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

  • 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.
    • Steve Koch 18:37, 7 February 2009 (EST): That is a really great idea that will help out a lot of people!