AWFLWIKITEXT is the official external-image-only infobox template for AWFLWIKIWORLD (aedtpworld.com/wikiworld/). Built by AEDTP WORLD and Emmanuel Deliver Amable, it allows only whitelisted HTTPS images, blocks File uploads, supports 100 custom field

How To Use AWFLWIKITEXT

How To Use AWFLWIKITEXT:
Type: Lightweight markup language
Used by: AWFLWIKIWORLD
Formats: 30
Reference article: AWFLWIKIWORLD

AWFLWIKITEXT is the markup language every AWFLWIKIWORLD page is written in. This page teaches you how to use it. Each entry shows the raw syntax first, in a code box, followed by what it looks like once rendered.

How To Use AWFLWIKITEXT

Follow these steps to write a page:

1. Open a page to create or edit in AWFLWIKIWORLD.
2. Type your text in plain text, using AWFLWIKITEXT for formatting.
3. Use headings to divide your page into sections.
4. Use bold for important words, lists for steps, and links for other pages.
5. Add an infobox at the top if the page is about a person, place, or thing.
6. Add footnotes for your sources.
7. Add <references/> at the bottom so your sources show.
8. Preview your page, then publish it.

AWFLWIKIWORLD IMAGES

AWFLWIKIWORLD1 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD2 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD4 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD5 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD6 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD7 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD8 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD9 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD10 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD11 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD12 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD13 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD14 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD15 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD16 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD17 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD18 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD19 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD20 on AEDTP WORLD GLOBAL UPLOAD

AWFLWIKIWORLD21 on AEDTP WORLD GLOBAL UPLOAD

Rules

Follow these rules on every AWFLWIKIWORLD page:

- Write in clear and correct English.
- Write facts only. Do not add rumours or false information.
- Always give a source for important claims. Use <ref> for citations.
- Do not copy text from other websites. Write in your own words.
- Do not add personal information, such as phone numbers, home addresses, or passwords.
- Do not vandalise pages. Do not delete other people's work without a good reason.
- Do not use insults, hate speech, or rude language.
- Keep the page tidy. Use headings, lists, and short paragraphs.
- Use the correct page title. Use capital letters for names.
- If you are not sure, ask an admin before you publish.

Text styling

Bold

Wrap text in three apostrophes to make it bold.

'''bold text'''
Rendered: bold text

Italic

Wrap text in two apostrophes to make it italic.

''italic text''
Rendered: italic text

Underline

Wrap text in two underscores to underline it.

__underlined text__
Rendered: underlined text

Strikethrough

Wrap text in two tildes to strike it through — useful for showing something retired or replaced.

~~struck-through text~~
Rendered: struck-through text

Inline code

Wrap text in backticks to show it as inline code — file names, commands, variable names.

`inline code`
Rendered: inline code

Superscript

Wrap text in two carets to raise it, for exponents and ordinals.

E=mc^^2^^
Rendered: E=mc2

Subscript

Wrap text in two commas to lower it, for chemical formulas and indices.

H,,2,,O
Rendered: H2O

Highlight

Wrap text in two percent signs to highlight it, like a marker pen.

%%highlighted text%%
Rendered: highlighted text

Structure

Headings

Surround a line with one to six equals signs. One equals sign makes the largest heading (level 1); more equals signs make progressively smaller, deeper headings, down to level 6.

= Level 1 =
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======
Rendered:

Level 5

Level 6

(Levels 2, 3 and 4 are already used as real section headings throughout this very page, and level 1 is demonstrated below, so scroll up — or down — to see them in action.)

Level 1 example

This line above is a real, live level-1 heading, written as = Level 1 example =.

Paragraphs

Leave a blank line between blocks of text. Each block becomes its own paragraph automatically — there's no special paragraph marker to type.

Bulleted list

Start each line with an asterisk and a space.

* First item
* Second item
* Third item
Rendered:

- First item
- Second item
- Third item

Numbered list

Start each line with a hash and a space.

# First step
# Second step
# Third step
Rendered:

1. First step
2. Second step
3. Third step

Nested lists

Repeat the marker to go one level deeper: two asterisks make a sub-bullet, two hashes make a sub-step, and so on for as many levels as you need. The two kinds can be mixed — an asterisk followed by a hash puts a numbered list inside a bullet. A blank line, or any line that does not start with a marker, ends the list.

* Fruit
** Citrus
*** Orange
*** Lemon
** Berries
* Vegetables
# Prepare
## Wash
## Chop
# Cook
#* Medium heat
#* Stir often
Rendered:

- Fruit
- Citrus
- Orange
- Lemon
- Berries
- Vegetables
1. Prepare
1. Wash
2. Chop
2. Cook
- Medium heat
- Stir often

Blockquote

Start each line of the quote with a "greater than" sign and a space.

> Everything is a plain text file, waiting to be read.
Rendered:

Everything is a plain text file, waiting to be read.

Horizontal rule

A line made up of four or more dashes, on its own, draws a divider.

Rendered:

Code block

Wrap one or more lines in triple curly braces to show preformatted, monospaced text exactly as typed — line breaks and spacing are preserved, and no other formatting is applied inside it.

{{{
function hello() {
return "hi";
}
}}}

Rendered:

function hello() {
return "hi";
}

Tables

Tables

A table starts with {| on a line of its own and ends with |} on a line of its own. Inside, |- starts a new row and | starts a cell. Several cells can share one line when separated by ||. Cell text can use all the usual inline formatting — bold, italics, links, footnotes — and a cell can hold a nested list or several lines. Everything in a cell is escaped, so raw HTML typed into a table is shown as text, never run. The editor's Table button inserts a ready-made table.

{| class="wikitable"
|-
| Accra || Greater Accra
|-
| Kumasi || Ashanti
|}
Rendered:

Accra | Greater Accra
Kumasi | Ashanti

Header rows

Start a cell with ! instead of | to make it a header cell, and separate several header cells on one line with !!. Header rows at the top of the table are grouped as its head and drawn in bold. A header cell at the start of a later row becomes a row heading.

{| class="wikitable"
|-
! City !! Region !! Founded
|-
! Accra
| Greater Accra || 15th century
|-
! Kumasi
| Ashanti || 1680s
|}
Rendered:

City | Region | Founded
--------
Accra | Greater Accra | 15th century
Kumasi | Ashanti | 1680s

Table captions

A line starting with |+, written before the first row, gives the table a caption shown above it.

{| class="wikitable"
|+ Largest cities of Ghana
|-
! City !! Region
|-
| Accra || Greater Accra
|}
Rendered:

Largest cities of Ghana
City | Region
--------
Accra | Greater Accra

Sortable tables

Add class="sortable" to the opening line and readers can click any header cell to sort the table by that column; click again to reverse. Numbers (1,234, 12.5%, $9) sort as numbers and everything else sorts alphabetically. To sort a cell by a different value than the one shown, give it a data-sort-value. A sortable table with no header row uses its first row as the header. Other classes you can combine with it are striped (shaded alternate rows) and center (centres the table); any other class name is ignored. A table that uses rowspan or colspan in its body is shown but not sortable.

{| class="wikitable sortable striped"
|+ Population (2021 census)
! City !! Population
|-
| Accra || 2,514,000
|-
| Kumasi || 3,348,000
|-
| Tamale || 950,000
|}
Rendered:

Population (2021 census)
City | Population
--------
Accra | 2,514,000
Kumasi | 3,348,000
Tamale | 950,000

Cell spans and alignment

Put attributes in front of a cell's text, followed by a single vertical bar: colspan and rowspan (a number) stretch a cell across columns or rows, align (left, center or right) aligns its text, and data-sort-value sets its sort key. Only these four attributes are accepted — styles, scripts and any other attribute are dropped.

{| class="wikitable"
! colspan="2" | Team
|-
| rowspan="2" | Black Stars
| Football
|-
| align="right" | Ghana
|}
Rendered:

Team
--------
Black Stars | Football
Ghana

In a Markdown download a table becomes a pipe table (spans leave empty cells and sorting is dropped); in a PDF download each row becomes one line of text with the cells separated by a vertical bar.

Adding Qs To a Page

Q1
Rendered:

Q1 — in green

This is the code to DATABASE. It is different from an internal page link. That Q code is external.

[[Q:]]
This is an incomplete Q code. It will not link to any DATABASE entry until you add a number, for example Q1.

Adding Category To a Page

[[Category:Technology]]
Only one category is allowed on a page.

A category must always be at the end of the page. If a category is in the page but not at the bottom end, when the page is saved, it will be removed from the saved page. It will not be in any category unless the user adds it at the very bottom end.

Whereas “Add Category” is the auto-selection of an accepted category. It gives a dropdown to select only one category from the available list to apply, always at the bottom of the page. The reference also helps.

The system automatically accepts what is right, and tells the user what is wrong if something is wrong. For example, if you add two categories, or you add a category that does not exist, or you place the category in the wrong place, the system will show you the error and will not save it as a correct category.

Links and media

Internal link

Link to another page on this wiki with double square brackets. Add a vertical bar and custom text to change the visible label.

[[Page Name]]
[[Page Name|words to display instead]]
Rendered: AWFLWIKIWORLD — and a link to a page that doesn't exist yet, like this one, is still shown, just styled differently, so clicking it lets you create that page. Every such red link on the wiki is gathered in one place, Special:Missing.

To link into a namespace, include it in the title: [[Namespace/Page Name]]. If the namespace doesn't already exist, following the link sends you home instead of creating it — only an admin can create a namespace, from the dashboard.

External link

Single square brackets, a full URL, a space, then the link text.

[https://example.com link text]
Rendered: Wiki, on Wikipedia

Bare images

Any line that is just an image filename or URL ending in .jpg, .jpeg, .png, .gif, .svg, or .webp is automatically turned into a picture, shown at 250 pixels wide.

https://example.com/picture.jpg
Rendered:

Infobox

A small fact-table, usually shown at the top of an article. title, image and caption are each allowed once and always appear in that order; every other key=value line becomes its own row, in the order you wrote it.

<infobox>
|title=Subject Name|
|image=some-picture.jpg|
|caption=A short caption|
|Field one=Value one|
|Field two=Value two|
</infobox>

Rendered:

Example Subject:
Field one: Value one
Field two: Value two

Citations and navigation

Footnote

Wrap a source, or any short comment, in a ref tag pair directly after the text it backs up. The tag disappears from the text and leaves a small numbered marker in its place; the note itself is collected in the reference list (see below). A note can use the same formatting as a paragraph — bold, italics, internal links — and an external link written as [url label].

The tower opened in 1889.<ref>Official site, [https://example.com/tower Tower history].</ref>
Rendered: The tower opened in 1889.[#cite_note-1 [1]]

Notes are numbered in the order they first appear on the page. Click a marker to jump down to its note, and the ^ at the start of the note to jump back.

Reusing a footnote

Give a note a name and you can cite it again anywhere else without repeating the text: write the full note once, then use the same name in a self-closing tag. Every marker for that note shows the same number, and the note in the list gets a, b, c back-links, one for each place it was cited.

First claim.<ref name="census">National census, 2021.</ref>
Second claim.<ref name="census"/>
Rendered: First claim.[#cite_note-2 [2]] Second claim.[#cite_note-2 [2]]

If a name is used but the full note is never written, its entry in the list says that the reference text is missing.

Reference list

The numbered list of notes is printed where you ask for it. Either add a section headed References, or put a references tag on a line of its own wherever the list should go (for example inside a section with a different title, like Sources or Notes).

== References ==
<references/>
If a page has footnotes but neither of these, a References section is added at the bottom automatically so the notes are never lost. The list is printed once; when both a References heading and a references tag are present, the tag decides where it goes. The editor toolbar's References button inserts a footnote template (a ref tag with a name and a link) at your cursor.

Footnotes written inside an escaped span (a nowiki tag pair) or a code block are shown as typed and are not counted.

Heading anchors

Every heading automatically gets an anchor: its text in lower case, with spaces and punctuation turned into hyphens. The heading "Early life" can be linked to as #early-life at the end of the page's address. If two headings would get the same anchor, later ones get -2, -3 and so on added, so every anchor on a page is unique.

Table of contents

A page with four or more headings gets a numbered, collapsible "Contents" box just above its first heading — this page has one. Click "Contents" to fold it away. To leave the box out of a page, write the following anywhere on it:

__NOTOC__

Escaping raw syntax

Sometimes you want to *show* AWFLWIKITEXT syntax as plain text instead of having it rendered — exactly like every syntax box on this page. Wrap the text in a nowiki tag pair (an opening tag, then the text, then a matching closing tag with a forward slash) and everything in between is shown exactly as typed, with no other formatting applied to it. This is precisely how the raw-syntax examples throughout this page avoid turning into real bold text, real headings, real links, and so on. The same goes for footnotes and the table-of-contents switch: a ref tag or __NOTOC__ inside an escaped span is left exactly as typed.

Quick reference

- Bold: '''text'''
- Italic: ''text''
- Underline: __text__
- Strikethrough: ~~text~~
- Inline code: `text`
- Superscript: ^^text^^
- Subscript: ,,text,,
- Highlight: %%text%%
- Heading: == text == (1 to 6 equals signs)
- Bulleted list: * text
- Numbered list: # text
- Nested list: ** text, ## text, *# text (repeat the marker for each level)
- Blockquote: > text
- Horizontal rule: ----
- Code block: {{{ text }}}
- Table: {| ... |}, with |- for a new row and | or || for cells
- Header cell: ! text or ! one !! two
- Table caption: |+ text
- Sortable table: {| class="sortable"
- Cell attributes: colspan, rowspan, align, data-sort-value, then | and the text
- Internal link: [[Page]] or [[Page|Label]]
- External link: [https://url Label]
- Bare image: a filename or URL ending in an image extension, on its own
- Infobox: <infobox> ... </infobox>
- Footnote: <ref>text or [https://url label]</ref>
- Reused footnote: <ref name="x">text</ref> once, then <ref name="x"/>
- Reference list: == References == or <references/>
- Heading anchor: automatic, e.g. #early-life
- Table of contents: automatic with 4 or more headings; __NOTOC__ turns it off
- Escape/raw text: wrap in a nowiki tag pair

Every format above is also used live, for real, throughout the AWFLWIKIWORLD article — this page exists to explain each one on its own.

See also

- AWFLWIKIWORLD
- Main Page
- How To Use AWFLWIKITEXT

Infobox audio

Add a Wikipedia-style audio player to an infobox with an <code>|audio=</code> line (http/https link to an mp3, ogg or wav). Optionally add <code>|audio caption=</code> for the label above the player.

INFOBOX22

Infobox video

Add a video to an infobox with a <code>|video=</code> line. It is shown at the same 250px width as infobox images. Use a YouTube or Vimeo link (shown as an embedded player), any direct video file link, or a Wikipedia/Commons File: page link. Optional: <code>|video caption=</code>.

INFOBOX23

Links and formatting inside infoboxes

Infobox values (and the caption) accept the same inline markup as the page body: Label internal links, Label external links with a short label, bold, italic, Q links and more. Use this to keep long URLs out of sight.

INFOBOX24

Short labels for long URLs

External links accept a label after a space or after a pipe: Label or Label. This works in the page body, in tables and in infoboxes. Internal links Label, bold, italic and the other inline markup also work inside table cells.

{|
! Site !! Link
|-
| Example || [https://example.com/a/very/long/address|example.com]
|}


AWFLWIKIWORLD

AWFLWIKIWORLD:
The AWFLWIKIWORLD logo

Developer: AEDTP WORLD
Type: Wiki engine
Interface style: MediaWiki / Vector 2022
Written in: PHP 8.3
License: AEDTP WORLD FREE LICENSE (AWFL)
Storage: Flat files (.txt pages, .json users/settings)
Default skin: vector2022

AWFLWIKIWORLD is a self-contained, MediaWiki-style wiki engine built in plain PHP. It stores every page as a plain text file, every user as a JSON record, and every visual style as a CSS file — no database, no build step, no external dependencies. Copy the folder onto any PHP 8.3 server (or run it on localhost), fill in one configuration file, and you have a working wiki.

This page explains what AWFLWIKIWORLD is, why it exists, how it is built, and how to use every part of it — as a visitor, as a registered user, and as the administrator.

What is AWFLWIKIWORLD

AWFLWIKIWORLD is a wiki platform: a website anyone (or anyone you allow) can read, and that logged-in users can create and edit pages on, using a simplified text markup called AWFLWIKITEXT. Pages are organized under a root namespace or grouped into named spaces (for example, a space called Music could hold a page Music/Buddy DML). Every page can carry an infobox — a small fact-table, the same idea as the boxes you see in the top-right corner of Wikipedia articles.

Unlike most wiki software, AWFLWIKIWORLD keeps everything in ordinary files:

- Each wiki page is one .txt file containing raw AWFLWIKITEXT.
- Each user is one JSON record in users/users.json.
- Each visual theme is one .css file in skins/.
- Uploaded pictures are plain .jpg/.png files in images/.

This makes the whole wiki easy to back up (copy the folder), easy to inspect (open any file in a text editor), and easy to move between a local computer and a live server.

Why AWFLWIKIWORLD

AWFLWIKIWORLD was built for people who want a Wikipedia-like knowledge base without running a database server, without installing a heavyweight CMS, and without losing control of their own content. Because every page is a plain text file:

- You can read or edit the raw content outside the wiki, with any text editor.
- You can move the wiki by copying a folder — no database export/import.
- You can inspect exactly what the system stores, since nothing is hidden inside binary tables.
- You still get the features people expect from a real wiki: accounts, page history for admin edits, protected pages, image galleries, sitemaps, and a skins system.

How it is Built (Architecture)

The engine is a small number of PHP scripts working together:

- config.php — the single file every other script reads. It defines the site name, the site's own URL ($Server), the admin login, upload rules, and the URL style.
- includes/functions.php — the engine room: user accounts, page storage, the AWFLWIKITEXT parser, image handling, and URL building all live here.
- includes/header.php and includes/footer.php — the shared page frame (navigation bar, meta tags, footer) that every page includes.
- index.php — the main controller. Almost every page you visit — viewing an article, logging in, editing, saving, downloading — passes through this one file. It also serves the built-in Special pages, such as Special:Search and Special:Missing.
- dashboard/index.php — the admin control panel.
- allusers/index.php and allimages/index.php — public directories of accounts and uploaded pictures.
- sitemap/sitemap.php — builds the search-engine sitemap.

File Structure

- index.php — the interface every visitor loads.
- config.php — site settings (see below).
- .htaccess — hides raw data files (.txt, .json) from being downloaded directly, and enables pretty URLs.
- includes/header.php, includes/footer.php, includes/functions.php — shared page frame and engine code.
- users/users.json — every registered account (hashed passwords only).
- users/recover.php — the "forgot password" page.
- assets/site.css, assets/site.js, assets/search.js — the default look, the editor toolbar script, and the header search-box dropdown script. These never change; skins layer on top of them.
- skins/vector2022.css — the default skin. More skins can be added here.
- images/ — uploaded .jpg/.png files. images/trash/ holds images an admin has deleted but not yet permanently removed.
- allusers/index.php — public list of accounts.
- allimages/index.php — public gallery of uploaded images.
- namespaces/{pagename}.txt — a root-level article.
- namespaces/{space name}/{pagename}.txt — an article inside a named space.
- — the default logo, used whenever $Logo is not overridden.
- dashboard/index.php — the admin panel (skins, colors, pages, images).
- dashboard/history.json, dashboard/history.php — the admin's own edit history.
- dashboard/protected.json — the list of protected page titles.
- sitemap/sitemap.xml, sitemap/sitemap.php — the generated sitemap and the script that builds it.

Getting Started (Installation)

1. Copy the whole wikiworld folder onto your PHP 8.3 server, or into any folder you will run with PHP's built-in server for local testing.
2. Open config.php in a text editor.
3. Set $Server to the exact base URL you will use to reach the wiki — for example https://example.com/wiki or http://localhost:8099. This is not auto-detected; you must type it in, because auto-detection breaks on real hosting (reverse proxies, subfolders, and admin/sitemap pages living in subdirectories would each guess a different, wrong URL).
4. Set $Sitename, $MetaTitle and $MetaDescription to describe your wiki.
5. Set $Username and $Password to your admin login. For $Password, paste a password hash (made in Dashboard → Security) in single quotes; a plain-text password also works but is not recommended.
6. Choose an $route mode (explained below).
7. Visit $Server/index.php in a browser. You should see the built-in Main Page.

If you see a message saying the wiki "is not configured yet," it means $Server is still blank in config.php — fill it in and reload.

The $route modes

$route controls the shape of every page's URL:

- "0" — {$Server}/index.php?title=Pagename (and ?title=Space/Pagename). Works everywhere, no server configuration needed. This is the default.
- "1" — {$Server}/Pagename (and {$Server}/Space/Pagename). Pretty URLs. Requires the supplied .htaccess and an Apache server with mod_rewrite and AllowOverride All.
- "2" — {$Server}/namespaces/Pagename. Looks like a direct link into the namespaces/ folder, but is still served by index.php — the .htaccess rules stop anyone from downloading the raw .txt file directly.

Using AWFLWIKIWORLD as a Visitor (not logged in)

Anyone can:

- Read any page.
- Use the search box in the header: type, and a dropdown offers up to five matching pages, each with its first image — click one to open it. Press Enter to jump straight to a title, or use Special:Search for full results.
- Browse Special:AllPages to see every page that exists.
- Browse Special:Missing to see every page that is linked to but doesn't exist yet.
- Browse the image gallery at allimages/index.php — see every uploaded picture, in a 7-column grid or a sortable detail table, and use the Copy link / Copy name buttons on any image.
- Browse the account directory at allusers/index.php.
- Download any page as a .txt file (the raw AWFLWIKITEXT) or as a self-contained .html file (styled the same as the live page, so it looks right even opened offline).
- Print any page (which also lets you "print to PDF" from the browser's print dialog).

Visitors cannot create pages, edit pages, or upload images — those require an account.

Using AWFLWIKIWORLD as a Registered User

Creating an account

Go to Special:Register and fill in a username, display name, email, password, and a security question and answer (used later for password recovery). Usernames must be 3–32 characters (letters, numbers, -, _, .), and the name admin is reserved. Once registered, log in at Special:Login.

Recovering a forgotten password

Open users/recover.php. Enter your username and the email you registered with, then answer your security question, and you can set a brand-new password — no email link required. The site never says whether a username exists: unless the username and email both match, you are shown a placeholder question instead of yours, and every wrong answer gets the same message. After 5 failed tries from the same address for the same username, recovery is locked for 15 minutes. An account registered without an email cannot be recovered this way — ask the admin to set a new password. Passwords and security answers are never stored in plain text; only their hashes are kept, so recovery always works by re-checking your answer, never by revealing the old password.

Creating and editing pages

To create a page, search for or navigate to its title and click Create. To edit an existing page, click Edit. Both open the same editor:

- A toolbar with B (bold), I (italic), U (underline), P (paragraph break), List (bulleted list) and Infobox (inserts a ready-made infobox template) — each wraps or inserts AWFLWIKITEXT around your current text selection.
- A source editor, the plain text box where the raw AWFLWIKITEXT lives.
- A read-only Preview tab, which sends your current text to the server and shows exactly how the live page will look, without saving anything. You cannot edit inside Preview; switch back to the Source editor to make changes.

Click Save page to publish your changes immediately.

Note on protected pages: if an admin has protected a page, only an admin can edit it — the Edit link disappears (or is blocked server-side even if requested directly) for everyone else.

AWFLWIKITEXT — the markup language

AWFLWIKITEXT is a small, MediaWiki-inspired markup language. All of it can be typed by hand or inserted with the editor toolbar:

- Bold: wrap text in three apostrophes, like '''this'''.
- Italic: wrap text in two apostrophes, like ''this''.
- Underline: wrap text in two underscores, like __this__.
- Headings: surround a line with two to six equals signs, like == A Heading == (more equals signs make a smaller heading).
- Bulleted list: start a line with an asterisk and a space, like * An item.
- Numbered list: start a line with a hash and a space, like # An item.
- Paragraphs: leave a blank line between blocks of text — each block becomes its own paragraph automatically.
- Internal link: [[Page Name]], or [[Page Name|words to display instead]]. A link to a page that does not exist yet is still shown, in a different style, so you can click it to create that page.
- External link: [http://example.com link text].
- Bare images: any line that is just an image filename or URL ending in .jpg, .jpeg, .png, .gif, .svg or .webp is automatically rendered as a picture, shown at 250 pixels wide.

Infoboxes

An infobox is a small fact-table, usually shown floated at the top right of an article — exactly like the one at the top of this page. Write one like this:

<infobox>
|title=Subject Name|
|image=some-picture.jpg|
|caption=A short caption for the picture|
|Born=1 January 2000|
|Occupation=Example, Example|
|anything=you like|
</infobox>

Rules:

- title, image and caption are each allowed only once per infobox, and always appear in that fixed order — title first, then the image, then the caption underneath it — no matter where you typed them in the block.
- Every other line becomes its own row: the part before the equals sign is shown in bold as the row's label, and the part after it is the value. You can add as many of these as you like, and they appear in the exact order you wrote them.
- image turns any filename or link ending in an image extension into a real picture, shown at 250 pixels wide.
- caption is shown under the picture and used as its alt text.
- Outside of an infobox, ordinary images placed directly in the page text are also shown at 250 pixels wide by default.

Uploading images

If the admin has enabled uploads, any logged-in user can add a picture at Special:Upload. Only .jpg and .png files are accepted. Once uploaded, an image can be referenced in any page (bare, or inside an infobox) just by its filename, for example .

Downloading and printing

Every page offers:

- Download .txt — the raw AWFLWIKITEXT, exactly as stored.
- Download .html — a single, self-contained HTML file with the page's styling embedded in it, so it looks right even with no internet connection.
- Print / PDF — opens your browser's print dialog, which on most browsers can also "print" straight to a PDF file.

Using AWFLWIKIWORLD as the Administrator

Log in with the $Username / $Password set in config.php. The admin account is not a row in users/users.json — it is defined directly in the configuration file and always has full control.

The Dashboard

Open the Dashboard link in the navigation bar (dashboard/index.php). It has five sections:

- Skins — pick which skin is active site-wide, or create a brand-new skin by typing its CSS. The default vector2022 skin can be selected but never edited or deleted; create a new skin instead if you want to change the look.
- Colors — a small palette for the site's core colors (header background, header text, buttons, button text, wiki page text, and links). Pick a color visually or type a hex code directly; the change applies across the whole wiki immediately, on top of whichever skin is active.
- Pages — a list of every page, with a delete button per page and a "Delete all pages" button. This is also where you can trigger the sitemap to regenerate on demand.
- Images — every uploaded image, with a delete button per image.
- Security — a checklist (admin password hashed, HTTPS, session cookie, login throttling, private-file rules) and a tool that turns the admin password you type into a hash to paste into config.php.

Managing users

The All users directory lists every account except the admin's own. Anyone can view it; only the admin sees extra controls per row to:

- Rename a user's username.
- Set a new password for a user directly — no need to know their old one, since passwords are stored hashed.
- Remove a user entirely. Removing a user deletes their account record, but never deletes the pages or edits they made — those stay exactly as they are.

The admin account can never remove itself. A regular user can remove their own account at any time (through the admin, since only the admin can perform removals) and, likewise, their past contributions are kept.

Managing images (All Images)

allimages/index.php is visible to everyone, but the admin sees more:

- Content view — a seven-column grid of thumbnails, each with Copy link and Copy file name buttons.
- Detail view — a sortable table (click any column heading to sort ascending or descending) showing file name, extension, size, and upload date. Everyone gets these four columns; the admin gets a fifth column of checkboxes.
- As admin, above the table you get Delete selected (moves the chosen images to images/trash/ rather than erasing them outright), Restore selected (only shown while viewing the "Deleted" tab, moves images back out of the trash), and Rename selected (type a new name into the box next to each checked row, then click to apply).

Page protection

Every page has a Protect button, visible only to the admin. Protecting a page means only the admin can edit it from then on — anyone else who tries (even by submitting the edit form directly) is blocked with a clear message. Clicking Unprotect opens editing back up to every logged-in user. Only the admin can protect or unprotect a page.

Admin edit history

Every time the admin saves a page, AWFLWIKIWORLD quietly records that exact content in dashboard/history.json — the page's name, its filename, its space (if any), the date, and the full text. This history holds only the one latest admin edit for each page; saving the same page again simply updates that one record rather than creating a new one.

Open History in the navigation bar (admin only) to see every recorded page, sortable by any column. Two actions are available, both requiring on-screen confirmation:

- Delete selected — permanently removes the chosen history record(s).
- Restore selected — writes the saved content straight back to the live page, overwriting whatever is there now. This is most useful after a regular user's edit has changed a page the admin had previously written, since only admin saves are tracked — restoring brings the admin's version back.

Sitemap generation

sitemap/sitemap.php builds a search-engine sitemap of every page. If the list of pages would make a single file larger than roughly 1&nbsp;megabyte, it is automatically split into several files (sitemap-1.xml, sitemap-2.xml, and so on), and sitemap.xml is (re)written as an index that lists every split file. It also writes robots.txt pointing at that index. Because search engines crawl an index and then follow every entry inside it automatically, submitting the single sitemap.xml address once is enough — you never need to resubmit each split by hand.

Namespaces and Spaces

A page can live at the root (namespaces/Pagename.txt) or inside a named space (namespaces/Space Name/Pagename.txt), written and linked as Space Name/Pagename. Spaces are a simple way to group related pages, the same way a folder groups related files.

Title Handling

Page titles can contain spaces when you type or link them — for example, Buddy DML. Behind the scenes, AWFLWIKIWORLD always stores and links that page using underscores instead of spaces (Buddy_DML.txt, linked as Buddy_DML), while still displaying the title with spaces wherever it is shown to a reader. This matches how MediaWiki itself handles titles, and it means links, downloads and file names never contain raw spaces.

Security Notes

- Passwords and security-question answers are never stored as plain text — only their one-way hashes are kept in users/users.json.
- The supplied .htaccess blocks direct web access to every raw .txt and .json file, so page content and account records can never be downloaded straight off the server by guessing a URL — they can only be reached through the wiki's own pages.
- Only the admin can delete users, delete or protect pages, change the skin or colors, or manage images and history.
- Every form that changes something — saving, deleting and protecting pages, the dashboard, user and image management, log in, register and password recovery — carries a secret per-session token (CSRF protection). A request without it is refused.
- Log in and password recovery are throttled: 5 failed attempts for the same username from the same address lock that pair for 15 minutes. A failed log in never says whether the username exists.
- The session cookie is HttpOnly and SameSite=Lax (and Secure on https), and a fresh session id is issued at log in and log out.
- The admin password in config.php can be a password hash — create one in Dashboard → Security. A plain-text password still works, but the dashboard warns you until you replace it.
- The supplied .htaccess also blocks copies of the configuration file, such as config.php.bak.

Searching and Missing Pages

The search box

Start typing in the search box in the header and a dropdown shows up to five likely matches. Each row shows the first image found on that page (the infobox picture if the page has one, otherwise the first picture in the body — or a letter tile if the page has no image), a divider, and then the page name, like this: [image] | Page Name. Click a row, or use the arrow keys and press Enter, to open that page. Press Esc to close the dropdown.

Matches are ranked so the best come first: an exact page name, then names that start with what you typed, then names with a word that starts with it, then names that contain it. Near-misses are tolerated (a small typo can still find the right page), and pages whose text contains your words come last. If you press Enter without choosing a row, you are still taken straight to the title you typed, exactly as before.

The last row of the dropdown, See all results, opens Special:Search. That page shows up to 50 results, each with a thumbnail and a short text snippet, and offers a link to create the page if nothing with that exact name exists yet. You can also open it directly with index.php?title=Special:Search&q=your words.

Special:Missing (red links)

Special:Missing lists every red link on the wiki — every [[Page Name]] that appears in some page but whose target page doesn't exist yet. Each missing page is shown as [[Page Name]], with a Linked from column naming every page that links to it. Click a missing page and it opens directly, ready to be created. Once the page is created, it drops off the list on its own.

It is a ready-made to-do list for growing the wiki. It ignores category and special-page links, links shown inside code blocks, and links into spaces that don't exist (an admin must create those first). It is also listed in the Special pages directory.

Frequently Asked Questions

- Do I need a database? No. Everything is stored in plain text and JSON files.
- Can I move my wiki to another server? Yes — copy the whole folder, update $Server in config.php to the new address, and you are done.
- Can I change how the wiki looks without touching PHP? Yes — skins are plain CSS files, created and switched from the Dashboard.
- What happens to a user's pages if their account is removed? Nothing — page content is never tied to the account being present, so removing a user never deletes what they wrote.
- What if I delete an image by mistake? As admin, open the "Deleted" tab in All Images and restore it — deleted images go to a trash folder rather than being erased immediately.
- Can a regular user undo someone else's edit? AWFLWIKIWORLD does not keep a version history for every user — only the admin's own latest edit to each page is tracked, in the Dashboard's History section, precisely so an admin can always restore their own last version.

See Also

- Special:AllPages
- Special:Search
- Special:Missing
- Special:Register
- Special:Login
- Special:Upload

AWFLWIKIWORLD:
The free encyclopedia that anyone can edit

Type: Website, Wiki, Encyclopedia
Developer: AEDTP WORLD
Base URL: https://aedtpworld.com/wikiworld
License: AEDTP WORLD FREE LICENSE (AWFL)
Copyright: © 2026 AEDTP WORLD

AWFLWIKIWORLD

AWFLWIKIWORLD is the free encyclopedia that anyone can edit.

AWFLWIKIWORLD is a free knowledge base for Ghana, Africa and the world. Anyone can read. Anyone with an account can edit.

Welcome

Welcome to AWFLWIKIWORLD

Browse

- All Pages — See every article on this wiki
- All Images — Browse all photos and media
- All Users — See all contributors
- Random Page — Discover something new
- Search — Find pages with a live preview
- Missing Pages — See red links waiting to be created

What we cover

Biographies, music, history, education, technology, culture, Ghana news, African heritage and more.

Start here

Search for a topic above. Or create a new article and share your knowledge.

Actions

- Download .txt
- Download .md
- Download .html
- Download .json
- Download .pdf
- Download .xml
- Download MediaWiki .txt
- Download Wikidot .txt
- Print / PDF

Navigation

- Log in
- Register
- Random page
- Special pages
- All users
- All images
- All pages
- Sitemap

Footer

Powered by AWFLWIKIWORLD — content available under the AEDTP WORLD FREE LICENSE (AWFL)

External Links

- AWFLWIKIWORLD Official
- Logo

Leave your comment