Last modified: 2014-07-20 23:38:03 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 T56348, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54348 - Special:ListUsers: Language::sprintfDate: The timestamp should have 14 characters
Special:ListUsers: Language::sprintfDate: The timestamp should have 14 charac...
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.24rc
PC Windows 7
: Low major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-19 21:27 UTC by zdroid9770
Modified: 2014-07-20 23:38 UTC (History)
4 users (show)

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


Attachments

Description zdroid9770 2013-09-19 21:27:37 UTC
This Special page works fine but when you want to look up only a certain group, except Active users or Bots list. You will get a [3c5b2754] YEAR-MONTH-DAY 24-HOUR-TIME Fatal exception of type MWException

This only occurs when looking only for administrators and bureaucrat.

Special:ListUsers&group=sysop
Special:ListUsers&group=bureaucrat
Comment 1 Sam Reed (reedy) 2013-09-19 21:28:34 UTC
Where are you seeing this issue?

https://www.mediawiki.org/wiki/Special:ListUsers?group=sysop work sfine
Comment 2 Andre Klapper 2013-09-20 15:16:38 UTC
Is this on a private wiki? See http://www.mediawiki.org/wiki/Manual:How_to_debug for how to get a stacktrace for that exception.
Comment 3 zdroid9770 2013-09-20 21:38:39 UTC
Okay. I have found the issue from the idea Andre gave me. Here is the line I got: /wiki/languages/Language.php on line 942
Comment 4 Sam Reed (reedy) 2013-09-20 21:40:08 UTC
What version of MediaWiki?
Comment 5 zdroid9770 2013-09-29 01:45:51 UTC
(In reply to comment #4)
> What version of MediaWiki?

Mediawiki 1.21.2
Comment 6 Bawolff (Brian Wolff) 2013-09-29 01:47:44 UTC
(In reply to comment #3)
> Okay. I have found the issue from the idea Andre gave me. Here is the line I
> got: /wiki/languages/Language.php on line 942

Please include the full error message (It should have a message, plus about 9 lines of backtrace)
Comment 7 Andre Klapper 2013-10-14 15:18:40 UTC
zdroid9770: Please include the full error message (It should have a message, plus about 9 lines of backtrace)
Comment 8 Andre Klapper 2013-11-08 15:33:49 UTC
Unfortunately closing this report as no further information has been provided.

zdroid9770: Please feel free to reopen this report if you can provide the information asked for and if this still happens. Thanks!
Comment 9 zdroid9770 2014-06-28 11:48:34 UTC
I'm sorry for the late, ''late'' reply but here I am. Currently, it is still active as of Mediawiki 1.23.1. I have also got a full error message.

[ecd45e0e] /wiki/Special:ListUsers Exception from line 1139 of /home/host/public_html/wiki/languages/Language.php: Language::sprintfDate: The timestamp should have 14 characters

Backtrace:

#0 /home/host/public_html/wiki/languages/Language.php(2190): Language->sprintfDate(string, boolean)
#1 /home/host/public_html/wiki/languages/Language.php(2213): Language->internalUserTimeAndDate(string, string, User, array)
#2 /home/host/public_html/wiki/includes/specials/SpecialListusers.php(206): Language->userDate(string, User)
#3 /home/host/public_html/wiki/includes/Pager.php(445): UsersPager->formatRow(stdClass)
#4 /home/host/public_html/wiki/includes/specials/SpecialListusers.php(384): IndexPager->getBody()
#5 /home/host/public_html/wiki/includes/specialpage/SpecialPage.php(379): SpecialListUsers->execute(NULL)
#6 /home/host/public_html/wiki/includes/specialpage/SpecialPageFactory.php(503): SpecialPage->run(NULL)
#7 /home/host/public_html/wiki/includes/Wiki.php(285): SpecialPageFactory::executePath(Title, RequestContext)
#8 /home/host/public_html/wiki/includes/Wiki.php(588): MediaWiki->performRequest()
#9 /home/host/public_html/wiki/includes/Wiki.php(447): MediaWiki->main()
#10 /home/host/public_html/wiki/index.php(46): MediaWiki->run()
#11 {main}
Comment 10 zdroid9770 2014-06-28 11:50:00 UTC
If you need any more information, I won't hesitate to help out. :) This as become a real big irritation on my side.
Comment 11 Jesús Martínez Novo (Ciencia Al Poder) 2014-06-28 11:53:00 UTC
reopening, actually
Comment 12 Jesús Martínez Novo (Ciencia Al Poder) 2014-06-28 12:55:59 UTC
zdroid9770: could you please run this query on your database and see if it returns any row?

 select user_name, user_registration from user 
 where length(user_registration) <> 14 or user_registration is null;

If it returns rows, look at the user names, and think about how those accounts were created. Maybe by an extension?
Comment 13 zdroid9770 2014-06-28 14:33:28 UTC
And here is the message I got from MySQL. :)

 MySQL returned an empty result set (i.e. zero rows). (Query took 0.0017 sec)
Comment 14 zdroid9770 2014-06-28 14:35:12 UTC
Just to be clear - there are only 4 users registered on the wiki. No more for right now.
Comment 15 zdroid9770 2014-07-20 15:23:45 UTC
I'm using 1.24alpha and very interesting.

On guest mode (not login), the special page works just fine. When logging in to an account, it creates the Internal Error.

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


Navigation
Links