Wasm Warning

When a Wasm Module reaches out to the frame-context to look for content that it requires, and a page-item with the required item-id in not present (because the user has modified the page for instance), the wasm-module can provide a detailed wiki-page that contains instructions on how to fix the issue.

# Code

We use the built in wikiFrame_GetItemArray function to check the existance of the item-id, and if it does not exists display some help.

function wikiFrame_GetItemArray itemID put wikiFrame_GetPageArray() into pageArray get pageArray_GetItemArray (pageArray, itemID) if it is an array then return it else wikiFrame_DisplayHelp "fix-item-id" return empty end if end wikiFrame_GetItemArray

# Help We store a number of standardised Help Pages on a context relevant wiki. For the Hitchhikers Project we store named help pages on the wiki:

# See