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

Create a script to populate a table to show the Dictionaries with Grammars #681

Open
peteroatley opened this issue May 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request high priority Something that should be given priority in fixing or implementing

Comments

@peteroatley
Copy link
Collaborator

Background:
The Grammar page on Webonary provides links to the Grammar page for those dictionaries which have grammars. Currently data is supplied from a spreadsheet but this is not working properly. It would be better if the data was obtained programmatically to eliminate the maintenance burden.

Only languages which have a Grammar should have a Grammar page. At present there are some old template and holding pages which need to be removed to clean up the data.

The data imported from the spreadsheet consists of 5 fields:
Language name, Language family, Country, Publication Date, Page Link

Some languages have more than one dictionary and could have more than one Grammar description.
The language family name isn't included in any data and so would need to be added to each dictionary if we wanted to include this.
I think Publication Date is the date the dictionary was published on Webonary so this may not be helpful.

I suggest we use the following information:
Language name, Language family, Country, dictionary name as link to grammar page

Phil suggests the data is updated every 24hrs to reduce the load on the website but also have a button for an immediate update.

Request:
Create a table to show dictionaries with grammars. Updated once a day but have a button on the Webonary site WP-Admin interface to update immediately.

Only published dictionaries should be scanned for a Grammar page.

On the dictionary sites Webonary admin page add the option to include the language family from a list.

The fields to be included in the table are:
Language name, Language family, Country, dictionary name as link to grammar page

The table should be sortable for each column.

@peteroatley peteroatley added bug Something isn't working high priority Something that should be given priority in fixing or implementing labels May 14, 2024
@phillip-hopper phillip-hopper added enhancement New feature or request and removed bug Something isn't working labels Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority Something that should be given priority in fixing or implementing
Projects
Status: Done - Working in Prod
Development

No branches or pull requests

2 participants