Commit Graph

28 Commits (3d96a9839a12649874b6d4cf9466bd3616b0a03c)

Author SHA1 Message Date
Markus Heiser 3d96a9839a [format.python] initial formatting of the python code
This patch was generated by black [1]::

    make format.python

[1] https://github.com/psf/black

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament ca93a01844 [mod] dynamically set language_support variable
The language_support variable is set to True by default,
and set to False in only 5 engines.

Except the documentation and the /config URL, this variable is not used.

This commit remove the variable definition in the engines, and
set value according to supported_languages length: False when the length is 0,
True otherwise.

Close #2485
3 years ago
Alexandre Flament a4dcfa025c [enh] engines: add about variable
move meta information from comment to the about variable
so the preferences, the documentation can show these information
3 years ago
Dalf 1022228d95 Drop Python 2 (1/n): remove unicode string and url_utils 4 years ago
Noémi Ványi b63d645a52 Revert "remove 'all' option from search languages"
This reverts commit 4d1770398a.
5 years ago
marc 4d1770398a remove 'all' option from search languages 7 years ago
Adam Tauber a4f7046b8f [fix] pep8 7 years ago
Noémi Ványi 2a9339f4b7 [fix] add more description on possible search tpyes 7 years ago
Noémi Ványi 2db807368c [enh] make search type of mediawiki configurable 7 years ago
Adam Tauber 52e615dede [enh] py3 compatibility 7 years ago
marc f62ce21f50 [mod] fetch supported languages for several engines
utils/fetch_languages.py gets languages supported by each engine and
generates engines_languages.json with each engine's supported language.
8 years ago
marc 92c6e88ad3 small fixes 8 years ago
marc 149802c569 [enh] add supported_languages on engines and auto-generate languages.py 8 years ago
Adam Tauber b5061b5f0f [fix] restrict wikipedia queries to the titles to avoid irrelevant results 8 years ago
Adam Tauber 909424e1e5 [fix] real support of non wikipedia style mediawikis 8 years ago
Alexandre Flament 4689fe341c update versions.cfg to use the current up-to-date packages 9 years ago
Thomas Pointhuber 91f9973227 [fix] pep8 10 years ago
Adam Tauber 24401c0e16 [fix] print removed 10 years ago
Adam Tauber 35ddbecd74 [fix] string formatting 10 years ago
Adam Tauber cb8acbd2c3 [enh][fix] support base_urls without language code ++ extra whitespaces removed 10 years ago
Thomas Pointhuber 63560607ad fix mediawiki-comment
* bug: setting language_support to False result in no results
10 years ago
Thomas Pointhuber 52ad49ccba using general mediawiki-engine
* writing general mediawiki-engine
* using this engine for wikipedia
* using this engine for uncyclopedia
10 years ago
asciimoo 35ecb6ec5d [enh] paging support for mediawiki 11 years ago
asciimoo b2492c94f4 [fix] pep/flake8 compatibility 11 years ago
pw3t 380b440a55 [fix] replace the png icons by ico's, minor chnage in the html 11 years ago
pw3t a8ec7fe6a4 [ehn] add favicons for vimeo, soundcloud, twitter and youtube 11 years ago
András Veres-Szentkirályi 8dfc272191 [enh] simplified mediawiki response processing 11 years ago
asciimoo 75a2a6fb73 [enh] mediawiki engine added 11 years ago