mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Pass 'pst' as true in parse request for fragments
In our parse request for 'wikitext fragments', used in the transclusion dialog and extension inspectors, we weren't passing 'pst' as true, so while [[Foo|Bar]] came back as expected, [[Foo (bar)|]] just came back as plain text, confusing users. Bug: 60998 Change-Id: I9931ad8034273ceb19c027d5035c63422cc0e570
This commit is contained in:
parent
2962ca52b1
commit
831141e692
|
@ -212,6 +212,7 @@ class ApiVisualEditor extends ApiBase {
|
|||
'title' => $title,
|
||||
'prop' => 'text',
|
||||
'disablepp' => true,
|
||||
'pst' => true,
|
||||
'text' => $wikitext
|
||||
);
|
||||
$api = new ApiMain(
|
||||
|
|
Loading…
Reference in a new issue