Having this overridable doesn't really help at all when the template
parameters' names aren't.
Change-Id: I43b1b50c62df78d8a6c912a138cf277677450381
ForeignStructuredUpload.prototype.getText = function () {
return (
'== {{int:filedesc}} ==\n' +
- '{{' +
- this.getTemplateName() +
+ '{{Information' +
'\n|description=' +
this.getDescriptions() +
'\n|date=' +
return this.date.toString();
};
- /**
- * Gets the name of the template to use for creating the file metadata.
- * Override in subclasses for other templates.
- *
- * @private
- * @return {string}
- */
- ForeignStructuredUpload.prototype.getTemplateName = function () {
- return 'Information';
- };
-
/**
* Fetches the wikitext for any descriptions that have been added
* to the upload.