Last modified: 2011-10-08 16:48:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33531, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31531 - Create {{SERVERPROTOCOL}} or {{SECURESERVER}} variable for http/https detection
Create {{SERVERPROTOCOL}} or {{SECURESERVER}} variable for http/https detection
Status: RESOLVED INVALID
Product: Wikimedia
Classification: Unclassified
SSL related (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: ssl
  Show dependency treegraph
 
Reported: 2011-10-08 15:33 UTC by Gustronico
Modified: 2011-10-08 16:48 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gustronico 2011-10-08 15:33:31 UTC
Since secure server has changed, neither {{SERVER}} nor {{SERVERNAME}} provide a way to do this check. See [[MediaWiki:Loginend]] as a case.

* {{SERVERPROTOCOL}} should return  → http  or  → https

or, as an alternative proposal, it may be:

* {{SECURESERVER| Text if secure | Text if normal }}
Comment 1 Daniel Friesen 2011-10-08 16:04:23 UTC
Is the specific case for this for loginend?

We do want to avoid people throwing {{SERVERPROTOCOL}} into random pages and other messages forcing the parser cache and squid cache to be fragmented.

If the specific case for this is 'loginend' then perhaps instead of a magic word we could introduce a 'loginend-https' or 'loginend-secure' message.
Comment 2 Derk-Jan Hartman 2011-10-08 16:37:35 UTC
There already is [[MediaWiki:Loginend-https]]
Comment 3 Daniel Friesen 2011-10-08 16:48:23 UTC
;) then WP should use it, and this bug seams to be INVALID.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links