FANDOM


This script is for PERSONAL use only!

You are free to install this script for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:Common.js or MediaWiki:Wikia.js), as it would violate Fandom's Terms of Use.
(See the customization policy)

FAQ adds a page to the wiki where user can find FAQ.

Installation

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).
Key Type Remarks
id int Unique running number to identify
question  string
answer  string
related object
  • articles (string[]): Article Names
  • discussions (object)
    • title (string)
    • p (string): post id after /d/p/
keywords  string[]

Changelog

2018-05-28
Added support for wikicode
2019-05-10
Added interface for add/edit/delete
2019-06-05
Added i18n


New messages to translate:

  • add
  • delete-confirm (params: $1)
  • edit (params: $1)
  • add-new
  • question
  • answer
  • related-articles
  • keywords
  • save
  • cancel

Planned Features

  • Search for questions
    • by keywords
    • maybe grouping?
  • Add question
  • Edit/Delete question
    • UI translations
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+