When running 1.27 alpha (currently [[https://git.wikimedia.org/tree/mediawiki%2Fcore.git/0158312d4bc3de9c15064a12a73b4bf57580e45e|0158312d4bc3de9c15064a12a73b4bf57580e45e]]) I always get "Create account" and "Log in" with pretty standard LocalSettings.php and also when setting `$wgShowIPinHeader = true` explicitly.
Having applied the following patch:
````diff
diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php
index 12ebb54..6850f6a 100644
--- a/includes/skins/Skin.php
+++ b/includes/skins/Skin.php
@@ -730,7 +730,10 @@ abstract class Skin extends ContextSource {
*/
function showIPinHeader() {
global $wgShowIPinHeader;
- return $wgShowIPinHeader && session_id() != '';
+ wfDebugLog( __METHOD__, '$wgShowIPinHeader is ' . var_export( $wgShowIPinHeader, true ) );
+ $what = $wgShowIPinHeader && session_id() != '';
+ wfDebugLog( __METHOD__, "but returning " . var_export( $what, true ) );
+ return $what;
}
/**
````
I can see in the debug log the following when asking for http://tools.wikimedia.pl/~saper/y/index.php?title=Main_Page&action=edit
````
[Skin::showIPinHeader] $wgShowIPinHeader is true
[Skin::showIPinHeader] but returning false
[Skin::showIPinHeader] $wgShowIPinHeader is true
[Skin::showIPinHeader] but returning false
[Skin::showIPinHeader] $wgShowIPinHeader is true
[Skin::showIPinHeader] but returning false
````