summaryrefslogtreecommitdiff
path: root/searx/engines/mediawiki.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/mediawiki.py')
-rw-r--r--searx/engines/mediawiki.py24
1 files changed, 13 insertions, 11 deletions
diff --git a/searx/engines/mediawiki.py b/searx/engines/mediawiki.py
index 8ca32c62a..9fb72e830 100644
--- a/searx/engines/mediawiki.py
+++ b/searx/engines/mediawiki.py
@@ -1,14 +1,16 @@
-## general mediawiki-engine (Web)
-#
-# @website websites built on mediawiki (https://www.mediawiki.org)
-# @provide-api yes (http://www.mediawiki.org/wiki/API:Search)
-#
-# @using-api yes
-# @results JSON
-# @stable yes
-# @parse url, title
-#
-# @todo content
+"""
+ general mediawiki-engine (Web)
+
+ @website websites built on mediawiki (https://www.mediawiki.org)
+ @provide-api yes (http://www.mediawiki.org/wiki/API:Search)
+
+ @using-api yes
+ @results JSON
+ @stable yes
+ @parse url, title
+
+ @todo content
+"""
from json import loads
from string import Formatter