I noticed that the 'othercontribs' info isn't showing up in v1.4.0. In v1.3.11, setting,
$wgMaxCredits = 2; $wgShowCreditsIfMax = false;
in LocalSettings.php would produce a message like,
"This page was last modified <time>, <date> by <site> user <user_name>. Based on work by others."
where 'others' is a link to the Credits page for that page. And, all of the contributors would be listed on the Credits page.
In v1.4.0, the "Based on work by others." text doesn't show up, nor does the Credits page list any contributors other than the last. I've also tried other settings for $wgMaxCredits, like -1, but none of these seem to cause any variation in behavior.
Is this a known issue? If so, is there a known fix or workaround to get this working again?
John Blumel
On Mar 25, 2005, at 12:12pm, John Blumel wrote:
I noticed that the 'othercontribs' info isn't showing up in v1.4.0.
I don't know if this is the correct place to report this but, hopefully, it will get noticed...
It seems that this problem is due to an error in the WHERE clause of the SELECT statement assembled in the getContributers() function inside Article.php. The code, as it exists in v1.4.0, is:
function getContributors($limit = 0, $offset = 0) { [...] WHERE old_namespace = $user [...] }
However, it should be:
function getContributors($limit = 0, $offset = 0) { [...] WHERE old_namespace = $ns [...] }
John Blumel
John Blumel wrote:
I don't know if this is the correct place to report this but, hopefully, it will get noticed...
We've got a bug tracker at http://bugzilla.wikimedia.org/ which is generally a good place.
It seems that this problem is due to an error in the WHERE clause of the SELECT statement assembled in the getContributers() function inside Article.php.
Thanks for the catch! I've checked in the correction, and it will be in the 1.4.1 bug-fix release.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org