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
Remove $wgColorErrors. Apparently unused at least since r17991 at 2006-11-29
[lhc/web/wiklou.git]
/
includes
/
FileRevertForm.php
diff --git
a/includes/FileRevertForm.php
b/includes/FileRevertForm.php
index
c7c7324
..
2902734
100644
(file)
--- a/
includes/FileRevertForm.php
+++ b/
includes/FileRevertForm.php
@@
-17,7
+17,7
@@
class FileRevertForm {
/**
* Constructor
*
/**
* Constructor
*
- * @param
File
$file File we're reverting
+ * @param $file File we're reverting
*/
public function __construct( $file ) {
$this->title = $file->getTitle();
*/
public function __construct( $file ) {
$this->title = $file->getTitle();
@@
-88,7
+88,7
@@
class FileRevertForm {
* Show the confirmation form
*/
protected function showForm() {
* Show the confirmation form
*/
protected function showForm() {
- global $wgOut, $wgUser, $wg
Request, $wg
Lang, $wgContLang;
+ global $wgOut, $wgUser, $wgLang, $wgContLang;
$timestamp = $this->getTimestamp();
$form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getAction() ) );
$timestamp = $this->getTimestamp();
$form = Xml::openElement( 'form', array( 'method' => 'post', 'action' => $this->getAction() ) );
@@
-114,7
+114,16
@@
class FileRevertForm {
global $wgOut, $wgUser;
$wgOut->setPageTitle( wfMsg( 'filerevert', $this->title->getText() ) );
$wgOut->setRobotPolicy( 'noindex,nofollow' );
global $wgOut, $wgUser;
$wgOut->setPageTitle( wfMsg( 'filerevert', $this->title->getText() ) );
$wgOut->setRobotPolicy( 'noindex,nofollow' );
- $wgOut->setSubtitle( wfMsg( 'filerevert-backlink', $wgUser->getSkin()->makeKnownLinkObj( $this->title ) ) );
+ $wgOut->setSubtitle( wfMsg(
+ 'filerevert-backlink',
+ $wgUser->getSkin()->link(
+ $this->title,
+ null,
+ array(),
+ array(),
+ array( 'known', 'noclasses' )
+ )
+ ) );
}
/**
}
/**