> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/gwiki-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/gwiki-tutorial/the-user-side/extras.md).

# Extras

Extras

## Wiki Page Anywhere

**call it anything, put it anywhere**

In the modules/gwiki/extras folder of the distribution, there is a customizable wiki script called gwiki.php. It can be used to put the wiki content exactly where you need it. At the head of the script you will find the most needed customizations. Start by placing the script where you want to call it, and give it the name you want it to have. The next critical step is to adjust the include\_once line to locate your XOOPS installation's mainfile.php. You can also adjust what the wiki module directory is called, what variable carries the page name.

Of course, more extensive modifications can be made if needed, but for most uses, all you will need to consider modifying is the following block of code:

![](/files/-LD6N5GshjEd3jQxZhVk)

## FBComments Integration

The wiki includes a FBComments plugin script to provide enhanced Open Graph data for sharing wiki content through Facebook® for implementations using the FBComments module. Values for the following meta tags are provided:

* og:url - a canonical URL for the page is provided
* og:title - the wiki page Title will be used
* og:description - the Meta Description for the page will be used if specified, otherwise the initial text of the page will be used.
* og:image - if an image defined for the page is marked Use this image to represent the page, that image will be used


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://xoops.gitbook.io/gwiki-tutorial/the-user-side/extras.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
