User talk:Mplewis: Difference between revisions

From DominionStrategy Wiki
Jump to navigation Jump to search
After the content model change to json, it actually already has syntax support.
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==LazyLoad Images==
==LazyLoad Images==
<syntaxhighlight lang=php>$wgNativeImageLazyLoading = true;</syntaxhighlight>
<syntaxhighlight lang=php>$wgNativeImageLazyLoading = true;</syntaxhighlight>
Is this variable currently set to true? –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 23:40, 16 September 2024 (UTC)
Is this variable currently set to true? If not, I think it would be good to set to true. –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 23:40, 16 September 2024 (UTC)
:This is now enabled: <code><img src="/images/thumb/0/01/Innkeeper.jpg/200px-Innkeeper.jpg" loading="lazy" ...></code> -[[User:Mplewis|Mplewis]] ([[User talk:Mplewis|talk]]) 18:02, 18 September 2024 (UTC)
::Thank you! –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 22:58, 18 September 2024 (UTC)


==JSON==
==JSON==
I found out you can change the content model of a page to JSON. So I guess we don't need .json file uploads after all. –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 23:14, 17 September 2024 (UTC)
I found out you can change the content model of a page to JSON. So I guess we don't need .json file uploads after all. –[[user_talk:wikiwikiwiki|wikiwikiwiki]] 23:14, 17 September 2024 (UTC)

Latest revision as of 22:58, 18 September 2024

LazyLoad Images

$wgNativeImageLazyLoading = true;

Is this variable currently set to true? If not, I think it would be good to set to true. –wikiwikiwiki 23:40, 16 September 2024 (UTC)

This is now enabled: <img src="/images/thumb/0/01/Innkeeper.jpg/200px-Innkeeper.jpg" loading="lazy" ...> -Mplewis (talk) 18:02, 18 September 2024 (UTC)
Thank you! –wikiwikiwiki 22:58, 18 September 2024 (UTC)

JSON

I found out you can change the content model of a page to JSON. So I guess we don't need .json file uploads after all. –wikiwikiwiki 23:14, 17 September 2024 (UTC)