Skip to content

[Enhancement] Wikipedia Metadata: Section Whitelist #129

@MrWheyne

Description

@MrWheyne

Is your feature request related to a problem? Please describe.
Currently the Wikipedia Metadata plugin features a blacklist for sections users might like to omit when fetching description text. While this is nice and works as intended, it creates some problems when users are just interested in specific sections like Gameplay or Plot. Because there's no universal convention (at large) as to how sections should be titled, and due to how sometimes there's just not enough information to fill multiple different sections, article writers tend to merge topics together into a single section. Because the blacklist does not (and probably should not) support fuzzy matching, users end up having to repeat the same words multiple times:

Image

Describe the solution you'd like
Add an option for a whitelist (just like proxy servers do), where the plugin will instead only fetch sections which include the words added (and the page overview, obviously) and ignore everything else. Because this will result in the plugin only fetching the page overview if no section is added, leave the blacklist as the default option so the plugin still has a way to fetch the entire page for users who prefer it that way. Also, because the clear whitelist would have the same effect as the checkbox "Only use overview of the wiki page as description", that could be repurposed to be the toggle between blacklist or whitelist function.

Describe alternatives you've considered
This, I believe it the most practical solution I could come up with, and one I think will not take much development effort to implement, since it's basically the same logic, only reversed.

Additional context
None, but I'm open if any questions might arise.

Metadata

Metadata

Assignees

Labels

Wikipedia Metadataissues related to Wikipedia MetadataenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions