The number of issues with the new interface is unacceptable and we will not be able to fix them reasonably quickly. See subtasks of T180538 for the list of issues, raised both by the Wikimedia community and by WMF employees. I should have pushed back harder against the merging of this half-baked change with the promise that we'll fix it later. I convinced myself that the regressions were not so noticeable and that the issues that were pointed out will in fact be fixed by someone. Predictably, however, regressions were bad and the only person fixing the issues was me. I am not going to work nights to make this page decent again within a reasonable timeframe; I'm not sure if I'd even be able to since many issues are problems with the design rather than the implementation. No one else seems to be working on improving it, therefore I am reverting the change. On the bright side, this work has resulted in a number of improvements to HTMLForm and Preferences code, which are not being reverted here: <https://gerrit.wikimedia.org/r/#/q/topic:T117781>. If anyone reattempts this, I recommend gating the new interface behind a configuration variable and URL parameter, like we did with $wgOOUIEditPage in the past, and testing thoroughly in production before enabling it for everyone. * Revert "Special:Preferences: Use OOjs UI" This reverts commit486e566cfe. * Revert "Preferences: Show preview of edit fonts in edit font selector" This reverts commit6634ff729d. * Revert "Follow-Up Iae63b6994: Add missing editfont dependency" This reverts commitce42fdf151. * Revert "Preferences: Improve visual appearance by “unboxing” sections" This reverts commitc9415bb005. * Revert "Remove box-shadow from preference panels for ooui-apex" This reverts commita934b82ca2. * Revert "Preferences: Don't show the watchlist token; just link to ResetTokens" This reverts commite8c9102fc7. * Revert "mw.special.preferences: Make the "Basic information" section more compact" This reverts commitd48b7260f3. * Revert "mw.special.preferences: Widen the dropdown of the "Time zone" field" This reverts commitafd5f1417e. Bug: T117781 Bug: T180538 Change-Id: I44b5daea1828f71881b5bd35218f5ecb7ab7f36e
20 lines
419 B
JavaScript
20 lines
419 B
JavaScript
'use strict';
|
|
const Page = require( './page' );
|
|
|
|
class PreferencesPage extends Page {
|
|
|
|
get realName() { return browser.element( '#mw-input-wprealname' ); }
|
|
get save() { return browser.element( '#prefcontrol' ); }
|
|
|
|
open() {
|
|
super.open( 'Special:Preferences' );
|
|
}
|
|
|
|
changeRealName( realName ) {
|
|
this.open();
|
|
this.realName.setValue( realName );
|
|
this.save.click();
|
|
}
|
|
|
|
}
|
|
module.exports = new PreferencesPage();
|