Tuesday, November 24, 2009

Ubuwiki wishes come true

With all the fuss about bundublog falling over, I didn't have much time to post something important. Out of the blue, I got an email to say some of my wishes on the Ubuwiki wish list had been granted. Talk about ubuntu,. this is an example of community DIY. I really must get a page up for the project which is currently hosted on sourceforge. Maybe this is how it will happen. BTW littlegirl has her own WoaS project called Book-on-a-Stick. You can see her modifications here

Hey there,

I hope you don't mind that I decided to play around with your wiki and see if I could grant some of your wishes. I've attached the modified copy to this message.

--------------------
* Monitor options. Eg. The main menu is too long for small monitors.

This can be accomplished by replacing the existing option for a fixed menu and banner with just a fixed banner. I have the code for this, but you won't be able to go back to fixed menu and banner. I never did figure out how to get those two to play nice with each other.

Since you're sharing this with people who will be using it not only in its original form, but also adding to it, you probably want to give them some room to play around with. That way if they add a lot of entries to the menu, they'll be able to scroll down to see them. If interested, I can send you a sample empty wiki with that setting in place.
--------------------
* TOC - The code for this should be included in the edit menu as a
button.

This is now done. I also redid the layout of all the editor buttons.
--------------------
* Make new page button

This is now done. I also created a bunch of other buttons for you, replacing a few of your menu entries with them so that the entire
menu now takes up less space on-screen.
--------------------
* Delete page button

This is now done, but probably not the way you (or I, for that matter) would like it to be. What I did was create a button in the
editor that pops up an alert telling you how to delete a page. I haven't yet figured out how to get it to actually clear out the
contents, save, and exit the editor. When I do, you'll be the first to know. (:
--------------------
* not ; not

This is now done, but not quite the way you wanted. Instead of
and , I did wiki code for bold, italic and underline. But all
other tags that had a slash are now fixed. If you'd rather have the
HTML buttons and the wiki buttons, let me know and I can put the HTML
ones back. I figured it's kind of silly to duplicate them since they
both perform the same function in the end. (:
--------------------
All changes I made are fully commented in the source code, except for
the edits to the menu itself, and me cleaning up the excess slashes
the Wiki on a Stick code was putting into itself every time it did
self-clean.


Since you're comfortable editing the menu the way it was in your
original, you should be able to tell which are my additions in case
you don't like them and want to change or get rid of any.


You can go poking around in the source code by doing a search for
Little Girl. I didn't delete any of your code - instead, when I
replaced it, I commented out the original. I also commented to
describe what I changed and why. This way if you don't like any of
the changes, you can read the comments and undo them.


One additional thing I did that you didn't ask for is to fix the
cause of the unnecessary slashes that get added when the wiki
performs a self-clean. You'll find that section commented in the
source code. I figured while I was in there, I might as well take
care of that since I'd found it (finally) after a long search in my
copy, and was ever so glad I did.


Once again, I hope you don't mind that I did this stuff without
talking to you first, but I adore Wiki on a Stick and it seemed like
something fun to do. (:


-- Little Girl There is no spoon.

1 comment:

  1. Hey there,

    Thanks for the mention on your blog! You might want to update the link, because I gave Book on a Stick its own blog page yesterday. (:

    ReplyDelete