pub / serci

Search the web with !keywords
git clone https://https://src.jayvii.de/pub/serci.git
Home | Log | Files | Exports | Refs | README | RSS

commit df7be04c1be2249095d79e4e1af557f5e788d043
parent b7a1d7e506446a46fb3bda1ed4a9ac3683b016fd
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sun, 28 Jul 2024 12:26:14 +0200

feat: add more wikimedia services

Diffstat:
Mconfig/config.php | 48+++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 45 insertions(+), 3 deletions(-)

diff --git a/config/config.php b/config/config.php @@ -266,18 +266,60 @@ $searches = array( ), "wikibookslatex" => array( "name" => "Wiki Books: LaTeX", - "website" => "https://en.wikibooks.org/wiki/LaTeX", - "query" => "https://en.wikibooks.org/wiki/Special:Search?prefix=LaTeX%2F&search=%s", + "website" => "https://wikibooks.org/wiki/LaTeX", + "query" => "https://wikibooks.org/wiki/Special:Search?prefix=LaTeX%2F&search=%s", "categories" => array("everything", "docu", "learn", "wiki"), "keywords" => array("wikibookslatex", "wblatex", "wbtex", "latex", "tex") ), + "wikidata" => array( + "name" => "Wikidata", + "website" => "https://wikidata.org", + "query" => "https://wikidata.org/w/index.php?title=Special%3ASearch&search=%s", + "categories" => array("everything", "wiki"), + "keywords" => array("wikidata", "wd") + ), + "wikimedia" => array( + "name" => "Wikimedia Commons", + "website" => "https://commons.wikimedia.org", + "query" => "https://commons.wikimedia.org/w/index.php?title=Special%3AMediaSearch&search=%s", + "categories" => array("everything", "wiki", "img"), + "keywords" => array("wikimedia", "wi", "wm") + ), + "wikinews" => array( + "name" => "Wikinews", + "website" => "https://wikinews.org", + "query" => "https://wikinews.org/w/index.php?title=Special%3ASearch&search=%s", + "categories" => array("everything", "wiki", "news"), + "keywords" => array("wikinews", "wn") + ), "wikipedia" => array( "name" => "Wikipedia", "website" => "https://wikipedia.org", - "query" => "https://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=%s", + "query" => "https://wikipedia.org/w/index.php?title=Special%3ASearch&search=%s", "categories" => array("everything", "wiki"), "keywords" => array("wikipedia", "wiki", "wp", "wk") ), + "wikisource" => array( + "name" => "Wikisource", + "website" => "https://wikisource.org", + "query" => "https://wikisource.org/w/index.php?title=Special%3ASearch&search=%s", + "categories" => array("everything", "wiki", "sci"), + "keywords" => array("wikisource", "ws") + ), + "wikiversity" => array( + "name" => "Wikiversity", + "website" => "https://wikiversity.org", + "query" => "https://wikiversity.org/w/index.php?title=Special%3ASearch&search=%s", + "categories" => array("everything", "wiki", "sci"), + "keywords" => array("wikiversity", "wv") + ), + "wikivoyage" => array( + "name" => "Wikivoyage", + "website" => "https://wikivoyage.org", + "query" => "https://wikivoyage.org/w/index.php?title=Special%3ASearch&search=%s", + "categories" => array("everything", "wiki", "map"), + "keywords" => array("wikivoyage", "wt", "travel") + ), "youtube" => array( "name" => "YouTube", "website" => "https://www.youtube.com",