Rosetta Code:Village Pump/Unimplemented tasks: Difference between revisions
Rosetta Code:Village Pump/Unimplemented tasks (view source)
Revision as of 08:52, 21 July 2023
, 9 months agono edit summary
(Applied Template:vptopic) |
No edit summary |
||
Line 16:
=To Bot or Not to Bot?=
'''I think that using bots isn't a good thing, it's better try to use a [[PHP]] Script to display unimplemented tasks, take a look at my code. This using rewrite engine will be awesome.'''--[[User:Guga360|Guga360]] 21:59, 16 February 2009 (UTC)
<syntaxhighlight lang="html">
<?
if (!isset($_GET['lang'])) die("Language not specified.");
Line 69:
</body>
</html>
</syntaxhighlight>
: There are two main reasons I didn't go with that approach.
:# The intersection is calculated every time the page is viewed, which means two queries for each view. That will fail under loads far lighter than MediaWiki will otherwise normally handle.
|