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

       Web browser: ---
            Bug ID: 43601
           Summary: Support third-party use by eliminating hard dependency
                    on Varnish
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: EventLogging
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

We should have a working implementation of the beacon endpoint in MediaWiki for
third-party users who may not be using Varnish.

It should be pretty easy to do. I think this snippet should do the trick, but
I'm not sure where to put it.


    wfDebugLog( 'EventLogging', $_SERVER['QUERY_STRING'] );
    while ( ob_get_level() ) {
        ob_end_clean();
    }
    header( 'HTTP/1.1 204 No Content' );

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to