Hi all,
   I have a private mediawiki installation that I use to collect
miscellaneous notes from meetings, etc. I wrote a little command
called 'wiki' to automatically open new pages on my wiki for editing,
so that I can type e.g. "wiki GLunch." and have it open up http://<path
to my wiki>/Glunch/04/22/2009?action=edit. I also added a noun type
that uses the mediawiki api to get a list of existing pages and
suggest them. I have two questions:

1) Since the wiki is password protected, if I'm not logged in the
attempt to generate suggestions pops up an authentication window. This
is irritating because if I'm looking for a different command but it
starts with 'w', Ubiquity suggests my wiki command and tries to get
the page list, forcing me to authenticate before I can keep typing. Is
there a way I can check whether I'm authenticated and forgo the
suggestions if I'm not?

2) I can't usefully share the script with other people because the URL
of my private wiki is hard-coded. Is there anything analogous to
environment variables that I could set on my browser, so that other
people with mediawiki installations could use it for their wikis
without needing their own copy of it? If so, how do I access it?

You can see the command here: http://gist.github.com/100168

Thank you very much,
Dan Lepage

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to