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

Implement universal Wiki reader #2358

Merged
merged 7 commits into from
Oct 20, 2024
Merged

Implement universal Wiki reader #2358

merged 7 commits into from
Oct 20, 2024

Conversation

Famlam
Copy link
Collaborator

@Famlam Famlam commented Oct 13, 2024

Implemented an initial wiki-reader based on the wikitextparser package and required functions
Adds support for reading tables, lists and templates, and adds a function to convert {{Tag|x|y}} to x=y

Plugins to convert (see #2345 #2351 #2357)

  • TagFix_Tree (table-based)
  • TagWatchFrViPofm (table-based)
  • TagFix_Postcode (table-based)
  • TagFix_Tree_Lang_fr (list-based) skipped
    (The benefits are small at the moment, as it still requires a lot of post-parsing, making this PR unnecessary big. Also see 2361)
  • TagFix_Deprecated (template-based)

@Famlam Famlam force-pushed the famlam-wikireader branch 5 times, most recently from a464937 to 5e2ae36 Compare October 14, 2024 20:31
@Famlam Famlam force-pushed the famlam-wikireader branch 3 times, most recently from 5974e10 to e25fb49 Compare October 17, 2024 22:51
@Famlam Famlam marked this pull request as ready for review October 17, 2024 22:59
@Famlam Famlam force-pushed the famlam-wikireader branch 2 times, most recently from f7cc0c2 to 3a281fd Compare October 18, 2024 14:37
Implemented an initial wiki-reader based on the wikitextparser package

Adds support for reading tables (needed for e.g. TagFix_Tree, TagWatchFrViPofm, TagFix_Postcode), lists (TagFix_Tree_Lang_fr) and templates (TagFix_Deprecated), and adds a function to convert {{Tag|x|y}} to x=y
@frodrigo frodrigo merged commit 1d96037 into dev Oct 20, 2024
6 checks passed
@frodrigo
Copy link
Member

Thank you !

@Famlam Famlam deleted the famlam-wikireader branch October 20, 2024 13:53
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

Successfully merging this pull request may close these issues.

2 participants