Jump to content

Topic on Skin talk:Apex

Complicated to log in?

4
93.220.23.79 (talkcontribs)

I observed that I need three (and a half) steps to log in

  1. open sidebar
  2. click Special pages
  3. click Log In (after scrolling)

Is this intended behaviour? Thanks in advance for helpful responses.

Wescorner (talkcontribs)

I wish the fly-out menu has a login link too.

AdamLacey (talkcontribs)

I currently too wish the Apex Skin had a Login Link at the top were the Logout Link is displayed if you are not logged in. But Yes it's complicated being in that bar and I have has Users complain about that.

I suggest making a link yourself on the main page that links to the back to your special page page "http://WikiURL/index.php?title=Special:UserLogin"

In the Apex Template.php, I added the line in bold below:

               

<div class="apex-content-wrapper">

            

<div id="content" class="mw-body">

                

<div style="float: right;">

                    

<a href="http://'''YOURWIKISITE'''/index.php?title=Special:UserLogin">[ Login |</a>

                    

<a href="http://'''YOURWIKISITE'''/index.php?title=Special:UserLogout&returnto=Main+Page">Log Out ]</a>

                

</div>

To Make the link appear on every page regardless, not as night as having the dynamic option link at the top like you would expect and I'm not a PHP Expert, but it works for me.

96.94.166.249 (talkcontribs)

To fix this issue so a login button always appears when not logged in, in ApexTemplate.php change these lines

<h5><?php $this->msg( 'personaltools' ) ?></h5>
   <ul<?php $this->html( 'userlangattributes' ) ?>>
       <?php foreach ( $this->getPersonalTools() as $key => $item ): ?>
           <?php if ( $key === 'userpage' ): ?>

TO Adding a || $key === 'login'

<h5><?php $this->msg( 'personaltools' ) ?></h5>
   <ul<?php $this->html( 'userlangattributes' ) ?>>
       <?php foreach ( $this->getPersonalTools() as $key => $item ): ?>
           <?php if ( $key === 'userpage'  || $key === 'login'): ?>

Inside "protected function renderNavigation( $elements )" Inside "case 'PERSONAL':"

Based on apex for mediawiki 1.33

Reply to "Complicated to log in?"