Extension talk:WikiTextLoggedInOut

Hi there,

I have this extension successfully installed, however it does not seem to work as expected in a certain condition. My main page is "protected" so no other users can edit it besides admin. When the page is "unprotected" the tags work fine. The text I have is something like this:

 Please log in to the wiki!

So if you are logged in or out, the appropriate text shows.

However when the page is "protected", the proper text only shows for the admin account, but for all other users it shows the text even when they are logged in! Any suggestions? Thank you

Double0three 20:05, 11 February 2010 (UTC)


 * I dunno, but  looks rather wrong to me. Maybe you want  instead (assuming that we're talking about the UserWelcome extension, which nowadays is included in the SocialProfile extension). --Jack Phoenix (Contact) 15:38, 26 August 2010 (UTC)

Internal Error
Detected bug in an extension! Hook efWikiTextLoggedInOut failed to return a value; should return true to continue hook processing or false to abort. Backtrace: Geoffludt 20:06, 25 August 2010 (UTC)
 * 1) 0 /home/content/g/e/o/geoffludt/html/wiki/includes/parser/Parser.php(179): wfRunHooks('ParserFirstCall...', Array)
 * 2) 1 [internal function]: Parser->firstCallInit
 * 3) 2 /home/content/g/e/o/geoffludt/html/wiki/includes/StubObject.php(58): call_user_func_array(Array, Array)
 * 4) 3 /home/content/g/e/o/geoffludt/html/wiki/includes/StubObject.php(76): StubObject->_call('firstCallInit', Array)
 * 5) 4 [internal function]: StubObject->__call('firstCallInit', Array)
 * 6) 5 /home/content/g/e/o/geoffludt/html/wiki/includes/MessageCache.php(658): StubObject->firstCallInit
 * 7) 6 /home/content/g/e/o/geoffludt/html/wiki/includes/GlobalFunctions.php(744): MessageCache->transform('$1 - {{SITENAME...')
 * 8) 7 /home/content/g/e/o/geoffludt/html/wiki/includes/GlobalFunctions.php(707): wfMsgGetKey('pagetitle', true, false, true)
 * 9) 8 /home/content/g/e/o/geoffludt/html/wiki/includes/GlobalFunctions.php(613): wfMsgReal('pagetitle', Array, true)
 * 10) 9 /home/content/g/e/o/geoffludt/html/wiki/includes/OutputPage.php(480): wfMsg('pagetitle', 'Log out')
 * 11) 10 /home/content/g/e/o/geoffludt/html/wiki/includes/SpecialPage.php(770): OutputPage->setPageTitle('Log out')
 * 12) 11 /home/content/g/e/o/geoffludt/html/wiki/includes/SpecialPage.php(782): SpecialPage->setHeaders
 * 13) 12 /home/content/g/e/o/geoffludt/html/wiki/includes/SpecialPage.php(559): SpecialPage->execute(NULL)
 * 14) 13 /home/content/g/e/o/geoffludt/html/wiki/includes/Wiki.php(254): SpecialPage::executePath(Object(Title))
 * 15) 14 /home/content/g/e/o/geoffludt/html/wiki/includes/Wiki.php(64): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
 * 16) 15 /home/content/g/e/o/geoffludt/html/wiki/index.php(117): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
 * 17) 16 {main}


 * change function efWikiTextLoggedIn( &$parser ) to function efWikiTextLoggedInOut( &$parser ) avoids the error, but extension is still not working on MediaWiki 	1.15.3, PHP 	5.3.2 (apache2handler), MySQL 	5.1.35 Any help? --Jostar 14:59, 26 August 2010 (UTC)


 * The extension was broken by r70046 (version 1.2 of the extension). I've fixed the issue in r71702 (version 1.3 of the extension). --Jack Phoenix {{sub|(Contact)}} 15:38, 26 August 2010 (UTC)


 * Thanks, everything works fine now. --Jostar 17:38, 26 August 2010 (UTC)

Loggedin text always showing
MediaWiki 1.25 with WikiTextLoggedInOut version 1.4 or 1.5.

This extension seems broken in 1.25. Content within the tags is always displayed, while content within  tags is never shown, regardless of logged-in status. It did work in MediaWiki 1.19 with extension version 1.4.

--Nirobbins (talk) 19:06, 1 November 2017 (UTC)

Not well explained
I understood nothing about the way to use it, once it's installed.