User:Jeremy/sandbox: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{#batchupload:Uploads|+rename= !^({{#var:PagePrefix}}[./+]*)?!iu -->{{#var:PagePrefix}}}} | {{#batchupload:Uploads|+rename= !^({{#var:PagePrefix}}[./+]*)?!iu -->{{#var:PagePrefix}}}} | ||
{{#vardefine:HasFileFolderSize|{{#ask:[[Category:Uploads]][[~*{{#var:PagePrefix}}*]]|?Has file size#-|format=sum}}}} | |||
{{#vardefine:HasNumOfFiles|{{#ask:[[Category:Uploads]][[~*{{#var:PagePrefix}}*]]|format=count}}}} | |||
{{#ask:[[Category:Uploads]][[~*{{#var:PagePrefix}}*]] | |||
|?Has file size | |||
|?Creation date | |||
|?Modification date | |||
|?Page author | |||
|?MIME Type | |||
|?Page creator | |||
|?Has Description | |||
|?Number of revisions | |||
|?Has file ext | |||
|format=template | |||
|template=PagePrefix - Result Row | |||
|introtemplate=PagePrefix - Result Top | |||
|outrotemplate=PagePrefix - Result Bot | |||
|userparam={{#var:PagePrefix}} | |||
|link=none | |||
|limit=200 | |||
|default=no files | |||
}} | |||
To avoid filename duplications, files uploaded here will be given the prefix "{{#var:PagePrefix}}" |
Revision as of 05:29, 31 March 2022
Template:PagePrefix - Result TopTemplate:PagePrefix - Result RowTemplate:PagePrefix - Result Bot<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "2894-*" of the query was not understood.Results might not be as expected.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>
To avoid filename duplications, files uploaded here will be given the prefix "MediaWiki:Msk2894-"