This script/stylesheet is for PERSONAL use only!
You are free to install this script/stylesheet for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:ImportJS, MediaWiki:Common.js, MediaWiki:Common.css, MediaWiki:Fandomdesktop.js or MediaWiki:Fandomdesktop.css), as it would violate Fandom's Terms of Use.
(See the customization policy)
Adds a page to the wiki where user can find FAQ
Configuration
- Target page defaults to "Project:FAQ" but you can change it by setting
window.dev.faq.page
to the preferred page - FAQ data are stored and loaded from in MediaWiki:Custom-FAQ.json, so put all your contents there in json format (example).
Dataset Structure
Key | Type | Remarks |
---|---|---|
id | int |
Unique running number to identify |
question | string |
|
answer | string |
|
related | object
|
|
keywords | string[] |
Installation
Template:Script Install/ImportJS
Planned Features
- Search for questions
- by keywords
- maybe grouping?
- Add question
- Edit/Delete question