User:Cmorse/Notebook/MediaWiki for Open Science/2009/02/02

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Line 41: Line 41:
* [[User:Cmorse|Cmorse]] 02:55, 3 February 2009 (EST): Oops, that was a typo in the code on my part. It should be working correctly now. If it doesn't you might need to delete the cookie that it created. But I wouldn't do that until we've exhausted allother options.
* [[User:Cmorse|Cmorse]] 02:55, 3 February 2009 (EST): Oops, that was a typo in the code on my part. It should be working correctly now. If it doesn't you might need to delete the cookie that it created. But I wouldn't do that until we've exhausted allother options.
** [[User:Steven J. Koch|Steve Koch]] 03:04, 3 February 2009 (EST): I didn't try deleting the cookie, but now the extension doesn't do anything.  Of note: the enable / disable icon on top right is not clickable anymore
** [[User:Steven J. Koch|Steve Koch]] 03:04, 3 February 2009 (EST): I didn't try deleting the cookie, but now the extension doesn't do anything.  Of note: the enable / disable icon on top right is not clickable anymore
 +
*** [[User:Cmorse|Cmorse]] 03:12, 3 February 2009 (EST): If you were using IE, try it again. I had some debugging code still in there that only works with FF. But it should be working now.
<!-- ##### 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. ##### -->
|}
|}
__NOTOC__
__NOTOC__

Revision as of 04:12, 3 February 2009

Main project page
Previous entry      Next entry

I was using wordpress today and I noticed the message they show when an autosave version is different than the one on the current page. Here's a screenshot of it:

Image:Cmorse_notebook_wordpress_autosave.png

I really like how this looks, and I think it would be the best option for notifying the user that autosaved changes have been detected.SJK 23:17, 2 February 2009 (EST)
23:17, 2 February 2009 (EST)I agree that that notification looks nice and is effective.  Ironically, Anthony lost an edit today on his first day doing open notebook science in Osley's lab!
23:17, 2 February 2009 (EST)
I agree that that notification looks nice and is effective. Ironically, Anthony lost an edit today on his first day doing open notebook science in Osley's lab!
  • Added better autosave notification mentioned above
  • Added support for loading jquery library from google servers, with ability to disable it within LocalSettings.php

diff

  • Various bug fixes for enabling/disabling extension
  • Switched to custom image for enabling/disabling extension (icon shows up in upper right hand corner, but only on edit pages).

Enabled: Image:Cmorse_notebook_LiveSaver_enabled.png Disabled: Image:Cmorse_notebook_LiveSaver_disabled.png

With these updates the plugin is probably ready for some real testing.

After using the wiki so much recently I can see how useful this extension could be; I have lost work a couple times in the past week for various reasons.SJK 02:10, 3 February 2009 (EST)
02:10, 3 February 2009 (EST)Is it possible to easily demo it on the MW server you installed on our server?  Is it the kind of thing that could easily be added to MW, but only enabled for a couple users (such as you, me, and Ant)?  Given that both of you have lost information recently, I am even more interested in asking Bill about adding this very soon, so please let me know.  Thanks for the speedy progress!
02:10, 3 February 2009 (EST)
Is it possible to easily demo it on the MW server you installed on our server? Is it the kind of thing that could easily be added to MW, but only enabled for a couple users (such as you, me, and Ant)? Given that both of you have lost information recently, I am even more interested in asking Bill about adding this very soon, so please let me know. Thanks for the speedy progress!

diff It is definitely possible to limit which users the extension is enabled for. It shouldn't take me more than 15-20min to add that.

Steve comment

Steve Koch 02:52, 3 February 2009 (EST): Not sure if you'll read this message soon: but the example on kochlab.org didn't seem to be working at 12:25 am? (I left a message on my talk page, which I'll replicate here): I just gave it a whirl using the "community portal" page of the wiki, and it didn't seem to be working (12:20 am). Here's what I did:

  1. clicked edit
  2. typed some stuff
  3. closed window
  4. revisited page
  5. clicked edit

It told me an old version was available, but it didn't have any of my information. Not sure if I didn't wait long enough? I don't know how your implementation goes, so wasn't sure what it was supposed to do. When I tried it the very first time you enabled it (last week?) I remember that something similar to the above procedure did work...

  • Cmorse 02:55, 3 February 2009 (EST): Oops, that was a typo in the code on my part. It should be working correctly now. If it doesn't you might need to delete the cookie that it created. But I wouldn't do that until we've exhausted allother options.
    • Steve Koch 03:04, 3 February 2009 (EST): I didn't try deleting the cookie, but now the extension doesn't do anything. Of note: the enable / disable icon on top right is not clickable anymore
      • Cmorse 03:12, 3 February 2009 (EST): If you were using IE, try it again. I had some debugging code still in there that only works with FF. But it should be working now.


Personal tools