{
 "id": "place/al-mahdiyya",
 "class": "place",
 "slug": "al-mahdiyya",
 "label": {
  "ar": "المهدية",
  "en": "al-Mahdiyya"
 },
 "summary": {
  "ar": "المهدية قاعدة الفاطميين الأولى على ساحل إفريقية؛ وصفها المقدسي نحو 375هـ: مسورة بالحجر والجيل، شرب أهلها من الآبار وجباب ماء المطر، وهي خزانة القيروان ومطرح أصقلية ومصر عامرة آهلة — ومن أحب أن ينظر إلى القسطنطينية فلينظر إليها فإنها على عملها في جزيرة يُدخل إليها من طريق واحد مثل الشراك {cite:ahsan-al-taqasim p. 181}.",
  "en": "Al-Mahdiyya, the first Fatimid seat on the Ifriqiyan coast; al-Muqaddasi c. 375 AH: walled in stone and gypsum, its folk drinking from wells and rain-cisterns, the granary of Qayrawan and berth of Sicily — whoever would see Constantinople should look on it, for it is built like it, on an island entered by a single causeway {cite:ahsan-al-taqasim p. 181}."
 },
 "stub": false,
 "wings": [
  "place"
 ],
 "regions": [
  "maghreb"
 ],
 "periods": [
  "period/buyid-seljuk-fatimid-era"
 ],
 "tags": [],
 "aliases": [
  "place/mahdiyya"
 ],
 "themes": [],
 "data": {
  "kind": "city",
  "external_ids": {
   "wikidata": "Q466054"
  },
  "provenance": {
   "layer": "own-research",
   "source": "المقدسي، أحسن التقاسيم في معرفة الأقاليم (de Goeje) ص 181",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "run": "lib-geo-ahsan-2",
   "extra_runs": [
    "farghani-389-577 (claude-haiku-5-5, Claude Code)"
   ]
  },
  "sources": [
   "source/ahsan-al-taqasim",
   "source/tarikh-khulafa-minhaj-1434",
   "source/farghani-elements-astronomy"
  ],
  "status": {
   "review": "draft",
   "completeness": 1,
   "generated_by": "Devin (SWE-2 High)"
  }
 },
 "prose": {
  "ar": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "المهدية قاعدة الفاطميين الأولى على ساحل [[place/ifriqiya|إفريقية]]. وصفها المقدسي نحو سنة 375هـ بأنها مسورة بالحجر والجيل. وشرب أهلها من الآبار وجباب ماء المطر. {cite:ahsan-al-taqasim p.181}\n\nيقول المقدسي إنها خزانة القيروان ومطرح صقلية، وإنها عامرة آهلة. ومن أحب أن ينظر إلى القسطنطينية فلينظر إليها، فهي في جزيرة يدخل إليها من طريق واحد مثل الشراك. {cite:ahsan-al-taqasim p.181}\n\nيذكر غوليوس أن عبيد الله، المسمى المهدي، جاء من سلمية في سوريا إلى أفريقية نحو سنة 300هـ، وأنه بنى على رأس شبه جزيرة في البحر حصناً منيعاً سمّاه المهدية باسمه. {cite:farghani-elements-astronomy p. 406}"
    }
   ],
   "frontmatter": {
    "id": "place/al-mahdiyya",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-23"
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "al-Mahdiyya: the first capital of the Fatimids on the coast of [[place/ifriqiya|Ifriqiya]]. al-Maqdisi, around the year 375 AH, described it as walled with stone and mortar. Its people drank from wells and from cisterns of rainwater. {cite:ahsan-al-taqasim p.181}\n\nal-Maqdisi says that it is the treasury of Qayrawan and the port of Sicily, and that it is populous and inhabited. Whoever wishes to see Constantinople should look at it, for it is on an island entered by one road as narrow as a sandal strap. {cite:ahsan-al-taqasim p.181}"
    }
   ],
   "frontmatter": {
    "id": "place/al-mahdiyya",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-16"
  },
  "ur": {
   "sections": [
    {
     "heading": "خلاصہ",
     "markdown": "المہدیہ [[place/ifriqiya|افریقیہ]] کے ساحل پر فاطمیوں کا پہلا مرکز تھا۔ مقدسی نے تقریباً سنہ 375 ہجری میں اسے پتھر اور چونے کی فصیل والا شہر بتایا۔ یہاں کے لوگ کنوؤں اور بارش کے پانی کے حوضوں سے پانی پیتے تھے۔ {cite:ahsan-al-taqasim p.181}\n\nمقدسی کہتے ہیں کہ یہ قیروان کا خزانہ اور صقلیہ کا ٹھکانہ ہے، اور یہ آباد اور بسا ہوا شہر ہے۔ جو شخص قسطنطنیہ کو دیکھنا چاہے وہ اسے دیکھ لے، کیونکہ یہ ایک ایسے جزیرے پر ہے جس میں ایک ہی تنگ راستے سے داخل ہوا جاتا ہے۔ {cite:ahsan-al-taqasim p.181}"
    }
   ],
   "frontmatter": {
    "id": "place/al-mahdiyya",
    "lang": "ur",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-19"
  }
 },
 "degree": 2,
 "contemporaries": [],
 "updated": "2026-10-23",
 "connections": [
  {
   "to": "place/ifriqiya",
   "type": "part_of",
   "inverse": false,
   "note": "على ساحل إفريقية",
   "sources": [
    "source/ahsan-al-taqasim"
   ]
  }
 ],
 "related": [
  "event/abd-al-rahman-ibn-habib-rule",
  "event/first-raid-on-ifriqiya",
  "event/founding-of-qayrawan",
  "event/hassan-vs-kahina",
  "event/hilali-into-ifriqiya-440",
  "event/ibrahim-ibn-al-aghab-maghreb",
  "event/ifriqiya-reconquest",
  "event/ismail-berber-dawah"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}