Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Mediawiki #1791

Merged
merged 4 commits into from
Jul 17, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove MediaWiki
  • Loading branch information
epergo committed Jul 16, 2022
commit c2b1e55eecc47bbcbf64f3e210484850ef6009d7
4 changes: 0 additions & 4 deletions lib/sinatra/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -754,10 +754,6 @@ def creole(template, options = {}, locals = {})
render :creole, template, options, locals
end

def mediawiki(template, options = {}, locals = {})
render :mediawiki, template, options, locals
end

def yajl(template, options = {}, locals = {})
options[:default_content_type] = :json
render :yajl, template, options, locals
Expand Down
2 changes: 1 addition & 1 deletion sinatra-contrib/lib/sinatra/namespace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ module NamespacedMethods
ALLOWED_ENGINES = [
:erb, :erubi, :haml, :hamlit, :builder, :nokogiri,
:liquid, :markdown, :rdoc, :asciidoc, :radius, :markaby,
:rabl, :slim, :creole, :mediawiki, :yajl
:rabl, :slim, :creole, :yajl
]

def self.prefixed(*names)
Expand Down
1 change: 0 additions & 1 deletion sinatra-contrib/sinatra-contrib.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ EOF
s.add_development_dependency "radius"
s.add_development_dependency "nokogiri"
s.add_development_dependency "creole"
s.add_development_dependency "wikicloth"
s.add_development_dependency "markaby"
s.add_development_dependency "rake", "< 11"
s.add_development_dependency "rack-test", "< 2"
Expand Down
68 changes: 0 additions & 68 deletions test/mediawiki_test.rb

This file was deleted.

1 change: 0 additions & 1 deletion test/views/hello.mediawiki

This file was deleted.