User Details
- User Since
- May 30 2017, 2:27 AM (390 w, 3 d)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- Erutuon [ Global Accounts ]
May 18 2024
Mar 9 2024
Sounds like the patch will fix the problem with a gadget on English Wiktionary. MediaWiki:Gadget-aWa.js moves the sections of concluded discussions to talk pages of entries. It currently displays [subscribe] at the beginning of the section name, because it grabs the textContent of mw-headline elements.
Jan 30 2024
I went through the reproduction steps and spotted the Edittools gadget erroring out, but I've fixed the checks for missing elements and that error has been cleared up. That gadget is installed by default for all logged-in users, so it could have been erroring out and causing some other JavaScript to not run. (I also had to fix one of my scripts, but that isn't relevant to most users.) Now the Edittools error doesn't appear in the JavaScript console, but it's still impossible to expand the heading, so the cause is something else.
Jan 29 2024
Jan 17 2024
I looked back at my first post and got the test.sh to run in toolforge-jobs when I set PATH=/data/project/rustup/rustup/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:$PATH and removed stable from the command in test.sh. Maybe that means I can actually compile with toolforge-jobs now.
Sep 18 2023
I updated the task description to link to the latest commit (with line number adjustments). Then I realized the post mentioned 1.40 so I changed the links to the 1.40-tagged commit.
Sep 17 2023
Reopened because English Wiktionary is not English Wikiversity. If there is another reason that this is a duplicate, please explain.
Sep 13 2023
This is apparently caused by a bug in the strcoll C function in the C.UTF-8 locale in the old version of glibc available on the Wikimedia servers, as described in T193096#4161287. Lua's table.sort uses the less-than (<) operator if no comparison function is provided (https://www.lua.org/source/5.1/ltablib.c.html#sort_comp), and the less-than operator uses strcoll when comparing two strings (https://www.lua.org/source/5.1/lvm.c.html#l_strcmp). In English Wiktionary, a module that regularly encounters non-BMP characters (> U FFFF) uses byte-by-byte comparison, which is equivalent to code point comparison for UTF-8.
Mar 20 2023
The explanation is that the display title {{DISPLAYTITLE:''M''<sub>🜨</sub>}} was placed before the {{head|mul|symbol|head=''M''<sub>🜨</sub>}} template, and the module (Module:headword ) invoked by the template provided a conflicting display title <span class="Latn">M🜨</span> in Lua (frame:callParserFunction("DISPLAYTITLE", display_title)). The module gets a return value that is a warning that renders like Warning: Display title "<i>M</i><sub>🜨</sub>" overrides earlier display title "<span class="Latn">M🜨</span>"., but doesn't print it. It probably should.
Jan 30 2023
Jan 16 2023
I posted a bug report on the Miri repository because I don't know if it would be an error in that tool or in the Rust compiler itself.
I took the offending function and test, got its dependencies, and reduced it to this shorter code that triggers the same error:
Oops, I was running rustc 1.63.0-nightly (a6b8c6954 2022-06-03). I got the error from the original post when I upgraded to rustc 1.68.0-nightly (9e75dddf6 2023-01-15). So it might be a compiler bug.
I looked at the code and couldn't detect any problems. I'm guessing it's referring to the allocation of the input string, but that shouldn't actually be dropped. I don't know how to reproduce the error message. I ran cargo nightly miri test --all-features -- ip::sanitize_ip_recognizes_subpages_of_ipv6_address (after having to disable sccache) in the mwtitle directory and the offending test succeeded.
Dec 4 2022
I finally checked the webservice and it was gridengine. Switched to kubernetes with
Oct 30 2022
At the moment I can't use toolforge-jobs to compile the Rust programs that I use in this tool. They are compiled now, but if I make any changes I will have to recompile. cargo wasn't working inside a toolforge-jobs script in the enwikt-translations tool, so I assume it won't work here either, though I haven't tried it. See the comment explaining what I tried with cargo in enwikt-translations.
I used jsub a few times in this tool to generate a sqlite database to try to speed up the tool. That didn't work. Not sure if the Grid Engine is used in any other way in it.
Oct 27 2022
I've run the task with jsub for now so that the website is up-to-date with the latest dump. I'll try it on toolforge-jobs again if anyone has an idea of how to get cargo to work.
Oct 25 2022
I'm so far unable to use the Rust toolchain in /data/project/rustup/rustup/.cargo/bin in the toolforge-jobs environment from inside my run.sh script.
Oct 20 2022
@Ladsgroup @ArielGlenn Thank you for adding linktarget.sql! I'm able to generate my wanted templates list once again.
@JJMC89 Thank you. That looks like it'll work, and I'll try that when the pages-articles.xml comes out.
Oct 18 2022
My jsub command looks like this:
I got an email about this months ago, but didn't understand which parts of my work on Toolforge needed to be changed. I do jsub jobs and a webservice on this tool. The jsub part clearly needs to use toolforge-jobs, but how do I determine whether the webservice needs to be changed somehow?
Sep 13 2022
Sep 6 2022
I can't generate my wanted templates list anymore. The list generator (written with this Rust library) relies on page.sql and templatelinks.sql and now requires linktarget.sql in order to work. The dumps should have been part of the roadmap for this database change, but I guess not many people write database queries against the dump files as I do, so it's a bit of an afterthought.
May 15 2022
Feb 20 2022
It was bothering me that siteinfo2-namespacesv2.json in the 2022-02-01 dump had two 2s in it. Seems like siteinfo-namespacesv2.json would be a less confusing name. But I looked at the code for the Dump and SiteInfoDump and SiteInfoV2Dump classes and couldn't figure out where the v2 is coming from, and maybe it's too late to change it.
Feb 1 2022
Jan 31 2022
Jan 12 2022
As far as I understand the examples listed in T270542 they all talk about pretty much exactly what this is about: semi-automatically injecting arbitrary code into a place where it can be executed. While attack-scenarios are a bit more unlikely in case of Lua modules, there is no guarantee either. Would we really make ScribuntoContent::canPreloadContent() return true?
Jan 10 2022
Jan 9 2022
Dec 14 2021
@thiemowmde: ASCII is defined by Unicode to include code points U 0000-U 007F, and so here non-ASCII is referring to code points U 0080 and above.
Dec 11 2021
Sep 12 2021
Aha, thank you. I will see if I can fix the gadget. I only noticed the similarity of the edit summaries while posting here, and so it hadn't occurred to me to search for "restore to version". I had searched for bdi before and didn't find any matches in gadgets.
Sep 11 2021
Jul 30 2021
Jul 5 2021
Unfortunately the message in Tech News for this week uses the Wikipedia: namespace prefix, when it should use the Project: prefix and be wikilinked. If anyone tries to visit this page title in any wiki where the local name of the Project namespace is not Wikipedia, they will be redirected to a nonexistent Wikipedia page. For instance a person attempting to visit Wikipedia:AutoWikiBrowser/CheckPageJSON on English Wiktionary will be redirected to https://en.wikipedia.org/wiki/AutoWikiBrowser/CheckPageJSON rather than the correct https://en.wiktionary.org/wiki/Project:AutoWikiBrowser/CheckPageJSON, which redirects to https://en.wiktionary.org/wiki/Wiktionary:AutoWikiBrowser/CheckPageJSON. I'd edit the Tech News page now, but it's already gone out to all the wikis. Can it be corrected now?
Jun 10 2021
May 31 2021
Tried to remove the no head temp tag from the most recent 4 edits of sniggered on English Wiktionary and got The changes could not be applied: The tag "no head temp" is not allowed to be removed. The tag is added by abuse filter 68 (in Special:Tags, it's "Defined by the software", "Applied manually by users and bots") so it's the same case as the original posting here.
May 28 2021
I've modified MediaWiki:Scribunto-module-line on English Wiktionary to link to #L-<line_number> in action=view of the erroring module. That looks horrible in the JavaScript-generated backtrace (which shows the raw wikitext), but at least people can jump to one of the source lines mentioned in the backtrace now. I may rethink this and revert my edit.
Feb 11 2021
I got the same error trying to view the page. If I remember right, the gobbledygook at the beginning was useful somehow the last time I posted about an error message like this, so here it is:
Oct 1 2020
Sep 30 2020
Note on my change to the title: mw.title.new("#") returns an object, but accessing any of the expensive fields causes an error to be thrown in mw.title.lua. When I type the following lines one-by-one into the console, the field accesses on the title object all throw the same error:
Sep 25 2020
Aug 2 2020
Jun 17 2020
Jun 16 2020
May 5 2020
The problem has disappeared for me (the search and replace dialog shows up again), maybe at the same time that diffs became monospace again.
Apr 30 2020
I am not able to bring up the search and replace dialog in CodeEditor in the English Wiktionary modules that I'm currently editing, either by pressing Ctrl F or by clicking the icon in the toolbar. This is very troublesome and annoying because I normally constantly use the search and replace dialog to jump to the right place in the code.
Apr 29 2020
Apr 28 2020
I don't know why the task was marked as Done, but the bug remains for me at least.
Apr 6 2020
Also encountered on English Wiktionary at Module:kum-decl:
Mar 28 2020
@Aklapper: I've corrected and updated the description and the title because the error is probably a general MediaWiki thing: it occurs in English Wiktionary and Wikipedia.
Feb 4 2020
I've been getting sporadic errors like [XjoBKQpAAD8AAIE3bO4AAAAN] 2020-02-04 23:41:29: Fatal exception of type "TypeError" after being redirected from a Special:MyLanguage subpage linked from Template:Databases on MediaWiki wiki. For instance, I clicked a link to Special:MyLanguage/Manual:Langlinks_table from the template, was redirected to Manual:Langlinks_table, and saw the error there. Reloading usually gets the page to display.
Jan 3 2020
Okay, so an additional request must be sent to actually construct the Category objects.
Jan 2 2020
My script seems no faster with the patch, even with categories = True in the call to APISite.preloadpages. Commented on the part of api.py where separate requests are being sent for each page's categories.
Jan 1 2020
Dec 22 2019
@zhuyifei1999 Yes. Thank you so much!
Dec 21 2019
Just to confirm, this request for fish to be installed to the grid exec nodes right?
Dec 11 2019
@bd808: Thanks for your help! If only I'd asked sooner, this spring when the problem arose. :-)
Nov 7 2019
It seems the reason is that the search engine doesn't search every page. Probably it times out at a certain point when searching through mainspace pages, and if no the Anatolian hieroglyphs are found by that point, no results are shown.
Nov 4 2019
Oct 28 2019
Oct 27 2019
Oct 8 2019
Oct 7 2019
I renamed the task because for me, and presumably for others, the link doesn't jump to the top of the source code either. Perhaps something in my settings prevents the link from going to the top of the source code.