Commit graph

13 commits

Author SHA1 Message Date
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