Last modified: 2012-12-30 20:47:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31667, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29667 - action=parse edit links option
action=parse edit links option
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-01 11:32 UTC by Jure Kajzer
Modified: 2012-12-30 20:47 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jure Kajzer 2011-07-01 11:32:29 UTC
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>

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links