Talk:API:Parsing wikitext
From MediaWiki.org
[edit] Minor issues with expandtemplates
Hi,
I just want to report two issues with expandtemplates :
- expandtemplates seems to work for only one level of templates (templates inside templates are not expanded)
- expandtemplates doesn't take into account <includeonly> or <noinclude>
For example, on the French Wikipedia, expandtemplates for {{e}} gives <includeonly>{{exp|e}}</includeonly><noinclude> {{/Documentation}} </noinclude>
- Possibly you should report this to http://bugzilla.wikimedia.org/, so the issues can be properly tracked and fixed. -- Tbleher 10:16, 22 January 2008 (UTC)
- Ok, done. There's the same problem for Special:ExpandTemplates. --NicoV 14:54, 22 January 2008 (UTC)
- Seems to be fixed --NicoV 17:54, 23 January 2008 (UTC)
- Ok, done. There's the same problem for Special:ExpandTemplates. --NicoV 14:54, 22 January 2008 (UTC)
[edit] error with parse...
i am getting the following return...
<?xml version="1.0"?> <api> <error code="params" info="The page parameter cannot be used together with the text and title parameters" xml:space="preserve">
my query string looks like this...
/api.php?action=parse&page=Houdini
i am using mw 1.15.1 i get nothing of value from the mw debug log and i have verified that my rewrite rules are not adding the title parameter. any thoughts? 67.97.209.36 14:25, 18 November 2009 (UTC)
- if i change my query string to this...
-
/api.php?action=parse&text={{Houdini}} - i get the expected result.
- 67.97.209.36 16:46, 18 November 2009 (UTC)