Op 29 nov 2010, om 13:11 heeft Jan Paul Posma het volgende geschreven:
You can try the editor with block edit options at
http://janpaulposma.nl/sle/wiki
. It's still work in progress: do expect to run into bugs that I did
not find worthy to fix yet. :)
Best regards,
Jan Paul Posma
Looks nice.
A few points which may or may not have been raised before:
* I think editing inline like this eliminates or lessens the need for
a WYSIWYG editor because it already is very direct.
* Serverside parsing with AJAX, good choise. No half-parser
serverside, this way advanced users are ensured they can use all the
syntax they know which would work in the full editor.
* Currently the editmodes are indicated like tabs, which wrap around
an instructional paragraph.
I would recommand making the tabs indicate/wrap around the entire
article below (just like Page, Discussion, View, Edit are tabs for the
entire page, "Sentences, "Paragraphs" etc. would be tabs for the
article part (Ie. full width, and perhaps a suddle border connecting
the tabs with the article)
* List items could be / expected to be editable sentences
* Feature suggestions: An [edit] link at each section in sentences and
paragraphs edit mode which, when clicked, switches to Section edit
mode + edits that section
* Bug: When adding (wether or not by accident) an interwiki link or
category link inside a sentence and the sentence didn't contain
anything else, it dissapears. Some kind of padded border box should
atleast be left behind in order to edit it again
* Bug: When adding ..... inside a sentence, clicking preview results
in the sentence being split into two seperate sentences at the point
where the category link was insterted. At this point neither editable
sentence contains the category link. I would expect the categorylink
to be, albeit invisible, not a sentence-breakpoint, just an invisible
thing as part of the sentence.
Errors:
Pressing enter in the edit summary input field caused a fatal error
(verified several times):
( ! ) Fatal error: Call to undefined method
stdClass::getWikiOriginal() in /home/janpaul/domains/janpaulposma.nl/
public_html/sle/wiki/extensions/InlineEditor/InlineEditor.class.php on
line 208
Call Stack
# Time Memory Function Location
1 0.0005 131192 {main}( ) ../index.php:0
2 0.0686 10124312 MediaWiki->performRequestForTitle( ) ../index.php:115
3 0.0786 12044680 MediaWiki->performAction( ) ../Wiki.php:69
4 0.0786 12046272 wfRunHooks( ) ../Wiki.php:474
5 0.0798 12229488 call_user_func_array ( ) ../Hooks.php:158
6 0.0798 12230512 InlineEditor::mediaWikiPerformAction( ) ../Hooks.php:0
7 0.0799 12233416 InlineEditor->render( ) ../InlineEditor.class.php:68
Pressing Back in the browser and trying to save again by pressing the
Publish button again went without a problem though.
I must say I reallylike the general flow of the thing!
--
Krinkle