dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "maintenance: Script to rename titles for Unicode uppercasing changes"
[lhc/web/wiklou.git]
/
includes
/
actions
/
DeleteAction.php
diff --git
a/includes/actions/DeleteAction.php
b/includes/actions/DeleteAction.php
index
bb2775f
..
6fcb1c8
100644
(file)
--- a/
includes/actions/DeleteAction.php
+++ b/
includes/actions/DeleteAction.php
@@
-1,9
+1,5
@@
<?php
/**
<?php
/**
- * Handle page deletion
- *
- * Copyright © 2012 Timo Tijhof
- *
* 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
* 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
@@
-20,7
+16,6
@@
*
* @file
* @ingroup Actions
*
* @file
* @ingroup Actions
- * @author Timo Tijhof
*/
/**
*/
/**
@@
-42,14
+37,6
@@
class DeleteAction extends FormlessAction {
public function show() {
$this->useTransactionalTimeLimit();
public function show() {
$this->useTransactionalTimeLimit();
-
- $out = $this->getOutput();
- if ( $this->getContext()->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
- $out->addModuleStyles( [
- 'mediawiki.ui.input',
- 'mediawiki.ui.checkbox',
- ] );
- }
$this->addHelpLink( 'Help:Sysop deleting and undeleting' );
$this->page->delete();
}
$this->addHelpLink( 'Help:Sysop deleting and undeleting' );
$this->page->delete();
}