Tim Starling
2fac1c7f17
Fix for r50955, don't use the skin of the target user when linking to them.
2009-05-26 15:20:04 +00:00
Robin Pepermans
45e9b032ec
Update per r50782:
...
* Remove all $wgAllowRealName, check $wgHiddenPrefs instead
* Make $wgAllowUserSkin obsolete too, check $wgHiddenPrefs instead
* And also only call globals if really needed, and remove unused globals
2009-05-24 12:09:15 +00:00
Siebrand Mazeland
10500033b7
Allow gender based localisation for 'lastmodifiedatby'
2009-04-25 09:02:54 +00:00
Alexandre Emsenhuber
c985f72800
Tweaks for Credits and Metadata:
...
* Put all functions into classed so that they can be autoloaded
* Marked all private methods as protected
* Article::getContributors() now returns UserArrayFromResult object
2008-08-18 19:21:55 +00:00
Chad Horohoe
4b98df1c9f
Use wfMsgExt() with parsemag instead of wfMsg().
2008-08-17 15:55:48 +00:00
Chad Horohoe
ffee8d25db
{{PLURAL}}-ize 'siteusers'
2008-08-17 15:45:08 +00:00
Aryeh Gregor
650be91fb8
Refactor a bit preparatory to fixing bug 8068: rewrite the robot policy stuff in OutputPage to allow index and follow policy to be set separately. Also now validates input to setRobotPolicy(). And renamed setRobotpolicy to setRobotPolicy, too. If anyone was accessing $mRobotpolicy directly they're out of luck, though.
2008-07-23 19:05:43 +00:00
Siebrand Mazeland
79d5225c0e
* remove end of line whitespace
...
* remove empty lines at end of file
* remove "?>" where still present
2008-04-14 07:45:50 +00:00
Aryeh Gregor
a15c419b3d
Remove ?>'s from files. They're pointless, and just asking for people to mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.)
2007-06-29 01:19:14 +00:00
Antoine Musso
c771fc9c96
Use Doxygen @addtogroup instead of phpdoc @package && @subpackage
2007-01-20 15:09:52 +00:00
Tim Starling
36ed0cd96c
Reverting 17479/17480, breaks subclassing of Linker methods by skins. See my comment on bug 7405.
2006-11-08 07:12:03 +00:00
Nick Jenkins
fa239349f2
* (bug 7405) Make Linker methods static. Patch by Dan Li.
2006-11-08 05:21:15 +00:00
Jimmy Collins
847f5a2fc0
Replaced 'lastmodifiedby' with 'lastmodifiedatby' with seperated parameters for date and time
2006-09-21 20:44:20 +00:00
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