Jump to content

Manual talk:$wgMaxCredits

Add topic
From mediawiki.org
Latest comment: 2 years ago by AdamMillerchip in topic Algorithm

Algorithm

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


It would be nice to have a description of how this list is generated and the order determined.

Currently, it seems if "Foo" wrote almost the whole article, and "Bar" made a single edit, after Foo's latest edit it will say "Last edit by Foo, based on work by Bar". Adam Millerchip (talk) 00:16, 28 July 2022 (UTC)Reply

It appears to just list the most recent editors:
https://github.com/wikimedia/mediawiki/blob/369028a4ad2cb4fa68e292990015d60214059594/includes/actions/CreditsAction.php#L148
https://github.com/wikimedia/mediawiki/blob/369028a4ad2cb4fa68e292990015d60214059594/includes/page/WikiPage.php#L1233 Adam Millerchip (talk) 00:42, 28 July 2022 (UTC)Reply
I've updated the page with this info. Adam Millerchip (talk) 01:15, 28 July 2022 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.