[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/specials/ -> SpecialRevisiondelete.php (summary)

Implements Special:Revisiondelete This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 672 lines (22 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SpecialRevisionDelete:: (15 methods):
  __construct()
  execute()
  showConvenienceLinks()
  getLogQueryCond()
  tryShowFile()
  getList()
  showForm()
  addUsageText()
  buildCheckBoxes()
  submit()
  success()
  failure()
  extractBitParams()
  save()
  getGroupName()


Class: SpecialRevisionDelete  - X-Ref

Special page allowing users with the appropriate permissions to view
and hide revisions. Log items can also be hidden.

__construct()   X-Ref
No description

execute( $par )   X-Ref
No description

showConvenienceLinks()   X-Ref
Show some useful links in the subtitle


getLogQueryCond()   X-Ref
Get the condition used for fetching log snippets

return: array

tryShowFile( $archiveName )   X-Ref
Show a deleted file version requested by the visitor.

param: string $archiveName

getList()   X-Ref
Get the list object for this request

return: RevDelList

showForm()   X-Ref
Show a list of items that we will operate on, and show a form with checkboxes
which will allow the user to choose new visibility settings.


addUsageText()   X-Ref
Show some introductory text


buildCheckBoxes()   X-Ref

return: string HTML

submit()   X-Ref
UI entry point for form submission.

return: bool

success()   X-Ref
Report that the submit operation succeeded


failure( $status )   X-Ref
Report that the submit operation failed

param: Status $status

extractBitParams()   X-Ref
Put together an array that contains -1, 0, or the *_deleted const for each bit

return: array

save( $bitfield, $reason, $title )   X-Ref
Do the write operations. Simple wrapper for RevDel*List::setVisibility().

param: int $bitfield
param: string $reason
param: Title $title
return: Status

getGroupName()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1