create new tag
, view all tags

Universal Wiki Edit Button for TWiki

2008-06-20 - 14:44:29 by SvenDowideit in Usability
There has been progress towards making the Web properly Read-Write at the Universal Edit Button site. TWiki.org and our Bugs site have been Universal Edit Button enabled - all you need to do is install the Firefox addin, and you see a Wiki Edit Icon in the Firefox URL input box.

Editing then becomes as simple as clicking on the icon in the toolbar!

I have checked in the template changes needed to the twiki 4.2.1 branch, but if you're impatient to see it working for your TWiki apply the patch attached to this Blog post.

The Firefox addin is triggered by an added HTML head link

 <link rel="alternate" href="%SCRIPTURL{edit}%/%BASEWEB%/%BASETOPIC%?_T=%DATE%" type="application/x-wiki" title="edit %BASETOPIC%" />



MartinSeibert - 22 Jun 2008:

That is a cool feature. I am looking forward to seeing this implemented in our internal TWiki-implementation. Are there any plans on when this might be compatible to a future TWiki-version in the standard?

SvenDowideit - 22 Jun 2008:

I've already checked it in for 4.2.1 - but if you want it now, the patch below will make the simple template change you need in 4.2.0

MichaelDaum - 23 Jun 2008:

... or just add the following prefcerence settings to your TWikiPreferences instead of applying the patch below.

   * Set HTTP_EQUIV_ON_VIEW = <link rel="alternate" href="%SCRIPTURL{edit}%/%BASEWEB%/%BASETOPIC%?t=%GMTIME{"$epoch"}%" type="application/x-wiki" title="Edit <nop>%BASETOPIC%" />

Btw, as long as application/wiki is not an official mime type, it is better to use application/x-wiki. The Firefox plugin works fine for both.


Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch universal-wiki-edit-button-for-twiki.patch r2 r1 manage 2.1 K 2008-06-20 - 14:41 SvenDowideit patch for twiki 4.2.0
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-07-14 - CarloSchulz

Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Help
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2015 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.