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
Revert "Move NewPP limit report HTML comments to JS variables" and followups
[lhc/web/wiklou.git]
/
includes
/
Preferences.php
diff --git
a/includes/Preferences.php
b/includes/Preferences.php
index
5a9f0b0
..
d86b19a
100644
(file)
--- a/
includes/Preferences.php
+++ b/
includes/Preferences.php
@@
-861,7
+861,6
@@
class Preferences {
'section' => 'editing/preview',
'label-message' => 'tog-uselivepreview',
];
'section' => 'editing/preview',
'label-message' => 'tog-uselivepreview',
];
-
}
/**
}
/**
@@
-1594,7
+1593,7
@@
class PreferencesForm extends HTMLForm {
* Get extra parameters for the query string when redirecting after
* successful save.
*
* Get extra parameters for the query string when redirecting after
* successful save.
*
- * @return array
()
+ * @return array
*/
public function getExtraSuccessRedirectParameters() {
return [];
*/
public function getExtraSuccessRedirectParameters() {
return [];
@@
-1614,7
+1613,6
@@
class PreferencesForm extends HTMLForm {
* @return string
*/
function getButtons() {
* @return string
*/
function getButtons() {
-
$attrs = [ 'id' => 'mw-prefs-restoreprefs' ];
if ( !$this->getModifiedUser()->isAllowedAny( 'editmyprivateinfo', 'editmyoptions' ) ) {
$attrs = [ 'id' => 'mw-prefs-restoreprefs' ];
if ( !$this->getModifiedUser()->isAllowedAny( 'editmyprivateinfo', 'editmyoptions' ) ) {