Commit graph

21 commits

Author SHA1 Message Date
Brion Vibber
0a26267688 Revert to r14512; domas introduced massive breakage with incomplete experimental changes. They will be recommitted when they work. :) 2006-06-01 08:19:02 +00:00
Domas Mituzas
bda0b8e104 Use AutoLoader to load classes:
* remove require_once() throughout whole code, yet left in few places
* move global functions in HttpUtils, ProxyTools, Credits to class methods
* php5 only: __autoload() now used, combined with class->file map and require()
* move initialization of $wgValidSkinNames to Skin::getSkinNames()
* few more changes that will surely break stuff.
2006-06-01 07:22:49 +00:00
Brion Vibber
f2c29baf9f Update the FSF's address in all these GPL stub headers 2006-04-05 07:43:17 +00:00
Lupin
11337038b3 removing unused globals and some whitespace cleaning 2006-03-07 01:10:39 +00:00
Antoine Musso
d8a1fe8801 Fix #2855: Credit for a uniq author showed its realname even with $wgAllowRealName=false. 2005-08-13 09:03:36 +00:00
Tim Starling
8252f9c5c3 profiling 2005-05-28 06:53:22 +00:00
Ævar Arnfjörð Bjarmason
a9a42b802e * minor whitespace change 2005-04-05 10:23:23 +00:00
Evan Prodromou
18d75c788b Whitespace fixup 2004-11-11 22:16:54 +00:00
River Tarnell
a4e05bafd5 don't double escape 2004-10-14 09:26:51 +00:00
River Tarnell
47f1f432aa restore accidentally broken functionality 2004-10-14 09:18:36 +00:00
River Tarnell
217357f46e fix xss attack 2004-10-14 08:58:47 +00:00
Zheng Zhu
2d244b91f7 Attempt to fix links not fixed in the wgLang->wgContLang transition 2004-09-24 18:24:01 +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
3d60242fb5 massive double to single quotes conversion. I have not noticed any bug after a lot of testing 2004-08-22 17:24:50 +00:00
Evan Prodromou
827c0e138a Fix a bug where there's no contributors but the format gets called anyways. 2004-06-28 21:47:59 +00:00
Evan Prodromou
4e9e22c4b1 In credit blocks, show user pages as missing/existing links, depending on
user page state.
2004-06-28 20:42:13 +00:00
Evan Prodromou
40503e6af2 Fixed a couple of credits bugs. The string for linking to the full credits
page wasn't listed in Language.php; now it is. Also, there was an
array-iteration bug in Credits that is now fixed.
2004-06-28 20:32:51 +00:00
Evan Prodromou
51a38cfbc5 Only show last N contributors in the credits. Unfortunately, this required a
change in the getContributors() method of Article, which in turn required
some code changes in the Metadata module.

However, it now seems to work.

If the number of contributors is greater than N, then show a link to the
full credits page.

An additional bit: it may be that we don't want to show _any_ contributors
if we are over the max. So, there's a flag to check this.
2004-06-28 20:24:23 +00:00
Evan Prodromou
e9080b7357 Make user names (and real names) in credits block link to user pages.
Also, fix a bug in Skin.php so that if $wgMaxCredits < 0, all credits are
shown.

Finally, document the $wgMaxCredits config var better.
2004-06-28 18:35:03 +00:00
Evan Prodromou
f2760f1e19 Moved credits stuff from Skin.php to a separate module. Added a "credits"
action, which shows credits on their own page. Some Language strings to
support the separate credits page.

TODO: link user pages in credits, limit credits.
2004-06-28 17:46:54 +00:00