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

Add support in the main page table for timelines whose name doesn't start with timeline #11

Closed
vipulnaik opened this issue Dec 21, 2019 · 2 comments

Comments

@vipulnaik
Copy link

@vipulnaik vipulnaik commented Dec 21, 2019

Basically, things of the form <adjective> timeline of <X>

For instance, Speculative timeline of future malaria events or Combined timeline of malaria organizations.

For display, I'm thinking that the initial adjective can be printed at the end in parentheses, and lowercased. For instance:

Speculative timeline of future malaria events becomes Future malaria events (speculative)

@riceissa
Copy link
Owner

@riceissa riceissa commented Jan 15, 2020

Actually, I realized that the real problem is that we are currently querying the MediaWiki API with "apprefix": "Timeline of" when getting the full list of timelines.

@riceissa
Copy link
Owner

@riceissa riceissa commented Jan 15, 2020

It doesn't seem like the API allows searching for strings that appear anywhere in the title https://timelines.issarice.com/api.php?action=help&modules=query%2Ballpages so I might need to request all pages and filter the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants