Declare multiple Fandom wikis to block per key #1

Open
opened 2023-07-12 22:01:58 +00:00 by nu · 1 comment
Owner
f-zero:
  [ de, en, ja ]
fzero:
  [ de, en, ja ]

Groups like the above example (from commit ba6bdeffc6) should be able to be specified like this instead:

[f-zero, fzero]:
  [ de, en, ja ]

They're wikis for the same thing, thus the same filters should apply. It is more convenient (when a new indie wiki turns up, you don't have to find multiple entries to make sure you edit) and more compact (4 lines vs. 2!). This requires an adjustment to the generate.pl script, though.

There's also other wikis that could be grouped together, i.e. anime, animanga, manga, and otaku could just be specified like the following:

[anime, animanga, manga, otaku]:
	[ '*' ]

They don't cover 1:1 the same topic, but they have massive amounts of overlap and are filtered for roughly the same reason of "there's many other databases, both wiki and non-wiki alike, that cover the same topic and do it better" (another set that could get their own group is religion and pagan, etc)

```YAML f-zero: [ de, en, ja ] fzero: [ de, en, ja ] ``` Groups like the above example (from commit ba6bdeffc6) should be able to be specified like this instead: ```YAML [f-zero, fzero]: [ de, en, ja ] ``` They're wikis for the same thing, thus the same filters should apply. It is more convenient (when a new indie wiki turns up, you don't have to find multiple entries to make sure you edit) and more compact (4 lines vs. 2!). This requires an adjustment to the generate.pl script, though. There's also other wikis that could be grouped together, i.e. `anime`, `animanga`, `manga`, and `otaku` could just be specified like the following: ```YAML [anime, animanga, manga, otaku]: [ '*' ] ``` They don't cover 1:1 the same topic, but they have massive amounts of overlap and are filtered for roughly the same reason of "there's many other databases, both wiki and non-wiki alike, that cover the same topic and do it better" (another set that could get their own group is `religion` and `pagan`, etc)
nu added the
generate.pl
suggestion
labels 2023-07-12 22:03:02 +00:00
nu changed title from Declare multiple Fandom wikis to block per line to Declare multiple Fandom wikis to block per key 2023-07-12 22:05:19 +00:00
Author
Owner

Actually, I can't tell if arrays can be keys in YAML? So this might not even be possible

Its definitely the sort of thing that probably wouldn't make sense to ever use in most places where YAML is implemented, so it would make sense if that's the case. Would suck and be inconvenient though

Actually, I can't tell if arrays can be keys in YAML? So this might not even be possible Its definitely the sort of thing that probably wouldn't make sense to ever use in most places where YAML is implemented, so it would make sense if that's the case. Would suck and be inconvenient though
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nu/uBlacklistFandomWikis#1
No description provided.