makeRedirectContent(Title $destination, $text='')
Create a redirect that is also valid CSS.
__construct( $modelId=CONTENT_MODEL_CSS)
Content handler for code content such as CSS, JavaScript, JSON, etc.
Content handler for CSS pages.
supportsRedirects()
Returns true if this content model supports redirects.
getFullURL( $query='', $query2=false, $proto=PROTO_RELATIVE)
Get a real URL referring to this title, with interwiki link and fragment.
you have access to all of the normal MediaWiki so you can get a DB use the etc For full docs on the Maintenance class