Content deleted Content added
m Reverted edits by 95.49.104.77 (talk) to last version by AnomieBOT |
Updating published sources: TaskRedirectChecker: * Escape templates in the dummy section heading by encoding "{". |
||
Line 88:
# because the encoded anchors returned in "sections" varies based on
# server settings. Note this doesn't support {{anchor}} or the like.
$anchor =~ s/\{/{/g;
$res=$api->query(action=>'parse',title=>$title,text=>"__TOC__\n== XXX $anchor ==\n\n{{:$title}}",prop=>'sections');
if($res->{'code'} ne 'success'){
|