Tɛmplet yɛltɔɣa:Wikidata image
Pahimi yaɣili| Text and/or other creative content from this version of en:Template:Wikidata image was copied or moved into Template:Wikidata image with this edit on 00:00, 17 September 2020. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted so long as the latter page exists. |
Edit request: Update Template:Wikidata_image to close null operation loop
[mali mi di yibu sheena n-niŋ](Apologies for posting in English)
Hello everyone,
This is a notice regarding the Template:Wikidata_image that is used in many pages. The template contains many 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 your 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! Sent by User:Danny Benjafield (WMDE) using the MediaWiki message delivery (Yɛltɔɣa) 13:59, 19 Silimin gɔli May 2026 (GMT)