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

       Web browser: ---
             Bug #: 31397
           Summary: Custom namespaces are not shown correctly in the log
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: AbuseFilter
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Hey,

I noticed a problem when AbuseFilter triggers on an edit that is performed on a
custom namespace. The log shows an entry like this:

    <IP> triggered filter 8, performing the action "edit" on :Page title.
Actions taken: […]

As you can see, the page is mentioned as “:Page title”, while the actual name
is “Custom namespace:Page title”. Going to the details page for the log entry
also shows that the namespace is correctly recognized within the action
parameters, but the log entry is missing the namespace (and as such also
produces an invalid link).

It works as expected with built-in namespaces, the problem just appeared for a
custom namespace. Judging by the extension's source, I guess that there is some
problem in recognizing the custom namespace, when the filter triggers. After
all the log is just using the `afl_namespace` database field equally for all
log entries.

As of now, I can neither take a look at the database to confirm the incorrect
`afl_namespace` content, nor replicate this explicitely. I can however try to
do this locally on a test wiki if required.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to