The “new” XPages wiki on Openntf ( known as the Xpage Documentation Wiki ) has some useful improvements over the older version but the tailoring for its use in the IBM product Wikis has also made it more complicated. This is a very quick article showing how it can be simplified so that it is easier to use for general projects etc..
The end result
Step 1 – Hide the media gallery if you don’t want it
Step 2 – Hide the extra tabs at the top
These are quite clever but too complicated for this use case
Step 3 – Change the Go Elsewhere Footer
This has a complicated “hide – when” on it. delete the computed fields and replace them with links. You can copy the ones from the adjacent panel but remember that the individual links have hide-when properties too.
Step 4 – Change the default opening page for the web
Step 5 – Hide the company contributors panel
Step 6- Correct a bizzare URL issue
This one stumped me.
When you click on a new document link within the body of a document i.e. [[document name]] where document name does not yet exist, it was trying to open a wiki at the URL /dwlhub.swg.usma.ibm.com. I cannot find this anywhere in the design or in the profile documents.
The problem also affects the plus.gif icon
The changes to the code below solve the problem. Judging by the print statements I am not the first to have had this problem.
Step 7 – Correct a missing MenuUtility.js file
This js file is not used and does not exist but it is down as a resource on two custom controls. If you check Firefox you will see that it is generating an error.
Remove the references