drupal / mutamad_knowledge_base
Knowledge articles for Mutamad: short, approved answers to what citizens ask, with the other ways they ask it, the service it concerns, the regulation it rests on and a review date — listed at /knowledge, read by the site assistant until they are due for review, drafted by an editor and approved by
Package info
git.drupalcode.org/project/mutamad_knowledge_base.git
Type:drupal-recipe
pkg:composer/drupal/mutamad_knowledge_base
Requires
- drupal/core: ~11.4.0
- drupal/mutamad_content_base: ~1.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-11-16 05:56:45 UTC
README
Mutamad Knowledge Base
The Knowledge article content type (knowledge_article) and the
knowledge base, /knowledge: short, approved answers to what citizens ask —
the source the site assistant answers from
(Mutamad AI), and public pages
in their own right. A drupal-recipe, applied on its own or by the site
assistant's recipe.
Built and maintained by iSpectra — Imagine. Implement. Inspire. See iSpectra on drupal.org.
What it sets up
- Knowledge article, its title labelled Question or topic, with its
form in three tabs:
- Basic information: language, question or topic, Answer (required, in the Rich editor, one topic), Other phrasings and Review by (required; six months ahead by default);
- Classification: Topics, Audiences, the Related service or page and the Legal basis — the regulation the answer rests on;
- SEO: as on the Basic page, the SEO description required — the article's summary on its card.
- The knowledge base,
/knowledge: every article as a card, alphabetically, with a keyword search and a topic filter; in the XML sitemap. - Each article at
/knowledge/<its question>, in the sitemap, with the Basic page's meta tags, laid out by a Canvas content template: the answer, its legal basis, topics and related service. - Content › Knowledge review: the articles past their review date, oldest first.
- The Mutamad workflow, and Arabic and English translation.
Written for the assistant
The site assistant answers only from approved content, and finds an answer by its meaning. A Knowledge article helps it find the right one:
- One topic per article, its answer short and complete: a long page is cut into pieces before it is searched, and matches less well.
- Other phrasings are how else people ask it — everyday words, dialect, synonyms (رخصة، تصريح). They are searched with the answer and never shown.
- The related service or page is where the assistant sends the visitor next, linked with the answer.
- Review by: past this date the assistant stops using the article, and it is listed under Content › Knowledge review until an editor checks it and sets a new date. An assistant must not repeat an outdated answer.
Knowledge articles and the FAQ
The FAQ is DGA's FAQ page: the questions every visitor sees, in one accordion. Knowledge articles are the many answers behind it — fees in a particular case, which branch handles what, what to do after a refusal — that would make the FAQ page too long. The assistant reads both.
Who does what
| Role | Knowledge articles |
|---|---|
| Content Editor | Creates and edits articles, sees the review list; submits them for review |
| Content Reviewer | The same, publishes them — never their own — and deletes them |
| App Admin (IT) | The template (in Canvas) and the knowledge base page; writes no content |
Requirements
Mutamad Content Base, which the recipe applies first.
Enable it
Mutamad does not include it: Mutamad AI Chatbot applies it, or a site that
needs it on its own adds it, then applies it once. Composer accepts an alpha
only if the site's own composer.json allows it, so the command allows Canvas
Translate, which this project needs and which has no stable release:
composer require drupal/mutamad_knowledge_base \
'drupal/canvas_translate:^1.0@alpha'
- From the administration pages, where Project Browser is enabled:
Extend → Browse projects → Recipes (
/admin/modules/browse/recipes), search for "Mutamad Knowledge Base", then Install. With Drush, which names a recipe by its path from the web root (
web/):drush recipe ../recipes/mutamad_knowledge_base drush cr
Licence
GPL-2.0-or-later.
Maintainers
Built and maintained by iSpectra (on drupal.org).
