Hi all,
as a rewarding mechanism, i want to display the contributor names of each article in an infobox on the right side of the article page. How can i create a template for this? May be it display the names and number of edits.
Regards,
Jack Eapen C SunTec Knowledge Centre ------------------------------------------------------------------------ ------------ "Try and fail, but don't fail to try"
This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You
Jack Eapen C wrote:
Hi all,
as a rewarding mechanism, i want to display the contributor names of each article in an infobox on the right side of the article page. How can i create a template for this? May be it display the names and number of edits.
I don't understand: you mean the main contributors of each article?
Snowolf
Hi Jack,
I believe you get credits to show up by editing the DefaultSettings.php in the includes directory. Edit the following: *$wgMaxCredits = 0; * a *-1* shows all, a *0 *hides it, and *any other number* sets the maximum credits to show.
Some caveats: 1. This can slow down your site. 2. This uses the authors real name (if they inputed it) instead of their handle. 3. It shows up on the bottom (See the footer at http://www.appropedia.org/for an example). ---- I think that you could edit the skin to have that part of the footer show up as a infobox on the side.
Good luck, I would love to hear how it goes, Lonny
On Nov 26, 2007 4:21 AM, Snowolf snowolf@snowolf.eu wrote:
Jack Eapen C wrote:
Hi all,
as a rewarding mechanism, i want to display the contributor names of each article in an infobox on the right side of the article page. How can i create a template for this? May be it display the names and number of edits.
I don't understand: you mean the main contributors of each article?
Snowolf
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org