Why: * Special:Contributions and Special:DeletedContributions allow a user to view contributions from IP addresses and ranges. * When temporary accounts are enabled, no new revisions will appear in the results when searching for IP addresses and ranges * For this reason and to be consistent with designs on T369859, the Special:Contributions and Special:DeletedContributions pages should indicate that the contributions are legacy when temporary accounts are enabled. What: * Define ::getResultsPageTitleMessageKey for both SpecialContributions and SpecialDeletedContributions to return the "legacy" title when temporary accounts are enabled and the target of the search is an IP address or range. * Because T269521 is resolved, remove the null default values for the constructor arguments of SpecialContributions. This is done because we are passing a new service through the constructor and defining it as null by default is unnecessary. * Test these changes. Depends-On: I63ac28917788f947894ea4f0bf71a7ff30d7a5aa Bug: T369859 Change-Id: I5d1007d7d317323e93103260985be4a23cdb6848 |
||
|---|---|---|
| .. | ||
| data | ||
| i18n | ||
| messages | ||
| .htaccess | ||