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

Default Wikipedia Bridge partially broken #1669

Closed
florianfiegel opened this issue Jul 30, 2020 · 3 comments
Closed

Default Wikipedia Bridge partially broken #1669

florianfiegel opened this issue Jul 30, 2020 · 3 comments
Labels
Bug-Report Confirmed bug report

Comments

@florianfiegel
Copy link

Describe the bug
The default wikipedia bridge causes the following error when the languages Dutch or German are selected, the others work fine:

Bridge encountered an unexpected situation! (18473)
Today'sfeatured article from de.wikipedia.org was unable to receive or process the remote website's content! Error message:Call to a member function find() on nullQuery string:action=display&bridge=Wikipedia&language=de&subject=tfa&fullarticle=on&format=AtomVersion:dev.2020-02-26`

To Reproduce
Steps to reproduce the behavior:
Select German or Dutch as language.
I found it to be the same on other public instances example

Expected behavior
The same that would happen with the other languages … 

@florianfiegel florianfiegel added the Bug-Report Confirmed bug report label Jul 30, 2020
@em92
Copy link
Contributor

em92 commented Aug 2, 2020

Ping @logmanoriginal

@Bockiii
Copy link
Contributor

Bockiii commented Sep 13, 2021

I was looking into this @em92 .

Yes, this issue is still there, so the bridge seems to be broken (at least partially) for at least a year. Still, there was only 1 issue reported, which may indicate the usage of the bridge.

The bridge can do 2 things: "Featured Article" and "Did you know..". The "Featured article" actually has it's own RSS feed from wikipedia, available in all languages that support it:
English: https://en.wikipedia.org/w/api.php?action=featuredfeed&feed=featured&feedformat=atom
German: https://de.wikipedia.org/w/api.php?action=featuredfeed&feed=featured&feedformat=atom
etc.

The "Did you know.." is tricky. It's not automatically generated content that has the same endpoint in the API or even in wording anywhere. It's a manually produced list (with responsible people for each day and so on... suuuper manual effort) that is updated by a bot and then embedded into the main page. I could not find a non-individual-language-site-scraping mechanism to get this data.

This leaves us with 2 options: Fix the bridge and maintain 10+ individual sites to scrape, only for the "Did you know" entries (as the featured article can be retrieved through the API) or just flat out kill the bridge (which seems to not be used a lot since parts of it are broken for a year and a half :D ).

50% of it is supported natively by wikipedia and the other 50% will need a high level of maintenance and individual code for each language.

Thoughts?

@dvikan
Copy link
Contributor

dvikan commented Mar 26, 2022

Fixed in #2167

@dvikan dvikan closed this as completed Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug-Report Confirmed bug report
Projects
None yet
Development

No branches or pull requests

4 participants