From 1d72609ca602771484c829b4ff9432b0baa55bd5 Mon Sep 17 00:00:00 2001 From: Dianliang233 Date: Wed, 30 Oct 2024 18:16:00 +0800 Subject: [PATCH] Add BlockFront Wiki (#79) --- CHANGELOG.md | 5 ++--- README.md | 1 + .../resources/assets/heywiki/lang/en_us.json | 1 + .../assets/heywiki/wiki_family/bf.json | 22 +++++++++++++++++++ gradle.properties | 2 +- 5 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 common/src/main/resources/assets/heywiki/wiki_family/bf.json diff --git a/CHANGELOG.md b/CHANGELOG.md index fba6cce3..9736ae61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,5 @@ -# v1.7.1+1.21.1 +# v1.7.2+1.21.1 ## Changes -- New wiki: [Endertech Infinity Wiki](https://endertechinfinity.wiki.gg/) -- New wiki: [Marvel Superheroes Mod Wiki](https://marvelsuperheroesmod.wiki.gg/) +- New wiki: [BlockFront Wiki](https://blockfront.wiki.gg/) (#79) diff --git a/README.md b/README.md index c522f98b..37d3d230 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ Currently, Hey Wiki supports the following wikis: - [Doggy Talents Next Wiki](https://doggytalentsnext.wiki.gg/) - [Endertech Infinity Wiki](https://endertechinfinity.wiki.gg/) - [Marvel Superheroes Mod Wiki](https://marvelsuperheroesmod.wiki.gg/) +- [BlockFront Wiki](https://blockfront.wiki.gg/) If you want to add support for other wikis, you can [file an issue](https://github.com/mc-wiki/minecraft-mod-heywiki/issues/new?labels=new+wiki%2Ctriage+needed&template=new_wiki.yml). diff --git a/common/src/main/resources/assets/heywiki/lang/en_us.json b/common/src/main/resources/assets/heywiki/lang/en_us.json index 9d668f24..7eefa832 100644 --- a/common/src/main/resources/assets/heywiki/lang/en_us.json +++ b/common/src/main/resources/assets/heywiki/lang/en_us.json @@ -68,6 +68,7 @@ "wiki_family.heywiki.ae2": "AE2 Guide", "wiki_family.heywiki.aether": "Aether Project Wiki", "wiki_family.heywiki.aoa3": "Advent of Ascension Wiki", + "wiki_family.heywiki.bf": "BlockFront Wiki", "wiki_family.heywiki.create": "Create Wiki", "wiki_family.heywiki.doggytalents": "Doggy Talents Next Wiki", "wiki_family.heywiki.endertechinf": "Endertech Infinity Wiki", diff --git a/common/src/main/resources/assets/heywiki/wiki_family/bf.json b/common/src/main/resources/assets/heywiki/wiki_family/bf.json new file mode 100644 index 00000000..eaa7d788 --- /dev/null +++ b/common/src/main/resources/assets/heywiki/wiki_family/bf.json @@ -0,0 +1,22 @@ +{ + "namespace": [ + "bf" + ], + "wikis": [ + { + "article_url": "https://blockfront.wiki.gg/?search=%s", + "mw_api_url": "https://blockfront.wiki.gg/api.php", + "random_article": "Special:RandomPage", + "excerpt": "text_extracts", + "search_provider": "mediawiki", + "search_url": "https://blockfront.wiki.gg/?search=%s", + "language": { + "wiki_language": "en", + "main": true, + "default": "en_us", + "regex": "^en_.*", + "exclude": null + } + } + ] +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 8d7aaa6c..858af44d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ archives_base_name=heywiki maven_group=wiki.minecraft.heywiki enabled_platforms=fabric,neoforge enabled_platforms_snapshot=fabric -mod_version=1.7.1+1.21.1 +mod_version=1.7.2+1.21.1 # Loader versions minecraft_version=1.21.1 minecraft_version_range=1.21,1.21.1