Commit graph

97 commits

Author SHA1 Message Date
Brion Vibber
132fb571c1 Use correct names of fields 2004-10-24 21:58:19 +00:00
Antoine Musso
28ea816fba Implementing user levels management. This is only a very basic interface and several things need to be done! A tracking bug is at http://bugzilla.wikipedia.org/show_bug.cgi?id=767 2004-10-24 19:14:48 +00:00
Jens Frank
421829d4e7 Renaming columns:
ug_gid => ug_group
ug_uid => ug_user
ur_uid => ur_user
as proposed by Mr Vibber.
2004-10-24 09:51:13 +00:00
Jens Frank
bbfc760c1f Rename fields of user_rights and user_groups table to tablename_columnname schema 2004-10-24 09:21:53 +00:00
Tim Starling
7604ffd560 Moved user_newtalk fetch to later in execution, i.e. on demand. This should reduce total query count, and also allows connection errors to work again. 2004-10-23 08:26:48 +00:00
Zheng Zhu
dcde7e0a92 Adding the interface language to the page rendering hash; also fixed some formatting errors from my previous commits. 2004-10-11 02:46:31 +00:00
Antoine Musso
fc11eaedaa New userlevel feature. Sysop only, for testing. NO FORM IS VALIDATED : use at your own risks 2004-10-01 15:57:09 +00:00
Tim Starling
1b085b5017 Improved security: don't send out password hashes or store them in the session, use random tokens instead (from REL1_3A) 2004-09-26 08:25:12 +00:00
Zheng Zhu
382e2b0b34 Setting default user option using the content language rather than the UI language 2004-09-24 00:10:34 +00:00
Tim Starling
8ceee070ad More consistent method for immediate logout, means that the IP rather than the username is displayed at the top of the logout confirmation page. 2004-09-23 15:43:25 +00:00
Brion Vibber
a91c84bc1c One more time... :P shouldn't commit this late at night. 2004-09-22 11:37:16 +00:00
Brion Vibber
b80ecd2110 Whoops, typo in making variable name legible. ;)
But at least it *ran*. ;)
2004-09-22 11:33:56 +00:00
Brion Vibber
9547377138 Undo fatal mistake added in revision 1.82.
DO NOT die if the skin class isn't found! This breaks maintenance
scripts and can cause a user account to be unrecoverable
except by SQL manipulation if a previously valid skin name
is no longer valid.
2004-09-22 11:30:43 +00:00
Zheng Zhu
cc632696ba Adding a wgContLang object to handle message translation for the content of the site; wgLang should be used exclusively for UI messages. 2004-09-22 03:32:56 +00:00
Zheng Zhu
539fc27b10 added a language variant field to the page rendering hash, but only for languages that support multiple variants. 2004-09-20 05:22:45 +00:00
Antoine Musso
7083f65b2e Die horribly if a skin class doesn't exist. Will help skins builders. 2004-09-19 22:59:23 +00:00
Zheng Zhu
fe6ed47578 changed getPreferredLanguage to getPreferredVariant 2004-09-17 19:15:01 +00:00
Zheng Zhu
920c18b2b9 set default language variant according to the http-accept-language header 2004-09-17 19:10:03 +00:00
Brion Vibber
a8d2b993b0 * Sensible error messages when illegal title chars given in username
* Don't double the login form when asked to send pass for no email user
Fixes bug 448: failure message on "mail password" is shown twice
http://bugzilla.wikipedia.org/show_bug.cgi?id=448
2004-09-11 06:58:47 +00:00
Tim Starling
cd0b4da07a Nicer database wrapper names 2004-09-09 11:54:01 +00:00
Antoine Musso
f62712647b Registered user can set their own language for the interface. See http://bugzilla.wikipedia.org/show_bug.cgi?id=184 2004-09-08 03:39:32 +00:00
Arne Heizmann
18a49cc7d3 forgot to remove this 2004-09-04 14:25:47 +00:00
Arne Heizmann
73be962431 expand comment for isNewbie(), and spelling corrections 2004-09-04 14:21:45 +00:00
Antoine Musso
bb69541c77 Phpdoc comments 2004-09-04 13:06:25 +00:00
Antoine Musso
ba2afcd9fa Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema 2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Antoine Musso
7dbd56950b New system to generate $wgValidSkinNames by listing available dirs. Skins using PHPTal will not load and the software fallback to the standard skin. Added 2 samples for skin designers and updated doc 2004-09-02 03:24:01 +00:00
Antoine Musso
fd758aaa3c Big change to the skin system. Php files are now in ./skins/ . Templates and stylesheets will be migrated there as well later. The main idea is to let users add new skins easily without hacking mediawiki 2004-09-02 01:29:18 +00:00
Jens Frank
fae0d13929 Split user table into two parts: user and user_rights, for single login. BUG#57 2004-08-24 20:41:07 +00:00
Brion Vibber
114dcf5e5e Patch by Ivan Krstic, slightly modified, for the session handler wrong setting problem.
Bug 179: Detect when session.save_handler set incorrectly
http://bugzilla.wikipedia.org/show_bug.cgi?id=179
2004-08-24 03:10:51 +00:00
Tim Starling
69dfed992a Adding numberheadings to rendering hash, related inconsistency reported on #wikipedia 2004-08-15 15:01:33 +00:00
Arne Heizmann
8d9271fac6 use tabs for indentation, and probably some trailing whitespace has been removed by my
editor. I apologise for these triviality commits lately; I'll be more productive soon...
2004-08-14 22:30:10 +00:00
Domas Mituzas
9d5210b826 use proper timestamp conversion for user_touched 2004-08-10 13:17:20 +00:00
Jens Frank
9c8d946b87 Hello, World! 2004-07-31 08:56:54 +00:00
Tim Starling
8f147fa900 committing Hendrik Brummermann's checkPassword() patch, plus some modifications to fix a UTF-8 post-conversion problem 2004-07-30 11:13:54 +00:00
Jens Frank
fe15e23107 Fix Userlogin 2004-07-19 06:35:56 +00:00
Tim Starling
ac549401d4 * Support for table name prefixes throughout the code. No support yet for converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them
* DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE
* Converted to use SQL wrapper functions instead of direct SQL in various places
* Experimental method for preserving the chronological order of events when slave servers are used. Untested.
* Fixes to the new post-parse existence test feature
* Some.. other stuff
2004-07-18 08:48:43 +00:00
Tim Starling
451df485da restrictions on Special:Movepage 2004-07-10 01:28:25 +00:00
Tim Starling
02b80d0793 newbie detector 2004-06-26 01:48:39 +00:00
Tim Starling
24d8a8e50b new anti-bot code 2004-06-21 07:41:53 +00:00
Antoine Musso
5928a9238b EXPERIMENTAL: Stop requiring skin classes we do not use. Save about 210KB memory for a monobook user, should save more when user use standard. 2004-06-17 16:31:57 +00:00
Antoine Musso
c2e120054a * function style : foobar() {
* double to single quotes replacement ...
2004-06-17 15:21:26 +00:00
Brion Vibber
fcba7b15b9 Revert postgresql changes pending further testing and fixes; this breaks currently running wikis using memcached (such as Wikipedia) 2004-06-12 01:30:00 +00:00
Domas Mituzas
a8db64e877 change user into "user" for PG 2004-06-11 15:19:04 +00:00
Tim Starling
3a91f49fcd Minor bug fix 2004-05-31 11:00:20 +00:00
Tim Starling
dd74ff399a Fixed 1.2 compatibility in "skin" user option 2004-05-22 04:53:02 +00:00
Tim Starling
8f22cb45b1 include_once -> require_once 2004-05-07 13:43:10 +00:00
Brion Vibber
e0f7ccce19 If the given title is bad, don't die horribly but return a null user 2004-04-26 07:32:52 +00:00
Evan Prodromou
4d04aff2a3 Changed Metadata to use users' real names, if provided. If not, use their
user names, as "$wgSitename user Foo".

Added a static method to the User class to fetch a real name given an ID,
and added a pattern for specifying user names in Language.php.
2004-04-23 22:34:33 +00:00
Gabriel Wicke
90aadf7174 silence session_start when multiple sessions are started at once (e.g. loading a tab group in moz). Doesn't seem to be a bug, but i didn't investigate it really. 2004-04-19 18:33:13 +00:00