Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Help:Text editor support
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===gedit=== [[gedit]] is a cross-platform, free software text editor that comes bundled with [[Ubuntu (operating system)|Ubuntu]] Linux by default. A [[GPL]]-licensed MediaWiki syntax highlight mode is shipped by default with ''gedit 3.10'' and newer. For older versions, you can download it at https://github.com/jpfleury/gedit-mediawiki/archive/master.zip, unzip, and copy the language file to the correct folder, or you can run the following in a GNU/Linux shell: * For gedit 2.x: <div style="margin-left:1em;"><syntaxhighlight lang="bash"> wget --output-document=master.zip https://github.com/jpfleury/gedit-mediawiki/archive/master.zip unzip master.zip mkdir -p ~/.local/share/gtksourceview-2.0/language-specs/ cp gedit-mediawiki-master/mediawiki.lang ~/.local/share/gtksourceview-2.0/language-specs/ </syntaxhighlight></div> * For gedit 3.x: <div style="margin-left:1em;"><syntaxhighlight lang="bash"> wget --output-document=master.zip https://github.com/jpfleury/gedit-mediawiki/archive/master.zip unzip master.zip mkdir -p ~/.local/share/gtksourceview-3.0/language-specs/ cp gedit-mediawiki-master/mediawiki.lang ~/.local/share/gtksourceview-3.0/language-specs/ </syntaxhighlight></div> To select the MediaWiki syntax highlight mode, go to the gedit menu ''View > Highlight Mode > Others'' and select ''MediaWiki''.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)