Go to the documentation of this file.
56 return $this->
page->doPurge();
69 if ( $this->
getUser()->isAllowed(
'purge' ) ) {
72 array(
'title' =>
null,
'action' =>
null )
78 $this->redirectParams = $this->
getRequest()->getVal(
'redirectparams',
'' );
80 if (
$form->show() ) {
87 $form->setSubmitTextMsg(
'confirm_purge_button' );
91 return $this->
msg(
'confirm-purge-top' )->parse();
95 return $this->
msg(
'confirm-purge-bottom' )->parse();
99 $this->
getOutput()->redirect( $this->
getTitle()->getFullURL( $this->redirectParams ) );
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
setHeaders()
Set output headers for noindexing etc.
getRequest()
Get the WebRequest being used for this instance.
usually copyright or history_copyright This message must be in HTML not wikitext $subpages will be ignored and the rest of subPageSubtitle() will run. 'SkinTemplateBuildNavUrlsNav_urlsAfterPermalink' whether MediaWiki currently thinks this is a CSS JS page Hooks may change this value to override the return value of Title::isCssOrJsPage(). 'TitleIsAlwaysKnown' whether MediaWiki currently thinks this page is known isMovable() always returns false. $title whether MediaWiki currently thinks this page is movable Hooks may change this value to override the return value of Title::isMovable(). 'TitleIsWikitextPage' whether MediaWiki currently thinks this is a wikitext page Hooks may change this value to override the return value of Title::isWikitextPage() 'TitleMove' use UploadVerification and UploadVerifyFile instead $form
User-requested page cache purging.
show()
purge is slightly weird because it can be either formed or formless depending on user permissions
getName()
Return the name of the action this object responds to.
checkCanExecute(User $user)
Checks if the given user (identified by an object) can perform this action.
requiresUnblock()
Whether this action can still be executed by a blocked user.
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
getUser()
Shortcut to get the User being used for this instance.
preText()
Add pre- or post-text to the form.
getTitle()
Shortcut to get the Title object from the page.
getFormFields()
Just get an empty form with a single submit button.
onSubmit( $data)
Process the form on POST submission.
msg()
Get a Message object with context set Parameters are the same as wfMessage()
onSuccess()
Do something exciting on successful processing of the form.
getOutput()
Get the OutputPage being used for this instance.
alterForm(HTMLForm $form)
Play with the HTMLForm if you need to more substantially.
getDescription()
Returns the description that goes below the <h1> tag.
do that in ParserLimitReportFormat instead use this to modify the parameters of the image and a DIV can begin in one section and end in another Make sure your code can handle that case gracefully See the EditSectionClearerLink extension for an example zero but section is usually empty its values are the globals values my talk page
wfArrayToCgi( $array1, $array2=null, $prefix='')
This function takes two arrays as input, and returns a CGI-style string, e.g.