https://bugzilla.wikimedia.org/show_bug.cgi?id=17781

           Summary: list=logevents shows "User:$blockid" as a title for
                    autoblock unblock entries
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://en.wikipedia.org/w/api.php?action=query&list=loge
                    vents&letype=block&lelimit=1&lestart=2009-03-
                    04T00:35:07Z
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: API
        AssignedTo: roan.katt...@home.nl
        ReportedBy: nicd...@gmail.com
                CC: bryan.tongm...@gmail.com, vasi...@gmail.com


Hi!

Please see the link for an example.

title="User:#1338201" gives the impression that it is a Mediawiki Page Title,
but is in fact invalid...

In fact, the related sql entry in the logging table stores log_title as
"#1338201"; I don't see why the title is prefixed by "User:"?! (Well, since
log_ns is always equal to NS_USER for these entries, a Title object created
from log_ns & log_title is likely to end up in User space, true...) Can this be
avoided ?

Also, since title parameter (with or without User: prefix) should not be
interpreted as a Page title, would it be possible to add a specific details
field in the returned data to emphasize this? 
autoblock="" ? flags="autoblock" ? (As of now, flags are unused for
action="unblock")

Thanks!


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to