User talk:Σ/Archive/2020/May

MfD nomination of Talk:List of Middle-earth Orcs/Archive 2
Talk:List of Middle-earth Orcs/Archive 2, a page which you created or substantially contributed to, has been nominated for deletion. Your opinions on the matter are welcome; you may participate in the discussion by adding your comments at Wikipedia:Miscellany for deletion/Talk:List of Middle-earth Orcs/Archive 2 and please be sure to sign your comments with four tildes ( ~ ). You are free to edit the content of Talk:List of Middle-earth Orcs/Archive 2 during the discussion but should not remove the miscellany for deletion template from the top of the page; such a removal will not end the deletion discussion. Thank you. Hog Farm (talk) 19:57, 23 April 2020 (UTC)

Making MonthlyArchive better
Hi there, thanks very much for your hard work on lowercase sigmabot - I use it on my own talk page :)

I've proposed some changes to the way that the MonthlyArchive template works that would, if they reached consensus, require some minor modifications to the bot. When you have a moment, it'd be fantastic if you could take a look at my proposal and let me know your thoughts. Hopefully, these relatively simple changes should make a fair difference to Wikipedia's server load from MonthlyArchive, as well as the amount of effort required to update the template.

All the best, Naypta ☺ &#124; ✉ talk page &#124; 12:53, 24 April 2020 (UTC)

User:Σ/Testing facility/Archiver — section selection bug
At Wikipedia talk:Community bulletin board, I've attempted to archive the section "RfC about CBD and Epilepsy". However, five threads were selected after one click, skipping over second level header "some items to add" and selecting four third level sections "Draft of notices", "Comments sub-section", "Final version of Wikiproject event notices", and "Comments". Intended: Special:Diff/953487221. —⁠andrybak (talk) 13:00, 27 April 2020 (UTC) Might be similar to the issue reported by. —⁠andrybak (talk) 13:13, 27 April 2020 (UTC)

Error with editorinteract.py
Hello,

I encounter an error with the tool https://tools.wmflabs.org/sigma/editorinteract.py every time I put more than seven users to be checked.

Example with this request https://tools.wmflabs.org/sigma/editorinteract.py?users=Alexandre+lmtgn&users=0x010C&users=Amoba13&users=Mhmmhm3010&users=FanDeKoba&users=Minique+Paill%C3%A9&users=Datsofelija&startdate=&enddate=&ns=&server=frwiki

Which gives me this error code: Traceback (most recent call last): File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/aiomysql/connection.py", line 503, in _connect await self._request_authentication File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/aiomysql/connection.py", line 785, in _request_authentication auth_packet = await self._read_packet File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/aiomysql/connection.py", line 593, in _read_packet packet.check_error File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/pymysql/protocol.py", line 220, in check_error err.raise_mysql_exception(self._data) File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/pymysql/err.py", line 109, in raise_mysql_exception raise errorclass(errno, errval) pymysql.err.InternalError: (1226, "User 's51469' has exceeded the 'max_user_connections' resource (current value: 10)")

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "./app.py", line 33, in inner return func(*a, **kw) File "./app.py", line 71, in editorinteract_py tpl, store = EditorInteract(params) File "./editorinteract.py", line 28, in __call__ loop.run_until_complete(self.do_query(store.server, store.query)) File "/usr/lib/python3.5/asyncio/base_events.py", line 466, in run_until_complete return future.result File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result raise self._exception File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step result = coro.throw(exc) File "./editorinteract.py", line 158, in do_query user_edits = dict(zip(query.users, await asyncio.gather(*[get_user_edits(u) for u in query.users]))) File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__ yield self # This tells Task to wait for completion. File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup future.result File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result raise self._exception File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step result = coro.send(None) File "./editorinteract.py", line 154, in get_user_edits async with sql.connect(**connect_info(server)) as conn: File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/aiomysql/utils.py", line 48, in __aenter__ self._obj = await self._coro File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/aiomysql/connection.py", line 75, in _connect await conn._connect File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/aiomysql/connection.py", line 523, in _connect self._host) from e pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'frwiki.labsdb'")

Is there a way to correct it? Thanks anyway for this tool, very handful. Kind regards, Jules* (talk) 16:38, 28 April 2020 (UTC)

Issue with the bot on a sociological article's talk page.
This is to bring to the attention of the bot's operator that there appears to be a configuration issue. The bot is moving to archives a discussion on a talk page. However, 1) the discussion features recent additions by the article's editors as well as unanswered questions, and is thus considered ongoing, 2) the discussion has high relevancy to this article's editors, present and future, in terms of what content to include and what not, 3) the talk page is not saturated (there are but four entries) and 4) a much older and less relevant discussion on the same talk page is not being marked by the bot for archives, while this one is. The issue is on the talk page of the Missing White Woman Syndrome article. Thank you. Esnertofidel (talk) 05:45, 8 May 2020 (UTC)
 * Missing White Woman Syndrome is a redirect with no talk page. Do you mean Talk:Missing white woman syndrome? Also, which archiving edit are you referring to, is it ? If so, please note that lowercase sigmabot III has no way of knowing if a discussion is ongoing or not, nor of its "relevancy": it works purely on the basis of time elapsed since the most recent timestamped post. In this case, the most recent post is that by at 18:45, 14 January 2020 (UTC). Now consider that the page is set up with archiving as follows:   - in that, the parameter 3 indicates that the bot should leave three threads unarchived; and old(28d) indicates that threads are eligible for archiving after 28 days. If you add 28 days to 18:45, 14 January 2020 (UTC), you get 18:45, 11 February 2020 (UTC) so the thread had been eligible for archiving for no less than 81 days before it actually was archived.
 * As for why the thread Talk:Missing white woman syndrome hasn't been archived - it has no valid timestamp, so the bot has no way of knowing how old it is, and therefore cannot know if it is eligible for archiving or not. I've now, so it may archive next bot run. -- Red rose64 &#x1f339; (talk) 20:11, 8 May 2020 (UTC)

nice
the photo on tour user page changes on desktop and mobile mode. pretty cool. TryKid&thinsp;[dubious – discuss] 15:10, 9 May 2020 (UTC)

Protected edit request on 11 May 2020
Change to, since the former page explicitly says "this is superseded by [the latter page]" * Pppery * it has begun...  22:19, 11 May 2020 (UTC)
 * ✅ -- Amanda  (aka DQ) 07:21, 13 May 2020 (UTC)

Editor interaction tool down
Please see. -- Amanda  (aka DQ) 07:19, 13 May 2020 (UTC)
 * I've reported another (probably unrelated) issue which is preventing editor interaction analyser from working on specifically zh.wikipedia (but other wikis are fine for now) . Deryck C. 00:11, 15 May 2020 (UTC)

Discussion at Talk:COVID-19_pandemic
You are invited to join the discussion at Talk:COVID-19_pandemic. &#123;{u&#124; Sdkb  }&#125;  talk 09:43, 20 May 2020 (UTC)
 * Replied there. -- Red rose64 &#x1f339; (talk) 10:43, 20 May 2020 (UTC)

"Empty" output of User:MiszaBot/config
When parameter key is absent or empty, User:MiszaBot/config outputs. What is the purpose of this empty span tag? —⁠andrybak (talk) 12:16, 20 May 2020 (UTC)
 * It's a consequence of User talk:Σ/Archive/2014/April and User talk:Misza13/Archives/2014/04. -- Red rose64 &#x1f339; (talk) 13:14, 20 May 2020 (UTC)
 * Per user : Actually, using is just fine. However, User:MiszaBot/config does introduce a empty paragraph. Example: gap above Annual readership ("Daily pageviews") in Special:Diff/957536580/957759322. Now the same gap is above Centralized discussion instead. Is it possible to apply the same solution as in Template:Dated maintenance category, as suggested by ? —⁠andrybak (talk) 13:58, 20 May 2020 (UTC)
 * That's one of the reasons why the archiving stuff is listed last at WP:TALKORDER. -- Red rose64 &#x1f339; (talk) 14:39, 20 May 2020 (UTC)

Protected edit request on 20 May 2020
Please change

to

to avoid whitespace issues. The empty  is not needed in the template. —⁠andrybak (talk) 20:14, 20 May 2020 (UTC)
 * Red information icon with gradient background.svg Not done for now: please establish a consensus for this alteration before using the template. See previous thread, also the threads that are linked from there. -- Red rose64 &#x1f339; (talk) 23:06, 20 May 2020 (UTC)
 * , the thread above and the threads that are linked from there do not explain why the span tags are required. One of the linked threads is just discussion of workarounds, and the other ended with incorrect conclusion, that using is just fine. I've created /testcases page to demonstrate, in which situations approach with   fails. The sandboxed version without    fails when User:MiszaBot/config/sandbox is placed before a Tmbox. —⁠andrybak (talk) 00:22, 21 May 2020 (UTC)

The approach with seems to work the best. Please change

to

If this change is implemented, I'll probably add a note about whitespace to template's documentation. —⁠andrybak (talk) 00:33, 21 May 2020 (UTC)
 * One thing I don't see here are examples demonstrating that a problem currently exists - the only example that has been supplied was an edit that neatened up Talk:Main Page very slightly, by moving the down by two positions. In that edit, a gap that was noticeably broader than other similar gaps (6px instead of 4px) has been reduced to match the others, and different gap has been broadened from 4px to 6px. This second gap, above, is much less obtrusive because it is between two boxes that do not have their left- and right-hand sides aligned, so any inconsistency is less noticeable, and (by and large) so insignificant as to be not worth bothering about. I expect that few people have noticed the extra 2px of vertical gap, and fewer still will care about it.
 * If you're really bothered by it, why not move the down one more place? Or two? It doesn't display anything, all that lowercase sigmabot III does with it is read the values from the parameters; the template may be anywhere in the lead section and it won't make a scrap of difference to the archiving. You can put it after that  if you like, it doesn't matter.
 * So for the sake of an aesthetic change on one page (which can itself be sorted very simply), you want me to put into the job queue thousands of pages where no actual problem exists. -- Red rose64 &#x1f339; (talk) 11:15, 21 May 2020 (UTC)
 * , I agree that nobody notices the vertical gap between banners. And yes, the gap above Centralized discussion is less obtrusive, but it is still unintentional and not useful.
 * Using instead of   has the advantage of having a way way easier workaround for the described issue. That is, one wouldn't need to rely on WP:TALKORDER. I just got lucky that Talk:Main Page has Centralized discussion, which is right aligned unlike most of talk header templates.
 * is also already applied in some templates, like Dated maintenance category. —⁠andrybak (talk) 11:44, 21 May 2020 (UTC)
 * I've made the change. A minuscule improvement is still an improvement &mdash; Martin (MSGJ · talk) 11:24, 22 May 2020 (UTC)
 * is also already applied in some templates, like Dated maintenance category. —⁠andrybak (talk) 11:44, 21 May 2020 (UTC)
 * I've made the change. A minuscule improvement is still an improvement &mdash; Martin (MSGJ · talk) 11:24, 22 May 2020 (UTC)

Error encountered
Error encountered using User Contribution Search

url=https://tools.wmflabs.org/sigma/usersearch.py?name=Spinningspark&page=Wikipedia%3AAdministrators%27_noticeboard&server=enwiki&max=

Traceback (most recent call last): File "./app.py", line 33, in inner return func(*a, **kw) File "./app.py", line 80, in usersearch_py tpl, store = UserSearch(params) File "./usersearch.py", line 27, in __call__ loop.run_until_complete(self.do_query(store.server, store.query)) File "/usr/lib/python3.5/asyncio/base_events.py", line 466, in run_until_complete return future.result File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result raise self._exception File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step result = coro.send(None) File "./usersearch.py", line 126, in do_query query.count_res_total = (await cur3.fetchone)[0] File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/aiomysql/utils.py", line 61, in __aexit__ await self._obj.ensure_closed File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/aiomysql/connection.py", line 309, in ensure_closed await self._writer.drain File "/usr/lib/python3.5/asyncio/streams.py", line 333, in drain yield from self._protocol._drain_helper File "/usr/lib/python3.5/asyncio/streams.py", line 204, in _drain_helper raise ConnectionResetError('Connection lost') ConnectionResetError: Connection lost

SpinningSpark 13:49, 21 May 2020 (UTC)


 * +1 - Same as

Traceback (most recent call last): File "./app.py", line 33, in inner return func(*a, **kw) File "./app.py", line 98, in summary_py tpl, store = Summary(params) File "./summary.py", line 26, in __call__ loop.run_until_complete(self.do_query(store.server, store.query)) File "/usr/lib/python3.5/asyncio/base_events.py", line 466, in run_until_complete return future.result File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result raise self._exception File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step result = coro.send(None) File "./summary.py", line 145, in do_query query.size = query.size[0][0] File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/aiomysql/utils.py", line 61, in __aexit__ await self._obj.ensure_closed File "/data/project/sigma/www/python/venv/lib/python3.5/site-packages/aiomysql/connection.py", line 309, in ensure_closed await self._writer.drain File "/usr/lib/python3.5/asyncio/streams.py", line 333, in drain yield from self._protocol._drain_helper File "/usr/lib/python3.5/asyncio/streams.py", line 204, in _drain_helper raise ConnectionResetError('Connection lost') ConnectionResetError: Connection lost
 * Url: https://tools.wmflabs.org/sigma/summary.py?name=Davey2010&search=Rowspan&server=enwiki&max=500&ns=
 * Thanks, – Davey 2010 Talk 17:00, 23 May 2020 (UTC)