get_WikiPageJson

This command is the core command that gets a wiki-page, and is called every time an internal link is clicked on. It is part of the behavior_WikiRouter behavior. You can find the command on github

Handler: get_WikiPageJson someRoute, socketID, requestArray, pageSLug, wikiDomain OS: all Platforms: all Type: command

When an internal link is clicked, teh wiki-client uses javascript to request wiki-json from the wiki-server. When we run our own server, we can intercept these calls and decide how to respond. See: - Context Dependent Routing

# Where

File: behavior_WikiRouter.livecodescript Hkey: C get_WikiPageJson Kind: behaviors Module: View|Wiki|Server Path: modules/View_Wiki_Server/behaviors/behavior_WikiRouter.livecodescript Project: lcw_Wiki Script: stack "behavior_WikiRouter"

# Code

digraph "overlayArray_ConstructDot" { graph [ clusterrank="true" ]; subgraph "PF" { node []; n92 [label="_ShellResult" URL="PF+_ShellResult+of+stack+%27lib_Whisper%27"]; n21 [label="_FetchPostData" URL="PF+_FetchPostData+of+stack+%27lib_Whisper%27"]; n168 [label="_ConstructModelDataFile" URL="PF+_ConstructModelDataFile+of+stack+%27model_LCW%27"]; n125 [label="_ConstructMessagePostData" URL="PF+_ConstructMessagePostData+of+stack+%27lib_Whisper%27"]; n32 [label="_GetJson" URL="PF+_GetJson+of+stack+%27model_PageJson%27"]; n102 [label="_AudioFileFromUrl" URL="PF+_AudioFileFromUrl+of+stack+%27lib_Transcribe%27"]; n113 [label="_GetMergJsonArray" URL="PF+_GetMergJsonArray+of+stack+%27model_PageJson%27"]; n123 [label="_GetJsonArray" URL="PF+_GetJsonArray+of+stack+%27model_PageJson%27"]; } subgraph "PC" { node []; n98 [label="_AddMapSection" URL="PC+_AddMapSection+of+stack+%27lib_WikiPageArray%27"]; n99 [label="_AddPosterImage" URL="PC+_AddPosterImage+of+stack+%27lib_WikiPageArray%27"]; } subgraph "M" { node [fillcolor="Orange", style="filled", color="Red"]; n152 [label="pageArray_AddWikipediaCred" URL="M+pageArray_AddWikipediaCred+of+stack+%27model_PageArray%27"]; n133 [label="wikiServer_Restart" URL="M+wikiServer_Restart+of+stack+%27lib_WikiServer%27"]; n96 [label="fedwiki_AddExternalLink" URL="M+fedwiki_AddExternalLink+of+stack+%27lib_WikiText%27"]; n160 [label="wikicommons_AddVideoToPageArray" URL="M+wikicommons_AddVideoToPageArray+of+stack+%27lib_WikiVideo%27"]; n79 [label="pageArray_CleanJournal" URL="M+pageArray_CleanJournal+of+stack+%27lib_PageArray%27"]; n71 [label="pageArray_StripJournal" URL="M+pageArray_StripJournal+of+stack+%27model_PageArray%27"]; n68 [label="pageArray_AddChatGptCred" URL="M+pageArray_AddChatGptCred+of+stack+%27model_PageArray%27"]; n146 [label="daemon_SendNotFound" URL="M+daemon_SendNotFound+of+Missing"]; n154 [label="pageArray_AddMarkdown" URL="M+pageArray_AddMarkdown+of+stack+%27model_PageArray%27"]; n57 [label="pageArray_ReplaceSection" URL="M+pageArray_ReplaceSection+of+stack+%27lib_PageSection%27"]; n150 [label="pageArray_AddMap" URL="M+pageArray_AddMap+of+stack+%27lib_Map%27"]; n97 [label="pageArray_AddText" URL="M+pageArray_AddText+of+stack+%27model_PageArray%27"]; n28 [label="mediawiki_FetchPageParseInfo" URL="M+mediawiki_FetchPageParseInfo+of+stack+%27lib_FedWikiPedia%27"]; n161 [label="pageArray_AddImage" URL="M+pageArray_AddImage+of+stack+%27model_PageArray%27"]; n2 [label="file_AddHome" URL="M+file_AddHome+of+stack+%27lib_Files%27"]; n135 [label="pageArray_CleanFork" URL="M+pageArray_CleanFork+of+stack+%27lib_PageArray%27"]; n158 [label="sandbox_DeconstructPageArray" URL="M+sandbox_DeconstructPageArray+of+stack+%27lib_WikiSandbox%27"]; n43 [label="pageArray_SetFirstItem" URL="M+pageArray_SetFirstItem+of+stack+%27lib_PageArray%27"]; n77 [label="curly_MergePageArray" URL="M+curly_MergePageArray+of+stack+%27lib_Curly%27"]; n54 [label="text_AddTrailing" URL="M+text_AddTrailing+of+stack+%27model_AtopiaFiles%27"]; n162 [label="storyArray_AddGraphviz" URL="M+storyArray_AddGraphviz+of+stack+%27lib_StoryArray%27"]; n138 [label="pageArray_Rename" URL="M+pageArray_Rename+of+stack+%27lib_PageArray%27"]; n148 [label="daemon_SendArray" URL="M+daemon_SendArray+of+Missing"]; n5 [label="text_Utf8Encode" URL="M+text_Utf8Encode+of+stack+%27lib_Encoding%27"]; n153 [label="pageArray_AddButton" URL="M+pageArray_AddButton+of+stack+%27model_PageArray%27"]; n85 [label="ffmpeg_ExportAudioAsWav" URL="M+ffmpeg_ExportAudioAsWav+of+stack+%27lib_Ffmpeg%27"]; n167 [label="itemArray_Add" URL="M+itemArray_Add+of+stack+%27lib_ItemArray%27"]; n55 [label="folder_CreateNested" URL="M+folder_CreateNested+of+stack+%27lib_LCW%27"]; n95 [label="wikicommons_Moveimage" URL="M+wikicommons_Moveimage+of+stack+%27lib_WikiCommons%27"]; n144 [label="pageArray_Set" URL="M+pageArray_Set+of+stack+%27model_PageArray%27"]; n163 [label="storyArray_AddItemArray" URL="M+storyArray_AddItemArray+of+stack+%27lib_StoryArray%27"]; n78 [label="mediawiki_NormaliseTitle" URL="M+mediawiki_NormaliseTitle+of+stack+%27lib_WikiPageArray%27"]; n51 [label="daemon_SendJSON" URL="M+daemon_SendJSON+of+Missing"]; n41 [label="curly_ReplacePageArray" URL="M+curly_ReplacePageArray+of+stack+%27lib_Curly%27"]; } subgraph "G" { node [fillcolor="grey50", style="filled", color="white"]; n111 [label="stack_Folder" URL="G+stack_Folder+of+stack+%27lib_LCW%27"]; n47 [label="model_DataFile" URL="G+model_DataFile+of+stack+%27model_Library%27"]; n20 [label="project_Folder" URL="G+project_Folder+of+stack+%27lib_LCW%27"]; n46 [label="model_Array" URL="G+model_Array+of+stack+%27model_Library%27"]; } subgraph "C" { node [fillcolor="LightBlue", style="filled", color="Blue"]; n49 [label="get_WikiPageJson" URL="C+get_WikiPageJson+of+stack+%27behavior_WikiRouter%27"]; n39 [label="pageArray_SetSectionOffsets" URL="C+pageArray_SetSectionOffsets+of+stack+%27lib_PageSection%27"]; n149 [label="mediawiki_SetUserAgent" URL="C+mediawiki_SetUserAgent+of+stack+%27lib_MediaWiki%27"]; n56 [label="wikiPage_ReplaceTranscriptSummary" URL="C+wikiPage_ReplaceTranscriptSummary+of+stack+%27lib_WikiTranslate%27"]; n83 [label="folder_Add" URL="C+folder_Add+of+stack+%27lib_LCW%27"]; n101 [label="rest_SetJsonHeaders" URL="C+rest_SetJsonHeaders+of+stack+%27lib_REST%27"]; n131 [label="itemArray_NormalizeID" URL="C+itemArray_NormalizeID+of+stack+%27lib_ItemArray%27"]; n50 [label="get_WikiPageJsonNotFound" URL="C+get_WikiPageJsonNotFound+of+stack+%27behavior_WikiRouter%27"]; n166 [label="pageArray_AddMarkdown" URL="C+pageArray_AddMarkdown+of+stack+%27model_PageArray%27"]; n73 [label="text_AddTrailing" URL="C+text_AddTrailing+of+stack+%27lib_LCW%27"]; n89 [label="whisper_CreateTranscript" URL="C+whisper_CreateTranscript+of+stack+%27lib_Whisper%27"]; n30 [label="fedwikipedia_ConstructTocLookupArray" URL="C+fedwikipedia_ConstructTocLookupArray+of+stack+%27lib_WikipediaSections%27"]; } subgraph "F" { node [fillcolor="GreenYellow", style="filled", color="Green4"]; n141 [label="text_Get" URL="F+text_Get+of+stack+%27model_ScriptExport%27"]; n22 [label="json_FromArray" URL="F+json_FromArray+of+stack+%27lib_REST%27"]; n100 [label="node_GetModulesFolder" URL="F+node_GetModulesFolder+of+stack+%27model_WikiFiles%27"]; n65 [label="array_Get" URL="F+array_Get+of+stack+%27model_LCW%27"]; n124 [label="openAI_FetchChatData" URL="F+openAI_FetchChatData+of+stack+%27lib_Whisper%27"]; n84 [label="transcribe_FindOggFile" URL="F+transcribe_FindOggFile+of+stack+%27lib_Transcribe%27"]; n15 [label="restbase_FetchSlugJSON" URL="F+restbase_FetchSlugJSON+of+stack+%27lib_WikiRestBase%27"]; n104 [label="ecoData_Get" URL="F+ecoData_Get+of+stack+%27model_WikiGarden%27"]; n52 [label="env_ConstructProjectFolder" URL="F+env_ConstructProjectFolder+of+stack+%27lib_LCW%27"]; n128 [label="pref_FetchValue" URL="F+pref_FetchValue+of+stack+%27lib_LCW%27"]; n19 [label="pageArray_GetSectionText" URL="F+pageArray_GetSectionText+of+stack+%27lib_PageSection%27"]; n145 [label="daemon_ReceivedHeader" URL="F+daemon_ReceivedHeader+of+Missing"]; n31 [label="pageJson_Get" URL="F+pageJson_Get+of+stack+%27model_PageJson%27"]; n7 [label="node_WikiModulesFolder" URL="F+node_WikiModulesFolder+of+stack+%27model_WikiFiles%27"]; n75 [label="model_GetDataFolder" URL="F+model_GetDataFolder+of+stack+%27model_LCW%27"]; n108 [label="wikiFolder_ConstructFromFarm" URL="F+wikiFolder_ConstructFromFarm+of+stack+%27lib_WikiFolder%27"]; n60 [label="wikiFolder_Pages" URL="F+wikiFolder_Pages+of+stack+%27model_WikiFiles%27"]; n120 [label="restbase_ConstructSlugRestURL" URL="F+restbase_ConstructSlugRestURL+of+stack+%27lib_WikiRestBase%27"]; n136 [label="pageArray_Fetch" URL="F+pageArray_Fetch+of+stack+%27model_PageArray%27"]; n155 [label="mediaWiki_ConstructSlug" URL="F+mediaWiki_ConstructSlug+of+stack+%27lib_WikiRestBase%27"]; n11 [label="asset_GetFolder" URL="F+asset_GetFolder+of+stack+%27model_Assets%27"]; n164 [label="markdown_GetSection" URL="F+markdown_GetSection+of+stack+%27lib_Markdown%27"]; n35 [label="wikiFolder_ConstructAssets" URL="F+wikiFolder_ConstructAssets+of+stack+%27model_WikiFiles%27"]; n40 [label="wikiPage_ConstructTranscriptPageArray" URL="F+wikiPage_ConstructTranscriptPageArray+of+stack+%27lib_WikiTranslate%27"]; n119 [label="http_ConstructHeaderArray" URL="F+http_ConstructHeaderArray+of+stack+%27lib_WikiRestBase%27"]; n115 [label="sandbox_FetchJSON" URL="F+sandbox_FetchJSON+of+stack+%27lib_MediaWiki%27"]; n87 [label="whisper_GetTranscript" URL="F+whisper_GetTranscript+of+stack+%27lib_Whisper%27"]; n29 [label="fedwikipedia_ConstructPageTocArray" URL="F+fedwikipedia_ConstructPageTocArray+of+stack+%27lib_FedWikiPedia%27"]; n151 [label="mediawiki_FetchSummaryDescription" URL="F+mediawiki_FetchSummaryDescription+of+stack+%27lib_MediaWiki%27"]; n25 [label="jsonrpc_POST" URL="F+jsonrpc_POST+of+stack+%27lib_REST%27"]; n48 [label="array_FromFile" URL="F+array_FromFile+of+stack+%27model_LCW%27"]; n3 [label="wikiGarden_GetModel" URL="F+wikiGarden_GetModel+of+stack+%27model_WikiGarden%27"]; n132 [label="pageArray_GetTemplate" URL="F+pageArray_GetTemplate+of+stack+%27model_WikiDialogue%27"]; n64 [label="pref_FetchData" URL="F+pref_FetchData+of+stack+%27lib_LCW%27"]; n159 [label="wikipedia_ConstructApiStem" URL="F+wikipedia_ConstructApiStem+of+stack+%27lib_MediaWiki%27"]; n44 [label="transcribe_WavURL" URL="F+transcribe_WavURL+of+stack+%27lib_Transcribe%27"]; n105 [label="wikiServer_ConstructDefaultPagePath" URL="F+wikiServer_ConstructDefaultPagePath+of+stack+%27model_WikiServer%27"]; n53 [label="folder_AddShort" URL="F+folder_AddShort+of+stack+%27lib_LCW%27"]; n12 [label="module_GetFolder" URL="F+module_GetFolder+of+stack+%27lib_LCW%27"]; n129 [label="pref_GetValue" URL="F+pref_GetValue+of+stack+%27lib_LCW%27"]; n142 [label="pageArray_FromJson" URL="F+pageArray_FromJson+of+stack+%27model_PageArray%27"]; n76 [label="wikiDialogue_Get" URL="F+wikiDialogue_Get+of+stack+%27model_WikiDialogue%27"]; n109 [label="wikiGarden_GetDomainData" URL="F+wikiGarden_GetDomainData+of+stack+%27lib_WikiGarden%27"]; n110 [label="jsonrpc_Headers" URL="F+jsonrpc_Headers+of+stack+%27lib_REST%27"]; n121 [label="nvm_GetBin" URL="F+nvm_GetBin+of+stack+%27model_WikiFiles%27"]; n93 [label="jsonArray_FromFile" URL="F+jsonArray_FromFile+of+stack+%27model_PageJson%27"]; n16 [label="platform_GetPrompt" URL="F+platform_GetPrompt+of+stack+%27lib_Whisper%27"]; n165 [label="journalArray_Construct" URL="F+journalArray_Construct+of+stack+%27model_PageArray%27"]; n36 [label="secret_Get" URL="F+secret_Get+of+stack+%27lib_DigitalOcean%27"]; n118 [label="sandbox_FetchArray" URL="F+sandbox_FetchArray+of+stack+%27lib_MediaWiki%27"]; n72 [label="openAI_GetText" URL="F+openAI_GetText+of+stack+%27lib_Whisper%27"]; n114 [label="json_ToArray" URL="F+json_ToArray+of+stack+%27model_LCW%27"]; n24 [label="openAI_GetApiKey" URL="F+openAI_GetApiKey+of+stack+%27lib_Whisper%27"]; n139 [label="fedwiki_ConstructOpenStreetMapLink" URL="F+fedwiki_ConstructOpenStreetMapLink+of+stack+%27lib_Fedwiki%27"]; n67 [label="wikiPage_Transcript" URL="F+wikiPage_Transcript+of+stack+%27lib_WikiTranslate%27"]; n126 [label="transcribe_FindAudioUrl" URL="F+transcribe_FindAudioUrl+of+stack+%27lib_Transcribe%27"]; n147 [label="mediawiki_FetchSummaryPageArray" URL="F+mediawiki_FetchSummaryPageArray+of+stack+%27lib_FedWikiPedia%27"]; n6 [label="wikiServer_DefaultDataFolder" URL="F+wikiServer_DefaultDataFolder+of+stack+%27model_WikiServer%27"]; n82 [label="transcribe_ConstructPageAssetFolder" URL="F+transcribe_ConstructPageAssetFolder+of+stack+%27lib_Transcribe%27"]; n63 [label="wikiServer_GetPageJson" URL="F+wikiServer_GetPageJson+of+stack+%27model_WikiServer%27"]; n143 [label="restbase_FetchSummaryArray" URL="F+restbase_FetchSummaryArray+of+stack+%27lib_WikiRestBase%27"]; n33 [label="wikiFile_Construct" URL="F+wikiFile_Construct+of+stack+%27model_WikiFiles%27"]; n117 [label="json_ToArray" URL="F+json_ToArray+of+stack+%27lib_MediaWiki%27"]; n122 [label="pageArray_FindItemType" URL="F+pageArray_FindItemType+of+stack+%27lib_PageArray%27"]; n86 [label="pageArray_Construct" URL="F+pageArray_Construct+of+stack+%27model_PageArray%27"]; n90 [label="whisper_DefaultAudioFile" URL="F+whisper_DefaultAudioFile+of+stack+%27lib_Whisper%27"]; n17 [label="pageArray_GetFirstCode" URL="F+pageArray_GetFirstCode+of+stack+%27lib_PageSection%27"]; n37 [label="rigFetchConfigItem" URL="F+rigFetchConfigItem+of+Missing"]; n9 [label="env_GetLcwFolder" URL="F+env_GetLcwFolder+of+stack+%27lib_LCW%27"]; n106 [label="transcribe_ConstructAudioFile" URL="F+transcribe_ConstructAudioFile+of+stack+%27lib_Transcribe%27"]; n130 [label="itemArray_Construct" URL="F+itemArray_Construct+of+stack+%27lib_ItemArray%27"]; n58 [label="transcribe_ConstructSummaryStoryArray" URL="F+transcribe_ConstructSummaryStoryArray+of+stack+%27lib_Transcribe%27"]; n94 [label="mediawiki_ConstructSummaryPageArray" URL="F+mediawiki_ConstructSummaryPageArray+of+stack+%27lib_WikiPageArray%27"]; n27 [label="mediawiki_FetchMarkdownTOC" URL="F+mediawiki_FetchMarkdownTOC+of+stack+%27lib_WikipediaSections%27"]; n1 [label="wikiFarm_GetDefaultFolder" URL="F+wikiFarm_GetDefaultFolder+of+stack+%27lib_WikiFarm%27"]; n134 [label="pref_FetchArray" URL="F+pref_FetchArray+of+stack+%27lib_LCW%27"]; n66 [label="pref_File" URL="F+pref_File+of+stack+%27lib_LCW%27"]; n157 [label="pageJson_ConstructUrl" URL="F+pageJson_ConstructUrl+of+stack+%27model_PageJson%27"]; n13 [label="project_GetFolder" URL="F+project_GetFolder+of+stack+%27lib_LCW%27"]; n42 [label="fedwiki_ConstructTitle" URL="F+fedwiki_ConstructTitle+of+stack+%27lib_Fedwiki%27"]; n81 [label="transcribe_PageAssetFolder" URL="F+transcribe_PageAssetFolder+of+stack+%27lib_Transcribe%27"]; n62 [label="wikiServer_GetPageArray" URL="F+wikiServer_GetPageArray+of+stack+%27model_WikiServer%27"]; n140 [label="fedwiki_ConstructOpenStreetMapURL" URL="F+fedwiki_ConstructOpenStreetMapURL+of+stack+%27lib_Fedwiki%27"]; n23 [label="json_ToArray" URL="F+json_ToArray+of+stack+%27lib_REST%27"]; n34 [label="wikiFile_ConstructAsset" URL="F+wikiFile_ConstructAsset+of+stack+%27model_WikiFiles%27"]; n103 [label="ecoData_GetFarmFolder" URL="F+ecoData_GetFarmFolder+of+stack+%27model_WikiGarden%27"]; n91 [label="kwote" URL="F+kwote+of+stack+%27lib_Fedwiki%27"]; n14 [label="restbase_FetchSummaryJSON" URL="F+restbase_FetchSummaryJSON+of+stack+%27lib_WikiRestBase%27"]; n38 [label="pageArray_GetSection" URL="F+pageArray_GetSection+of+stack+%27lib_PageSection%27"]; n8 [label="env_GetRepoFolder" URL="F+env_GetRepoFolder+of+stack+%27lib_LCW%27"]; n107 [label="transcribe_ShortAudioFile" URL="F+transcribe_ShortAudioFile+of+stack+%27lib_Transcribe%27"]; n59 [label="pageArray_FindTitle" URL="F+pageArray_FindTitle+of+stack+%27lib_PageArray%27"]; n127 [label="pageArray_FindItemOfType" URL="F+pageArray_FindItemOfType+of+stack+%27lib_PageArray%27"]; n18 [label="pageArray_Get" URL="F+pageArray_Get+of+stack+%27model_PageArray%27"]; n26 [label="openAI_RestURL" URL="F+openAI_RestURL+of+stack+%27lib_Whisper%27"]; n45 [label="wikiServer_DefaultPagesFolder" URL="F+wikiServer_DefaultPagesFolder+of+stack+%27model_WikiServer%27"]; n74 [label="transcribe_TextFile" URL="F+transcribe_TextFile+of+stack+%27lib_Transcribe%27"]; n112 [label="model_GetDataFile" URL="F+model_GetDataFile+of+stack+%27model_LCW%27"]; n137 [label="fedwiki_ConstructSlug" URL="F+fedwiki_ConstructSlug+of+stack+%27lib_Fedwiki%27"]; n61 [label="wikiFolder_FromRouter" URL="F+wikiFolder_FromRouter+of+stack+%27lib_WikiFolder%27"]; n88 [label="transcribe_ConstructWavFile" URL="F+transcribe_ConstructWavFile+of+stack+%27lib_Transcribe%27"]; n156 [label="pageJson_Fetch" URL="F+pageJson_Fetch+of+stack+%27model_PageJson%27"]; n10 [label="whisper_AssetFolder" URL="F+whisper_AssetFolder+of+stack+%27lib_Whisper%27"]; n4 [label="sandbox_ConstructPageQueryFragment" URL="F+sandbox_ConstructPageQueryFragment+of+stack+%27lib_WikiSandbox%27"]; n69 [label="wikiPage_TranscriptStub" URL="F+wikiPage_TranscriptStub+of+stack+%27lib_WikiTranslate%27"]; n116 [label="mediawiki_FetchJSON" URL="F+mediawiki_FetchJSON+of+stack+%27lib_MediaWiki%27"]; n80 [label="pageArray_GetDialogue" URL="F+pageArray_GetDialogue+of+stack+%27model_WikiDialogue%27"]; n70 [label="transcribe_GetWavText" URL="F+transcribe_GetWavText+of+stack+%27lib_Transcribe%27"]; } subgraph cluster1 { label="Missing"; style=filled; color=red; fillcolor=orange; n145; n146; n37; n148; n51 } subgraph cluster2 { label="stack \"behavior_WikiRouter\""; style=filled; color=grey60; fillcolor=grey60; n49; n50 } subgraph cluster3 { label="stack \"lib_Curly\""; style=filled; color=grey60; fillcolor=grey60; n77; n41 } subgraph cluster4 { label="stack \"lib_DigitalOcean\""; style=filled; color=grey60; fillcolor=grey60; n36 } subgraph cluster5 { label="stack \"lib_Encoding\""; style=filled; color=grey60; fillcolor=grey60; n5 } subgraph cluster6 { label="stack \"lib_Fedwiki\""; style=filled; color=grey60; fillcolor=grey60; n139; n42; n140; n91; n137 } subgraph cluster7 { label="stack \"lib_FedWikiPedia\""; style=filled; color=grey60; fillcolor=grey60; n29; n28; n147 } subgraph cluster8 { label="stack \"lib_Ffmpeg\""; style=filled; color=grey60; fillcolor=grey60; n85 } subgraph cluster9 { label="stack \"lib_Files\""; style=filled; color=grey60; fillcolor=grey60; n2 } subgraph cluster10 { label="stack \"lib_ItemArray\""; style=filled; color=grey60; fillcolor=grey60; n131; n130; n167 } subgraph cluster11 { label="stack \"lib_LCW\""; style=filled; color=grey60; fillcolor=grey60; n52; n128; n111; n64; n53; n83; n12; n129; n20; n9; n73; n134; n66; n13; n8; n55 } subgraph cluster12 { label="stack \"lib_Map\""; style=filled; color=grey60; fillcolor=grey60; n150 } subgraph cluster13 { label="stack \"lib_Markdown\""; style=filled; color=grey60; fillcolor=grey60; n164 } subgraph cluster14 { label="stack \"lib_MediaWiki\""; style=filled; color=grey60; fillcolor=grey60; n149; n115; n151; n159; n118; n117; n116 } subgraph cluster15 { label="stack \"lib_PageArray\""; style=filled; color=grey60; fillcolor=grey60; n79; n135; n43; n122; n138; n59; n127 } subgraph cluster16 { label="stack \"lib_PageSection\""; style=filled; color=grey60; fillcolor=grey60; n39; n19; n57; n17; n38 } subgraph cluster17 { label="stack \"lib_REST\""; style=filled; color=grey60; fillcolor=grey60; n22; n25; n110; n101; n23 } subgraph cluster18 { label="stack \"lib_StoryArray\""; style=filled; color=grey60; fillcolor=grey60; n162; n163 } subgraph cluster19 { label="stack \"lib_Transcribe\""; style=filled; color=grey60; fillcolor=grey60; n84; n44; n126; n82; n102; n106; n58; n81; n107; n74; n88; n70 } subgraph cluster20 { label="stack \"lib_Whisper\""; style=filled; color=grey60; fillcolor=grey60; n124; n92; n21; n87; n125; n16; n72; n24; n90; n89; n26; n10 } subgraph cluster21 { label="stack \"lib_WikiCommons\""; style=filled; color=grey60; fillcolor=grey60; n95 } subgraph cluster22 { label="stack \"lib_WikiFarm\""; style=filled; color=grey60; fillcolor=grey60; n1 } subgraph cluster23 { label="stack \"lib_WikiFolder\""; style=filled; color=grey60; fillcolor=grey60; n108; n61 } subgraph cluster24 { label="stack \"lib_WikiGarden\""; style=filled; color=grey60; fillcolor=grey60; n109 } subgraph cluster25 { label="stack \"lib_WikiPageArray\""; style=filled; color=grey60; fillcolor=grey60; n98; n94; n99; n78 } subgraph cluster26 { label="stack \"lib_WikipediaSections\""; style=filled; color=grey60; fillcolor=grey60; n27; n30 } subgraph cluster27 { label="stack \"lib_WikiRestBase\""; style=filled; color=grey60; fillcolor=grey60; n15; n120; n155; n119; n143; n14 } subgraph cluster28 { label="stack \"lib_WikiSandbox\""; style=filled; color=grey60; fillcolor=grey60; n158; n4 } subgraph cluster29 { label="stack \"lib_WikiServer\""; style=filled; color=grey60; fillcolor=grey60; n133 } subgraph cluster30 { label="stack \"lib_WikiText\""; style=filled; color=grey60; fillcolor=grey60; n96 } subgraph cluster31 { label="stack \"lib_WikiTranslate\""; style=filled; color=grey60; fillcolor=grey60; n40; n56; n67; n69 } subgraph cluster32 { label="stack \"lib_WikiVideo\""; style=filled; color=grey60; fillcolor=grey60; n160 } subgraph cluster33 { label="stack \"model_Assets\""; style=filled; color=grey60; fillcolor=grey60; n11 } subgraph cluster34 { label="stack \"model_AtopiaFiles\""; style=filled; color=grey60; fillcolor=grey60; n54 } subgraph cluster35 { label="stack \"model_LCW\""; style=filled; color=grey60; fillcolor=grey60; n65; n75; n168; n48; n114; n112 } subgraph cluster36 { label="stack \"model_Library\""; style=filled; color=grey60; fillcolor=grey60; n47; n46 } subgraph cluster37 { label="stack \"model_PageArray\""; style=filled; color=grey60; fillcolor=grey60; n152; n136; n71; n68; n142; n154; n165; n97; n161; n86; n166; n153; n18; n144 } subgraph cluster38 { label="stack \"model_PageJson\""; style=filled; color=grey60; fillcolor=grey60; n31; n32; n93; n113; n157; n123; n156 } subgraph cluster39 { label="stack \"model_ScriptExport\""; style=filled; color=grey60; fillcolor=grey60; n141 } subgraph cluster40 { label="stack \"model_WikiDialogue\""; style=filled; color=grey60; fillcolor=grey60; n132; n76; n80 } subgraph cluster41 { label="stack \"model_WikiFiles\""; style=filled; color=grey60; fillcolor=grey60; n100; n7; n60; n35; n121; n33; n34 } subgraph cluster42 { label="stack \"model_WikiGarden\""; style=filled; color=grey60; fillcolor=grey60; n104; n3; n103 } subgraph cluster43 { label="stack \"model_WikiServer\""; style=filled; color=grey60; fillcolor=grey60; n105; n6; n63; n62; n45 } n33 -> n60; n63 -> n141; n63 -> n105; n60 -> n61; n102 -> n34; n82 -> n34; n82 -> n54; n14 -> n15; n64 -> n65; n64 -> n66; n10 -> n11; n10 -> n12; n10 -> n13; n8 -> n9; n24 -> n36; n69 -> n85; n69 -> n87; n69 -> n40; n69 -> n86; n69 -> n88; n69 -> n84; n4 -> n5; n116 -> n149; n20 -> n8; n59 -> n122; n99 -> n161; n99 -> n160; n48 -> n114; n21 -> n23; n21 -> n24; n21 -> n25; n21 -> n26; n21 -> n22; n117 -> n117; n1 -> n2; n1 -> n3; n74 -> n88; n113 -> n23; n142 -> n23; n118 -> n115; n118 -> n117; n53 -> n73; n106 -> n107; n106 -> n81; n86 -> n165; n86 -> n166; n18 -> n93; n18 -> n33; n136 -> n142; n136 -> n156; n87 -> n89; n151 -> n4; n151 -> n158; n151 -> n159; n151 -> n118; n132 -> n138; n132 -> n137; n132 -> n135; n132 -> n136; n83 -> n73; n61 -> n108; n61 -> n109; n156 -> n157; n40 -> n42; n40 -> n18; n40 -> n43; n40 -> n44; n40 -> n41; n13 -> n83; n13 -> n20; n13 -> n52; n166 -> n167; n166 -> n130; n9 -> n128; n9 -> n129; n25 -> n101; n12 -> n53; n44 -> n107; n70 -> n74; n45 -> n6; n58 -> n162; n58 -> n163; n58 -> n164; n98 -> n139; n98 -> n150; n49 -> n50; n49 -> n51; n49 -> n31; n124 -> n21; n124 -> n125; n36 -> n37; n105 -> n45; n101 -> n110; n52 -> n53; n52 -> n8; n56 -> n58; n56 -> n57; n31 -> n33; n31 -> n32; n100 -> n121; n80 -> n79; n80 -> n132; n80 -> n42; n16 -> n17; n16 -> n19; n16 -> n18; n130 -> n131; n114 -> n114; n22 -> n22; n6 -> n7; n128 -> n134; n46 -> n47; n46 -> n48; n139 -> n140; n7 -> n100; n76 -> n42; n76 -> n77; n76 -> n78; n76 -> n79; n76 -> n80; n3 -> n46; n123 -> n32; n39 -> n59; n88 -> n106; n147 -> n154; n147 -> n151; n147 -> n152; n147 -> n153; n147 -> n94; n147 -> n155; n147 -> n71; n147 -> n27; n147 -> n143; n35 -> n61; n84 -> n102; n84 -> n126; n62 -> n63; n62 -> n23; n34 -> n35; n103 -> n2; n103 -> n104; n94 -> n96; n94 -> n95; n94 -> n97; n94 -> n71; n94 -> n99; n94 -> n98; n94 -> n86; n81 -> n55; n81 -> n82; n15 -> n119; n15 -> n15; n15 -> n120; n15 -> n116; n134 -> n64; n67 -> n68; n67 -> n70; n67 -> n69; n67 -> n56; n67 -> n72; n67 -> n71; n11 -> n55; n11 -> n54; n93 -> n123; n93 -> n113; n27 -> n30; n27 -> n28; n27 -> n29; n72 -> n16; n72 -> n124; n72 -> n133; n115 -> n116; n23 -> n23; n47 -> n112; n47 -> n111; n143 -> n14; n143 -> n23; n126 -> n127; n126 -> n42; n126 -> n18; n75 -> n53; n108 -> n103; n108 -> n1; n112 -> n168; n112 -> n75; n38 -> n39; n89 -> n91; n89 -> n90; n89 -> n92; n89 -> n10; n50 -> n146; n50 -> n145; n50 -> n148; n50 -> n62; n50 -> n144; n50 -> n78; n50 -> n67; n50 -> n51; n50 -> n86; n50 -> n33; n50 -> n76; n50 -> n42; n50 -> n147; n50 -> n22; n19 -> n38; }

command get_WikiPageJson someRoute, socketID, requestArray, pageSLug, wikiDomain # First the wiki-client looks for page at origin server put pageJson_Get (wikiDomain, pageSlug) into someJSON -- if someJSON is empty then get_WikiPageJsonNotFound someRoute, socketID, requestArray return the result else daemon_SendJSON socketID, someJSON return "Sent JSON. Socket still open." end if end get_WikiPageJson

# Tags get, wiki, page, json

# Todo

- [ ] Next thing

# See also - Fedwiki Tools