Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -643,6 +643,7 @@ |
644 | 644 | 'preferences', |
645 | 645 | 'preferences-summary', |
646 | 646 | 'mypreferences', |
| 647 | + 'prefs-edits', |
647 | 648 | 'prefsnologin', |
648 | 649 | 'prefsnologintext', |
649 | 650 | 'prefsreset', |
Index: trunk/phase3/includes/SpecialPreferences.php |
— | — | @@ -592,7 +592,11 @@ |
593 | 593 | |
594 | 594 | $userInformationHtml = |
595 | 595 | $this->tableRow( wfMsgHtml( 'username' ), htmlspecialchars( $wgUser->getName() ) ) . |
596 | | - $this->tableRow( wfMsgHtml( 'uid' ), htmlspecialchars( $wgUser->getID() ) ); |
| 596 | + $this->tableRow( wfMsgHtml( 'uid' ), htmlspecialchars( $wgUser->getID() ) ) . |
| 597 | + $this->tableRow( |
| 598 | + wfMsgHtml( 'prefs-edits' ), |
| 599 | + $wgLang->formatNum( User::edits( $wgUser->getId() ) ) |
| 600 | + ); |
597 | 601 | |
598 | 602 | if( wfRunHooks( 'PreferencesUserInformationPanel', array( $this, &$userInformationHtml ) ) ) { |
599 | 603 | $wgOut->addHtml( $userInformationHtml ); |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1237,6 +1237,7 @@ |
1238 | 1238 | 'preferences' => 'Preferences', |
1239 | 1239 | 'preferences-summary' => '', # only translate this message to other languages if you have to change it |
1240 | 1240 | 'mypreferences' => 'My preferences', |
| 1241 | +'prefs-edits' => 'Number of edits:', |
1241 | 1242 | 'prefsnologin' => 'Not logged in', |
1242 | 1243 | 'prefsnologintext' => 'You must be [[Special:Userlogin|logged in]] to set user preferences.', |
1243 | 1244 | 'prefsreset' => 'Preferences have been reset from storage.', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -172,6 +172,7 @@ |
173 | 173 | * (bug 10832) Include user information when viewing a deleted revision |
174 | 174 | * (bug 10872) Fall back to sane defaults when generating protection selector |
175 | 175 | labels for custom restriction levels |
| 176 | +* Show edit count in user preferences |
176 | 177 | |
177 | 178 | == Bugfixes since 1.10 == |
178 | 179 | |