mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-29 13:21:01 +00:00
Add Mediawiki
This commit is contained in:
@@ -25,7 +25,7 @@ module Linguist
|
|||||||
#
|
#
|
||||||
# Returns an array
|
# Returns an array
|
||||||
def self.detectable_markup
|
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
|
end
|
||||||
|
|
||||||
# Internal: Create a new Language object
|
# Internal: Create a new Language object
|
||||||
|
|||||||
@@ -851,6 +851,12 @@ Max:
|
|||||||
- .maxhelp
|
- .maxhelp
|
||||||
- .maxpat
|
- .maxpat
|
||||||
|
|
||||||
|
Mediawiki:
|
||||||
|
type: markup
|
||||||
|
lexer: Text only
|
||||||
|
wrap: true
|
||||||
|
primary_extension: .mediawiki
|
||||||
|
|
||||||
MiniD: # Legacy
|
MiniD: # Legacy
|
||||||
searchable: false
|
searchable: false
|
||||||
primary_extension: .minid # Dummy extension
|
primary_extension: .minid # Dummy extension
|
||||||
|
|||||||
Reference in New Issue
Block a user