Alexandre Emsenhuber
21e953c65c
* (bug 22606) The body of e-mail address confirmation message is now different when the address changed
2010-02-27 20:22:56 +00:00
Mark A. Hershberger
83fab88490
follow up r61715 - minor style nit
2010-02-26 02:34:00 +00:00
Tobias
8c56cd8d8d
newFromName: Fixing error in the documentation and adding IP address as an example. No code change
2010-02-19 10:51:03 +00:00
Chad Horohoe
4cf0a86548
Use __METHOD__
2010-02-17 01:28:48 +00:00
Tim Starling
5dd32479ff
Revert r58025 (User::newFromName() returns WikiError under certain circumstances). Incomplete, breaks lots of things, see CR.
2010-02-03 07:39:32 +00:00
Chad Horohoe
ce74cf8d09
Check $this not $wgUser in canSendEmail()
2010-01-30 16:20:54 +00:00
Victor Vasiliev
d668c11fc2
Fix "you are blocked" message for users who were blocked by zero-ID user.
2010-01-30 14:27:28 +00:00
Chad Horohoe
09c32f5e02
Followup r61694, expand comment based on [[Extension:Lockout]] and also deny login from session
2010-01-30 01:28:58 +00:00
Tim Starling
0e94ef3836
Reverted r58313, pointless, does not fix the bug.
2010-01-07 23:36:08 +00:00
Mark A. Hershberger
9ef63ede49
Random eol whitespace found while treking through files.
...
Removing unused call to $wgContLang->getFormattedNsText() from addNewUserLogEntry()
2010-01-06 03:42:30 +00:00
Alexandre Emsenhuber
468e87651a
Per Tim Starling, fixes for r58061:
...
* renamed $wgEnableSorbs to $wgEnableDnsBlacklist and $wgSorbsUrl to $wgDnsBlacklistUrls (backward compatibility kept)
* renamed User::inSorbsBlacklist() to User::isDnsBlacklisted()
2009-12-30 12:32:40 +00:00
Raimond Spekking
18ed54d077
Tweak 'HMTL 5' -> 'HTML5' per suggestion on translatewiki: http://translatewiki.net/wiki/Thread:Support/HTML5
...
See http://en.wikipedia.org/wiki/HTML5 too.
2009-12-30 07:08:52 +00:00
Aaron Schulz
369f0535b5
Fixed r57659 for high concurrency situations
2009-12-21 17:51:10 +00:00
Domas Mituzas
46875f0484
Reverting r59993, per Tim's comment at http://www.mediawiki.org/wiki/Special:Code/MediaWiki/59993#c4885
...
Still, we need to rethink user 'invalidations' (probably by replacing user object, rather than just touching the user). There are way too many invalidation cases out there, that happen in parallel blocking out each other.
2009-12-21 16:13:15 +00:00
Aryeh Gregor
3399512711
Begin work on allowing extauth login from cookies
...
Still need to actually do the user creation, but some more framework is
in place for when I want to continue work.
2009-12-14 00:53:13 +00:00
Alexandre Emsenhuber
270950f611
* (bug 21441) meta=userinfo&uiprop=options no longer returns default options for logged-in users under certain circumstances
...
User::$mOptions is no now only set when calling User::loadOptions() and thus remain null on cache hit and thus the api displays default user settings
2009-12-13 20:55:09 +00:00
Domas Mituzas
10b048af34
I fail to see why we need to invalidate cache on watchlist edits here, do we store full watchlist in user object?
2009-12-12 14:52:01 +00:00
Chad Horohoe
a4e5e935b6
Mass convert NULL -> null. Left strings and comments alone, obviously.
2009-12-11 21:07:27 +00:00
OverlordQ
a989843cd0
Code cleanup, covert leading spaces into tabs per coding style
2009-11-14 21:27:13 +00:00
Roan Kattouw
68b2e720c0
Revert accidentally committed stuff in r58399
2009-11-01 19:48:18 +00:00
Chad Horohoe
70a038b808
Fix another regression from r57558, bug 21369 - Lowercase logins causes MediaWiki to crash
2009-11-01 13:58:37 +00:00
Roan Kattouw
1d471caa46
API: (bug 19004) Add support for tags. Patch by Matthew Britton
2009-11-01 10:42:41 +00:00
Jure Kajzer
03d3a3f4ea
Switch to default skin if user session found without persistent creds. Bug 19048
2009-10-29 14:19:05 +00:00
Ryan Schmidt
9b4135e9f8
* re-commit r58172 with the fix for the issue mentioned where users would not be able to log in
2009-10-28 17:53:36 +00:00
Raimond Spekking
c4b785221f
Revert r58171/r58172 for now. It seems it breaks login to translatewiki.net
2009-10-27 07:13:13 +00:00
Ryan Schmidt
b99614119a
* User::isValidPassword now only returns boolean results, User::getPasswordValidity can be used to get an error message string
2009-10-26 23:19:09 +00:00
Ryan Schmidt
b28171af6f
* Any strings returned by the isValidPassword hook are now shown as error messages instead of MediaWiki thinking that the hook said the password was valid.
...
* The error message shown in Special:ChangePassword now parses wiki markup
2009-10-26 22:58:39 +00:00
Chad Horohoe
f01eb6c10b
(bug 21280) Document Linker.php
2009-10-26 14:25:48 +00:00
Alexandre Emsenhuber
51542a51f4
* (bug 21172) $wgSorbsUrl can now be an array with multiple DNSBL
2009-10-23 18:36:42 +00:00
Alexandre Emsenhuber
d106268c35
* (bug 21255) Fixed hostname construction for DNSBL checking
...
Based on a patch by Antonio Ospite - http://bug-attachment.wikimedia.org/attachment.cgi?id=6707
2009-10-23 16:44:10 +00:00
Katie Filbert
fce13aeb6b
more specific error message, using WikiError, if user trys to create account with hash character
2009-10-22 16:54:50 +00:00
Chad Horohoe
3a463e7d39
Add profiling to getEffectiveGroups()
2009-10-22 12:12:12 +00:00
Roan Kattouw
c7b6a14862
Whitespace cleanup for r57877
2009-10-20 19:48:22 +00:00
Roan Kattouw
8c89e9e5e7
Fix fatal in r57877: can't use $this in a static function
2009-10-20 19:47:20 +00:00
Tim Starling
8b02329fd9
Reintroduced $wgRateLimitsExcludedIPs from r47352 (removed in r51045). $wgAutopromote does not work for anonymous users.
2009-10-19 19:11:56 +00:00
Fenzik Joseph
a9357faf94
* function isValidPassword modified to return boolean(true/false)
...
* Added function getPasswordValidity return error message on failure for the given unvalidated password input.
* Replaced isValidPassword() fn call to getPasswordValidity() in SpecialUserlogin.php
2009-10-19 03:01:11 +00:00
Aaron Schulz
cb095287f0
* (bug 20595) Don't increment ping value right after setting it the first time (jumping from 0 -> 2)
...
* Use memc->set() rather than using add(). The later just does an existence check on the current key, which is useless here.
2009-10-12 23:54:48 +00:00
Chad Horohoe
90cecb1e3c
Back out the bit of r57558 for allowing lowercased usernames. That needs more testing.
2009-10-09 13:01:16 +00:00
Chad Horohoe
c319cc8968
(bug 13750) $wgCapitalLinks should be a per-namespace setting
2009-10-09 12:52:16 +00:00
Andrew Garrett
0deecb7796
Add new hook, UserIsBlockedFrom, which allows extensions to exempt users from blocks on specific pages.
2009-10-07 14:28:26 +00:00
Brion Vibber
76e4820e02
Cleanup r57359 -- removing PHP4-isms (references not needed to pass objects unless you're going to replace them with different objects as outparams)
2009-10-06 22:14:40 +00:00
Jack Phoenix
fb95ba0b14
redoing r38040: two new hooks for email confirmation/invalidation, both are in User class now so they should work even if email is confirmed through password reset (etc.)
2009-10-04 16:26:43 +00:00
Jack Phoenix
0320dd57a0
coding style tweaks
2009-10-04 13:32:48 +00:00
Aaron Schulz
c2f7ea4d7b
* Renamed deletedcontent to deletedtext
...
* Removed deletedrevision and used deletedhistory/deletedtext instead
2009-09-30 19:50:35 +00:00
Brion Vibber
086f5720f7
Revert r56635 "Implement a 'root' permission, which grants all other permissions. Useful for debugging and administration."
...
I'd much rather keep permission keys clean and separate.
2009-09-29 23:16:30 +00:00
Siebrand Mazeland
0fa0c61564
Follow-up to r56962: add 'deletedcontent' to $mCoreRights
2009-09-28 06:06:39 +00:00
Aaron Schulz
942a84716a
* Split off deletedrevision (view only) right and give it to sysops
...
* Allow show/hide link on top revision just like history
2009-09-28 03:09:48 +00:00
Aaron Schulz
259e216dea
Follow-up r56791: add 'deletedcontent' to corerights
2009-09-28 02:41:51 +00:00
Siebrand Mazeland
e9fe447f05
Fix oversight in r56963: remove $creator
2009-09-26 23:51:33 +00:00
Siebrand Mazeland
bd04456552
Revert r56696. Even though mentioned in r56937 ("Revert broken rewrite of login system"), this revision appears to have been missed.
...
* leaving the code style changes in User.php in.
2009-09-26 23:47:38 +00:00