├── .gitignore ├── .trunk ├── .gitignore ├── configs │ ├── .rustfmt.toml │ └── .yamllint.yaml └── trunk.yaml ├── Cargo.lock ├── Cargo.toml ├── README.md ├── config.json.template ├── listeria.code-workspace ├── restart.sh ├── run_single.sh ├── src ├── bin │ ├── bot.rs │ └── main.rs ├── column.rs ├── configuration.rs ├── database_pool.rs ├── entity_container_wrapper.rs ├── lib.rs ├── listeria_bot.rs ├── listeria_list.rs ├── listeria_page.rs ├── page_element.rs ├── page_params.rs ├── page_to_process.rs ├── reference.rs ├── render_tabbed_data.rs ├── render_wikitext.rs ├── renderer.rs ├── result_cell.rs ├── result_cell_part.rs ├── result_row.rs ├── sparql_results.rs ├── template.rs ├── template_params.rs ├── wiki.rs ├── wiki_apis.rs └── wiki_page_result.rs └── test_data ├── alias_lang.fixture ├── autodesc.fixture ├── column_header.fixture ├── columns.fixture ├── commons.fixture ├── commons_sparql.fixture ├── coordinates.fixture ├── curly_braces.fixture ├── date_extid_quantity.fixture ├── dewiki.fixture ├── dewiki_coordinates.fixture ├── edit_wikitext.fixture ├── entities.tab ├── header_row_template.fixture ├── header_template.fixture ├── image_pipe.fixture ├── item.fixture ├── item_column.fixture ├── links_all.fixture ├── links_local.fixture ├── links_reasonator.fixture ├── links_red.fixture ├── links_red_only.fixture ├── links_text.fixture ├── multiple_lists.fixture ├── p_p.fixture ├── p_q_p.fixture ├── preferred_rank.fixture ├── qid.fixture ├── references.fixture ├── sections.fixture ├── shadow_images.fixture ├── sort_family_name.fixture ├── sort_label.fixture ├── sort_prop_item.fixture ├── sort_prop_monolingual.fixture ├── sort_prop_quantity.fixture ├── sort_prop_string.fixture ├── sort_prop_time.fixture ├── sort_reverse.fixture ├── summary_itemnumber.fixture ├── template_empty_keys.fixture ├── test_entities.json └── wdedit.fixture /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/.gitignore -------------------------------------------------------------------------------- /.trunk/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/.trunk/.gitignore -------------------------------------------------------------------------------- /.trunk/configs/.rustfmt.toml: -------------------------------------------------------------------------------- 1 | edition = "2021" 2 | -------------------------------------------------------------------------------- /.trunk/configs/.yamllint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/.trunk/configs/.yamllint.yaml -------------------------------------------------------------------------------- /.trunk/trunk.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/.trunk/trunk.yaml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/README.md -------------------------------------------------------------------------------- /config.json.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/config.json.template -------------------------------------------------------------------------------- /listeria.code-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/listeria.code-workspace -------------------------------------------------------------------------------- /restart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/restart.sh -------------------------------------------------------------------------------- /run_single.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/run_single.sh -------------------------------------------------------------------------------- /src/bin/bot.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/bin/bot.rs -------------------------------------------------------------------------------- /src/bin/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/bin/main.rs -------------------------------------------------------------------------------- /src/column.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/column.rs -------------------------------------------------------------------------------- /src/configuration.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/configuration.rs -------------------------------------------------------------------------------- /src/database_pool.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/database_pool.rs -------------------------------------------------------------------------------- /src/entity_container_wrapper.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/entity_container_wrapper.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/listeria_bot.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/listeria_bot.rs -------------------------------------------------------------------------------- /src/listeria_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/listeria_list.rs -------------------------------------------------------------------------------- /src/listeria_page.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/listeria_page.rs -------------------------------------------------------------------------------- /src/page_element.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/page_element.rs -------------------------------------------------------------------------------- /src/page_params.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/page_params.rs -------------------------------------------------------------------------------- /src/page_to_process.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/page_to_process.rs -------------------------------------------------------------------------------- /src/reference.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/reference.rs -------------------------------------------------------------------------------- /src/render_tabbed_data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/render_tabbed_data.rs -------------------------------------------------------------------------------- /src/render_wikitext.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/render_wikitext.rs -------------------------------------------------------------------------------- /src/renderer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/renderer.rs -------------------------------------------------------------------------------- /src/result_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/result_cell.rs -------------------------------------------------------------------------------- /src/result_cell_part.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/result_cell_part.rs -------------------------------------------------------------------------------- /src/result_row.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/result_row.rs -------------------------------------------------------------------------------- /src/sparql_results.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/sparql_results.rs -------------------------------------------------------------------------------- /src/template.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/template.rs -------------------------------------------------------------------------------- /src/template_params.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/template_params.rs -------------------------------------------------------------------------------- /src/wiki.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/wiki.rs -------------------------------------------------------------------------------- /src/wiki_apis.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/wiki_apis.rs -------------------------------------------------------------------------------- /src/wiki_page_result.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/src/wiki_page_result.rs -------------------------------------------------------------------------------- /test_data/alias_lang.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/alias_lang.fixture -------------------------------------------------------------------------------- /test_data/autodesc.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/autodesc.fixture -------------------------------------------------------------------------------- /test_data/column_header.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/column_header.fixture -------------------------------------------------------------------------------- /test_data/columns.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/columns.fixture -------------------------------------------------------------------------------- /test_data/commons.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/commons.fixture -------------------------------------------------------------------------------- /test_data/commons_sparql.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/commons_sparql.fixture -------------------------------------------------------------------------------- /test_data/coordinates.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/coordinates.fixture -------------------------------------------------------------------------------- /test_data/curly_braces.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/curly_braces.fixture -------------------------------------------------------------------------------- /test_data/date_extid_quantity.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/date_extid_quantity.fixture -------------------------------------------------------------------------------- /test_data/dewiki.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/dewiki.fixture -------------------------------------------------------------------------------- /test_data/dewiki_coordinates.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/dewiki_coordinates.fixture -------------------------------------------------------------------------------- /test_data/edit_wikitext.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/edit_wikitext.fixture -------------------------------------------------------------------------------- /test_data/entities.tab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/entities.tab -------------------------------------------------------------------------------- /test_data/header_row_template.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/header_row_template.fixture -------------------------------------------------------------------------------- /test_data/header_template.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/header_template.fixture -------------------------------------------------------------------------------- /test_data/image_pipe.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/image_pipe.fixture -------------------------------------------------------------------------------- /test_data/item.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/item.fixture -------------------------------------------------------------------------------- /test_data/item_column.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/item_column.fixture -------------------------------------------------------------------------------- /test_data/links_all.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/links_all.fixture -------------------------------------------------------------------------------- /test_data/links_local.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/links_local.fixture -------------------------------------------------------------------------------- /test_data/links_reasonator.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/links_reasonator.fixture -------------------------------------------------------------------------------- /test_data/links_red.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/links_red.fixture -------------------------------------------------------------------------------- /test_data/links_red_only.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/links_red_only.fixture -------------------------------------------------------------------------------- /test_data/links_text.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/links_text.fixture -------------------------------------------------------------------------------- /test_data/multiple_lists.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/multiple_lists.fixture -------------------------------------------------------------------------------- /test_data/p_p.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/p_p.fixture -------------------------------------------------------------------------------- /test_data/p_q_p.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/p_q_p.fixture -------------------------------------------------------------------------------- /test_data/preferred_rank.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/preferred_rank.fixture -------------------------------------------------------------------------------- /test_data/qid.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/qid.fixture -------------------------------------------------------------------------------- /test_data/references.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/references.fixture -------------------------------------------------------------------------------- /test_data/sections.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/sections.fixture -------------------------------------------------------------------------------- /test_data/shadow_images.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/shadow_images.fixture -------------------------------------------------------------------------------- /test_data/sort_family_name.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/sort_family_name.fixture -------------------------------------------------------------------------------- /test_data/sort_label.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/sort_label.fixture -------------------------------------------------------------------------------- /test_data/sort_prop_item.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/sort_prop_item.fixture -------------------------------------------------------------------------------- /test_data/sort_prop_monolingual.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/sort_prop_monolingual.fixture -------------------------------------------------------------------------------- /test_data/sort_prop_quantity.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/sort_prop_quantity.fixture -------------------------------------------------------------------------------- /test_data/sort_prop_string.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/sort_prop_string.fixture -------------------------------------------------------------------------------- /test_data/sort_prop_time.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/sort_prop_time.fixture -------------------------------------------------------------------------------- /test_data/sort_reverse.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/sort_reverse.fixture -------------------------------------------------------------------------------- /test_data/summary_itemnumber.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/summary_itemnumber.fixture -------------------------------------------------------------------------------- /test_data/template_empty_keys.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/template_empty_keys.fixture -------------------------------------------------------------------------------- /test_data/test_entities.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/test_entities.json -------------------------------------------------------------------------------- /test_data/wdedit.fixture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magnusmanske/listeria_rs/HEAD/test_data/wdedit.fixture --------------------------------------------------------------------------------