Template:Slow: Difference between revisions

Content deleted Content added
No edit summary
imported>FrozenPlum
m Fix inconsistent doc format, am getting things roughly back to how they were before making wiki public again, just, Fandom import created lots of unnecessary junk to clean up
 
(2 intermediate revisions by 2 users not shown)
Line 1:
:<span style="font-weight:bold;color:red;text-decoration:underline;"onlyinclude>Warning:</spanincludeonly>{{note|'''Warning:''' This keyword can produceresult in very slow and inefficient queries on your MediaWiki system, potentially impacting performance for all users. (Seesee [http://followthescore.org/dpldemo/index.php/Issue:Modifiedby_and_createdby_produce_inefficient_SQL bug report].).|error}}</includeonly></onlyinclude>
{{Documentation}}
<noinclude>
== Background ==
This template was written by [[User:Maiden_taiwan]] after the DPL <code>createdby</code> keyword hurt performance on his MediaWiki system significantly. On a MediaWiki site with 100,000 articles and 3,000 users, this DPL took '''2.5 minutes''' to run:
 
<pre>
<dpl>
namespace=
createdby=someuser
</dpl>
</pre>
 
People were making these DPL calls all the time to find out what articles they had created. When two of these ran at once, it significantly hurt wiki performance.
 
[[Category:Templates]]
</noinclude>