Gotûbêja şablonê:Wikidata image
Mijarekê lê zêde bike| Ev rûpela gotûbêjê ji bo nîqaşên li ser pêşvexistina Wikidata image ye. |
|
Edit request: Update Template:Wikidata_image to close null operation loop
[çavkaniyê biguhêre](Apologies for posting in English)
Hello everyone,
This is a notice regarding this Template that is used in many pages. The template contains operations that have no output; despite having no result, the operation is still processed.
As this Template is used on millions of pages across the Wikimedia Projects, this creates a significant but unnecessary additional load on Wikimedia servers: we would like to reduce this.
// The change //
Currently, the template performs a series of functions, some of which have no output (known as a null operation loop). These functions can be removed without changing or harming the template’s functionality.
// What you need to do //
Please update the local template code of Template:Wikidata_image with this version we have created, available here: Suggested edit for Template:Wikidata_image, and it is also pasted below, for you convenience:
{{ #if:{{NAMESPACE}}||
{{ #if:{{{1|}}}
|
|
{{ #if:{{{2|}}}
|
| {{ #if:{{#property:P18}}
| [[Category:No local image but image on Wikidata]]
|
}}
}}
}}
}}<noinclude>
{{doc}}
</noinclude>
Note: The [[Category:No local image but image on Wikidata]] name is often locally translated, please check what is in the previous version and replace if needed.
Let me know if you have any questions about this change or need assistance to make the edit. Thank you for your help! – Danny Benjafield (WMDE) (gotûbêj) 08:35, 20 nîsan 2026 (UTC)