MediaWiki/content programming

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< MediaWiki
Revision as of 01:29, 31 July 2008 by Woozle (talk | contribs) (just some stuff from DPL, to start with)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

MediaWiki's built-in features already allow some simple dynamic text management and manipulation; with the addition of various extensions, much more sophisticated tasks can be accomplished, making MediaWiki into a sort of "swiss army knife" content manager application.

Information

How to get various bits of information about any given page

Title
Prefix
(namespace only)
DPL: %NAMESPACE%
Suffix
(without namespace)
DPL: %TITLE%
Stats
Usage counter (hits) DPL: %COUNT% (requires addpagecounter=true)

DPL: %COUNTFS% = a font size number based on usage counter
DPL: %COUNTFS2% = similar to %COUNTFS%, but log(sqrt(counter))

Page size (bytes) DPL: %SIZE% (requires addpagesize=true)

DPL: %SIZEFS% – font size number based on article size

Creation date DPL: %DATE% (requires addeditdate=true and ordermethod=firstedit)
Last edit date DPL: %DATE% (requires addeditdate=true and ordermethod=lastedit)
Page creator DPL: %USER% (requires adduser=true and ordermethod=firstedit)
Page last editor DPL: %USER% (requires adduser=true and ordermethod=lastedit)