jayvdb added a comment.

`action=expandtemplates` also expands parser functions.
e.g. 
https://en.wikipedia.org/w/api.php?action=expandtemplates&text={{fullurl:%20Main%20Page%20}}
returns

  {
      "warnings": {
          "expandtemplates": {
              "*": "Because no values have been specified for the prop 
parameter, a legacy format has been used for the output. This format is 
deprecated, and in the future, a default value will be set for the prop 
parameter, causing the newformat to always be used."
          }
      },
      "expandtemplates": {
          "*": "//en.wikipedia.org/wiki/Main_Page"
      }
  }


TASK DETAIL
  https://phabricator.wikimedia.org/T122075

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: jayvdb, Aklapper, StudiesWorld, maiden_taiwan, pywikibot-bugs-list



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to