AFAIK this is what blocks bug 47721.
Version: 1.22.0
Severity: normal
AFAIK this is what blocks bug 47721.
Version: 1.22.0
Severity: normal
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | Feature | None | T40450 Reimplement MediaWiki's info action (tracking) | ||
| Open | Feature | None | T41533 Include action=credits output into action=info as well | ||
| Open | None | T87268 Copyright license and attribution issues (tracking) | |||
| Open | Feature | None | T30064 Collection extension needs some way to credit original authors of a work | ||
| Open | Feature | None | T49721 Restore action=credits on Wikimedia wikis | ||
| Duplicate | None | T49722 Make action=credits faster | |||
| Open | Feature | None | T49723 Cache action=credits results |
"Make action=credits faster" is not a valid bug report, as it's unfixable (when is it "fast enough")?
Needs some actual criteria to become a bug report...
(In reply to comment #1)
Needs some actual criteria to become a bug report...
They'll need to be added by someone who knows the requirement for enabling it on WMF wikis.
mysql:wikiadmin@db1056 [enwiki]> EXPLAIN SELECT /* WikiPage::getContributors 192.168.0.18 */ rev_user AS user_id,rev_user_text AS user_name,user_real_name,MAX(rev_timestamp) AS timestamp FROM revision LEFT JOIN user ON ((rev_user = user_id)) WHERE rev_page = '1' AND (rev_user_text != '192.168.0.18') AND ((rev_deleted & 4) = 0) GROUP BY rev_user,rev_user_text ORDER BY timestamp DESC\G
possible_keys: PRIMARY,page_timestamp,usertext_timestamp
key: PRIMARY
key_len: 4
ref: const
rows: 1
Extra: Using where; Using temporary; Using filesortpossible_keys: PRIMARY
key: PRIMARY
key_len: 4
ref: enwiki.revision.rev_user
rows: 1
Extra:2 rows in set (0.03 sec)
Main problem:
Extra: Using where; Using temporary; Using filesort
@sam Reed
IMO, this looks to be pretty complicated to achieve to build an efficient solution without computing this list asynchronously (and storing it somewhere).