mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add Mediawiki
This commit is contained in:
@@ -25,7 +25,7 @@ module Linguist
|
||||
#
|
||||
# Returns an array
|
||||
def self.detectable_markup
|
||||
["CSS", "Less", "Sass", "Markdown", "Textile", "reStructuredText", "AsciiDoc", "RDoc", "Org", "Creole"]
|
||||
["CSS", "Less", "Sass", "Markdown", "Textile", "reStructuredText", "AsciiDoc", "RDoc", "Org", "Creole", "Mediawiki"]
|
||||
end
|
||||
|
||||
# Internal: Create a new Language object
|
||||
|
||||
@@ -851,6 +851,12 @@ Max:
|
||||
- .maxhelp
|
||||
- .maxpat
|
||||
|
||||
Mediawiki:
|
||||
type: markup
|
||||
lexer: Text only
|
||||
wrap: true
|
||||
primary_extension: .mediawiki
|
||||
|
||||
MiniD: # Legacy
|
||||
searchable: false
|
||||
primary_extension: .minid # Dummy extension
|
||||
|
||||
Reference in New Issue
Block a user