Extension talk:Contributors

It will not work ok when the MW version is 1.8.4
i have already fix this problems!I am --Wanglong 08:23, 26 September 2007 (UTC)

if I add the, the extension works ok,

but when I type the url:

http://localhost/allwiki/index.php/Special:Contributors

the system tell me: Fatal error: Call to undefined method IncludableSpecialPage::gettitlefor in E:\wamp\www\allwiki\extensions\Contributors\Contributors.page.php on line 206

because MW1.8.4 don`t have the method gettitlefor under SpecialPage.php, so i copy the method from the vesion of 1.10.0 to current version of my Mediawki 1.8.4 to the class SpecialPage: static function getTitleFor( $name, $subpage = false ) { $name = self::getLocalNameFor( $name, $subpage ); if ( $name ) { return Title::makeTitle( NS_SPECIAL, $name ); } else { throw new MWException( "Invalid special page name \"$name\"" ); }	}		/**	 * Get the local name for a specified canonical name */	static function getLocalNameFor( $name, $subpage = false ) { global $wgContLang; //		$aliases = $wgContLang->getSpecialPageAliases;// i get off this by pea if ( isset( $aliases[$name][0] ) ) { $name = $aliases[$name][0]; }		if ( $subpage !== false && !is_null( $subpage ) ) { $name = "$name/$subpage"; }		return $name; }

and then the extension can work!i am so happy! hehe !--Wanglong 08:23, 26 September 2007 (UTC)

Cite and Contributors extension
Hi. I am getting html validity warning when using both Cite and Contributors extensions.

Warning:  anchor "t-cite" already defined  Cituj tento článek   Main contributors  --147.229.5.124 06:52, 30 May 2007 (UTC)


 * Fixed, thanks. robchurch | talk 18:19, 1 June 2007 (UTC)

Embedding
When I did a test page for embedding in a page, it was one row and pretty much looks awful. :( --PurplePopple 14:59, 27 September 2007 (UTC)

Problem with custom namespaces
I've set up the contributors extension on my site and it works fine. This is a very useful extension.

However, I've got a problem with custom namespaces. Almost all articles on my wiki appear in custom namespaces and I would like to use the "main contributor" link in the toolbox to see the main contributors for these articles.

The problem is that the "main contributors" link appears in the toolbox on articles in the (Main) namespace, but not in the toolboxes in the custom namespaces.

I'm using MW version 1.9.1 with the monobook template.

I tried to set up a link to the special page using MediaWiki:sidebar, but I couldn't get this to work.

For some reason, the contributor extension is placing the "main contributors" link in the tool box only in the (Main) namespace.

Can anyone help me solve this problem?

Thanks..

--C4duser 23:50, 26 October 2007 (UTC)

How to add Contributors list on each article page?
I have installed this extension on my media wiki installation. It is working fine enough.

Is there anyway to tweak it so that it will shown on each article?

some tweaks to this extension
I've posted a version of this extension with some customizations (each name links to user homepage, option to show real name, more flexible layout): http://htyp.org/Contributors_extension

I have no idea what the process is for properly integrating these changes with the official release (assuming they're an improvement), so I'll leave it for someone else to do or else point me at a how-to... Thanks.

--Woozle 12:29, 14 November 2007 (UTC)

Doesn't work out of the box with PostgreSQL
Postgres will (correctly) complain that you neeed to group by rev_user as well as rev_user_text for the query to really make sense. To fix find the line that looks like:

'GROUP BY' => 'rev_user_text',

and change it to:

'GROUP BY' => 'rev_user_text, rev_user',

Mediawiki 1.15 and Contributors
Ok, so after some playing and tinkering, pushing and pulling, I finally got contributors working for my installation. For some reason it chokes on Line 50 of Contributors.page.php (Undefined call...)

Finally, after some thinking, I got it working by using the REL_1_14 branch. Here's my pertinent excerpts from Special:Version: MediaWiki 	1.15.1 PHP 	5.2.4-2ubuntu5.6 (apache2handler) MySQL 	5.0.51a-3ubuntu5.4

Installed extensions Special pages Collection (Version 1.2) 	Create books 	PediaPress GmbH and Siebrand Mazeland Contributors (Version 1.0.1beta) 	Summarises the main contributors to a page 	Rob Church Flagged Revisions 	Gives editors and reviewers the ability to validate revisions and stabilize pages 	Aaron Schulz and Joerg Baach Parser hooks Cite 	Adds  and tags, for citations 	Ævar Arnfjörð Bjarmason DynamicPageList (Version 1.8.6) 	A highly flexible report generator for MediaWikis - manual and examples: see [1] 	Gero Scholz ParserFunctions (Version 1.2.0) 	Enhance parser with logical functions 	Juraj Simlovic, Robert Rohde, Ross McClure and Tim Starling Extension functions efContributors, efLoadFlaggedRevs, wfSetupParserFunctions and (ExtDynamicPageList, setupDPL) Parser extension tags ,, , , and Parser function hooks anchorencode, basepagename, basepagenamee, defaultsort, displaytitle, dpl, dplchapter, dplmatrix, expr, filepath, formatdate, formatnum, fullpagename, fullpagenamee, fullurl, fullurle, gender, grammar, if, ifeq, iferror, ifexist, ifexpr, int, language, lc, lcfirst, localurl, localurle, namespace, namespacee, ns, numberingroup, numberofactiveusers, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, numberofviews, padleft, padright, pagename, pagenamee, pagesincategory, pagesinnamespace, pagesize, plural, protectionlevel, rel2abs, special, subjectpagename, subjectpagenamee, subjectspace, subjectspacee, subpagename, subpagenamee, switch, tag, talkpagename, talkpagenamee, talkspace, talkspacee, time, timel, titleparts, uc, ucfirst and urlencode

So, I got it working finally, and I hope it helps out anyone else running into the same issue. ~