https://bugzilla.wikimedia.org/show_bug.cgi?id=40664
Web browser: ---
Bug #: 40664
Summary: Unable to get template arguments through API
Product: MediaWiki
Version: 1.20-git
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: Unprioritized
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Currently it is very difficult to parse templates externally. For example, if
there is a template on a page with {{bots|deny=foo}}, a query to the
"templates" prop shows that the "bots" template is on the page, but there is no
way to get its attributes (both args and kwargs).
As such, it would be nice to have some API call where you both get the
templates on a page and their attributes. As far as I can see this isn't
currently implemented (apologies if I've missed it).
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l