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

       Web browser: ---
             Bug #: 29667
           Summary: action=parse edit links
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified


api action=parse should either:
- have a parameter to not generate section edit links
- respect edit user rights for '*' for anonymous access

I've set 
$wgGroupPermissions['*']['edit']              = false;
$wgGroupPermissions['user']['edit']           = true;

POST to the API as anonymous

format=json&action=parse&text===tezt==&prop=text 

RETURNS

<h2><span class=\"editsection\">[<a
href=\"\/sl\/index.php?title=API&amp;action=edit&amp;section=1\"
title=\"Spremeni razdelek: tezt\">uredi<\/a>]<\/span> <span
class=\"mw-headline\" id=\"tezt\">tezt<\/span><\/h2>

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to