There is no RationalWiki without you. We are a small non-profit with no staff—we are hundreds of volunteers who document pseudoscience and crankery around the world every day. We will never allow ads because we must remain independent. We cannot rely on big donors with corresponding big agendas. We are not the largest website around, but we believe we play an important role in defending truth and objectivity. |
Fighting pseudoscience isn't free. We are 100% user-supported! Help and donate $5, $10, $20 or whatever you can today with ![]() ![]() |
User:Archivist
How to archive[edit]
Copy-pasta[edit]
Copy-paste this at the top of a talkpage:
{{Talkpage/Pibot |algo=old(30d) |archive={{subst:NAMESPACE}}:{{subst:PAGENAME}}/Archive%(counter)d |maxarchivesize=100K |search=yes }}
This will archive sections that have been inactive for 30 days. Change "30d" for other times; "24h" for 24 hours, "60d" for 60 days, etc.
Prevent archiving[edit]
The easiest way is to add (sticky) at the end of a section title. EG:
== Hi there (sticky) ==
You can also add a fake timestamp to a section. EG, the below prevents the bot from archiving until the 1st of December 2017 plus whatever you set |algo
to:
<!-- Prevent Archive 21:09, 1 December 2017 (UTC) -->
Bot info[edit]
Command-line[edit]
At 0200 UTC every day, this script runs:
pwb.py archivebot.py Talkpage/PibotHidden 2>&1 -all -v -log pwb.py archivebot.py Talkpage/Pibot 2>&1 -all -v -log
archivebot.py[edit]
To respect sticky threads, archivebot.py is edited:
Standard:
def should_be_archived(self, archiver): algo = archiver.get_attr('algo') re_t = re.search(r'^old\((.*)\)$', algo) if re_t: if not self.timestamp: return '' # TODO: handle this: # return 'unsigned' maxage = str2time(re_t.group(1)) if self.now - self.timestamp > maxage: duration = str2localized_duration(archiver.site, re_t.group(1)) return i18n.twtranslate(self.code, 'archivebot-older-than', {'duration': duration}) return '' | Edit:
def should_be_archived(self, archiver): algo = archiver.get_attr('algo') re_t = re.search(r'^old\((.*)\)$', algo) if re_t: if not self.timestamp: return '' if self.title.lower().endswith('(sticky)') or self.title.lower().startswith('(sticky)'): return '' # TODO: handle this: # return 'unsigned' maxage = str2time(re_t.group(1)) if self.now - self.timestamp > maxage: duration = str2localized_duration(archiver.site, re_t.group(1)) return i18n.twtranslate(self.code, 'archivebot-older-than', {'duration': duration}) return '' |
Recent edits[edit]
- 20:20, 2 March 2018 diff hist +5,441 N Talk:Sargon of Akkad/Archive2 Bot: Archiving 1 thread from Talk:Sargon of Akkad
- 20:20, 2 March 2018 diff hist +5,863 m Talk:Sargon of Akkad/Archive1 Bot: Archiving 1 thread from Talk:Sargon of Akkad (ARCHIVE FULL)
- 20:19, 2 March 2018 diff hist -1,747 m Talk:Roko's basilisk Bot: Archiving 2 threads (older than 30 days) to Talk:Roko's basilisk/Archive4
- 20:19, 2 March 2018 diff hist +1,752 m Talk:Roko's basilisk/Archive4 Bot: Archiving 2 threads from Talk:Roko's basilisk
- 20:19, 2 March 2018 diff hist -1,341 m Talk:Richard Dawkins Bot: Archiving 2 threads (older than 30 days) to Talk:Richard Dawkins/Archive1
- 20:19, 2 March 2018 diff hist +1,343 m Talk:Richard Dawkins/Archive1 Bot: Archiving 2 threads from Talk:Richard Dawkins
- 20:19, 2 March 2018 diff hist -13,747 m Talk:Racialism Bot: Archiving 2 threads (older than 30 days) to Talk:Racialism/Archive8
- 20:18, 2 March 2018 diff hist +13,745 m Talk:Racialism/Archive8 Bot: Archiving 2 threads from Talk:Racialism
- 20:18, 2 March 2018 diff hist -2,409 m Talk:Pseudoscience Bot: Archiving 2 threads (older than 30 days) to Talk:Pseudoscience/Archive1
- 20:18, 2 March 2018 diff hist +2,422 m Talk:Pseudoscience/Archive1 Bot: Archiving 2 threads from Talk:Pseudoscience
- 20:18, 2 March 2018 diff hist -18,222 m Talk:Pseudohistory Bot: Archiving 4 threads (older than 30 days) to Talk:Pseudohistory/Archive1
- 20:18, 2 March 2018 diff hist +18,251 N Talk:Pseudohistory/Archive1 Bot: Archiving 4 threads from Talk:Pseudohistory current
- 20:18, 2 March 2018 diff hist -25,947 m Talk:Problem of evil Bot: Archiving 2 threads (older than 30 days) to Talk:Problem of evil/Archive2
- 20:18, 2 March 2018 diff hist +25,946 m Talk:Problem of evil/Archive2 Bot: Archiving 2 threads from Talk:Problem of evil
- 20:17, 2 March 2018 diff hist -7,160 m Talk:Perpetual motion Bot: Archiving 2 threads (older than 30 days) to Talk:Perpetual motion/Archive1
- 20:17, 2 March 2018 diff hist +7,159 m Talk:Perpetual motion/Archive1 Bot: Archiving 2 threads from Talk:Perpetual motion
- 20:17, 2 March 2018 diff hist -5,501 m Talk:Non-materialist neuroscience Bot: Archiving 2 threads (older than 30 days) to Talk:Non-materialist neuroscience/Archive1
- 20:17, 2 March 2018 diff hist +5,500 m Talk:Non-materialist neuroscience/Archive1 Bot: Archiving 2 threads from Talk:Non-materialist neuroscience
- 20:17, 2 March 2018 diff hist -1,084 m Talk:List of conspiracy theories Bot: Archiving 2 threads (older than 30 days) to Talk:List of conspiracy theories/Archive1
- 20:16, 2 March 2018 diff hist +1,091 m Talk:List of conspiracy theories/Archive1 Bot: Archiving 2 threads from Talk:List of conspiracy theories
- 20:16, 2 March 2018 diff hist -4,337 m Talk:Global flood Bot: Archiving 3 threads (older than 30 days) to Talk:Global flood/Archive1, Talk:Global flood/Archive2
- 20:16, 2 March 2018 diff hist +745 m Talk:Global flood/Archive2 Bot: Archiving 1 thread from Talk:Global flood (ARCHIVE FULL) current
- 20:16, 2 March 2018 diff hist +3,621 m Talk:Global flood/Archive1 Bot: Archiving 2 threads from Talk:Global flood (ARCHIVE FULL) current
- 20:15, 2 March 2018 diff hist -17,775 m Talk:Geocentrism Bot: Archiving 9 threads (older than 30 days) to Talk:Geocentrism/Archive1
- 20:15, 2 March 2018 diff hist +17,797 N Talk:Geocentrism/Archive1 Bot: Archiving 9 threads from Talk:Geocentrism current
- 20:15, 2 March 2018 diff hist -3,224 m Talk:Emil O. W. Kirkegaard Bot: Archiving 2 threads (older than 30 days) to Talk:Emil O. W. Kirkegaard/Archive1
- 20:15, 2 March 2018 diff hist +3,223 m Talk:Emil O. W. Kirkegaard/Archive1 Bot: Archiving 2 threads from Talk:Emil O. W. Kirkegaard
- 20:15, 2 March 2018 diff hist -2,050 m Talk:Donald Trump Bot: Archiving 4 threads (older than 7 days) to Talk:Donald Trump/Archive3
- 20:15, 2 March 2018 diff hist +2,053 m Talk:Donald Trump/Archive3 Bot: Archiving 4 threads from Talk:Donald Trump
- 20:14, 2 March 2018 diff hist -861 m Talk:Atheist professor myth Bot: Archiving 2 threads (older than 30 days) to Talk:Atheist professor myth/Archive1
- 20:14, 2 March 2018 diff hist +860 m Talk:Atheist professor myth/Archive1 Bot: Archiving 2 threads from Talk:Atheist professor myth
- 20:14, 2 March 2018 diff hist -2,949 m Talk:Ancient Egyptian race controversy Bot: Archiving 2 threads (older than 30 days) to Talk:Ancient Egyptian race controversy/Archive1
- 20:14, 2 March 2018 diff hist +2,976 N Talk:Ancient Egyptian race controversy/Archive1 Bot: Archiving 2 threads from Talk:Ancient Egyptian race controversy current
- 20:13, 2 March 2018 diff hist -79,165 m RationalWiki:Saloon bar Bot: Archiving 17 threads (older than 5 days) to RationalWiki:Saloon bar/Archive283
- 20:13, 2 March 2018 diff hist +79,175 m RationalWiki:Saloon bar/Archive283 Bot: Archiving 17 threads from RationalWiki:Saloon bar current
- 03:03, 10 February 2018 diff hist -2,167 m RationalWiki talk:What is going on in the world? Bot: Archiving 3 threads (older than 7 days) to RationalWiki talk:What is going on in the world?/Archive33
- 03:03, 10 February 2018 diff hist +2,168 m RationalWiki talk:What is going on in the world?/Archive33 Bot: Archiving 3 threads from RationalWiki talk:What is going on in the world?
- 03:03, 10 February 2018 diff hist -644 m User talk:LeftyGreenMario/Archive3 Bot: Archiving 2 threads (older than 30 days) to User talk:LeftyGreenMario/Archive1
- 03:03, 10 February 2018 diff hist +643 m User talk:LeftyGreenMario/Archive1 Bot: Archiving 2 threads from User talk:LeftyGreenMario
- 03:02, 10 February 2018 diff hist -1,360 m User talk:Kazitor Bot: Archiving 2 threads (older than 10 days) to User talk:Kazitor/Archive1
- 03:02, 10 February 2018 diff hist +1,359 m User talk:Kazitor/Archive1 Bot: Archiving 2 threads from User talk:Kazitor
- 03:02, 10 February 2018 diff hist -7,087 m User talk:GrammarCommie Bot: Archiving 7 threads (older than 30 days) to User talk:GrammarCommie/Archive1
- 03:02, 10 February 2018 diff hist +7,087 m User talk:GrammarCommie/Archive1 Bot: Archiving 7 threads from User talk:GrammarCommie
- 03:01, 10 February 2018 diff hist -8,972 m Talk:Russell's Teapot Bot: Archiving 2 threads (older than 30 days) to Talk:Russell's Teapot/Archive1
- 03:01, 10 February 2018 diff hist +8,971 m Talk:Russell's Teapot/Archive1 Bot: Archiving 2 threads from Talk:Russell's Teapot
- 03:01, 10 February 2018 diff hist -689 m Talk:Noah's Ark Bot: Archiving 2 threads (older than 30 days) to Talk:Noah's Ark/Archive1
- 03:01, 10 February 2018 diff hist +691 m Talk:Noah's Ark/Archive1 Bot: Archiving 2 threads from Talk:Noah's Ark
- 03:00, 10 February 2018 diff hist -14,754 m RationalWiki:Saloon bar Bot: Archiving 6 threads (older than 5 days) to RationalWiki:Saloon bar/Archive282, RationalWiki:Saloon bar/Archive283
- 03:00, 10 February 2018 diff hist +6,258 N RationalWiki:Saloon bar/Archive283 Bot: Archiving 4 threads from RationalWiki:Saloon bar
- 03:00, 10 February 2018 diff hist +8,510 m RationalWiki:Saloon bar/Archive282 Bot: Archiving 2 threads from RationalWiki:Saloon bar (ARCHIVE FULL)