<div dir="ltr">How can i get file full path from file template?<div><br></div><div>For example * {{audio|en|en-us-dictionary.ogg|Audio (US, California)}}</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 4, 2020 at 9:25 PM Brad Jorsch (Anomie) <<a href="mailto:bjorsch@wikimedia.org">bjorsch@wikimedia.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The error codes that may be changing are some of those representing invalid values for API parameters. Notably, the following will change:</div><div><ul><li>"noX", indicating that a required parameter was not specified, becomes "missingparam".<br></li><li>"unknown_X", indicating that an unrecognized value was specified for an enumerated-value parameter, becomes "badvalue".</li><li>"too-many-X", indicating that too many values were supplied to a multi-valued parameter, becomes "toomanyvalues".</li><li>"baduser_X", "badtimestamp_X", and so on become "baduser", "badtimestamp", and so on.<br></li></ul></div><div>Note this is not a comprehensive list, other codes may be changing as well.<br></div><div><br></div><div>These changes make the error codes more predictable, at the expense of not indicating in the code which parameter specifically triggered the error. If you have a use case where knowing which parameter triggered the error is needed, please let us know (by replying to this message or by filing a request in Phabricator) and we'll add the necessary error metadata.<br></div><div><br></div><div>The human-readable text is also changing for some of these errors (with or without error code changes), and for a few the error metadata may be changing (e.g. "botMax" changes to "highmax" for limit-type warnings in non-back-compat error formats).</div><div><br></div>This change will most likely go out to Wikimedia wikis with 1.35.0-wmf.19. See <a href="https://www.mediawiki.org/wiki/MediaWiki_1.35/Roadmap" target="_blank">https://www.mediawiki.org/wiki/MediaWiki_1.35/Roadmap</a> for a schedule.<div><br></div><div>-- <br><div dir="ltr"><div dir="ltr"><div>Brad Jorsch (Anomie)<br>Senior Software Engineer<br>Wikimedia Foundation</div></div></div></div></div>
_______________________________________________<br>
Mediawiki-api-announce mailing list<br>
<a href="mailto:Mediawiki-api-announce@lists.wikimedia.org" target="_blank">Mediawiki-api-announce@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce" rel="noreferrer" target="_blank">https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce</a><br>
_______________________________________________<br>
Mediawiki-api mailing list<br>
<a href="mailto:Mediawiki-api@lists.wikimedia.org" target="_blank">Mediawiki-api@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/mediawiki-api" rel="noreferrer" target="_blank">https://lists.wikimedia.org/mailman/listinfo/mediawiki-api</a><br>
</blockquote></div>