We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The specification is documented at https://en.wikipedia.org/wiki/Template:Bots
I'd expect a function signature of
fn bot_may_edit(wikitext: &str, bot: &str) -> bool { ... }
This probably warrants going in its own module, maybe behind a feature since it'll probably add a dependency on regex.
regex
The text was updated successfully, but these errors were encountered:
Also, this would tie the crate to Wikipedia/Wikimedia, where until here it's mostly agnostic...
Sorry, something went wrong.
I've seen it used on other wikis, it's more of a template specification than anything else. In any case, https://gitlab.com/mwbot-rs/mwbot/-/blob/master/mwbot/src/utils.rs is what I implemented using Parsoid HTML.
No branches or pull requests
The specification is documented at https://en.wikipedia.org/wiki/Template:Bots
I'd expect a function signature of
This probably warrants going in its own module, maybe behind a feature since it'll probably add a dependency on
regex
.The text was updated successfully, but these errors were encountered: