This commit is contained in:
2021-09-07 19:43:30 -06:00
parent dfcb13806f
commit 7c8a80057f
3 changed files with 8 additions and 0 deletions

View File

@@ -13,3 +13,5 @@
(if (canProcessEntry archive e)
(dictSet entries e.id e)
(entries.remove e.id)))
// TODO systems may need access to a UI

View File

@@ -5,5 +5,8 @@ import kiss.List;
import nat.System;
import haxe.Json;
/**
* Base System that processes Entries using the HTTP API for any wiki built with MediaWiki
*/
@:build(kiss.Kiss.build())
class MediaWikiSystem extends System {}

View File

@@ -6,5 +6,8 @@ import kiss.Prelude;
using haxe.io.Path;
using StringTools;
/**
* System which downloads and attaches images from Wikipedia pages that match Entries' names.
*/
@:build(kiss.Kiss.build())
class WikipediaImageSystem extends MediaWikiSystem {}