User:Holmes.bot
From Wikipedia, the free encyclopedia
open (INPUT, "< $filepageid") || &file_open_error("$filepageid");
while ($page_id=<INPUT>){
chomp($page_id);
push @page_ids, $page_id;
$hits_upto_sth->execute($page_id, $start_date);
$hits{upto}{$page_id} = $hits_upto_sth->fetchrow_array();
$hits_daily_sth->execute($page_id, $today);
$hits{today}{$page_id} = $hits_daily_sth->fetchrow_array();
$hits_daily_sth->execute($page_id, $yesterday);
$hits{yesterday}{$page_id} = $hits_daily_sth->fetchrow_array();
$hits_range_sth->execute($page_id, $start_of_30_days,
$end_of_30_days,);
$hits{monthly}{$page_id} = $hits_range_sth->fetchrow_array();
}
| Bot Approvals Group Administration Templates |
|||
| Bot Templates | Output | Comments | |
| {{BotTrial}} | |||
| {{BotExtendedTrial}} | The extended trial template uses the same parameters as the standard trial template (see below). | ||
| {{BotTrial|edits=50}} | This is for a trial for a certain number of edits (this option may be combined with others) | ||
| {{BotTrial|days=7}} | This is for a trial for a certain number of days (this option may be combined with others) | ||
| {{BotTrial|userspace=yes}} | This is a userspace only trial (this option may be combined with others) | ||
| {{BotTrial|edits=50|days=5|userspace=yes}} | This is a trial showing all the options | ||
| {{BotTrialComplete}} | For use by bot the operator to report that the bot has completed its trial period. | ||
| {{BotSpeedy}} | |||
| {{BotApproved}} | |||
| {{BotDenied}} | |||
| {{BotWithdrawn}} | |||
| {{BotExpired}} | |||
| {{BotRevoked}} | |||
| {{BotStatus}} | |||
| {{BotComment}} | |||
| {{OperatorAssistanceNeeded}} | This will result in the bot sending a message to the operator. | ||
| {{BAGAssistanceNeeded}} | This is intended for use if urgent attention is needed or if a request is being neglected, do not use it after every comment. | ||
|
{{subst:Bot Top|Status|BotName}} |
Includes <noinclude> tag and the appropriate bot category (when using "subst") | ||
| {{subst:Bot Bottom}} {{subst:BB}} |
|
Includes </noinclude> tag (when using "subst") | |
| {{subst:Bot Talk|Subpage|Status}}
{{subst:Bot Talk|Subpage|approved|Bot}} |
== WP:RFBOT ==
Your recent bot approvals request has been Status. Please see the request page for details.
== WP:RFBOT == Your recent bot approvals request has been approved. Please see the request page for details. When the bot flag is set it will show up in this log. |
||