User:Proactive programming/Extension tutorial part 1

From mediawiki.org

Welcome to the MediaWiki Extension tutorial. In this tutorial, you will learn how to make a basic extension without a special page. Creation of special pages and creating SQL tables will be covered in later tutorials.

Extension Title[edit]

Extension: PageInfoDeluxe

Extension Purpose[edit]

Purpose: To set and get several variables that will be stored on the page PageInformation page.

Technial Details[edit]

Technical Details: These variables are stored in the SQL table mw_page_props.

variable gui title Description
displaytitle Display_title the Pretty version of an article
page_image_free Page_image the featured image
short_desc Local_description the short description the appears in search results
summary summary Summary text that will appear in popup boxes.

Source code file tree[edit]