Strict Standards: Declaration of action_plugin_jquery::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /membri/only4mods/lib/plugins/jquery/action.php on line 14

Strict Standards: Declaration of action_plugin_captcha::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /membri/only4mods/lib/plugins/captcha/action.php on line 137

Strict Standards: Declaration of action_plugin_wikistatistics::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /membri/only4mods/lib/plugins/wikistatistics/action.php on line 51

Strict Standards: Declaration of action_plugin_codehighlight::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /membri/only4mods/lib/plugins/codehighlight/action.php on line 225

Strict Standards: Declaration of action_plugin_ipban::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /membri/only4mods/lib/plugins/ipban/action.php on line 60
dokuwiki:inlinedit:start - Ema's plugins (WP, DW)

Unfortunately, some of the pages are now read-only, this because in the last few months some spammers decided to “contribute” to the wiki…
I'm trying to lock only the interested pages.

locked for spam
Only registered users can edit

If you are interested in a working plugin, please consider dblclickedit plugin!Emanuele 2009/07/10 18:52


I'm having serious problems in developing (both in find time to code and in find solutions for a couple of problems I have with my plugin), and to be honest I don't know if I'll be able to produce a working version of this plugin soon…

TODO1 Inline page (and section) edit using jEditable TODO1


  1. install jquery plugin
  2. add jEditable script to the header
  3. enclose the editable parts of the page in a “div” or some other html element, for each of them a different class name is needed
  4. in the script the original dokuwiki syntax must be passed as data to jeditable form
  5. attach jeditable event to the editable sections on the page 1)


  1. instead of “hard-code” the section information in the html generated I need to call a script the will recover the data from dokuwiki 2)
  2. create an editable section for each paragraph of the page (i.e. for every section of the page the “modify” button is shown by dokuwiki)
  3. submit data to something…
  4. (if possible) append the toolbar to the inline editor

Know issues:

  1. after “classic” page editing the value parameter is no more correct. It's necessary to &purge=true the page before it is properly assigned.

Memo section edit:

<form action="/dokucount/doku.php" method="post" accept-charset="utf-8" id="dw__editform">
<div class="no">
	<input type="hidden" name="sectok" value="4316fd8d7a2128440ef7ffceca471608" />
	<input type="hidden" name="id" value="other:pseudogallery:start" />
	<input type="hidden" name="rev" value="" />
	<input type="hidden" name="date" value="1238667329" />
	<input type="hidden" name="prefix" value="OLDTEXT" />
	<input type="hidden" name="suffix" value="" />
	<input type="hidden" name="changecheck" value="a25a99f98dfaff4d50e4b83f87853a7a" />
	<textarea name="wikitext" id="wiki__text" class="edit" cols="80" rows="10" tabindex="1" >
	<div id="wiki__editbar" >
		<div id="size__ctl" >
		<div class="editButtons" >
			<input name="do[save]" type="submit" value="Salva" class="button" id="edbtn__save" accesskey="s" tabindex="4" title="Salva [S]" />
			<input name="do[preview]" type="submit" value="Anteprima" class="button" id="edbtn__preview" accesskey="p" tabindex="5" title="Anteprima [P]" />
			<input name="do[draftdel]" type="submit" value="Annulla" class="button" tabindex="6" />
		<div class="summary" >
			<label class="nowrap" for="edit__summary">
				<span>Oggetto della modifica</span> 
				<input type="text" id="edit__summary" name="summary" value="" class="edit" size="50" tabindex="2" />
			<label class="nowrap" for="minoredit"><input type="checkbox" id="minoredit" name="minor" value="1" tabindex="3" /> 
				<span>Modifiche minori</span>
1) the problem was that when a text contain a single quote it broke the javascript code. Now I added a ”addslashes” function on php-side and it seems to work” :-D
2) I should have done this already for something else I have around on my hard-disk…the problem is only find it :-(

Tools personali