This ultimately makes debugging harder. Each method should be returning a string instead of modifying a string variable, and then use string concatenation in the main function.
Description
Description
Details
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | Universal_Omega | T264908 Convert Cosmos to use HTML templating | |||
Resolved | SamanthaNguyen | T265232 Cosmos skin: Don't pass string variables by reference in CosmosTemplate |
Event Timeline
Comment Actions
Change 633582 had a related patch set uploaded (by SamanthaNguyen; owner: SamanthaNguyen):
[mediawiki/skins/Cosmos@master] Technical debt cleanup: Remove unused parameters from methods
Comment Actions
Change 633582 merged by jenkins-bot:
[mediawiki/skins/Cosmos@master] Technical debt cleanup: Remove unused parameters from methods
Comment Actions
Change 634143 had a related patch set uploaded (by SamanthaNguyen; owner: SamanthaNguyen):
[mediawiki/skins/Cosmos@master] CosmosTemplate: Don't pass string parameter by reference
Comment Actions
Change 634143 merged by jenkins-bot:
[mediawiki/skins/Cosmos@master] CosmosTemplate: Don't pass string parameter by reference