- wfSetupSession()
- session_id()
- $_SESSION['wsCollection']
Description
Details
Event Timeline
This has been high for a couple of years now so reflecting reality.
What would we use instead?
It seems Collection extension uses wfSetupSession to change HTML for anonymous users using the book creator....
Interesting. I didn't realise we didn't allow for sessions for anonymous users. I'm curious how this works with Varnish now.
Change 381806 had a related patch set uploaded (by Pmiazga; owner: Pmiazga):
[mediawiki/extensions/Collection@master] [WIP] Use SessionManager instead of wfSetupSession
Hi @BBlack we have a few questions relating to this on how sessions are managed in mediawiki for anons on Varnish layer. Would appreciate your insight!
Change 415760 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/Collection@master] Avoid calls to deprecated wfSetupSession, $_SESSION, and session_id
Change 415760 merged by jenkins-bot:
[mediawiki/extensions/Collection@master] Avoid calls to deprecated wfSetupSession, $_SESSION, and session_id
Change 381806 abandoned by Jforrester:
[WIP] Use SessionManager instead of wfSetupSession
Reason:
Done in I3ea8287e1f.