Last modified: 2011-01-25 01:08:49 UTC
The global block log breaks if there is more than one action a day and if one has the enhanced rc activated. it looks like |> 18:23 [Someone (2x)] instead of |> 18:23 ([[m:Special:Log/gblblock|Global block log]]) [Someone (2x)] Thanks in advance for Your help.
Also the global rights log. Just seein this in the rc: +- 02:17 [Someone; Someone else (2×)] instead of +- 02:17 (Global rights log) [Someone; Someone else (2×)]
Hmm.. both global blocks and global rights are my inventions. Did I miss something in creating a new log type?
*** Bug 15987 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > Hmm.. both global blocks and global rights are my inventions. Did I miss > something in creating a new log type? > I think the logs themselves are fine, just the line you see in RC.
Okay, the problem with global blocking (haven't looked into global rights, probably the same thing) is that its setting the wrong combination of namespace and title in the recentchanges table: mysql> SELECT rc_namespace,rc_title,rc_log_type FROM recentchanges WHERE rc_type = 3 ORDER BY rc_id DESC LIMIT 3; +--------------+-------------------------------+-------------+ | rc_namespace | rc_title | rc_log_type | +--------------+-------------------------------+-------------+ | 2 | 123.123.123.123 | block | | -1 | Contributions/125.125.125.126 | gblblock | | -1 | Contributions/125.125.125.125 | gblblock | +--------------+-------------------------------+-------------+ When the enhanced RC sees something in the special namespace, it assumes its going to be in the format of 'Log/type', and anything else just sets an empty string (includes/Changeslist.php Lines 431-440) The fix would be to set the namespace to 2 like normal blocking and the title to just the username/IP address. Hopefully it can be done without breaking existing log entries.
(In reply to comment #1) > Also the global rights log. > > Just seein this in the rc: > > +- 02:17 [Someone; Someone else (2×)] > > instead of > > +- 02:17 (Global rights log) [Someone; Someone else (2×)] > With enhanced RC, I see: +- 21:58 (Global block log) . . [Mike.lifeguard; Spacebirdy (2×); Drini (3×); Dungodung (4×); Mardetanha (6×)] So... I guess this got fixed at some point, possibly r48005?
to test bug 18054
and now wikibugs should tell me it's changed to fixed...