Skip to content

Commit

Permalink
Change 6 weeks do-not-archive to 5 weeks
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwang43 authored and legoktm committed Jan 24, 2021
1 parent c690722 commit 51f2cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rfcbot.php
Expand Up @@ -167,7 +167,7 @@ function generateRfcId ($tries=0) {
foreach ($matches[0] as $match) {
if (strpos($match, "|rfcid=") === false) { // if the rfcid is not found within an RFC template
$rfcid = generateRfcId(); # a seven-character random string with capital letters and digits
$content = str_replace($match, $match . "|rfcid=" . $rfcid . "}}{{subst:DNAU|6|weeks}}", $content);
$content = str_replace($match, $match . "|rfcid=" . $rfcid . "}}{{subst:DNAU|5|weeks}}", $content);
$content = str_replace("}}|rfcid", "|rfcid", $content);
echo "Editing [[$page]]\n";
$page->edit($content,"Adding RFC ID.");
Expand Down

0 comments on commit 51f2cb0

Please sign in to comment.