fix(wiki): restore GHC-05 image lightbox

Document the shared Wikipedia-style mission page format and the required Wiki.js script extraction workflow.

Co-Authored-By: OpenAI Codex <codex@openai.com>
This commit is contained in:
2026-07-15 18:06:37 +08:00
co-authored by OpenAI Codex
parent 1b6c599a89
commit da2d01a5aa
4 changed files with 353 additions and 0 deletions
+10
View File
@@ -47,5 +47,15 @@ class WikiTopologyProxyTests(unittest.TestCase):
self.assertIn("舱段外围没有环形加压走道", html)
def test_ghc05_preserves_the_shared_image_lightbox(self):
html = GHC05_PATH.read_text(encoding="utf-8")
self.assertIn(".wiki-image-lightbox", html)
self.assertIn("img[data-wiki-asset]", html)
self.assertIn("dataset.lightboxBound", html)
self.assertIn("wiki-image-lightbox-open", html)
self.assertIn("event.key === 'Escape'", html)
if __name__ == "__main__":
unittest.main()