User talk:MBH
A cookie for you!
[edit]As a token of appreciation for this edit. vvvt 17:22, 6 June 2012 (UTC) |
WebCite
[edit]Another idea. Many links on Wikipedia have been archived by archive.org and archive.today .. check other archives and compare page encoding with WebCite to see if they match. This is not a perfect method because the other archives might not exist, or be a soft-404, or a different snapshot date with different content. But I think it should resolve most of them as there is good coverage.
Here is a script I wrote to access the Wayback API to see if a URL is available. On Toolforge, copy-paste the below to "api.awk" it should work (also 'chmod 755 api.awk')
Extended content
|
---|
#!/usr/bin/gawk -bE # The MIT License (MIT) # # Copyright (c) 2016-2018 by User:GreenC (at en.wikipedia.org) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. @include "/data/project/botwikiawk/BotWikiAwk/lib/library.awk" BEGIN { Optind = Opterr = 1 while ((C = getopt(ARGC, ARGV, "pu:t:c:")) != -1) { opts++ if(C == "u") # -u <url> URL to check. url = verifyval(Optarg) if(C == "t") # -t <timestamp> (optional) Timestamp. Default: "20070101" timestamp = verifyval(Optarg) if(C == "c") # -c <closest> (optional) Closest: before|after|either - Default: before closest = verifyval(Optarg) if(C == "p") # -p (optional) Print API command not results. showapi = 1 if(C == "h") { usage() exit } } if(closest !~ /before|after|either/) closest = "before" if(!isanumber(timestamp) || timestamp == "") timestamp = "20070101" if( url ~ /error/ || ! opts || url == ""){ usage() exit } url = urlencodeawk(url) command = "wget --header=" shquote("Wayback-Api-Version: 2") " --post-data=" shquote("url=" url "&closest=" closest "&statuscodes=200&statuscodes=203&statuscodes=206&statuscodes=403&tag=×tamp=" timestamp) " -q -O- " shquote("http://archive.org/wayback/available") if(showapi) print command else print sys2var(command) } # # verifyval - verify any command-line argument has valid value. Usage in getopt() # function verifyval(val) { if(val == "" || substr(val,1,1) ~/^[-]/) { stdErr("Command line argument has an empty value when it should have something.") exit } return val } function usage() { print "" print "API - show Wayback API 2 results for a single URL" print "" print " Usage : api -u <url>" print "" print " Options:" print " -c <closest> - before|after|either - default: before" print " -t <timestamp> - default: 20070101" print " -p - print the API URL instead of results" print "" } |
If you decide to try archive.today it has problems. The API to see if a page is available is http://archive.today/timemap/<url>
The url portion should not be percent encoded except for "#" which should be encoded to "%23". If the returned html contains www.henley-putnam.edu/Portals/_default/Skins/henley/images/loading.gif
there was an error retrieving the page. If the content contains "DDoS protection by Cloudflare" it is being blocked due to rapid queries - the block wears off after a few hours but it can be a problem.
-- GreenC 16:02, 27 October 2019 (UTC)
- I have already implemented win1251 checking using https://github.com/jstedfast/Portable.Text.Encoding library, that can convert byte stream into win1251. I will update my algorithm and start checking your list soon. MBH (talk) 16:18, 27 October 2019 (UTC)
- Excellent. I'm trying to get a full list of URLs from IABot database but there are timeout problems so hopefully today or tomorrow it will complete. -- GreenC 16:48, 27 October 2019 (UTC)
- Complete list:
/data/project/botwikiawk/webcite.db.gz
-- GreenC 17:35, 28 October 2019 (UTC)
- Complete list:
- Excellent. I'm trying to get a full list of URLs from IABot database but there are timeout problems so hopefully today or tomorrow it will complete. -- GreenC 16:48, 27 October 2019 (UTC)
Test page
[edit]Hello, you have created This is a test page please delete it. It will be speedily deleted soon as a test page and a page where the author wants it to be deleted. Please refrain from making test pages or performing editing tests on real articles. Instead, you can use the WP:SANDBOX or find your own sandbox at Special:MyPage/sandbox. Also, you can make your own pages as long as they are prefixed with "User:MBH/" or "User talk:MBH/" and they are related to Wikipedia. UnnamedUser (talk) 18:55, 9 December 2019 (UTC)
- I made this page to resolve a dispute with another user about "can any registered user create an article in enwiki"? Turned out that I'm autoconfirmed, but that user isn't. MBH (talk) 18:58, 9 December 2019 (UTC)
Question concerning the Russian Wikipedia
[edit]Привет! Мне кажется, что Вы в русской Википедии говорили, что Ваш бот патрулирует правки, если вдруг при патрулировании произошёл сбой. А у меня сейчас висят несколько редиректов, никто их не патрулирует. (Редиректы на гимнасток, см. мои вчерашние правки.) (Пишу здесь, так как в том разделе не планирую иметь никаких дел. Сейчас просто решил перевести всё-таки туда кое-какие свои статьи и кое-что ещё для комплекта. А постоянно идут сбои патрулирования.) --Moscow Connection (talk) 07:35, 14 March 2020 (UTC)
- Moscow Connection я не особо понял, что вы от меня хотите. Приведите ссылки на данные статьи/правки. MBH (talk) 07:49, 14 March 2020 (UTC)
- Может, я перепутал? Мне кажется, что в русской Википедии пару месяцев назад было обсуждение недавно возникшей технической проблемы, а именно частых сбоев при автоматическом патрулировании правок (авто)патрулируемых участников. И Вы сказали: "Ничего страшного, мой бот каждый день проходит и такие правки патрулирует."
Вот примеры: 1, 2.
Извините, если перепутал Вас с кем-то. А если нет, то, может, настроите бота и редиректы обходить? --Moscow Connection (talk) 08:08, 14 March 2020 (UTC)- Нет, не перепутали. Не знаю, почему бот не отпатрулировал эти правки; возможно, он в принципе патрулирует только статьи с наличием хоть одной патрулированной версии. Как будет время - изучу этот вопрос. Это щас отпатрулирую. MBH (talk) 10:08, 14 March 2020 (UTC)
- Может, я перепутал? Мне кажется, что в русской Википедии пару месяцев назад было обсуждение недавно возникшей технической проблемы, а именно частых сбоев при автоматическом патрулировании правок (авто)патрулируемых участников. И Вы сказали: "Ничего страшного, мой бот каждый день проходит и такие правки патрулирует."
Not a bad joke
[edit]About this, just saying that birds are dinosaurs, not separate animals that are descendents of dinosaurs. In cladistics, all animals descended from a clade belong to that clade; thus, humans are bony fish and birds are dinosaurs. You are right to revert it, however, because COMMONNAME takes precedence. Wilhelm Tell DCCXLVI converse | fings wot i hav dun 16:10, 23 June 2021 (UTC)
- In cladistics, but not in common language (and will not in future, I believe). MBH (talk) 16:14, 23 June 2021 (UTC)
Speedy deletion nomination of Category:Moldovan centenarians
[edit]A tag has been placed on Category:Moldovan centenarians indicating that it is currently empty, and is not a disambiguation category, a category redirect, a featured topics category, under discussion at Categories for discussion, or a project category that by its nature may become empty on occasion. If it remains empty for seven days or more, it may be deleted under section C1 of the criteria for speedy deletion.
If you think this page should not be deleted for this reason you may contest the nomination by visiting the page and removing the speedy deletion tag. Liz Read! Talk! 19:32, 16 October 2023 (UTC)
ArbCom 2023 Elections voter message
[edit]Hello! Voting in the 2023 Arbitration Committee elections is now open until 23:59 (UTC) on Monday, 11 December 2023. All eligible users are allowed to vote. Users with alternate accounts may only vote once.
The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.
If you wish to participate in the 2023 election, please review the candidates and submit your choices on the voting page. If you no longer wish to receive these messages, you may add {{NoACEMM}}
to your user talk page. MediaWiki message delivery (talk) 00:35, 28 November 2023 (UTC)
About your recent e-mail
[edit]Hello! Sorry for the late reply to the e-mail you sent me...
Anyhow, I don't know if the Signpost's user account is still active, to be honest. I'd suggest you to just leave your proposal down in the Suggestions section (by clicking on "Make a suggestion"), or directly contact our EiC, JPxG.
I hope this helps! Oltrepier (talk) 13:43, 31 May 2024 (UTC)
- @Oltrepier thanks, but why you answered me on the talk page, if I sent mail for you? If I want to discuss this on talk pages, I'll write you on talk page, but if I sent a mail for you, I want to iscuss this through mail. MBH (talk) 03:51, 2 June 2024 (UTC)
- You're right, sorry: it was just a lapsus... Oltrepier (talk) 07:54, 2 June 2024 (UTC)
Minor userspace issue with MBHbot
[edit]Hello,
Per WP:BOTUSERSPACE, you are only permitted to make edits with your bot User:MBHbot within your own userspace (MBH's or MBHbot's), and not in other user's userspaces. Specifically, the edits of User:Кронас/transnamespace moves are not following this rule. If you wish to continue your bot's "transnamespace moves" list, please do so within your own userspace (MBH or MBHbot) and not in Кронас's userspace.
If you plan on doing any bot tasks with your bot here on enwiki that are outside of your userspace, you will need to go through enwiki's WP:BRFA process, as enwiki does not honor global BRFAs (the only exception is updating interwiki links, per WP:INTERWIKIBOT and WP:GLOBALBOTS).
Thank you and best wishes, Zinnober9 (talk) 00:15, 5 June 2024 (UTC)
- @Zinnober9, user Кронас asked me to do this stats in his userspace, it's not permitted even in such case? Why, what's the reason of this rule? MBH (talk) 09:15, 5 June 2024 (UTC)
- It's not permitted. The general rule is that all bot editing must be approved at Wikipedia:Bots/Requests for approval. The WP:Bot policy has some information on why the policy exists. There's a limited exception to the approval requirement for certain tasks that only edit within the maintainer's or bot's own userspace. But that exception doesn't extend to any other user's userspace. Anomie⚔ 12:05, 6 June 2024 (UTC)
- It's unbelievably awful, terrible rules. Ruwiki has much more suitable bot rules and no one in ruwiki can't even think about prohibition for bot to update a page in some user's personal space by request of this user. But okay, I moved this page to bot's userspace. MBH (talk) 13:17, 8 June 2024 (UTC)
- What I'd suggest is for the bot to create/update the list in its own userspace, and then on Кронас's page, have a transclusion of the bot's page by adding "{{User:MBHbot pagename}}". That way the bot is within the rules of WP:BOTUSERSPACE, and Кронас has the live, up to date list as they want without your bot leaving its/your userspace. Кронас can also unsubscribe by removing the transclusion whenever they wish. Zinnober9 (talk) 16:04, 6 June 2024 (UTC)
- It's not permitted. The general rule is that all bot editing must be approved at Wikipedia:Bots/Requests for approval. The WP:Bot policy has some information on why the policy exists. There's a limited exception to the approval requirement for certain tasks that only edit within the maintainer's or bot's own userspace. But that exception doesn't extend to any other user's userspace. Anomie⚔ 12:05, 6 June 2024 (UTC)
Important: Please update user script installation
[edit]Hi there, you currently have a user script installed from Anne drew Andrew and Drew
. Several weeks ago, I changed my username to Anne drew
, and unfortunately, due to an issue with script redirects, the scripts you have installed under my old username no longer function.
To fix this, please update your JavaScript pages (Special:MyPage/common.js or Special:MyPage/skin.js) by replacing all instances of Anne drew Andrew and Drew
with Anne drew
.
If any of this is unclear, please ping Anne drew for help. I apologize for the inconvenience and appreciate your understanding!
Thanks – Anne drew
You are receiving this message because you have installed one of Anne drew's user scripts. If you'd like to stop receiving notifications, you can unsubscribe here.
MediaWiki message delivery (talk) 16:11, 24 October 2024 (UTC)
- @Anne drew what your script do I use? MBH (talk) 16:42, 24 October 2024 (UTC)
- Hi MBH, sorry about that, you actually don't use any of my scripts. I accidentally included you as a recipient of this message because my script was linked from your sandbox page. No action is required by you - apologies for messaging you unnecessarily. – Anne drew 00:50, 25 October 2024 (UTC)