This command is where GET requests are routed in wiki. is part of the behavior_DaemonMiddleware module. You can find the command on github ![]()
Handler: route_GET someRoute, socketID, requestArray OS: all Platforms: all Type: command
# Todo - [ ] Document and tidy Live Server Routing
# Where
- before route_GET in behavior_DaemonMiddleware
File: behavior_DaemonMiddleware.livecodescript Hkey: B route_GET Kind: module Module: View|Wiki|Server Path: modules/View_Wiki_Server/behaviors/behavior_DaemonMiddleware.livecodescript Project: lcw_Wiki Script: stack "behavior_DaemonMiddleware"
- route_GET in behavior_WikiRouter
File: behavior_WikiRouter.livecodescript Hkey: C route_GET Kind: module 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 []; n171 [label="_RecycledSlugsJson" URL="PF+_RecycledSlugsJson+of+stack+%27behavior_WikiRouter%27"]; n15 [label="_AudioFileFromUrl" URL="PF+_AudioFileFromUrl+of+stack+%27lib_Transcribe%27"]; n145 [label="_RecycledSlugsData" URL="PF+_RecycledSlugsData+of+stack+%27behavior_WikiRouter%27"]; n3 [label="_GetMergJsonArray" URL="PF+_GetMergJsonArray+of+stack+%27model_PageJson%27"]; n230 [label="_LinupTest" URL="PF+_LinupTest+of+stack+%27behavior_WikiRouter%27"]; n112 [label="_ConstructLineupDiv" URL="PF+_ConstructLineupDiv+of+stack+%27behavior_WikiRouter%27"]; n48 [label="_ConstructModelDataFile" URL="PF+_ConstructModelDataFile+of+stack+%27model_LCW%27"]; n14 [label="_ConstructMessagePostData" URL="PF+_ConstructMessagePostData+of+stack+%27lib_Whisper%27"]; n224 [label="_ConstructSimplePageDiv" URL="PF+_ConstructSimplePageDiv+of+stack+%27behavior_WikiRouter%27"]; n93 [label="_GetJson" URL="PF+_GetJson+of+stack+%27model_PageJson%27"]; n197 [label="_ShellResult" URL="PF+_ShellResult+of+stack+%27lib_Whisper%27"]; n13 [label="_FetchPostData" URL="PF+_FetchPostData+of+stack+%27lib_Whisper%27"]; n163 [label="_GetJsonArray" URL="PF+_GetJsonArray+of+stack+%27model_PageJson%27"]; } subgraph "PC" { node []; n211 [label="_AddPosterImage" URL="PC+_AddPosterImage+of+stack+%27lib_WikiPageArray%27"]; n141 [label="_AddMapSection" URL="PC+_AddMapSection+of+stack+%27lib_WikiPageArray%27"]; } subgraph "M" { node [fillcolor="Orange", style="filled", color="Red"]; n134 [label="mediawiki_NormaliseTitle" URL="M+mediawiki_NormaliseTitle+of+stack+%27lib_WikiPageArray%27"]; n218 [label="folder_CreateNested" URL="M+folder_CreateNested+of+stack+%27lib_LCW%27"]; n207 [label="mediawiki_FetchPageParseInfo" URL="M+mediawiki_FetchPageParseInfo+of+stack+%27lib_FedWikiPedia%27"]; n188 [label="daemon_SendCSS" URL="M+daemon_SendCSS+of+Missing"]; n240 [label="wikicommons_Moveimage" URL="M+wikicommons_Moveimage+of+stack+%27lib_WikiCommons%27"]; n74 [label="text_AddTrailing" URL="M+text_AddTrailing+of+stack+%27model_AtopiaFiles%27"]; n210 [label="wikiServer_Restart" URL="M+wikiServer_Restart+of+stack+%27lib_WikiServer%27"]; n25 [label="pageArray_AddWikipediaCred" URL="M+pageArray_AddWikipediaCred+of+stack+%27model_PageArray%27"]; n77 [label="curly_MergePageArray" URL="M+curly_MergePageArray+of+stack+%27lib_Curly%27"]; n242 [label="pageArray_AddText" URL="M+pageArray_AddText+of+stack+%27model_PageArray%27"]; n213 [label="pageArray_AddImage" URL="M+pageArray_AddImage+of+stack+%27model_PageArray%27"]; n26 [label="pageArray_AddButton" URL="M+pageArray_AddButton+of+stack+%27model_PageArray%27"]; n237 [label="storyArray_AddItemArray" URL="M+storyArray_AddItemArray+of+stack+%27lib_StoryArray%27"]; n167 [label="pageArray_CleanFork" URL="M+pageArray_CleanFork+of+stack+%27lib_PageArray%27"]; n241 [label="fedwiki_AddExternalLink" URL="M+fedwiki_AddExternalLink+of+stack+%27lib_WikiText%27"]; n36 [label="daemon_SendImage" URL="M+daemon_SendImage+of+Missing"]; n124 [label="itemArray_Add" URL="M+itemArray_Add+of+stack+%27lib_ItemArray%27"]; n192 [label="pageArray_AddChatGptCred" URL="M+pageArray_AddChatGptCred+of+stack+%27model_PageArray%27"]; n104 [label="daemon_SendSiteMapJSON" URL="M+daemon_SendSiteMapJSON+of+Missing"]; n212 [label="wikicommons_AddVideoToPageArray" URL="M+wikicommons_AddVideoToPageArray+of+stack+%27lib_WikiVideo%27"]; n245 [label="curly_ReplacePageArray" URL="M+curly_ReplacePageArray+of+stack+%27lib_Curly%27"]; n27 [label="pageArray_StripJournal" URL="M+pageArray_StripJournal+of+stack+%27model_PageArray%27"]; n60 [label="daemon_SendJSON" URL="M+daemon_SendJSON+of+Missing"]; n99 [label="file_AddHome" URL="M+file_AddHome+of+stack+%27lib_Files%27"]; n236 [label="storyArray_AddGraphviz" URL="M+storyArray_AddGraphviz+of+stack+%27lib_StoryArray%27"]; n177 [label="ffmpeg_ExportAudioAsWav" URL="M+ffmpeg_ExportAudioAsWav+of+stack+%27lib_Ffmpeg%27"]; n205 [label="text_Utf8Encode" URL="M+text_Utf8Encode+of+stack+%27lib_Encoding%27"]; n110 [label="wiki_SetTagOffsets" URL="M+wiki_SetTagOffsets+of+stack+%27lib_WikiRender%27"]; n246 [label="pageArray_SetFirstItem" URL="M+pageArray_SetFirstItem+of+stack+%27lib_PageArray%27"]; n96 [label="sandbox_DeconstructPageArray" URL="M+sandbox_DeconstructPageArray+of+stack+%27lib_WikiSandbox%27"]; n35 [label="daemon_SendNotFound" URL="M+daemon_SendNotFound+of+Missing"]; n137 [label="daemon_SendArray" URL="M+daemon_SendArray+of+Missing"]; n170 [label="pageArray_Rename" URL="M+pageArray_Rename+of+stack+%27lib_PageArray%27"]; n109 [label="_SetEndScript" URL="M+_SetEndScript+of+stack+%27lib_WikiPage%27"]; n131 [label="pageArray_Set" URL="M+pageArray_Set+of+stack+%27model_PageArray%27"]; n217 [label="daemon_SendPNG" URL="M+daemon_SendPNG+of+Missing"]; n142 [label="pageArray_AddMap" URL="M+pageArray_AddMap+of+stack+%27lib_Map%27"]; n186 [label="pageArray_ReplaceSection" URL="M+pageArray_ReplaceSection+of+stack+%27lib_PageSection%27"]; n202 [label="daemon_SendJS" URL="M+daemon_SendJS+of+Missing"]; n28 [label="pageArray_AddMarkdown" URL="M+pageArray_AddMarkdown+of+stack+%27model_PageArray%27"]; n111 [label="daemon_SendText" URL="M+daemon_SendText+of+Missing"]; n247 [label="daemon_SendAsset" URL="M+daemon_SendAsset+of+Missing"]; n78 [label="pageArray_CleanJournal" URL="M+pageArray_CleanJournal+of+stack+%27lib_PageArray%27"]; } subgraph "G" { node [fillcolor="grey50", style="filled", color="white"]; n37 [label="model_Array" URL="G+model_Array+of+stack+%27model_Library%27"]; n164 [label="stack_Folder" URL="G+stack_Folder+of+stack+%27lib_LCW%27"]; n52 [label="project_Folder" URL="G+project_Folder+of+stack+%27lib_LCW%27"]; n38 [label="model_DataFile" URL="G+model_DataFile+of+stack+%27model_Library%27"]; } subgraph "C" { node [fillcolor="LightBlue", style="filled", color="Blue"]; n182 [label="get_SecurityJS" URL="C+get_SecurityJS+of+stack+%27behavior_WikiRouter%27"]; n63 [label="get_WikiDomain" URL="C+get_WikiDomain+of+stack+%27behavior_WikiRouter%27"]; n234 [label="get_RecycledPageJson" URL="C+get_RecycledPageJson+of+stack+%27behavior_WikiRouter%27"]; n160 [label="get_PluginHtml" URL="C+get_PluginHtml+of+stack+%27behavior_WikiRouter%27"]; n228 [label="route_GET" URL="C+route_GET+of+stack+%27behavior_WikiRouter%27"]; n232 [label="route_Plugin" URL="C+route_Plugin+of+stack+%27behavior_WikiRouter%27"]; n216 [label="get_LocalFavicon" URL="C+get_LocalFavicon+of+stack+%27behavior_WikiRouter%27"]; n88 [label="whisper_CreateTranscript" URL="C+whisper_CreateTranscript+of+stack+%27lib_Whisper%27"]; n181 [label="get_RecycledSlugsJson" URL="C+get_RecycledSlugsJson+of+stack+%27behavior_WikiRouter%27"]; n58 [label="get_PluginJavascriptMap" URL="C+get_PluginJavascriptMap+of+stack+%27behavior_WikiRouter%27"]; n209 [label="fedwikipedia_ConstructTocLookupArray" URL="C+fedwikipedia_ConstructTocLookupArray+of+stack+%27lib_WikipediaSections%27"]; n162 [label="get_PluginJavascript" URL="C+get_PluginJavascript+of+stack+%27behavior_WikiRouter%27"]; n105 [label="get_SiteIndexJson" URL="C+get_SiteIndexJson+of+stack+%27behavior_WikiRouter%27"]; n203 [label="get_FactoriesJson" URL="C+get_FactoriesJson+of+stack+%27behavior_WikiRouter%27"]; n127 [label="text_AddTrailing" URL="C+text_AddTrailing+of+stack+%27lib_LCW%27"]; n221 [label="folder_Add" URL="C+folder_Add+of+stack+%27lib_LCW%27"]; n121 [label="itemArray_NormalizeID" URL="C+itemArray_NormalizeID+of+stack+%27lib_ItemArray%27"]; n117 [label="get_WikiClientJsMap" URL="C+get_WikiClientJsMap+of+stack+%27behavior_WikiRouter%27"]; n229 [label="get_ClientPNG" URL="C+get_ClientPNG+of+stack+%27behavior_WikiRouter%27"]; n139 [label="rest_SetJsonHeaders" URL="C+rest_SetJsonHeaders+of+stack+%27lib_REST%27"]; n219 [label="pageArray_SetSectionOffsets" URL="C+pageArray_SetSectionOffsets+of+stack+%27lib_PageSection%27"]; n130 [label="get_WikiPageJsonNotFound" URL="C+get_WikiPageJsonNotFound+of+stack+%27behavior_WikiRouter%27"]; n206 [label="get_WikiPageJson" URL="C+get_WikiPageJson+of+stack+%27behavior_WikiRouter%27"]; n161 [label="get_PluginCss" URL="C+get_PluginCss+of+stack+%27behavior_WikiRouter%27"]; n69 [label="pageArray_AddMarkdown" URL="C+pageArray_AddMarkdown+of+stack+%27model_PageArray%27"]; n200 [label="get_WikiClientJavascript" URL="C+get_WikiClientJavascript+of+stack+%27behavior_WikiRouter%27"]; n113 [label="get_PluginPageJson" URL="C+get_PluginPageJson+of+stack+%27behavior_WikiRouter%27"]; n102 [label="get_SiteMapJson" URL="C+get_SiteMapJson+of+stack+%27behavior_WikiRouter%27"]; n33 [label="get_Image" URL="C+get_Image+of+stack+%27behavior_WikiRouter%27"]; n85 [label="get_ListAssets" URL="C+get_ListAssets+of+stack+%27behavior_WikiRouter%27"]; n185 [label="wikiPage_ReplaceTranscriptSummary" URL="C+wikiPage_ReplaceTranscriptSummary+of+stack+%27lib_WikiTranslate%27"]; n62 [label="get_FlagClick" URL="C+get_FlagClick+of+stack+%27behavior_WikiRouter%27"]; n235 [label="get_CSS" URL="C+get_CSS+of+stack+%27behavior_WikiRouter%27"]; n189 [label="mediawiki_SetUserAgent" URL="C+mediawiki_SetUserAgent+of+stack+%27lib_MediaWiki%27"]; n159 [label="get_FromPlugineRouteData" URL="C+get_FromPlugineRouteData+of+stack+%27behavior_WikiRouter%27"]; n233 [label="get_Asset" URL="C+get_Asset+of+stack+%27behavior_WikiRouter%27"]; n107 [label="get_WikiLineUp" URL="C+get_WikiLineUp+of+stack+%27behavior_WikiRouter%27"]; n231 [label="undefined_Get" URL="C+undefined_Get+of+stack+%27behavior_WikiRouter%27"]; } subgraph "F" { node [fillcolor="GreenYellow", style="filled", color="Green4"]; n7 [label="json_ToArray" URL="F+json_ToArray+of+stack+%27lib_MediaWiki%27"]; n122 [label="fedwiki_ConstructOpenStreetMapLink" URL="F+fedwiki_ConstructOpenStreetMapLink+of+stack+%27lib_Fedwiki%27"]; n47 [label="model_GetDataFolder" URL="F+model_GetDataFolder+of+stack+%27model_LCW%27"]; n195 [label="whisper_DefaultAudioFile" URL="F+whisper_DefaultAudioFile+of+stack+%27lib_Whisper%27"]; n72 [label="wikiFolder_Client" URL="F+wikiFolder_Client+of+stack+%27model_WikiFiles%27"]; n149 [label="wikiFolder_ConstructFromFarm" URL="F+wikiFolder_ConstructFromFarm+of+stack+%27lib_WikiFolder%27"]; n20 [label="openAI_RestURL" URL="F+openAI_RestURL+of+stack+%27lib_Whisper%27"]; n81 [label="wikiPlugin_ConstructPagesFolder" URL="F+wikiPlugin_ConstructPagesFolder+of+stack+%27model_WikiPlugin%27"]; n108 [label="wikiClient_GetStaticHtml" URL="F+wikiClient_GetStaticHtml+of+stack+%27model_WikiClient%27"]; n65 [label="wikiFile_ConstructRecycled" URL="F+wikiFile_ConstructRecycled+of+stack+%27model_WikiFiles%27"]; n50 [label="pref_FetchData" URL="F+pref_FetchData+of+stack+%27lib_LCW%27"]; n106 [label="jsonArray_FromFile" URL="F+jsonArray_FromFile+of+stack+%27model_PageJson%27"]; n138 [label="wikiServer_GetPageArray" URL="F+wikiServer_GetPageArray+of+stack+%27model_WikiServer%27"]; n97 [label="wikipedia_ConstructApiStem" URL="F+wikipedia_ConstructApiStem+of+stack+%27lib_MediaWiki%27"]; n226 [label="wikiFolder_Pages" URL="F+wikiFolder_Pages+of+stack+%27model_WikiFiles%27"]; n125 [label="wikiPlugin_ConstructClientFolder" URL="F+wikiPlugin_ConstructClientFolder+of+stack+%27model_WikiPlugin%27"]; n238 [label="markdown_GetSection" URL="F+markdown_GetSection+of+stack+%27lib_Markdown%27"]; n151 [label="wikiFile_ConstructClient" URL="F+wikiFile_ConstructClient+of+stack+%27model_WikiFiles%27"]; n5 [label="sandbox_FetchArray" URL="F+sandbox_FetchArray+of+stack+%27lib_MediaWiki%27"]; n31 [label="wikiSiteIndex_GetJson" URL="F+wikiSiteIndex_GetJson+of+stack+%27model_WikiSiteMap%27"]; n168 [label="pageArray_Fetch" URL="F+pageArray_Fetch+of+stack+%27model_PageArray%27"]; n172 [label="wikiClient_GetFactoriesJson" URL="F+wikiClient_GetFactoriesJson+of+stack+%27model_WikiClient%27"]; n157 [label="wikiServer_ConstructDefaultPagePath" URL="F+wikiServer_ConstructDefaultPagePath+of+stack+%27model_WikiServer%27"]; n66 [label="wikiFolder_ConstructRecycled" URL="F+wikiFolder_ConstructRecycled+of+stack+%27model_WikiFiles%27"]; n114 [label="wikiPlugin_GetPageJson" URL="F+wikiPlugin_GetPageJson+of+stack+%27model_WikiPlugin%27"]; n191 [label="wikiServer_DefaultDataFolder" URL="F+wikiServer_DefaultDataFolder+of+stack+%27model_WikiServer%27"]; n68 [label="journalArray_Construct" URL="F+journalArray_Construct+of+stack+%27model_PageArray%27"]; n11 [label="project_GetFolder" URL="F+project_GetFolder+of+stack+%27lib_LCW%27"]; n140 [label="jsonrpc_Headers" URL="F+jsonrpc_Headers+of+stack+%27lib_REST%27"]; n29 [label="mediaWiki_ConstructSlug" URL="F+mediaWiki_ConstructSlug+of+stack+%27lib_WikiRestBase%27"]; n244 [label="wikiGarden_GetDomainData" URL="F+wikiGarden_GetDomainData+of+stack+%27lib_WikiGarden%27"]; n103 [label="wikiSiteMap_GetJson" URL="F+wikiSiteMap_GetJson+of+stack+%27model_WikiSiteMap%27"]; n34 [label="wikiFile_ConstructImageAsset" URL="F+wikiFile_ConstructImageAsset+of+stack+%27model_WikiFiles%27"]; n54 [label="wikiClient_ConstructFactoriesJson" URL="F+wikiClient_ConstructFactoriesJson+of+stack+%27model_WikiClient%27"]; n90 [label="wikiPlugin_GetData" URL="F+wikiPlugin_GetData+of+stack+%27model_WikiPlugin%27"]; n42 [label="platform_GetPrompt" URL="F+platform_GetPrompt+of+stack+%27lib_Whisper%27"]; n146 [label="wikiFile_ListRecycled" URL="F+wikiFile_ListRecycled+of+stack+%27model_WikiFiles%27"]; n198 [label="wikiServer_GetPageJson" URL="F+wikiServer_GetPageJson+of+stack+%27model_WikiServer%27"]; n118 [label="wikiFolder_ConstructStatus" URL="F+wikiFolder_ConstructStatus+of+stack+%27model_WikiFiles%27"]; n154 [label="mediawiki_FetchJSON" URL="F+mediawiki_FetchJSON+of+stack+%27lib_MediaWiki%27"]; n84 [label="nvm_GetBin" URL="F+nvm_GetBin+of+stack+%27model_WikiFiles%27"]; n135 [label="fedwiki_ConstructTitle" URL="F+fedwiki_ConstructTitle+of+stack+%27lib_Fedwiki%27"]; n196 [label="kwote" URL="F+kwote+of+stack+%27lib_Fedwiki%27"]; n71 [label="file_AddFolderToPaths" URL="F+file_AddFolderToPaths+of+stack+%27lib_Files%27"]; n176 [label="transcribe_FindOggFile" URL="F+transcribe_FindOggFile+of+stack+%27lib_Transcribe%27"]; n204 [label="transcribe_PageAssetFolder" URL="F+transcribe_PageAssetFolder+of+stack+%27lib_Transcribe%27"]; n82 [label="json_ToArray" URL="F+json_ToArray+of+stack+%27model_LCW%27"]; n53 [label="env_GetRepoFolder" URL="F+env_GetRepoFolder+of+stack+%27lib_LCW%27"]; n178 [label="transcribe_ConstructWavFile" URL="F+transcribe_ConstructWavFile+of+stack+%27lib_Transcribe%27"]; n101 [label="env_GetLcwFolder" URL="F+env_GetLcwFolder+of+stack+%27lib_LCW%27"]; n12 [label="openAI_FetchChatData" URL="F+openAI_FetchChatData+of+stack+%27lib_Whisper%27"]; n227 [label="pageArray_FromJson" URL="F+pageArray_FromJson+of+stack+%27model_PageArray%27"]; n144 [label="pref_GetValue" URL="F+pref_GetValue+of+stack+%27lib_LCW%27"]; n89 [label="wikiPlugin_GetJavascript" URL="F+wikiPlugin_GetJavascript+of+stack+%27model_WikiPlugin%27"]; n180 [label="folder_ListShort" URL="F+folder_ListShort+of+stack+%27lib_LCW%27"]; n136 [label="wikiDialogue_Get" URL="F+wikiDialogue_Get+of+stack+%27model_WikiDialogue%27"]; n152 [label="pageJson_GetRecycled" URL="F+pageJson_GetRecycled+of+stack+%27model_PageJson%27"]; n6 [label="sandbox_FetchJSON" URL="F+sandbox_FetchJSON+of+stack+%27lib_MediaWiki%27"]; n45 [label="pageArray_GetSectionText" URL="F+pageArray_GetSectionText+of+stack+%27lib_PageSection%27"]; n30 [label="mediawiki_FetchMarkdownTOC" URL="F+mediawiki_FetchMarkdownTOC+of+stack+%27lib_WikipediaSections%27"]; n22 [label="restbase_FetchSummaryArray" URL="F+restbase_FetchSummaryArray+of+stack+%27lib_WikiRestBase%27"]; n173 [label="restbase_FetchSummaryJSON" URL="F+restbase_FetchSummaryJSON+of+stack+%27lib_WikiRestBase%27"]; n194 [label="openAI_GetText" URL="F+openAI_GetText+of+stack+%27lib_Whisper%27"]; n87 [label="whisper_GetTranscript" URL="F+whisper_GetTranscript+of+stack+%27lib_Whisper%27"]; n158 [label="wikiServer_DefaultPagesFolder" URL="F+wikiServer_DefaultPagesFolder+of+stack+%27model_WikiServer%27"]; n67 [label="pageArray_Construct" URL="F+pageArray_Construct+of+stack+%27model_PageArray%27"]; n76 [label="wikiPage_MergeDialogue" URL="F+wikiPage_MergeDialogue+of+stack+%27model_WikiDialogue%27"]; n175 [label="wikiPage_ConstructTranscriptPageArray" URL="F+wikiPage_ConstructTranscriptPageArray+of+stack+%27lib_WikiTranslate%27"]; n115 [label="wikiFolder_ConstructImageAssets" URL="F+wikiFolder_ConstructImageAssets+of+stack+%27model_WikiFiles%27"]; n243 [label="transcribe_TextFile" URL="F+transcribe_TextFile+of+stack+%27lib_Transcribe%27"]; n39 [label="array_FromFile" URL="F+array_FromFile+of+stack+%27model_LCW%27"]; n51 [label="pageArray_GetSection" URL="F+pageArray_GetSection+of+stack+%27lib_PageSection%27"]; n95 [label="sandbox_ConstructPageQueryFragment" URL="F+sandbox_ConstructPageQueryFragment+of+stack+%27lib_WikiSandbox%27"]; n143 [label="pref_FetchValue" URL="F+pref_FetchValue+of+stack+%27lib_LCW%27"]; n10 [label="module_GetFolder" URL="F+module_GetFolder+of+stack+%27lib_LCW%27"]; n187 [label="transcribe_ConstructSummaryStoryArray" URL="F+transcribe_ConstructSummaryStoryArray+of+stack+%27lib_Transcribe%27"]; n57 [label="wikiPlugin_List" URL="F+wikiPlugin_List+of+stack+%27model_WikiPlugin%27"]; n222 [label="ecoData_Get" URL="F+ecoData_Get+of+stack+%27model_WikiGarden%27"]; n43 [label="pageArray_GetFirstCode" URL="F+pageArray_GetFirstCode+of+stack+%27lib_PageSection%27"]; n199 [label="pageArray_GetDialogue" URL="F+pageArray_GetDialogue+of+stack+%27model_WikiDialogue%27"]; n119 [label="wikiFile_ConstructSiteMap" URL="F+wikiFile_ConstructSiteMap+of+stack+%27model_WikiFiles%27"]; n155 [label="http_ConstructHeaderArray" URL="F+http_ConstructHeaderArray+of+stack+%27lib_WikiRestBase%27"]; n1 [label="transcribe_WavURL" URL="F+transcribe_WavURL+of+stack+%27lib_Transcribe%27"]; n120 [label="itemArray_Construct" URL="F+itemArray_Construct+of+stack+%27lib_ItemArray%27"]; n19 [label="jsonrpc_POST" URL="F+jsonrpc_POST+of+stack+%27lib_REST%27"]; n132 [label="daemon_ReceivedHeader" URL="F+daemon_ReceivedHeader+of+Missing"]; n21 [label="mw_SummaryPageArray" URL="F+mw_SummaryPageArray+of+stack+%27lib_FedWikiPedia%27"]; n49 [label="pref_FetchArray" URL="F+pref_FetchArray+of+stack+%27lib_LCW%27"]; n148 [label="wikiFile_Favicon" URL="F+wikiFile_Favicon+of+stack+%27model_WikiFiles%27"]; n70 [label="file_ListLong" URL="F+file_ListLong+of+stack+%27lib_Files%27"]; n83 [label="node_GetModulesFolder" URL="F+node_GetModulesFolder+of+stack+%27model_WikiFiles%27"]; n166 [label="pageArray_GetTemplate" URL="F+pageArray_GetTemplate+of+stack+%27model_WikiDialogue%27"]; n17 [label="json_FromArray" URL="F+json_FromArray+of+stack+%27lib_REST%27"]; n215 [label="pageJson_ConstructUrl" URL="F+pageJson_ConstructUrl+of+stack+%27model_PageJson%27"]; n8 [label="whisper_AssetFolder" URL="F+whisper_AssetFolder+of+stack+%27lib_Whisper%27"]; n129 [label="pref_File" URL="F+pref_File+of+stack+%27lib_LCW%27"]; n179 [label="transcribe_ConstructPageAssetFolder" URL="F+transcribe_ConstructPageAssetFolder+of+stack+%27lib_Transcribe%27"]; n40 [label="pageArray_FindTitle" URL="F+pageArray_FindTitle+of+stack+%27lib_PageArray%27"]; n79 [label="wikiDialogue_CurlyData" URL="F+wikiDialogue_CurlyData+of+stack+%27model_WikiDialogue%27"]; n220 [label="env_ConstructProjectFolder" URL="F+env_ConstructProjectFolder+of+stack+%27lib_LCW%27"]; n123 [label="fedwiki_ConstructOpenStreetMapURL" URL="F+fedwiki_ConstructOpenStreetMapURL+of+stack+%27lib_Fedwiki%27"]; n183 [label="transcribe_FindAudioUrl" URL="F+transcribe_FindAudioUrl+of+stack+%27lib_Transcribe%27"]; n153 [label="restbase_FetchSlugJSON" URL="F+restbase_FetchSlugJSON+of+stack+%27lib_WikiRestBase%27"]; n46 [label="model_GetDataFile" URL="F+model_GetDataFile+of+stack+%27model_LCW%27"]; n73 [label="wikiFolder_ConstructClient" URL="F+wikiFolder_ConstructClient+of+stack+%27model_WikiFiles%27"]; n23 [label="mediawiki_FetchSummaryDescription" URL="F+mediawiki_FetchSummaryDescription+of+stack+%27lib_MediaWiki%27"]; n80 [label="wikiPlugin_ConstructPagesFile" URL="F+wikiPlugin_ConstructPagesFile+of+stack+%27model_WikiPlugin%27"]; n64 [label="wikiFolder_ConstructAssets" URL="F+wikiFolder_ConstructAssets+of+stack+%27model_WikiFiles%27"]; n75 [label="secret_Get" URL="F+secret_Get+of+stack+%27lib_DigitalOcean%27"]; n116 [label="wikiFolder_FromRouter" URL="F+wikiFolder_FromRouter+of+stack+%27lib_WikiFolder%27"]; n193 [label="transcribe_GetWavText" URL="F+transcribe_GetWavText+of+stack+%27lib_Transcribe%27"]; n94 [label="wikiFile_Construct" URL="F+wikiFile_Construct+of+stack+%27model_WikiFiles%27"]; n201 [label="_GetClientData" URL="F+_GetClientData+of+stack+%27behavior_WikiRouter%27"]; n225 [label="wikiFolder_Modules" URL="F+wikiFolder_Modules+of+stack+%27model_WikiFiles%27"]; n126 [label="wikiPlugin_ConstructFolder" URL="F+wikiPlugin_ConstructFolder+of+stack+%27model_WikiPlugin%27"]; n239 [label="rigFetchConfigItem" URL="F+rigFetchConfigItem+of+Missing"]; n150 [label="ecoData_GetFarmFolder" URL="F+ecoData_GetFarmFolder+of+stack+%27model_WikiGarden%27"]; n4 [label="json_ToArray" URL="F+json_ToArray+of+stack+%27lib_REST%27"]; n32 [label="wikiFile_ConstructSiteIndex" URL="F+wikiFile_ConstructSiteIndex+of+stack+%27model_WikiFiles%27"]; n56 [label="node_WikiModulesFolder" URL="F+node_WikiModulesFolder+of+stack+%27model_WikiFiles%27"]; n169 [label="fedwiki_ConstructSlug" URL="F+fedwiki_ConstructSlug+of+stack+%27lib_Fedwiki%27"]; n92 [label="pageJson_Get" URL="F+pageJson_Get+of+stack+%27model_PageJson%27"]; n24 [label="mediawiki_ConstructSummaryPageArray" URL="F+mediawiki_ConstructSummaryPageArray+of+stack+%27lib_WikiPageArray%27"]; n44 [label="pageArray_Get" URL="F+pageArray_Get+of+stack+%27model_PageArray%27"]; n223 [label="wikiFile_ConstructFavicon" URL="F+wikiFile_ConstructFavicon+of+stack+%27model_WikiFiles%27"]; n156 [label="restbase_ConstructSlugRestURL" URL="F+restbase_ConstructSlugRestURL+of+stack+%27lib_WikiRestBase%27"]; n2 [label="transcribe_ShortAudioFile" URL="F+transcribe_ShortAudioFile+of+stack+%27lib_Transcribe%27"]; n59 [label="wikiPlugin_ConstructFile" URL="F+wikiPlugin_ConstructFile+of+stack+%27model_WikiPlugin%27"]; n61 [label="folder_AddShort" URL="F+folder_AddShort+of+stack+%27lib_LCW%27"]; n208 [label="fedwikipedia_ConstructPageTocArray" URL="F+fedwikipedia_ConstructPageTocArray+of+stack+%27lib_FedWikiPedia%27"]; n86 [label="wikiFile_ListAssets" URL="F+wikiFile_ListAssets+of+stack+%27model_WikiFiles%27"]; n98 [label="wikiFarm_GetDefaultFolder" URL="F+wikiFarm_GetDefaultFolder+of+stack+%27lib_WikiFarm%27"]; n18 [label="openAI_GetApiKey" URL="F+openAI_GetApiKey+of+stack+%27lib_Whisper%27"]; n133 [label="wikiPage_Transcript" URL="F+wikiPage_Transcript+of+stack+%27lib_WikiTranslate%27"]; n190 [label="transcribe_ConstructAudioFile" URL="F+transcribe_ConstructAudioFile+of+stack+%27lib_Transcribe%27"]; n174 [label="wikiPage_TranscriptStub" URL="F+wikiPage_TranscriptStub+of+stack+%27lib_WikiTranslate%27"]; n165 [label="file_ListShort" URL="F+file_ListShort+of+stack+%27lib_Files%27"]; n214 [label="pageJson_Fetch" URL="F+pageJson_Fetch+of+stack+%27model_PageJson%27"]; n16 [label="wikiFile_ConstructAsset" URL="F+wikiFile_ConstructAsset+of+stack+%27model_WikiFiles%27"]; n9 [label="asset_GetFolder" URL="F+asset_GetFolder+of+stack+%27model_Assets%27"]; n100 [label="wikiGarden_GetModel" URL="F+wikiGarden_GetModel+of+stack+%27model_WikiGarden%27"]; n128 [label="array_Get" URL="F+array_Get+of+stack+%27model_LCW%27"]; n55 [label="text_Get" URL="F+text_Get+of+stack+%27model_ScriptExport%27"]; n184 [label="pageArray_FindItemOfType" URL="F+pageArray_FindItemOfType+of+stack+%27lib_PageArray%27"]; n91 [label="wikiPlugin_GetJsMap" URL="F+wikiPlugin_GetJsMap+of+stack+%27model_WikiPlugin%27"]; n41 [label="pageArray_FindItemType" URL="F+pageArray_FindItemType+of+stack+%27lib_PageArray%27"]; n147 [label="wikiServer_GetFavicon" URL="F+wikiServer_GetFavicon+of+stack+%27lib_WikiServer%27"]; } subgraph cluster1 { label="Missing"; style=filled; color=red; fillcolor=orange; n188; n36; n104; n60; n132; n35; n137; n217; n239; n202; n111; n247 } subgraph cluster2 { label="stack \"behavior_WikiRouter\""; style=filled; color=grey60; fillcolor=grey60; n182; n63; n234; n171; n160; n228; n232; n216; n145; n181; n58; n162; n105; n230; n203; n112; n117; n229; n130; n206; n161; n200; n224; n113; n102; n33; n85; n62; n235; n159; n233; n107; n201; n231 } subgraph cluster3 { label="stack \"lib_Curly\""; style=filled; color=grey60; fillcolor=grey60; n77; n245 } subgraph cluster4 { label="stack \"lib_DigitalOcean\""; style=filled; color=grey60; fillcolor=grey60; n75 } subgraph cluster5 { label="stack \"lib_Encoding\""; style=filled; color=grey60; fillcolor=grey60; n205 } subgraph cluster6 { label="stack \"lib_Fedwiki\""; style=filled; color=grey60; fillcolor=grey60; n122; n135; n196; n123; n169 } subgraph cluster7 { label="stack \"lib_FedWikiPedia\""; style=filled; color=grey60; fillcolor=grey60; n207; n21; n208 } subgraph cluster8 { label="stack \"lib_Ffmpeg\""; style=filled; color=grey60; fillcolor=grey60; n177 } subgraph cluster9 { label="stack \"lib_Files\""; style=filled; color=grey60; fillcolor=grey60; n71; n99; n70; n165 } subgraph cluster10 { label="stack \"lib_ItemArray\""; style=filled; color=grey60; fillcolor=grey60; n121; n124; n120 } subgraph cluster11 { label="stack \"lib_LCW\""; style=filled; color=grey60; fillcolor=grey60; n218; n50; n164; n11; n127; n221; n53; n101; n144; n180; n143; n10; n49; n129; n52; n220; n61 } subgraph cluster12 { label="stack \"lib_Map\""; style=filled; color=grey60; fillcolor=grey60; n142 } subgraph cluster13 { label="stack \"lib_Markdown\""; style=filled; color=grey60; fillcolor=grey60; n238 } subgraph cluster14 { label="stack \"lib_MediaWiki\""; style=filled; color=grey60; fillcolor=grey60; n7; n97; n5; n154; n6; n23; n189 } subgraph cluster15 { label="stack \"lib_PageArray\""; style=filled; color=grey60; fillcolor=grey60; n167; n246; n40; n170; n184; n41; n78 } subgraph cluster16 { label="stack \"lib_PageSection\""; style=filled; color=grey60; fillcolor=grey60; n45; n219; n51; n43; n186 } subgraph cluster17 { label="stack \"lib_REST\""; style=filled; color=grey60; fillcolor=grey60; n140; n139; n19; n17; n4 } subgraph cluster18 { label="stack \"lib_StoryArray\""; style=filled; color=grey60; fillcolor=grey60; n237; n236 } subgraph cluster19 { label="stack \"lib_Transcribe\""; style=filled; color=grey60; fillcolor=grey60; n15; n176; n204; n178; n243; n187; n1; n179; n183; n193; n2; n190 } subgraph cluster20 { label="stack \"lib_Whisper\""; style=filled; color=grey60; fillcolor=grey60; n195; n20; n88; n42; n14; n12; n194; n87; n197; n8; n13; n18 } subgraph cluster21 { label="stack \"lib_WikiCommons\""; style=filled; color=grey60; fillcolor=grey60; n240 } subgraph cluster22 { label="stack \"lib_WikiFarm\""; style=filled; color=grey60; fillcolor=grey60; n98 } subgraph cluster23 { label="stack \"lib_WikiFolder\""; style=filled; color=grey60; fillcolor=grey60; n149; n116 } subgraph cluster24 { label="stack \"lib_WikiGarden\""; style=filled; color=grey60; fillcolor=grey60; n244 } subgraph cluster25 { label="stack \"lib_WikiPage\""; style=filled; color=grey60; fillcolor=grey60; n109 } subgraph cluster26 { label="stack \"lib_WikiPageArray\""; style=filled; color=grey60; fillcolor=grey60; n134; n211; n24; n141 } subgraph cluster27 { label="stack \"lib_WikipediaSections\""; style=filled; color=grey60; fillcolor=grey60; n209; n30 } subgraph cluster28 { label="stack \"lib_WikiRender\""; style=filled; color=grey60; fillcolor=grey60; n110 } subgraph cluster29 { label="stack \"lib_WikiRestBase\""; style=filled; color=grey60; fillcolor=grey60; n29; n22; n173; n155; n153; n156 } subgraph cluster30 { label="stack \"lib_WikiSandbox\""; style=filled; color=grey60; fillcolor=grey60; n95; n96 } subgraph cluster31 { label="stack \"lib_WikiServer\""; style=filled; color=grey60; fillcolor=grey60; n210; n147 } subgraph cluster32 { label="stack \"lib_WikiText\""; style=filled; color=grey60; fillcolor=grey60; n241 } subgraph cluster33 { label="stack \"lib_WikiTranslate\""; style=filled; color=grey60; fillcolor=grey60; n175; n185; n133; n174 } subgraph cluster34 { label="stack \"lib_WikiVideo\""; style=filled; color=grey60; fillcolor=grey60; n212 } subgraph cluster35 { label="stack \"model_Assets\""; style=filled; color=grey60; fillcolor=grey60; n9 } subgraph cluster36 { label="stack \"model_AtopiaFiles\""; style=filled; color=grey60; fillcolor=grey60; n74 } subgraph cluster37 { label="stack \"model_LCW\""; style=filled; color=grey60; fillcolor=grey60; n47; n48; n82; n39; n46; n128 } subgraph cluster38 { label="stack \"model_Library\""; style=filled; color=grey60; fillcolor=grey60; n37; n38 } subgraph cluster39 { label="stack \"model_PageArray\""; style=filled; color=grey60; fillcolor=grey60; n168; n25; n242; n68; n213; n26; n227; n67; n192; n69; n27; n131; n44; n28 } subgraph cluster40 { label="stack \"model_PageJson\""; style=filled; color=grey60; fillcolor=grey60; n106; n3; n152; n93; n215; n92; n163; n214 } subgraph cluster41 { label="stack \"model_ScriptExport\""; style=filled; color=grey60; fillcolor=grey60; n55 } subgraph cluster42 { label="stack \"model_WikiClient\""; style=filled; color=grey60; fillcolor=grey60; n108; n172; n54 } subgraph cluster43 { label="stack \"model_WikiDialogue\""; style=filled; color=grey60; fillcolor=grey60; n136; n76; n199; n166; n79 } subgraph cluster44 { label="stack \"model_WikiFiles\""; style=filled; color=grey60; fillcolor=grey60; n72; n65; n226; n151; n66; n34; n146; n118; n84; n115; n119; n148; n83; n73; n64; n94; n225; n32; n56; n223; n86; n16 } subgraph cluster45 { label="stack \"model_WikiGarden\""; style=filled; color=grey60; fillcolor=grey60; n222; n150; n100 } subgraph cluster46 { label="stack \"model_WikiPlugin\""; style=filled; color=grey60; fillcolor=grey60; n81; n125; n114; n90; n89; n57; n80; n126; n59; n91 } subgraph cluster47 { label="stack \"model_WikiServer\""; style=filled; color=grey60; fillcolor=grey60; n138; n157; n191; n198; n158 } subgraph cluster48 { label="stack \"model_WikiSiteMap\""; style=filled; color=grey60; fillcolor=grey60; n31; n103 } n152 -> n93; n152 -> n65; n141 -> n122; n141 -> n142; n22 -> n173; n22 -> n4; n191 -> n56; n49 -> n50; n100 -> n37; n133 -> n27; n133 -> n194; n133 -> n192; n133 -> n174; n133 -> n193; n133 -> n185; n65 -> n66; n15 -> n16; n160 -> n35; n160 -> n60; n160 -> n125; n226 -> n116; n39 -> n82; n181 -> n171; n181 -> n60; n52 -> n53; n214 -> n215; n19 -> n139; n145 -> n135; n145 -> n146; n175 -> n246; n175 -> n1; n175 -> n44; n175 -> n245; n175 -> n135; n31 -> n32; n149 -> n150; n149 -> n98; n203 -> n172; n203 -> n60; n234 -> n152; n234 -> n60; n234 -> n35; n7 -> n7; n75 -> n239; n108 -> n72; n108 -> n55; n136 -> n199; n136 -> n76; n79 -> n134; n79 -> n135; n185 -> n186; n185 -> n187; n120 -> n121; n92 -> n94; n92 -> n93; n11 -> n52; n11 -> n220; n11 -> n221; n21 -> n26; n21 -> n27; n21 -> n24; n21 -> n25; n21 -> n22; n21 -> n23; n21 -> n28; n21 -> n29; n21 -> n30; n168 -> n227; n168 -> n214; n171 -> n17; n171 -> n145; n198 -> n55; n198 -> n157; n40 -> n41; n119 -> n118; n56 -> n83; n115 -> n116; n71 -> n74; n87 -> n88; n151 -> n72; n221 -> n127; n179 -> n16; n179 -> n74; n190 -> n2; n190 -> n204; n3 -> n4; n64 -> n116; n125 -> n126; n159 -> n161; n159 -> n113; n159 -> n58; n159 -> n162; n159 -> n33; n159 -> n160; n146 -> n165; n146 -> n66; n225 -> n83; n194 -> n210; n194 -> n12; n194 -> n42; n44 -> n94; n44 -> n106; n105 -> n35; n105 -> n60; n105 -> n31; n53 -> n101; n83 -> n84; n12 -> n13; n12 -> n14; n229 -> n217; n229 -> n151; n229 -> n35; n32 -> n118; n235 -> n201; n235 -> n188; n76 -> n78; n76 -> n79; n76 -> n77; n154 -> n189; n16 -> n64; n206 -> n60; n206 -> n92; n206 -> n130; n101 -> n143; n101 -> n144; n118 -> n116; n57 -> n180; n57 -> n56; n211 -> n213; n211 -> n212; n182 -> n35; n72 -> n73; n72 -> n74; n114 -> n80; n150 -> n222; n150 -> n99; n24 -> n27; n24 -> n211; n24 -> n141; n24 -> n240; n24 -> n241; n24 -> n242; n24 -> n67; n161 -> n35; n161 -> n188; n161 -> n125; n178 -> n190; n231 -> n35; n47 -> n61; n139 -> n140; n219 -> n40; n67 -> n69; n67 -> n68; n126 -> n56; n158 -> n191; n147 -> n148; n174 -> n67; n174 -> n177; n174 -> n175; n174 -> n87; n174 -> n178; n174 -> n176; n187 -> n236; n187 -> n237; n187 -> n238; n6 -> n154; n50 -> n128; n50 -> n129; n82 -> n82; n63 -> n110; n63 -> n108; n63 -> n224; n63 -> n169; n63 -> n111; n63 -> n109; n143 -> n49; n33 -> n36; n33 -> n35; n33 -> n34; n228 -> n216; n228 -> n232; n228 -> n233; n228 -> n229; n228 -> n159; n228 -> n230; n228 -> n231; n228 -> n132; n228 -> n234; n228 -> n162; n228 -> n235; n228 -> n200; n228 -> n203; n228 -> n182; n228 -> n63; n228 -> n62; n228 -> n181; n228 -> n117; n228 -> n206; n228 -> n85; n228 -> n102; n228 -> n33; n228 -> n107; n228 -> n105; n193 -> n243; n102 -> n103; n102 -> n104; n117 -> n91; n117 -> n60; n122 -> n123; n86 -> n70; n86 -> n64; n86 -> n165; n86 -> n74; n90 -> n59; n17 -> n17; n166 -> n169; n166 -> n167; n166 -> n168; n166 -> n170; n220 -> n61; n220 -> n53; n232 -> n58; n232 -> n217; n232 -> n35; n232 -> n59; n232 -> n188; n232 -> n89; n232 -> n202; n232 -> n231; n37 -> n38; n37 -> n39; n173 -> n153; n9 -> n218; n9 -> n74; n106 -> n3; n106 -> n163; n130 -> n60; n130 -> n137; n130 -> n134; n130 -> n94; n130 -> n17; n130 -> n135; n130 -> n131; n130 -> n132; n130 -> n67; n130 -> n133; n130 -> n138; n130 -> n21; n130 -> n35; n130 -> n136; n54 -> n17; n54 -> n57; n54 -> n4; n54 -> n55; n54 -> n56; n58 -> n59; n58 -> n35; n58 -> n60; n183 -> n184; n183 -> n135; n183 -> n44; n73 -> n225; n98 -> n100; n98 -> n99; n94 -> n226; n162 -> n35; n162 -> n202; n162 -> n125; n201 -> n151; n46 -> n47; n46 -> n48; n1 -> n2; n138 -> n198; n138 -> n4; n113 -> n60; n113 -> n114; n66 -> n116; n216 -> n217; n216 -> n147; n89 -> n90; n157 -> n158; n13 -> n17; n13 -> n18; n13 -> n4; n13 -> n20; n13 -> n19; n148 -> n223; n42 -> n44; n42 -> n45; n42 -> n43; n5 -> n7; n5 -> n6; n81 -> n126; n62 -> n63; n153 -> n154; n153 -> n153; n153 -> n155; n153 -> n156; n223 -> n118; n23 -> n95; n23 -> n96; n23 -> n5; n23 -> n97; n204 -> n179; n204 -> n218; n34 -> n115; n103 -> n119; n85 -> n17; n85 -> n86; n85 -> n60; n91 -> n90; n227 -> n4; n172 -> n54; n38 -> n46; n38 -> n164; n233 -> n16; n233 -> n35; n233 -> n247; n8 -> n10; n8 -> n11; n8 -> n9; n107 -> n110; n107 -> n108; n107 -> n111; n107 -> n112; n107 -> n109; n59 -> n126; n243 -> n178; n18 -> n75; n95 -> n205; n163 -> n93; n30 -> n208; n30 -> n207; n30 -> n209; n200 -> n201; n200 -> n202; n45 -> n51; n51 -> n219; n61 -> n127; n88 -> n196; n88 -> n8; n88 -> n197; n88 -> n195; n10 -> n61; n176 -> n15; n176 -> n183; n199 -> n78; n199 -> n135; n199 -> n166; n4 -> n4; n69 -> n120; n69 -> n124; n116 -> n244; n116 -> n149; n80 -> n81; n70 -> n71; }
command route_GET someRoute, socketID, requestArray put daemon_ReceivedHeader ("Host", requestArray) into wikiDomain -- put PluginRouteData [someRoute] into routeArray -- switch case routeArray is an array get_FromPlugineRouteData routeArray, socketID, wikiDomain, requestArray return the result case someRoute = "/plugins/activity.js" -- investigate why this route is popping up put PluginRouteData ["/plugins/activity/activity.js"] into routeArray put routeArray ["pluginName"] into pluginName put routeArray ["relPath"] into shortJavascriptFile get_PluginJavascript pluginName, shortJavascriptFile, socketID return the result case someRoute = "/plugins/search.js" -- why is this different? breakpoint put PluginRouteData ["/plugins/search/search.js"] into routeArray put routeArray ["pluginName"] into pluginName put routeArray ["relPath"] into shortJavascriptFile get_PluginJavascript pluginName, shortJavascriptFile, socketID return the result case someRoute = "/plugins/search.js.map" -- why is this different? breakpoint return the result case someRoute = "/plugins/image/import.svg" breakpoint return the result case someRoute begins with "/plugins/" -- breakpoint -- should have been trapped by PluginRouteData route_Plugin someRoute, socketID, requestArray return the result case matchText (someRoute, "/assets/plugins/image/(.+)" , shortImageFile) get_Image shortImageFile, wikiDomain, socketID, requestArray break case someRoute = "/plugin/assets/list" get_ListAssets wikiDomain, requestArray, socketID return the result case matchText (someRoute, "/assets/(.+)" , encodedPath) put URLDecode (encodedPath) into assetPath get_Asset assetPath, wikiDomain, socketID, requestArray return the result case someRoute = "/system/sitemap.json" get_SiteMapJson wikiDomain, socketID return the result case someRoute = "/system/site-index.json" get_SiteIndexJson wikiDomain, socketID return the result case matchText (someRoute, "/recycler/([^/]+)\.json", pageSLug) -- /recycler/livecode-sites.json get_RecycledPageJson pageSLug, wikiDomain, socketID return the result case someRoute = "/recycler/system/slugs.json" get_RecycledSlugsJson wikiDomain, socketID return the result case someRoute = "/view/welcome-visitors/view/changes.js.map" get_WikiClientJsMap someRoute, socketID return the result case someRoute = "/security/security.js" get_SecurityJS socketID, someRoute, requestArray return the result case someRoute = "/system/factories.json" get_FactoriesJson socketID return the result case someRoute = "/favicon.ico" case someRoute = "/favicon.png" get_LocalFavicon wikiDomain, socketID return the result case someRoute begins with "/images/" get_ClientPNG someRoute, socketID -- "/images/crosses.png" return the result case someRoute = "/js/jquery-ui/1.13.2/jquery-ui.min.css" case someRoute begins with "/theme/" -- "/theme/style.css" case someRoute begins with "/style/" -- "/style/print.css" -- "/style/style.css" get_CSS someRoute, socketID return the result case someRoute = "/client.js" case someRoute = "/client.max.js" case someRoute = "/client.map" case someRoute begins with "/js/" get_WikiClientJavascript someRoute, socketID return the result case matchText (someRoute, "/(.+).json" , pageSLug) get_WikiPageJson someRoute, socketID, requestArray, pageSLug, wikiDomain return the result case someRoute = "/" get_WikiDomain someRoute, socketID, requestArray return the result case someRoute = "/view/welcome-visitors" -- case matchText (someRoute, "/view/welcome-visitors/view/(.+)" , pageSLug) -- http://server.livecode.world/view/welcome-visitors get_FlagClick someRoute, socketID, requestArray return the result default if _LinupTest (someRoute) is true then get_WikiLineUp someRoute, socketID, requestArray return the result else -- /plugin/assets/list undefined_Get socketID, someRoute, requestArray return the result end if end switch end route_GET
# Calls - get_Image - get_LocalFavicon - get_RecycledPageJson - get_WikiLineUp - get_FromPlugineRouteData - get_CSS - get_Asset - get_SiteMapJson - get_FlagClick - get_RecycledSlugsJson - route_Plugin - get_ListAssets - get_WikiClientJavascript - get_FactoriesJson - get_SiteIndexJson - get_SecurityJS - get_PluginJavascript - get_ClientPNG - get_WikiPageJson - get_WikiClientJsMap - daemon_ReceivedHeader - get_WikiDomain - undefined_Get
digraph "overlayArray_ConstructDot" { graph [ clusterrank="true" ]; subgraph "PF" { node []; n14 [label="_ConstructMarkDownLink" URL="PF+_ConstructMarkDownLink+of+stack+%27lib_OneTab%27"]; n25 [label="_ConstructImageHtml" URL="PF+_ConstructImageHtml+of+stack+%27lib_WikiText%27"]; n16 [label="_GetJson" URL="PF+_GetJson+of+stack+%27model_PageJson%27"]; n73 [label="_ConstructModelDataFile" URL="PF+_ConstructModelDataFile+of+stack+%27model_LCW%27"]; n88 [label="_GetTldBit" URL="PF+_GetTldBit+of+stack+%27lib_OneTab%27"]; n15 [label="_GetJsonArray" URL="PF+_GetJsonArray+of+stack+%27model_PageJson%27"]; n93 [label="_ConstructItemHtml" URL="PF+_ConstructItemHtml+of+stack+%27lib_OneTab%27"]; n23 [label="_GetMergJsonArray" URL="PF+_GetMergJsonArray+of+stack+%27model_PageJson%27"]; } subgraph "PC" { node []; n48 [label="_ParseOneTabHtml" URL="PC+_ParseOneTabHtml+of+stack+%27lib_OneTab%27"]; n44 [label="_AddHtmlParagraphs" URL="PC+_AddHtmlParagraphs+of+stack+%27lib_OneTab%27"]; n45 [label="_ConstructOneTabPageArray" URL="PC+_ConstructOneTabPageArray+of+stack+%27lib_OneTab%27"]; n98 [label="_DeconstructGoogleImageUrl" URL="PC+_DeconstructGoogleImageUrl+of+stack+%27lib_OneTab%27"]; n46 [label="_AddPretty" URL="PC+_AddPretty+of+stack+%27lib_OneTab%27"]; n47 [label="_AddMarkdownSection" URL="PC+_AddMarkdownSection+of+stack+%27lib_OneTab%27"]; n50 [label="_AddHtmlSection" URL="PC+_AddHtmlSection+of+stack+%27lib_OneTab%27"]; } subgraph "M" { node [fillcolor="Orange", style="filled", color="Red"]; n33 [label="itemArray_Add" URL="M+itemArray_Add+of+stack+%27lib_ItemArray%27"]; n63 [label="file_AddHome" URL="M+file_AddHome+of+stack+%27lib_Files%27"]; n10 [label="pageArray_CleanJournal" URL="M+pageArray_CleanJournal+of+stack+%27lib_PageArray%27"]; n69 [label="pageArray_Set" URL="M+pageArray_Set+of+stack+%27model_PageArray%27"]; n37 [label="undefined_Get" URL="M+undefined_Get+of+Missing"]; n86 [label="pageArray_Rename" URL="M+pageArray_Rename+of+stack+%27lib_PageArray%27"]; n18 [label="wikiPage_AddTransporters" URL="M+wikiPage_AddTransporters+of+stack+%27lib_WikiPage%27"]; n91 [label="fedwiki_PostJSON" URL="M+fedwiki_PostJSON+of+stack+%27lib_Fedwiki%27"]; n70 [label="get_WikiLineUp" URL="M+get_WikiLineUp+of+Missing"]; n58 [label="curly_MergePageArray" URL="M+curly_MergePageArray+of+stack+%27lib_Curly%27"]; n49 [label="pageArray_StripJournal" URL="M+pageArray_StripJournal+of+stack+%27model_PageArray%27"]; n36 [label="wikiSiteMap_Create" URL="M+wikiSiteMap_Create+of+stack+%27model_WikiSiteMap%27"]; n80 [label="mediawiki_NormaliseTitle" URL="M+mediawiki_NormaliseTitle+of+stack+%27lib_WikiPageArray%27"]; n95 [label="pageArray_AddTransport" URL="M+pageArray_AddTransport+of+stack+%27model_PageArray%27"]; n90 [label="pageArray_AddHtml" URL="M+pageArray_AddHtml+of+stack+%27model_PageArray%27"]; n41 [label="lcw_Notify" URL="M+lcw_Notify+of+stack+%27lib_LCW%27"]; n6 [label="pageArray_AddMarkdown" URL="M+pageArray_AddMarkdown+of+stack+%27model_PageArray%27"]; n7 [label="pageArray_AddButton" URL="M+pageArray_AddButton+of+stack+%27model_PageArray%27"]; n39 [label="text_Set" URL="M+text_Set+of+stack+%27model_ScriptExport%27"]; n35 [label="get_WikiDomain" URL="M+get_WikiDomain+of+Missing"]; n84 [label="html_TopAndTailParagraphTags" URL="M+html_TopAndTailParagraphTags+of+stack+%27lib_Fedwiki%27"]; n94 [label="pageArray_AddStory" URL="M+pageArray_AddStory+of+stack+%27lib_StoryArray%27"]; n85 [label="pageArray_CleanFork" URL="M+pageArray_CleanFork+of+stack+%27lib_PageArray%27"]; n19 [label="wikiPage_AddCreateButtons" URL="M+wikiPage_AddCreateButtons+of+stack+%27lib_WikiPage%27"]; } subgraph "B" { node []; n52 [label="route_GET" URL="B+route_GET+of+stack+%27behavior_DaemonMiddleware%27"]; } subgraph "G" { node [fillcolor="grey50", style="filled", color="white"]; n54 [label="model_Array" URL="G+model_Array+of+stack+%27model_Library%27"]; n96 [label="stack_Folder" URL="G+stack_Folder+of+stack+%27lib_LCW%27"]; n55 [label="model_DataFile" URL="G+model_DataFile+of+stack+%27model_Library%27"]; } subgraph "C" { node [fillcolor="LightBlue", style="filled", color="Blue"]; n53 [label="get_WikiServerToolPage" URL="C+get_WikiServerToolPage+of+stack+%27behavior_DaemonMiddleware%27"]; n83 [label="text_AddTrailing" URL="C+text_AddTrailing+of+stack+%27lib_LCW%27"]; n13 [label="transport_Webpage" URL="C+transport_Webpage+of+stack+%27lib_OneTab%27"]; n2 [label="wikiPage_AddTransporters" URL="C+wikiPage_AddTransporters+of+stack+%27lib_WikiPage%27"]; n31 [label="pageArray_AddMarkdown" URL="C+pageArray_AddMarkdown+of+stack+%27model_PageArray%27"]; n100 [label="itemArray_NormalizeID" URL="C+itemArray_NormalizeID+of+stack+%27lib_ItemArray%27"]; n78 [label="get_CreatePage" URL="C+get_CreatePage+of+stack+%27behavior_DaemonMiddleware%27"]; n3 [label="wikiPage_AddCreateButtons" URL="C+wikiPage_AddCreateButtons+of+stack+%27lib_WikiPage%27"]; n34 [label="get_LcwBookmarklet" URL="C+get_LcwBookmarklet+of+stack+%27behavior_DaemonMiddleware%27"]; n68 [label="get_EditPage" URL="C+get_EditPage+of+stack+%27behavior_DaemonMiddleware%27"]; n89 [label="html_Tidy" URL="C+html_Tidy+of+stack+%27lib_OneTab%27"]; } subgraph "F" { node [fillcolor="GreenYellow", style="filled", color="Green4"]; n60 [label="fedwiki_ExternalLink" URL="F+fedwiki_ExternalLink+of+stack+%27lib_WikiText%27"]; n82 [label="folder_AddShort" URL="F+folder_AddShort+of+stack+%27lib_LCW%27"]; n97 [label="ecoData_Get" URL="F+ecoData_Get+of+stack+%27model_WikiGarden%27"]; n64 [label="wikiGarden_GetModel" URL="F+wikiGarden_GetModel+of+stack+%27model_WikiGarden%27"]; n8 [label="json_FromArray" URL="F+json_FromArray+of+stack+%27lib_REST%27"]; n92 [label="transport_ParseURL" URL="F+transport_ParseURL+of+stack+%27lib_OneTab%27"]; n43 [label="oneTab_ConstructPageArray" URL="F+oneTab_ConstructPageArray+of+stack+%27lib_OneTab%27"]; n24 [label="fedwiki_ConstructImageHtml" URL="F+fedwiki_ConstructImageHtml+of+stack+%27lib_WikiText%27"]; n71 [label="model_GetDataFile" URL="F+model_GetDataFile+of+stack+%27model_LCW%27"]; n4 [label="wikiDialogue_Get" URL="F+wikiDialogue_Get+of+stack+%27model_WikiDialogue%27"]; n20 [label="wikiFile_Construct" URL="F+wikiFile_Construct+of+stack+%27model_WikiFiles%27"]; n59 [label="wikiDialogue_CurlyData" URL="F+wikiDialogue_CurlyData+of+stack+%27model_WikiDialogue%27"]; n99 [label="kwote" URL="F+kwote+of+stack+%27lib_Fedwiki%27"]; n21 [label="wikiFolder_Pages" URL="F+wikiFolder_Pages+of+stack+%27model_WikiFiles%27"]; n1 [label="wikiPage_EditPage" URL="F+wikiPage_EditPage+of+stack+%27lib_WikiPage%27"]; n74 [label="html_ExtractTLD" URL="F+html_ExtractTLD+of+stack+%27lib_Fedwiki%27"]; n57 [label="wikiPage_MergeDialogue" URL="F+wikiPage_MergeDialogue+of+stack+%27model_WikiDialogue%27"]; n32 [label="itemArray_Construct" URL="F+itemArray_Construct+of+stack+%27lib_ItemArray%27"]; n87 [label="pageJson_ConstructUrl" URL="F+pageJson_ConstructUrl+of+stack+%27model_PageJson%27"]; n61 [label="fedwiki_ConstructLinkTag" URL="F+fedwiki_ConstructLinkTag+of+stack+%27lib_WikiText%27"]; n79 [label="json_ToArray" URL="F+json_ToArray+of+stack+%27lib_REST%27"]; n17 [label="transcribe_EditPage" URL="F+transcribe_EditPage+of+stack+%27lib_Transcribe%27"]; n65 [label="pageArray_Fetch" URL="F+pageArray_Fetch+of+stack+%27model_PageArray%27"]; n40 [label="oneTab_FetchPageArray" URL="F+oneTab_FetchPageArray+of+stack+%27lib_OneTab%27"]; n9 [label="pageArray_GetDialogue" URL="F+pageArray_GetDialogue+of+stack+%27model_WikiDialogue%27"]; n12 [label="pageArray_GetTemplate" URL="F+pageArray_GetTemplate+of+stack+%27model_WikiDialogue%27"]; n5 [label="pageArray_Get" URL="F+pageArray_Get+of+stack+%27model_PageArray%27"]; n77 [label="journalArray_Construct" URL="F+journalArray_Construct+of+stack+%27model_PageArray%27"]; n56 [label="array_FromFile" URL="F+array_FromFile+of+stack+%27model_LCW%27"]; n66 [label="pageJson_Fetch" URL="F+pageJson_Fetch+of+stack+%27model_PageJson%27"]; n26 [label="fedwiki_ConstructImageCaption" URL="F+fedwiki_ConstructImageCaption+of+stack+%27lib_WikiText%27"]; n22 [label="jsonArray_FromFile" URL="F+jsonArray_FromFile+of+stack+%27model_PageJson%27"]; n76 [label="wikiGarden_GetDomainData" URL="F+wikiGarden_GetDomainData+of+stack+%27lib_WikiGarden%27"]; n28 [label="fedwiki_EncodePost" URL="F+fedwiki_EncodePost+of+stack+%27lib_Fedwiki%27"]; n62 [label="wikiFarm_GetDefaultFolder" URL="F+wikiFarm_GetDefaultFolder+of+stack+%27lib_WikiFarm%27"]; n30 [label="json_ToArray" URL="F+json_ToArray+of+stack+%27model_LCW%27"]; n81 [label="ecoData_GetFarmFolder" URL="F+ecoData_GetFarmFolder+of+stack+%27model_WikiGarden%27"]; n67 [label="pageArray_FromJson" URL="F+pageArray_FromJson+of+stack+%27model_PageArray%27"]; n11 [label="fedwiki_ConstructTitle" URL="F+fedwiki_ConstructTitle+of+stack+%27lib_Fedwiki%27"]; n42 [label="daemon_ReceivedHeader" URL="F+daemon_ReceivedHeader+of+Missing"]; n27 [label="wikiFolder_FromRouter" URL="F+wikiFolder_FromRouter+of+stack+%27lib_WikiFolder%27"]; n72 [label="model_GetDataFolder" URL="F+model_GetDataFolder+of+stack+%27model_LCW%27"]; n75 [label="wikiFolder_ConstructFromFarm" URL="F+wikiFolder_ConstructFromFarm+of+stack+%27lib_WikiFolder%27"]; n51 [label="pageArray_Construct" URL="F+pageArray_Construct+of+stack+%27model_PageArray%27"]; n38 [label="fedwiki_ConstructSlug" URL="F+fedwiki_ConstructSlug+of+stack+%27lib_Fedwiki%27"]; n29 [label="json_FromArray" URL="F+json_FromArray+of+stack+%27lib_Fedwiki%27"]; } subgraph cluster1 { label="Missing"; style=filled; color=red; fillcolor=orange; n37; n70; n35; n42 } subgraph cluster2 { label="stack \"behavior_DaemonMiddleware\""; style=filled; color=grey60; fillcolor=grey60; n53; n52; n78; n34; n68 } subgraph cluster3 { label="stack \"lib_Curly\""; style=filled; color=grey60; fillcolor=grey60; n58 } subgraph cluster4 { label="stack \"lib_Fedwiki\""; style=filled; color=grey60; fillcolor=grey60; n99; n74; n91; n28; n84; n11; n38; n29 } subgraph cluster5 { label="stack \"lib_Files\""; style=filled; color=grey60; fillcolor=grey60; n63 } subgraph cluster6 { label="stack \"lib_ItemArray\""; style=filled; color=grey60; fillcolor=grey60; n33; n32; n100 } subgraph cluster7 { label="stack \"lib_LCW\""; style=filled; color=grey60; fillcolor=grey60; n82; n96; n83; n41 } subgraph cluster8 { label="stack \"lib_OneTab\""; style=filled; color=grey60; fillcolor=grey60; n14; n92; n43; n48; n40; n13; n44; n45; n98; n46; n88; n93; n47; n89; n50 } subgraph cluster9 { label="stack \"lib_PageArray\""; style=filled; color=grey60; fillcolor=grey60; n10; n86; n85 } subgraph cluster10 { label="stack \"lib_REST\""; style=filled; color=grey60; fillcolor=grey60; n8; n79 } subgraph cluster11 { label="stack \"lib_StoryArray\""; style=filled; color=grey60; fillcolor=grey60; n94 } subgraph cluster12 { label="stack \"lib_Transcribe\""; style=filled; color=grey60; fillcolor=grey60; n17 } subgraph cluster13 { label="stack \"lib_WikiFarm\""; style=filled; color=grey60; fillcolor=grey60; n62 } subgraph cluster14 { label="stack \"lib_WikiFolder\""; style=filled; color=grey60; fillcolor=grey60; n27; n75 } subgraph cluster15 { label="stack \"lib_WikiGarden\""; style=filled; color=grey60; fillcolor=grey60; n76 } subgraph cluster16 { label="stack \"lib_WikiPage\""; style=filled; color=grey60; fillcolor=grey60; n1; n18; n2; n3; n19 } subgraph cluster17 { label="stack \"lib_WikiPageArray\""; style=filled; color=grey60; fillcolor=grey60; n80 } subgraph cluster18 { label="stack \"lib_WikiText\""; style=filled; color=grey60; fillcolor=grey60; n60; n24; n61; n25; n26 } subgraph cluster19 { label="stack \"model_LCW\""; style=filled; color=grey60; fillcolor=grey60; n71; n56; n73; n30; n72 } subgraph cluster20 { label="stack \"model_Library\""; style=filled; color=grey60; fillcolor=grey60; n54; n55 } subgraph cluster21 { label="stack \"model_PageArray\""; style=filled; color=grey60; fillcolor=grey60; n69; n65; n5; n77; n49; n31; n95; n90; n6; n7; n67; n51 } subgraph cluster22 { label="stack \"model_PageJson\""; style=filled; color=grey60; fillcolor=grey60; n87; n66; n16; n22; n15; n23 } subgraph cluster23 { label="stack \"model_ScriptExport\""; style=filled; color=grey60; fillcolor=grey60; n39 } subgraph cluster24 { label="stack \"model_WikiDialogue\""; style=filled; color=grey60; fillcolor=grey60; n4; n59; n57; n9; n12 } subgraph cluster25 { label="stack \"model_WikiFiles\""; style=filled; color=grey60; fillcolor=grey60; n20; n21 } subgraph cluster26 { label="stack \"model_WikiGarden\""; style=filled; color=grey60; fillcolor=grey60; n97; n64; n81 } subgraph cluster27 { label="stack \"model_WikiSiteMap\""; style=filled; color=grey60; fillcolor=grey60; n36 } n14 -> n88; n56 -> n30; n1 -> n2; n1 -> n3; n1 -> n4; n53 -> n42; n53 -> n68; n53 -> n78; n53 -> n20; n62 -> n63; n62 -> n64; n29 -> n29; n30 -> n30; n22 -> n15; n22 -> n23; n67 -> n79; n93 -> n99; n93 -> n24; n93 -> n98; n43 -> n50; n43 -> n51; n43 -> n45; n43 -> n46; n43 -> n47; n43 -> n48; n43 -> n44; n43 -> n49; n57 -> n58; n57 -> n10; n57 -> n59; n15 -> n16; n50 -> n90; n68 -> n17; n68 -> n42; n68 -> n1; n68 -> n69; n68 -> n36; n68 -> n70; n48 -> n14; n48 -> n88; n48 -> n89; n51 -> n31; n51 -> n77; n28 -> n29; n31 -> n33; n31 -> n32; n66 -> n87; n82 -> n83; n54 -> n56; n54 -> n55; n71 -> n72; n71 -> n73; n47 -> n6; n9 -> n10; n9 -> n11; n9 -> n12; n24 -> n26; n24 -> n25; n32 -> n100; n61 -> n74; n3 -> n6; n3 -> n7; n3 -> n5; n55 -> n96; n55 -> n71; n81 -> n63; n81 -> n97; n21 -> n27; n72 -> n82; n46 -> n13; n46 -> n92; n46 -> n6; n20 -> n21; n5 -> n20; n5 -> n22; n27 -> n76; n27 -> n75; n8 -> n8; n75 -> n62; n75 -> n81; n78 -> n42; n78 -> n70; n78 -> n4; n78 -> n36; n78 -> n69; n60 -> n61; n65 -> n66; n65 -> n67; n17 -> n18; n17 -> n19; n17 -> n4; n2 -> n95; n2 -> n6; n52 -> n34; n52 -> n53; n59 -> n11; n59 -> n80; n40 -> n43; n12 -> n85; n12 -> n86; n12 -> n65; n12 -> n38; n45 -> n79; n45 -> n91; n45 -> n90; n45 -> n93; n45 -> n92; n45 -> n28; n45 -> n94; n45 -> n6; n45 -> n51; n23 -> n79; n4 -> n57; n4 -> n9; n64 -> n54; n34 -> n37; n34 -> n36; n34 -> n35; n34 -> n38; n34 -> n40; n34 -> n41; n34 -> n42; n34 -> n20; n34 -> n39; n34 -> n8; n26 -> n60; n26 -> n84; n79 -> n79; n13 -> n14; n44 -> n92; n44 -> n6; }
before route_GET someRoute, socketID, requestArray switch case someRoute = "/lcw_BrowserUrl" get_LcwBookmarklet someRoute, socketID, requestArray return "Sent JSON. Socket still open." exit to top case matchText (someRoute, "/view/welcome-visitors/view/([^/]+)$", pageSLug) # Flag Click (see get_FlagClick) get_WikiServerToolPage someRoute, requestArray, socketID break default return empty end switch end route_Get
# Todo - [x] Already Done (change me)
# Calls - get_LcwBookmarklet - get_WikiServerToolPage
# Depends Here is a list of stacks containing dependencies upon which this handler depends: - model_Library, lib_REST, lib_WikiGarden, lib_Files, lib_WikiPageArray, model_PageJson, lib_Curly, lib_StoryArray, lib_Transcribe, lib_Fedwiki, lib_ItemArray, lib_WikiFolder, lib_LCW, lib_OneTab, model_PageArray, model_LCW, model_WikiFiles, lib_WikiPage, model_WikiSiteMap, model_ScriptExport, lib_WikiFarm, model_WikiGarden, lib_PageArray, lib_WikiText, model_WikiDialogue
# See also - Fedwiki Tools