|
|
Eclipse Wikipedia Editor/Working with the Editor
Working with the EditorIn the editor you can use the Ctrl+SPACE keys to insert the predefined templates: Save an updated Wikipedia articleIf you save a Wikipedia text file in the editor, a background builder creates or updates a corresponding *.html file in the /wikibook/wpbin folder and refreshs the text in the HTML browser preview. The Editor Context MenuHTTP Query Other HTTP Queries can be configured in the menu Window->Preferences in the node Wikipedia Editor Configurations. Clipboard to Wikipedia The following conversions are performed through the submenus:
If your Wikipedia installation supports the Geshi extension you can alternatively sourround code snippets for syntax highlighting with tags like: <java>...</java>, <php>...</php>, <javascript>...</javascript>, <xml>...</xml>, <abap>...</abap> Configuring a MySQL database for link suggestionsIf you setuped a local Wikipedia MySLQ database you can configure a JDBC access through the menu Window->Preferences and selecting the node Wikipedia Editor Configurations.
Press the Add... button and configure the access similar to the following example: (the example comes from a XAMPP installation - root is the default user and you don't need a password) Be sure that you started your MySQL database. Now open a Wikipedia editor and type at least 3 characters of a wikipedia link, you like to insert and press the shortcut Ctrl+SPACE for the Content Assist. Example: Wik<Ctrl+SPACE> In the opening window a list of the titles from your MySQL database should appear surrounded with the typical wiki markup [[Wik....]] [[Wik....]] ... Links Using the Wikipedia articles for PHP or Java documentationIn a PHP or Java comment you can create a link to a Wikipedia text file. With a right mouse click on the link in the editor and selecting menu Open Wiki Link the corresponding Wikpedia article file should be opened: In the following example you can navigate to [[Programming:PHP|PHP]] The Open Wiki Link action opens the corresponding file /wikibook/wpsrc/Programming/PHP.wp Note: the path of the file can be set in Window->Preferences... in the field: Projects associated Wikipedia texts path, for projects which are created as Wikipedia Project, you can set this path in the projects Properties context menĂ¼ in the Package Explorer view.
|
|
|
All contents copyright of the author. ©2007. JAMWiki Version 0.6.0 |
||