Editar Mediawiki con Gedit en Ubuntu

This extension allows Firefox to connect with Gedit: https://addons.mozilla.org/es-ES/firefox/addon/4125/

This syntax highlighter for gedit is just great:
http://www.jpfleury.net/logiciels/gedit-mediawiki.php

One tip: I wanted Gedit to detect “Wiki Syntax” automatically:
* Add “.wiki” as the default extension for “It’s All Text” extension in Firefox
* Edit the Wiki language spec for Gedit and add a “glob”:

gedit ~/.local/share/gtksourceview-2.0/language-specs/mediawiki.lang

Change the metadata to this:

	<metadata>
		<property name="block-comment-start">&lt;!--</property>
		<property name="block-comment-end">--&gt;</property>
		<property name="globs">*.wiki</property>
	</metadata>

One comment.

  1. Useful, thank you

Post a comment.