This page documents automated tools and suggestions for maintaining the Remixed Dungeon wiki, particularly for AI and automated systems to help with maintenance tasks.
Python-based Tools (Located in tools/py-tools/ directory):
find_red_links.py - Identifies internal wiki links that point to non-existent pages (redlinks)scale_sprites_for_wiki.py - Processes game sprites for wiki use with proper scaling and borderscheck_broken_images.py - Verifies that all images referenced in wiki pages existdokuwiki_linter.py - Validates DokuWiki syntax and identifies potential formatting issuesMachine-Readable Data:
mr: namespace contains machine-readable reference pagesEntity Tracking:
getEntityKind() method results with file names{entity_name}_{type} (e.g., tengu_mob, ankh_item)The following tools would be beneficial for wiki maintenance:
entity_extractor.py - Automatically extract entity data from Java/Lua/JSON files and suggest wiki page contentpage_updater.py - Compare existing wiki pages with current code and suggest updatestranslation_validator.py - Verify that pages in different languages contain consistent informationlink_suggester.py - Suggest relevant pages that should be linked togethernaming_consistency_checker.py - Check for pages that don't follow the proper naming convention and suggest renamescontent_verifier.py - Automatically verify game mechanics information against source code and flag outdated contentredlink_resolver.py - Automatically create new pages for redlinks based on available code datamultilingual_content_sync.py - Ensure consistency of content across different language versions of the same pageWhen implementing AI-based wiki maintenance:
Content Analysis Tools:
string_resource_analyzer.py - Analyze string resources across different languages to ensure consistency and completenessimage_reference_checker.py - Verify that all referenced images exist and are properly namedtag_validator.py - Ensure all pages have appropriate tags and that tags are consistent across similar entitiesQuality Assurance Tools:
fact_checker.py - Cross-reference wiki content with codebase to detect inconsistenciesduplicate_content_detector.py - Identify duplicated information across different pagescontent_gap_analyzer.py - Identify entities that exist in the game but don't have wiki pagesLocalization Enhancement Tools:
auto_translation_suggester.py - Suggest translations based on string resources and existing localized pagescompleteness_tracker.py - Track which pages exist in which languages and identify missing translationsAutomated Verification Tools:
spell_check_wiki.py - Perform spell-checking and grammar validation across all wiki pageslink_health_checker.py - Verify that all external links are still valid and accessibleimage_size_optimizer.py - Optimize image sizes and formats for better wiki performanceconsistency_checker.py - Verify consistent formatting and DokuWiki syntax across pagesAI Enhancement Tools:
auto_content_updater.py - Automatically update wiki pages when corresponding code changes are detectedsummary_generator.py - Create automatic summaries of changes made to wiki pagesentity_relationship_mapper.py - Create visual maps of relationships between different game entitiestemplate_generator.py - Automatically create template pages for new entity types based on existing patternsWorkflow Improvement Tools:
multi_language_sync.py - Synchronize updates across language versions of wiki pagesmerge_conflict_resolver.py - Automatically handle merge conflicts in wiki contentversion_diff_analyzer.py - Highlight differences when wiki pages are updatedvalidation_report_generator.py - Create reports of all verification checks and their statusContent Enhancement Tools:
stat_extractor.py - Extract statistics from game code and automatically format them for wiki pagescode_comment_linker.py - Link wiki explanations to relevant comments in source codeexample_generator.py - Create game scenario examples based on code mechanicscross_reference_builder.py - Build automatic cross-references between related wiki pages