mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #805] [BUG] wikipedia alternative does not work for different languages #504
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#504
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @erikderzweite on GitHub (Jun 30, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/805
Describe the bug
If you use alternative to wikipedia it works for english language only. If you look for content in other languages not existing in English Wikipedia, then you land in the wikiless starting page upon clicking the link.
If you provide
WHOOGLE_ALT_WIKI=wikipedia.orgthen all the wikipedia pages are opened in English Wikipedia regardless of the language of the original link.
Is there any way to disable alt links for wikipedia only?
To Reproduce
Steps to reproduce the behavior:
Deployment Method
runexecutableVersion of Whoogle Search
@benbusby commented on GitHub (Jul 5, 2022):
If you set the alt to an empty value (in this case
WHOOGLE_ALT_WIKI=""it will skip using wikiless and use the original wikipedia link instead.@erikderzweite commented on GitHub (Jul 5, 2022):
Thanks for the hint, I'll use it as a workaround!
The language problem with alternative wikis is still there though. I have own wikiless instance and when I search for e.g. "Heinrich Heine wiki" the first two results are wikipedia entries in English and German. Clicking on both links sends you to English wiki though.
Should I create another issue about it?
@benbusby commented on GitHub (Jul 6, 2022):
No need, I just pushed an update that should fix that problem. The fix will be available on the
latesttag in a little bit.@erikderzweite commented on GitHub (Jul 8, 2022):
You are awesome, thank you! Newest docker build works with alternative wikipedia and languages.