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 "Use /usr/bin/ as default folder for DjVu tools in unit tests"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialPreferences.php
diff --git
a/includes/specials/SpecialPreferences.php
b/includes/specials/SpecialPreferences.php
index
51454f6
..
4cfd445
100644
(file)
--- a/
includes/specials/SpecialPreferences.php
+++ b/
includes/specials/SpecialPreferences.php
@@
-69,7
+69,7
@@
class SpecialPreferences extends SpecialPage {
$this->getOutput()->addWikiMsg( 'prefs-reset-intro' );
$context = new DerivativeContext( $this->getContext() );
$this->getOutput()->addWikiMsg( 'prefs-reset-intro' );
$context = new DerivativeContext( $this->getContext() );
- $context->setTitle( $this->getTitle( 'reset' ) ); // Reset subpage
+ $context->setTitle( $this->get
Page
Title( 'reset' ) ); // Reset subpage
$htmlForm = new HTMLForm( array(), $context, 'prefs-restore' );
$htmlForm->setSubmitTextMsg( 'restoreprefs' );
$htmlForm = new HTMLForm( array(), $context, 'prefs-restore' );
$htmlForm->setSubmitTextMsg( 'restoreprefs' );
@@
-88,7
+88,7
@@
class SpecialPreferences extends SpecialPage {
$user->resetOptions( 'all', $this->getContext() );
$user->saveSettings();
$user->resetOptions( 'all', $this->getContext() );
$user->saveSettings();
- $url = $this->getTitle()->getFullURL( 'success' );
+ $url = $this->get
Page
Title()->getFullURL( 'success' );
$this->getOutput()->redirect( $url );
$this->getOutput()->redirect( $url );