Adds aborist/wikitext.py with to_base() — deterministic wikitext → prose conversion via mwparserfromhell. Drops <ref>...</ref>, [[File:...]], [[Image:...]], [[Category:...]] entirely; resolves piped wikilinks to display text; collapses templates, formatting, and HTML markup. extract_wikilinks() preserves the link graph for the definition-cloud artifact (recoverable from any page on demand without re-parsing wikitext at query time). Wires to_base() into verify_quotes(). Without the strip, the verifier compared the model's clean prose against [[Cloud Strife]], [[Shinra Electric Power Company|Shinra]], etc. and falsely flagged real source quotes as VISUAL. Concrete case from a make-query run: 'Cloud Strife, an unsociable mercenary who claims to be a former 1st Class member of Shinra's SOLDIER unit;' is verbatim in the Final_Fantasy_VII article wikitext (modulo markup). With the strip that quote now verifies; the genuine model hallucinations in the same answer still flag honestly. Side-effect: 43% smaller context size on average so less LLM token waste. BASE_VERSION = 'wikitext-base-v1' is the algorithm pin. Bump when the strip rules change. Soft-imported in verify.py so environments without mwparserfromhell installed degrade gracefully (no strip, same behavior as before this commit). Build: - pyproject.toml: new [wikitext] extras (mwparserfromhell>=0.6), pulled in by [dev] - Makefile: chain-check / chain-check-shards targets — fast audit-chain integrity probe, counts dangling prev_event_hash references; 0 = chain intact Tests: - tests/test_wikitext.py: 31 tests (rules, idempotence, real-corpus fixture) - tests/test_verify.py: 2 regression tests pinning the FF7 flip (Cloud Strife quote: VISUAL → STRICT after strip; genuine hallucination: stays VISUAL) - tests/fixtures/ff7_characters_chunk0.wikitext: real chunk from a shard, used to validate the strip on actual Wikipedia content
1 line
No EOL
3.6 KiB
Text
1 line
No EOL
3.6 KiB
Text
{{Refimprove|date=October 2009}} {{Original research|date=July 2008}} [[File:FFVIInomuracastdesigns.JPG|thumb|250px|Tetsuya Nomura's designs of the main playable characters in the original ''Final Fantasy VII'' game. Clockwise from top right: Cait Sith, Tifa, Barret, Cloud, Aerith, Yuffie, Red XIII, Vincent, Cid.]] {{Final Fantasy characters}} ''[[Final Fantasy VII]]'', a [[console role-playing game]] developed by [[Square Co.|Square]] (now [[Square Enix]]) and originally released in 1997, features a large number of [[fictional character]]s in major and minor roles. The game follows [[protagonist]] [[Cloud Strife]], a troubled mercenary who joins with several others to stop the [[megacorporation]] [[Gaia (Final Fantasy VII)#Shinra Electric Power Company|Shinra]] from draining the life of the planet to use as an energy source. As the story progresses, conflicts escalate and the world's safety becomes the central concern as new forces emerge to challenge the original group. Cloud and his team eventually face [[Sephiroth (Final Fantasy)|Sephiroth]], the game's main [[antagonist]]. The characters and the world they inhabit (known as [[Gaia (Final Fantasy VII)|Gaia]] but originally just referred to as "The Planet") have been expanded on in a series of spin-off games and movies known as ''[[Compilation of Final Fantasy VII]]''. The original ''Final Fantasy VII'' game features nine [[playable character]]s, two of whom—[[Characters of the Final Fantasy VII series#Yuffie Kisaragi|Yuffie]] and [[Vincent Valentine|Vincent]]—are optional. These nine are viewed by many as the main characters of the ''Compilation'' series. Their roles are minor outside the original game but each character has nevertheless become extremely popular. ==Concept and creation== When looking at the story of the original ''Final Fantasy VII'', [[character creation|character designer]] [[Tetsuya Nomura]] decided it was very dark and needed characters who reflected that. Thus Cloud's original character design called for slicked back black hair with no spikes, intended to serve as a contrast to Sephiroth's long, flowing silver hair.<ref name="Khosla">{{cite web|url= http://flaregamer.com/b2article.php?p=81&more=1|title=Tetsuya Nomura 20s|publisher=FLAREgamer|author=Khosla, Sheila|year=2003 |accessdate=2006-04-13}}</ref> However, to give Cloud a unique feature that would emphasize his role in the game as the main character, Nomura changed the design to feature Cloud's now trademark shock of spiky, bright blond hair.<ref name="Khosla"/> For Tifa's design, Nomura has admitted to facing a difficult decision in choosing to give her a miniskirt or pants. With input from other members of the game's development staff, he eventually selected a dark miniskirt, contrasted by Aerith' long, pink dress.<ref name="Khosla"/> Vincent's character developed from horror researcher to detective, then to chemist, and finally to the figure of a former Turk with a tragic past. It has been explained that his crimson mantle was added to symbolize the idea of carrying a heavy weight on his shoulders associated with death. Nomura has indicated that Cid Highwind's fighting style resembles that of a [[Dragoon (character class)|Dragon Knight]], a [[character class]] chosen because his last name is the same as that of two previous Dragoon featured in the ''Final Fantasy'' series, [[Final Fantasy II#Characters|Ricard Highwind]] of ''[[Final Fantasy II]]'' and [[Kain Highwind]] of ''[[Final Fantasy IV]]''.<ref name="Khosla"/> Although the game was Nomura's favorite ''Final Fantasy'' project, he felt that ''Final Fantasy VII'' was hindered by graphical limitations, and that his designs were, consequently, very plain in comparison |