This is an archive of past discussions with User:Mr. Stradivarius. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.
Hey Mr. S., I'm a satisfied customer of your Draftify script, but I think a bug may have recently appeared: when I draftify userspace submissions, I have always checked "leave a redirect behind" but un-checked "Watch draft and user talk pages" to avoid blowing up my watchlist. The redirect piece works correctly, but the script is now adding both pages to my watchlist anyway: a pain. Is this a known issue? Perhaps introduced when the time-expiring watchlist feature was rolled out? I edit using Firefox; let me know if you find anything. Thanks, UnitedStatesian (talk) 03:12, 14 May 2021 (UTC)
@UnitedStatesian: Thanks for the bug report! I investigated this over at testwiki, and I was able to reproduce it with the Draftify script and with the API sandbox. However, the behaviour was slightly different than what you described - the target page was added to the watchlist, but the source page was not. Because the behaviour also occurred in the API sandbox, it seems to be a bug in the MediaWiki API, and not in the script. I'll have a look on the MediaWiki bug tracker and see if it's been reported already; if not, I'll file a new bug. By the way, if you always check "leave a redirect behind" and uncheck "watch draft and user talk pages", then you can make those options the default by putting the following code in User:UnitedStatesian/common.js before you import the Draftify script:
It looks like I messed up the API sandbox parameters the first time, because when I tried it again with the API sandbox it didn't reproduce. So it is a problem with the script, after all. I've worked out where the problem is, but I'm not sure yet of the best way to fix it. Will return to this tomorrow. (By the way, it seems that the bug has been in the script from the beginning...) — Mr. Stradivarius♪ talk ♪15:31, 15 May 2021 (UTC)
@UnitedStatesian: I've fixed the script - it should now respect the watchlist options that you select. In the process of fixing it I have added a new checkbox for "watch user talk page", and split the watch option into watchdraft, for watching the source and target pages, and watchusertalk, for watching the user talk page. So if you want to avoid adding any pages to your watchlist, the settings below are probably what you want:
Hey, as the creator of Module:Italic title, could you add support for a |test= parameter that outputs the object right before obj:renderDisplayTitle() so I can setup testcases? I've made a change in the sandbox to correct an issue with a style of disambiguation, but I'd like to have testcases setup to make sure it covers all variations. I would do it, but I'm not sure how to hook up to the inner functions. I've also posted on the talk page of that module for an additional parameter if you get a change to check it out. Gonnym (talk) 13:46, 27 May 2021 (UTC)
@Gonnym: You can test the module without adding any new parameters if you patch frame:callParserFunction() - that way, instead of Module:Italic title calling the real callParserFunction, it calls a mock object that you have access to. The mock object remembers how it was called, and so you can make assertions about the call arguments afterwards. I've made a start on this at Module:Italic title/testcases. I used the "spy" object from Module:Lua-mock to patch callParserFunction. In addition to remembering how callParserFunction was called, the spy object then calls the real callParserFunction and returns the result, so the module output should be the same as usual.
In the test cases module I made a function to patch mw.title.getCurrentTitle() and another function to patch frame:callParserFunction(), both of which take functions as input. These functions patch their respective methods, run the function that you supply, and then revert the patched function to the original. This means that any code that you run outside of the function you supply will use the normal mw.title.getCurrentTitle and the normal frame:callParserFunction(), which should make it less likely that any other code breaks.
The patch functions are called in a for loop which loops over some sample test data. The for loop means that you only have to write the test code once and then you can call that test code with different data for each test; also, each test is a new test function, which makes it easier to see which test is failing when you look at the test results. However, the for loop plus the two patch functions makes for some not-so-readable code, which is maybe something that can be improved upon. Feel free to use that and add more test data, or delete it all and do something else entirely - it's fine by me. :) And feel free to ask if you have any questions or anything. Best — Mr. Stradivarius♪ talk ♪13:31, 29 May 2021 (UTC)
I also need to test ItalicDab but line 52 allows only the standard access and not the dab template. --Gonnym (talk) 13:46, 29 May 2021 (UTC)
@Gonnym: That's the default with Module:ScribuntoUnit - it doesn't show any of the details for passing test cases. If one of the test cases fails, it will show the details for that test. I like this behaviour, as it is easy to spot what is wrong if you have a lot of tests. If you want to see the details for passing tests too, though, feel free to switch the test cases to use Module:UnitTests - the patching functions should work whichever test runner you use. By the way, with ScribuntoUnit you can use =p.run() in the debug console when you are editing Module:Italic title/testcases to run the tests while you edit. That way you can check the test results without having to save the page and look at the talk page.
For testing italic dab, you can make another for loop with another set of test data, and inside that you can call the _dabonly function. I've done something similar at Module:Mock title/testcases if you want to see some examples of this in practice. — Mr. Stradivarius♪ talk ♪14:03, 29 May 2021 (UTC)
Ok, so I've setup the tests but I don't see where to hook the assertSameResult() function from ScribuntoUnit so I can compare the sandbox results to the live results. Any idea? --Gonnym (talk) 14:20, 29 May 2021 (UTC)
@Gonnym: You can't really use assertSameResult with the patching approach, as it relies on the output of the module, but we are testing the input passed to the callParserFunction method. You would have to write some custom code to collect the inputs passed to callParserFunction when run with both the main module and the sandbox, and then compare those with ScribuntoUnit's assertEquals, or something like that. Personally, however, I would take a simpler approach. When you are satisfied that all the tests are correct, you can just change the localmItalicTitle=require('Module:Italic title') line to localmItalicTitle=require('Module:Italic title/sandbox'). All the test data is static, so the tests will still work with both modules. This is a better approach than comparing the modules with each other, as if something is broken in both the main module and the sandbox, then tests that compare the modules won't detect it, but tests that use static test data will. — Mr. Stradivarius♪ talk ♪01:41, 30 May 2021 (UTC)
Ok I used that and it works. But I've got to say, adding a |test= parameter and using Module:UnitTests is much, much more simpler and elegant. Requiring massive code in tests is just needless headache and even then, we can't even see both the live and sandbox results at the same time (without writing again, huge amounts of code). And as an unpleasant, yet not really a big deal side effect, we're also causing the page to appear in the error category (Pages with disallowed DISPLAYTITLE modifications). Gonnym (talk) 08:45, 30 May 2021 (UTC)
@Gonnym: I wouldn't call 40 lines of code a huge amount - if you think that's a lot, then you should see the code I deal with in my day job. ;) And you just know that if you added a |test= parameter, then people would start using it for things it isn't intended for. Not to mention that by using a test parameter you wouldn't actually be testing what was passed to DISPLAYTITLE; just something close to what was passed to it. This means you could miss out on some details (e.g. the second argument to DISPLAYTITLE could get ignored). I wouldn't worry about comparing the main module directly with the sandbox - as I said, they might both be wrong, and direct comparisons will miss that. Instead, it's better to write all the tests so that they pass for the main module, then alter the tests and/or add more tests to reflect what you want to change in the sandbox, and then finally update the sandbox so that all the tests pass. (This is basically the methodology used in "Working Effectively with Legacy Code" by Michael Feathers, which I very highly recommend.) Best — Mr. Stradivarius♪ talk ♪12:01, 31 May 2021 (UTC)
I meant "huge" compared to just passing the parameters without needing any additional logic (and if I'd like to see both results at the same time, that would mean additional code). But anyways, I guess that is the best option for now. Thanks for setting it up :) (also, could you please look at the module talk page, I added a request there which I don't know myself how to setup). --Gonnym (talk) 12:16, 31 May 2021 (UTC)
Hey, I've done some work on the module and it now works. Not sure if this is how you would have done it though. Care to give it a look to see if you approve? The /testcases pass. Gonnym (talk) 10:58, 7 June 2021 (UTC)
@Gonnym: Looks good! If you want to be thorough, I see a few more things you could test. There's the |all= argument, the categories, and the noerror parameter to DISPLAYTITLE. And there might be some more corner cases with the title italics, though I can't think of any right now. How many tests you write depends how sure you want to be that you won't break anything before you make the change. — Mr. Stradivarius♪ talk ♪12:51, 10 June 2021 (UTC)
|all= is tested in the 4th test (on the code page). I'm not sure how to test with this setup the categories or the noerror display. Gonnym (talk) 13:00, 10 June 2021 (UTC)
@Gonnym: The 4th test tests both the |string= and |all= parameters, but there is still the case where the |all= parameter is used without the |string= parameter. For noerror you can add the input to the args table, and the expected input to DISPLAYTITLE to the expectedDisplayTitleArgs table (this is why I made the expected DISPLAYTITLE input a table, and not a string). For the categories you need to write a new test - I've added one to the testcases page to get you started. Also, I thought of a title corner case - there currently aren't any tests for pages outside mainspace - for those pages, the module doesn't italicise the namespace name, which is something that should probably be checked. — Mr. Stradivarius♪ talk ♪13:22, 10 June 2021 (UTC)
Ok, so the |all= test, namespace tests and category tests added. Still no idea how or even what to test with the |noerror=. --Gonnym (talk) 09:07, 11 June 2021 (UTC)
@Gonnym: I added the noerror tests for you. I also refactored the category tests to use a test data table - this performs the same tests with less code. I also undid my earlier edit to automatically test both Wikipedia-space and mainspace pages, as I think it made the test code a bit too complicated. (It's already complicated enough with the patching functions - it's probably not a good idea to make it even less readable.) Best — Mr. Stradivarius♪ talk ♪10:06, 13 June 2021 (UTC)
@Gonnym: I've added tests for a couple more corner cases. It looks good, as far as I can tell. If there are no other corner cases you can think of, I think it's OK to go live. (And if there are other corner cases that you can think of, add the tests for them, and then go ahead and take it live.) — Mr. Stradivarius♪ talk ♪11:12, 13 June 2021 (UTC)
I'm an admin of SqWiki. I was renovating our WP:AFD page and modelling some bits of it after your page here. I saw the template you have on top of it that collects information about the elections automatically. Is there any chance you can help me set one up for our project as well? I must disclose that we don't have specific sections for votes. We use only 1 section for all votes, so support/oppose/neutral results are all mixed. Can something be done about this or is it a strict requirement that we must have them separated in sections for such a template to work?
@Klein Muçi: It's not a strict requirement that the votes be in separate sections, but you do need to be able to automatically parse who voted what. This might be a little trickier without sections, but is probably doable. As for helping to set one up, I am pretty busy in real life these days, so I don't think I will be able to spare the time. If I manage to find some free time, I will let you know. :) Best — Mr. Stradivarius♪ talk ♪00:49, 20 October 2021 (UTC)
Hi Mr. S, a few years ago, you suggested a script to override TOC limits at Wikipedia:Village pump (technical)/Archive 146#TOC limit overide. I did as suggested, and it worked for several years, then stopped for some reason. Is it possible you could take a look at the script and see if something needs to be changed/updated? Or do you know of another way to override the TOC? Thanks. BilCat (talk) 21:40, 23 October 2021 (UTC)
@BilCat: I am guessing that something changed when Template:TOC limit was changed to use TemplateStyles in 2018, which meant that your custom styles weren't being applied. You can fix this with the css !important property, as follows:
/* Always show all TOC levels */.toclimit-2.toclevel-1ul,.toclimit-3.toclevel-2ul,.toclimit-4.toclevel-3ul,.toclimit-5.toclevel-4ul,.toclimit-6.toclevel-5ul,.toclimit-7.toclevel-6ul{display:block!important;}
It works for me too! I strongly dislike limited TOCs, especially since there's still no way to view the full list at will. But at least now I don't have to be affected by it again. Thanks very much! BilCat (talk) 01:02, 24 October 2021 (UTC)
Hello, in this edit to Module:Find sources you added transformFunc to local function renderSearchString. It looks like this might work for us, for a transformation we have in mind (fiddling with double quotes—not urlencoding them, but removing them, possibly shifting them from one incoming search arg to another). However, I don't see anything at Module:Find sources/doc that explains where the transform comes from, how to define it, or how to use it. Could you please add something to the /doc page explaining this, and perhaps including one or two examples, to make it clear? (Needn't be our use case, just a generic example useful to anybody who wants to use transformFunc.) I presume you added this because there was some RW use case for it; if you remember what it was, can you point me to it? Thanks, Mathglot (talk) 19:37, 16 November 2021 (UTC)
@Mathglot: I'm not sure if this is what you want, but searching for renderSearchString in Module:Find sources shows the definition where transformFunc is the third parameter to the function. If it is null, it is not used. Otherwise, it is used as a function that is applied to each string in the searchStrings table. Continuing the search shows renderSearchString is called twice, once with mw.uri.encode as the third parameter, and once with nothing (null). For example, if you passed string.lower, that function would be applied to each search string. Or, you could have a private function that does whatever it wants with quotes in search strings, and pass that as the third parameter. Johnuniq (talk) 22:38, 16 November 2021 (UTC)
@Mathglot: What Johnuniq said. The transformFunc parameter can be any function that takes a string as input and returns a string as output, and transforms each of the search terms when making a search link. It is an internal implementation detail and probably doesn't belong on the /doc page, as it isn't used directly by template authors or end users. Having said that, it would probably be a good idea to expand the comment in the code about how it works. However, if you need to shift quotation marks from one argument to another, you will probably need to come up with a different mechanism, as transformFunc only works on individual search strings. I don't remember all the internal details of the module, but if you are adding quotation marks and then removing them in a later stage of processing, that might be a sign that a larger-scale re-architecting of the module may be warranted. — Mr. Stradivarius♪ talk ♪01:40, 17 November 2021 (UTC)
Thanks, both of you. I understand now that it isn’t public-facing and therefore /doc updates are not warranted here (internal comments always welcome). Regarding possible rearchitecting I may get back to you on that; there’s no pressing issue right now, but we have seen a few cases where the auto quoting of param1 leads to worse results in a couple of cases (e.g. for 'gin' and 'jstor' in */links/) and I was starting to muse about how to address this. Clearly I was barking up the wrong tree with transformFunc. Will put this on the back burner for now while more pressing issues are resolved (see WT:MED if curious), and perhaps we can chat about this again at a later point. Thanks again! Mathglot (talk) 01:57, 17 November 2021 (UTC)
Hi, I installed DiffOnly, and I think I will find it very useful. However, it doesn't work for histories, either when I use DiffOnly = "all" or DiffOnly = "history". I'm using MonoBook. I tried using just this script, so it's not a conflict with other (non-gadget) scripts. MANdARAX • XAЯAbИAM21:49, 24 October 2021 (UTC)
@Mandarax: It looks like the structure of the history page HTML changed slightly, which was stopping the CSS selector I used from finding the diff links. I have now fixed it, so you should start seeing diff-only links for history pages now. Let me know if you find any issues with it. Best — Mr. Stradivarius♪ talk ♪13:37, 25 October 2021 (UTC)
A recently closed Request for Comment (RFC) reached consensus to remove Autopatrolled from the administrator user group. You may, similarly as with Edit Filter Manager, choose to self-assign this permission to yourself. This will be implemented the week of December 13th, but if you wish to self-assign you may do so now. To find out when the change has gone live or if you have any questions please visit the Administrator's Noticeboard. 20:06, 7 December 2021 (UTC)
Hi Mr. Stradivarius! I've nominated you (along with all other active admins) to receive a solstice season gift from the WMF. Talk page stalkers are invited to comment at the nomination. Enjoy! Cheers, {{u|Sdkb}}talk ~~~~~
You get this message because you are an admin on a Wikimedia wiki.
When someone edits a Wikimedia wiki without being logged in today, we show their IP address. As you may already know, we will not be able to do this in the future. This is a decision by the Wikimedia Foundation Legal department, because norms and regulations for privacy online have changed.
Instead of the IP we will show a masked identity. You as an admin will still be able to access the IP. There will also be a new user right for those who need to see the full IPs of unregistered users to fight vandalism, harassment and spam without being admins. Patrollers will also see part of the IP even without this user right. We are also working on better tools to help.
We have two suggested ways this identity could work. We would appreciate your feedback on which way you think would work best for you and your wiki, now and in the future. You can let us know on the talk page. You can write in your language. The suggestions were posted in October and we will decide after 17 January.
Old edits being resuscitated on the Debito Arudou BLP
Dear Mr. Strad,
Please visit the Debito Arudou BLP, where a person with a history of edit warring and nominating BLPs for deletion is putting back up old edits that were removed for violation of BLP rules years ago. Please consider removing them again. Many thanks.Debito Arudou Ph.D. (Talk) 19:53, 21 February 2022 (UTC)
Beginning January 1, 2023, administrators who meet one or both of the following criteria may be desysopped for inactivity if they have:
Made neither edits nor administrative actions for at least a 12-month period OR
Made fewer than 100 edits over a 60-month period
Administrators at risk for being desysopped under these criteria will continue to be notified ahead of time. Thank you for your continued work.
22:53, 15 April 2022 (UTC)
In case you didn't know
You've got your ear to the ground much more than me, but in case you didn't know, Hasteur died from COVID in July, 2020. I just found out. Best regards, TransporterMan (TALK) 21:35, 10 May 2022 (UTC)
If you think this page should not be deleted for this reason you may contest the nomination by visiting the page and clicking the button labelled "Contest this speedy deletion". This will give you the opportunity to explain why you believe the page should not be deleted. Please do not remove the speedy deletion tag from the page yourself. LizRead!Talk!00:55, 3 June 2022 (UTC)
Hello Mr. Stradivarius, due to your inactivity in interface-administrator tasks your IAdmin flag has been removed in accordance with the IAdmin policy. This is purely procedural and is not a negative indicator of your contributions or ability. Should you need this access again in the future, you may request reassignment at WP:BN. This change has no impact on your administrator permission. Best regards, — xaosfluxTalk00:30, 29 August 2022 (UTC)
Please vote in the 2022 Wikimedia Foundation Inc. Board of Trustees election
SignpostTagger seems to have stopped working, entirely. When I open the interface everything is greyed-out. This is true of a new Signpost item or old, from both Chrome and Brave. It was working fine a couple weeks ago. Chris Troutman (talk)01:16, 24 October 2022 (UTC)
@Chris troutman: Thanks for letting me know. The API started requiring a token where it wasn't before, so I fixed my code to send the token. The script should be working now - let me know if you spot any other issues. Best — Mr. Stradivarius♪ talk ♪14:30, 24 October 2022 (UTC)
Hi how are you?
You've already edited in the past Template:Year in various calendars, I opened in discussion section a thread about a consensus for a flaw I identified in the template that goes back to 2006. There I explain better.
Metro2fsb has given you a cookie! Cookies promote WikiLove and hopefully this one has made your day better. You can spread the WikiLove by giving someone else a cookie, whether it be someone you have had disagreements with in the past or a good friend.
To spread the goodness of cookies, you can add {{subst:Cookie}} to someone's talk page with a friendly message, or eat this cookie on the giver's talk page with {{subst:munch}}!
{{#invoke:Wikipedia ads/gallery|main}}<noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>
Is there anyway to add a title to each one so people can easily search?
Thank you for the cookie! I'm not sure what you mean by "main page" (I'm guessing not this: Main Page). If you have improvement suggestions for Wikipedia ads, could you post them at Template talk:Wikipedia ads? When you do so, it would be helpful if you could create a new section for each suggestion. Best regards — Mr. Stradivarius♪ talk ♪05:20, 27 January 2023 (UTC)
Am I doing it right?
Hello there; long time no talk; hope you're doing well 🙂
As it's been literally years since we last talked; I've previously asked for you advice regarding lua modules and would appreciate a little more feedback if you have a minute.
The first draft documentation invokes the module multiple times with various configurations, so its NewPP limit report should tell a fair story ... right?
Does this look okay to you?
<!--
NewPP limit report
Parsed by mw1364
Cached time: 20230122191359
Cache expiry: 1814400
Reduced expiry: false
Complications: [show‐toc]
CPU time usage: 0.077 seconds
Real time usage: 0.104 seconds
Preprocessor visited node count: 382/1000000
Post‐expand include size: 2453/2097152 bytes
Template argument size: 148/2097152 bytes
Highest expansion depth: 5/100
Expensive parser function count: 3/500
Unstrip recursion depth: 0/20
Unstrip post‐expand size: 2008/5000000 bytes
Lua time usage: 0.043/10.000 seconds
Lua memory usage: 1323257/52428800 bytes
Number of Wikibase entities loaded: 0/400
-->
<!--
Transclusion expansion time report (%,ms,calls,template)
100.00% 87.902 1 -total
38.59% 33.925 1 Template:Lua
12.57% 11.047 3 Template:Tlx
4.55% 4.000 9 Template:Para
4.33% 3.810 1 Template:Tlc
2.39% 2.098 1 Template:Module_rating
-->
@Fred Gandt: Those limit report stats look absolutely fine to me. I had a brief look at the code, and you might be able to scrape some more efficiency by switching frame:expandTemplate() for the lang template to calling Module:Lang directly.
It probably won't make all that much difference though. It is also usually advisable from a performance perspective to use frame:expandTemplates() or use Lua directly instead of using frame:preprocess(), as frame:preprocess() has to do the extra step of parsing wikitext. However, I have a feeling that it wouldn't make an appreciable difference to the page performance stats either, and would create a lot of extra work for you, so I would leave that part of the module as it is. I wouldn't generally worry too much about performance unless the module is going to be called hundreds of times a page or something. You can always tweak the code or roll it back if there is a problem. Best — Mr. Stradivarius♪ talk ♪15:23, 23 January 2023 (UTC)
Thank you for all that consideration and feedback 🙂 I'd already pulled the use of Module:Transcluder for a few microseconds, so a few more microseconds is something I'm happy to work for. I like the idea of using the lang Module and will try it out. Preprocessing has to go for a technical issue; it appears to be ignored if the invocation is substituted (it seems the substitution happens before the preprocessing) so I have to dig through the raw template markup which could be as horrible as {{ short description | 2= noreplace|pagetype =Redirect | 1 = A thing that is a thing}} so lua patterns not being regex is proving quite a frustration. I have to figure it out though, so I will 😉 It makes me feel good to have knowledgeable eyes on, and for them to not reel in horror, so thank you for that 😊 Fred Gandt · talk · contribs03:49, 24 January 2023 (UTC)
Module:Lang compared to expandTemplate where that's the only change
Module:Lang
NewPP limit report
Parsed by mw1416
Cached time: 20230124040528
Cache expiry: 1814400
Reduced expiry: false
Complications: [vary‐revision‐sha1, vary‐page‐id, show‐toc]
CPU time usage: 0.175 seconds
Real time usage: 0.244 seconds
Preprocessor visited node count: 567/1000000
Post‐expand include size: 22426/2097152 bytes
Template argument size: 955/2097152 bytes
Highest expansion depth: 14/100
Expensive parser function count: 5/500
Unstrip recursion depth: 0/20
Unstrip post‐expand size: 4942/5000000 bytes
Lua time usage: 0.130/10.000 seconds
Lua memory usage: 16066434/52428800 bytes
Number of Wikibase entities loaded: 0/400
expandTemplate
NewPP limit report
Parsed by mw1387
Cached time: 20230124040811
Cache expiry: 1814400
Reduced expiry: false
Complications: [vary‐revision‐sha1, vary‐page‐id, show‐toc]
CPU time usage: 0.248 seconds
Real time usage: 0.303 seconds
Preprocessor visited node count: 647/1000000
Post‐expand include size: 22866/2097152 bytes
Template argument size: 955/2097152 bytes
Highest expansion depth: 14/100
Expensive parser function count: 5/500
Unstrip recursion depth: 0/20
Unstrip post‐expand size: 4942/5000000 bytes
Lua time usage: 0.186/10.000 seconds
Lua memory usage: 16046717/52428800 bytes
@Fred Gandt: I would stick to preprocessing if you can - there are all sorts of corner cases in parsing wikitext that will trip you up. Do you have an example of where substituting causes a problem with preprocessing? I wasn't able to reproduce the problem. — Mr. Stradivarius♪ talk ♪15:23, 24 January 2023 (UTC)
The issue was brought to my attention by Olivaw-Daneel on Module talk:GetShortDescription § subst; {{subst:#invoke:GetShortDescription|main |name=Brazil |only=explicit}} with an older version of the Module was spitting out an empty string, and {{subst:#invoke:GetShortDescription|main |name=Brazil}} was falling back to wikidata. I ran live tests of each step of the process and established that it was fine right up to the point of preprocessing which just silently failed and returned zip. After changing the code to not use preprocessing, which worked fine if not being substed, the Module worked when being substed too. I have though, run into issues with lua's rubbish patterns (yeah I said "rubbish"; RegEx FTW) doing unhelpful things which is making replacing the preprocessing quite bothersome. Fred Gandt · talk · contribs16:57, 24 January 2023 (UTC)
@Fred Gandt: I had a play with this, and I found that you can make frame:preprocess() work during substitution if you a) use safesubst (i.e. frame:preprocess("{{safesubst:short description|foo}}")) and b) make Template:Short description substable. The former is an easy fix, but the latter would be a bit of a pain (although definitely doable). — Mr. Stradivarius♪ talk ♪14:34, 26 January 2023 (UTC)
That is remarkably clever 😲 but I doubt anyone would be impressed by the attempt to make Template:Short description subtable if the only justification was to allow me to avoid the string manipulation I've already done 😆 It would however probably be a decent idea to make it substable for the just in case scenarios. Some html is not great but the mess substing currently makes is horrible. I'm fairly certain I've solved for all reasonable eventualities using a series of matches anyway. Any short descs declared out of reasonable expectation would likely be cleaned up pretty swiftly I think, and the rare cases of failure would at least provide an indication to anyone paying attention that the short desc is configured badly at the source i.e. it's not a compound problem if it arises; it would oddly act more as a solution to a problem that might currently not have anyone watching. BTW: did you know that approximately 10% of en Wikipedia articles have dynamically generated short descriptions, from the likes of infoboxes? I analyzed the effects of Category:Modules that create a short description. That seems like an avenue for large scale disruption and maybe needs tracking or something? Fred Gandt · talk · contribs15:02, 26 January 2023 (UTC)
@Fred Gandt: By the way, there is one more tweak you can make performance-wise - using native Lua string patterns is a lot quicker than using mw.ustring patterns, as functions from the latter call back into PHP to get their results. So if you have any patterns that don't use any character classes, you can convert those to their string library equivalents. For example, mw.ustring.match(short_description,'=') can be converted to short_description:match('=') to get a speed-up. However, you can't automatically do this with mw.ustring.match(param,'^2%s*='), as in mw.ustring functions %s will match any Unicode whitespace characters, including things like zero-width spaces and non-breaking spaces, but in Lua string library functions it will only match ASCII whitespace characters. Also, you can simplify isEmpty(mw.ustring.match(param,'^noreplace$')) to be param~="noreplace". — Mr. Stradivarius♪ talk ♪03:07, 27 January 2023 (UTC)
I got so caught up trying various ways to simplify that extraction algorithm, I completely missed the string ~= test; thanks for pointing that out 🤦♀️ Is the difference in performance between mw.ustring and the standard significant? I assume so or you'd not have mentioned it. I will switch the switchable now(ish). Thank you again for your input; I really appreciate the time and effort you are giving this/me. Fred Gandt · talk · contribs04:41, 27 January 2023 (UTC)
I made these changes and got these results (reading the reports on the module page with active use on the doc):
ustring all the way
Parsed by mw1474
Cached time: 20230127044910
Cache expiry: 1814400
Reduced expiry: false
Complications: [vary‐revision‐sha1, vary‐page‐id, show‐toc]
CPU time usage: 0.197 seconds
Real time usage: 0.261 seconds
Preprocessor visited node count: 667/1000000
Post‐expand include size: 21342/2097152 bytes
Template argument size: 914/2097152 bytes
Highest expansion depth: 14/100
Expensive parser function count: 6/500
Unstrip recursion depth: 0/20
Unstrip post‐expand size: 6301/5000000 bytes
Lua time usage: 0.138/10.000 seconds
Lua memory usage: 15468085/52428800 bytes
Number of Wikibase entities loaded: 0/400
some ustring replaced and that ~=
Parsed by mw1351
Cached time: 20230127044943
Cache expiry: 1814400
Reduced expiry: false
Complications: [vary‐revision‐sha1, vary‐page‐id, show‐toc]
CPU time usage: 0.231 seconds
Real time usage: 0.298 seconds
Preprocessor visited node count: 667/1000000
Post‐expand include size: 21342/2097152 bytes
Template argument size: 914/2097152 bytes
Highest expansion depth: 14/100
Expensive parser function count: 6/500
Unstrip recursion depth: 0/20
Unstrip post‐expand size: 6301/5000000 bytes
Lua time usage: 0.170/10.000 seconds
Lua memory usage: 15467971/52428800 bytes
I tried switching just the ~= and that was worse, so I reverted then just switched the ustrings, which was slightly less worse, but still worse. Fred Gandt · talk · contribs05:09, 27 January 2023 (UTC)
@Fred Gandt: I timed matching = in foo=bar 1,000,000 times, and I got an average of 0.16s for the native Lua string library, and 3.37s for mw.ustring, making the native Lua string library around 20 times faster. So yes, there is a relatively significant difference in performance between the two. As to whether it will make an appreciable difference in performance to your module? Probably not. I would guess that the other things it is doing, like fetching from Wikidata and expanding templates, will take much more time. But that is only conjecture - to be sure you would have to measure it. Best — Mr. Stradivarius♪ talk ♪05:09, 27 January 2023 (UTC)
Probably the timing differences you see are nothing to do with mw.ustring - even though the native string library is faster, the difference would only be a few microseconds. — Mr. Stradivarius♪ talk ♪05:13, 27 January 2023 (UTC)
I was just wondering that; the new times for the same code but a different version since testing are different (actually quite a lot better). I should accept conventional wisdom and use the tried and tested better methods and ignore the page reports? [rhet] I will do that. Fred Gandt · talk · contribs05:18, 27 January 2023 (UTC)
@Fred Gandt: I suspect there is some randomness in the performance stats, determined by whatever the server assigned to render the page happens to be doing at that moment. So whatever you are measuring, it would be a good idea to take multiple samples and take the average before you make any conclusions. For example, I just tried previewing Module:GetShortDescription/doc a few times with no code changes, and I got Lua time usage values as low as 0.11s and as high as 0.20s. If you take the average, you should still get meaningful results from page reports. — Mr. Stradivarius♪ talk ♪07:40, 27 January 2023 (UTC)
Excellent advice; noted. I assumed the lua time in particular was invariable in like for like comparisons. There's an old saying about "assume" isn't there? 😉 Fred Gandt · talk · contribs07:51, 27 January 2023 (UTC)
Howdy. I thought you might be mildly interested; preprocessing for the HTML has another problem for this specific use case; it couldn't distinguish which of multiple short descriptions is actually being applied by the servers. I have written an apparently robust algorithm to figure it out though; Module talk:GetShortDescription/testcases. Lua needs proper RegExp like fish need water. Fred Gandt · talk · contribs11:37, 29 January 2023 (UTC)
Hi! I can see from history that you're a serial module developer, so I thought you may be interested in this tool for synchronizing modules across wikis. Cheers! Sophivorus (talk) 22:16, 2 February 2023 (UTC)
@Sophivorus: That's pretty neat! Does it work on JavaScript gadgets too? Because that would be awesome. I have quite often come across the situation where I need to synchronize a whole bunch of JavaScript gadgets on different wikis because of a security vulnerability. — Mr. Stradivarius♪ talk ♪07:48, 3 February 2023 (UTC)
Ah, I see you already tried it at your sandbox. The reason why it didn't work is because the various pages need to be connected through Wikidata. See for example the page I created for Synchronizer.js at d:Q116446291Sophivorus (talk) 12:05, 3 February 2023 (UTC)
Giant Baba and Rikidozan
I'm very sorry to ask you this, but can you translate from Japanese to English the six pages on this site about Giant Baba's childhood. They're about his early life and I've search much to find them. You can write all in my talk page. Moreover, there are also more information about Rikidozan's family and early life that nobody had translate yet: 1, 2, 3. Thank you very much. — Preceding unsigned comment added by 87.12.11.245 (talk) 15:17, 18 March 2023 (UTC)
Can you do it?
Testcases
Hi, hope you are well? If you have any time, I would greatly appreciate if you could fix up Module:Class mask/testcases because I can't understand how it all works. Please note I have added a ignorenamespace parameter to make it possible to test how it will behave in mainspace. Thanks! — Martin (MSGJ · talk) 13:11, 28 March 2023 (UTC)
@MSGJ: Hi :) To fix the test cases, I would need to know what the new expected outputs are for all of the inputs. I'm not sure what those are supposed to be, so it is not so easy for me to just fix them. If I set the expected outputs to the current outputs, then the tests would pass, but this might mean missing a bug; when writing code, there is always a chance that some assumption of the programmer's proves not to be true, so making the tests match the code generally not a good practice. It's probably best if you set the expected outputs to what you think they should be, and then see if the tests pass or not when run against the new module code.
There are a few tricks I used in the test code to get a large amount of test coverage with a relatively small amount of repetition of code. However, the core is relatively simple - the test framework (Module:ScribuntoUnit) will run any method in the suite table that starts with "test". If any assertions fail or any errors occur when the method runs, the test fails. (Assertions are methods in the suite table that start with "assert".) I made a custom assert method called "assertGradeEquals" that tests the input as specified, as upper case, and as lower case. I also made some parametrised test functions (these contain code like suite['test_'..t.name]) that dynamically adds test methods to the suite table with various different inputs. The idea with those is that you can edit the data that these test parametrization functions are called with, and alter several different tests at once. Let me know if there are any of these things specifically you are unsure about. Best — Mr. Stradivarius♪ talk ♪08:36, 30 March 2023 (UTC)
Thanks for your message. I admit that Module:UnitTests is completely baffling to me. I haven't made any major changes from the version that you created, so I was expecting most of the test cases would still be working from when you tested it. But the only tests that are passing seem to have no actual output. I assume that your tests were all passing when you first built the module, so what has changed in the meantime? I think perhaps if you could get some of the tests working, then I will be able to figure out how to fix the rest — Martin (MSGJ · talk) 10:30, 30 March 2023 (UTC)
@MSGJ:I haven't made any major changes from the version that you created, so I was expecting most of the test cases would still be working from when you tested it. If you didn't mean to make any significant changes to the existing behaviour other than adding the new parameter, then this indicates that you need to fix the module code, not the tests. The tests were indeed all passing with my January 2015 version (apart from one test for the Book namespace, which has since been deleted). You can check this by editing the previous version and then using "Preview page with this template" with the page Module talk:Class mask/testcases. It has been a while since I created the module, but I distinctly remember going over {{class mask}} with a fine-toothed comb to make sure that the output of the module and the template were both exactly the same, and I wrote the unit tests to reflect this. I would try going through each of your edits and checking them against the test cases to see which one introduced the problems. But the only tests that are passing seem to have no actual output.Module:ScribuntoUnit doesn't display the output of tests that pass; this is so that you can concentrate on fixing the ones that fail. Most of the passing tests probably have output; it's just that that output is not displayed. (You mentioned Module:UnitTests, but these particular test cases use Module:ScribuntoUnit instead. They both have a similar purpose, but they use slightly different assertion methods and ways of displaying test results.) Best — Mr. Stradivarius♪ talk ♪15:11, 30 March 2023 (UTC)
Thanks for the clarification. I did indeed assume that the test cases were broken because they were not displaying the output. I'm glad I checked now! Fixed the module back up to better replicate the behaviour of the template. Regards — Martin (MSGJ · talk) 21:38, 30 March 2023 (UTC)
Osaka Castle
There is the story about gold steal from this castle by Kajisuke (梶助) in 1740. Please, can you write the complete story from a translation of these Japanese sites: 1, 2, 3. Thank you very much. — Preceding unsigned comment added by 87.8.31.27 (talk) 10:50, 2 April 2023 (UTC)
You protected this article 11 years ago. I was just here to ask if it may be time to try experimentally unprotecting the article to see if the vandalism from before is gone? Thanks for your consideration, 47.227.95.73 (talk) 20:09, 9 April 2023 (UTC)
@NoahConstrictor: You're welcome! I read your reflection - very interesting stuff. I may need to update a few things on my user page... for example, I haven't done recent page patrol for quite a while now. I saw your edit to Dictogloss because the page was on my watchlist after I created it. Thank you for your work on it. :) Let me know if you have any questions about editing, and I'll be happy to be of assistance. Best — Mr. Stradivarius♪ talk ♪14:04, 15 April 2023 (UTC)
I've been working with @NoahConstrictor and in his reflection he noted you prefer the sfn template, as do I. I'm used to latex/markdown approach, and prefer to edit in a proper text editor (Sublime Text's MediaWiker). However, I've never actually met someone using the same approach and was wondering what tool you use to edit? Reagle (talk) 19:46, 19 April 2023 (UTC)
@Reagle: When I'm working with wikitext and citations I tend to just use the built-in wikitext editor. If I'm doing something heavy-duty like writing code or doing something that would benefit from macros then I usually reach for Vim. — Mr. Stradivarius♪ talk ♪08:38, 21 April 2023 (UTC)
Boshin War
Who was the Imperial commander of the siege at Aizu-Wakamatsu Castle, and the one who meet Matsudaira Teru when she surrended? And the one from Ogaki domain's army who killed Nakano Takeko sometime before? — Preceding unsigned comment added by 95.244.2.87 (talk) 14:59, 14 May 2023 (UTC)
Hello from el.wiktionary. I wonder if you could help us find Lua help about this:
A reconstruction of the magic word _ _ TOC__ especially for wiktionaries: horizontal by level 2 (the output would look something like wikt:el:θωριά, a manually done example -sorry for the Greek-). The reason we need it is
because the structure of wiktionary headings is very different from wikipedias: they are standard and repetitive (every page may include 2 or more Language sections). Vertical TOC is not the best output.
because the magic _ _TOC__ is absolutely necessary in many Appendices and we are afraid that in the future it might be discontinued, or taken away from us.
I know nothing about Lua (thank you for your very helpful https://en.wikibooks.org/wiki/Scribunto:_An_Introduction) All I do is copypaste bits and pieces from here and there to create childish modules. I have tried to make wikt:el:Module:toc-test (wikt:el:Template:toc-test) but I cannot make columns for level 2, cannot formate style, and I am not so clever to learn intricate Lua.
I have asked for help several times at enWP, and enWikt, but no one is interested in this project. If you could give us some tips, or direct us to a place or persons who would be interested, we would be indebted. ありがとう Sarri.greek (talk) 05:27, 9 June 2023 (UTC)
Could you or anybody else give me an idiot's guide to using User:Mr. Stradivarius/gadgets/ConfirmRollback? Neither this nor this has done anything, I assume because the ConfirmRollback = "confirm" bit needs to be formatted in a specific way. But whatever that way is doesn't seem to be specified on the script page, which tells us what the code does but not where to put it to make it work. – Arms & Hearts (talk) 18:21, 27 July 2023 (UTC)
I'm still not getting anywhere I'm afraid. I've disabled rollback links by default but when I use the red "[vandalism]" link on a diff I'm not asked to confirm. The "[rollback (AGF)]" and "[rollback]" links ask me to confirm ("Arms & Hearts has made 13 edits in a row. Are you sure you want to revert them all?") but I'm not sure if they would have done that anyway. (I've been testing on my own edits at User:Arms & Hearts/Esther Waters.) This isn't hugely urgent so I entirely understand if you'd rather not spend any more time on it – either way I appreciate you looking into it and clarifying the documentation. – Arms & Hearts (talk) 10:21, 28 July 2023 (UTC)
@Arms & Hearts: The "[vandalism]", "[rollback (AGF)]" and "[rollback]" links are added separately by Twinkle. This script doesn't affect what Twinkle does in any way. This script affects native MediaWiki rollback links, such as the links on Special:Watchlist that look like "(rollback | thank)". You can change settings for rollback links added by Twinkle at Wikipedia:Twinkle/Preferences. It sounds like you want to check the "Require confirmation before reverting (all devices)" option. — Mr. Stradivarius♪ talk ♪03:30, 29 July 2023 (UTC)
@Arms & Hearts: No worries at all. It's not very obvious how to manage rollback links when you get different links added by different tools. And our exchange resulted in improved documentation, which is always good. Best — Mr. Stradivarius♪ talk ♪00:32, 2 August 2023 (UTC)
Currently Phil Fish has a WP:SILVERLOCK, but as I posted to the talk page last month, "I get the sense that in 2023 Fish's profile has moved sufficiently away from the spotlight that the vandalism risk to this page is now low. Specifically, low enough that WP:WHITELOCK or even no protection at all is more appropriate than the current silverlock."
What are you thoughts on the page's current protection level? As the protecting admin of the page (as of 20 August 2014), would you be happy to unprotect the page? Neuroxic (talk) 15:02, 4 September 2023 (UTC)
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.
It also improves author parsing so that it's able to parse non-linked author names, and give accurate names based on actual displayed text rather than link target (added bonus that it will no longer battle with Wegweiser on this issue). jp×g🗯️22:57, 15 December 2023 (UTC)
I'm an admin from the Albanian Wikipedia and most of our technical infrastructure relies on EnWiki. Recently I was dealing with a small issue which I believe to be related to Module:Pagetype and given that you appear to be the most active contributor in its history I thought I could ask here.
My question is a two part one.
The actual problem I want to solve is simple: In this template ({{About}} in English) we get an English term about disambiguation pages. After a bit of investigation I was led to believe that the term is coming from w:sq:Module:Pagetype/config but I'm not really sure. I could be wrong. If it is coming from that page, what would I need to change to localize it?
Also, while checking Module:Pagetype/config carefully I was made aware that I'm not really sure what I need to change for the localization process beside what I've already changed. Line 128 was especially of interest to us given that in Albanian the plurals are basically never formed by a simple suffix but I'm not sure about the context in which those plurals are used so that I could know what to include in that section. Maybe some extra comments and examples in the module would help clarify such cases.
Actually, ignore that - I just tried it with all the different skins, and it works with all of them (except MinervaNeue, which doesn't show the Tools menu). Maybe it's a conflicting gadget - I will have a quick look to see if I can pinpoint the problem. — Mr. Stradivarius♪ talk ♪04:42, 3 February 2024 (UTC)
Ok, I installed all the scripts from User:Doug Weller/common.js and tried the cleaner gadget on your talk page, and it still worked. When you click "Clean talk page", is an edit summary automatically inserted into the edit summary window? If so, it means that the gadget is working. If you go ahead and click "Save page", the sections recognised by the gadget should be removed. You can also click "Show changes" before you save the page to see what will be removed. (All the script does is alter the text inside the edit window.) — Mr. Stradivarius♪ talk ♪04:54, 3 February 2024 (UTC)
This should blank the contents of the edit window when you run it. From your description and from the source code of the gadget, I think that this is the part that is going wrong, and I would like to check if my assumption is right or not. Let me know if the content of the edit window is blanked or not after you run the command. Best — Mr. Stradivarius♪ talk ♪15:33, 4 February 2024 (UTC)
If this helps I see startup.js:1316 This page is using the deprecated ResourceLoader module "jquery.ui". in the developer console. Doug Wellertalk15:50, 4 February 2024 (UTC)
@Doug Weller: In the developer tools, click the "Console" tab if you are not already there. (If you are seeing "This page is using the deprecated x" warnings, you are probably already there. These warnings are normal, and won't be the cause of the bug.) At the bottom of the console there should be a place where you can enter commands. On Firefox it is prefixed with ">>", and on Chrome it is prefixed with ">". Paste the command there and hit enter. This will run the command (JavaScript) in the context of the page you are viewing. — Mr. Stradivarius♪ talk ♪02:49, 6 February 2024 (UTC)
I'm afraid not. THe message returns "jQuery.fn.init {0: textarea#wpTextbox1.mw-editfont-sans-serif.ext-WikiEditor-realtimepreview-textbox, length: 1}" but there are no shcanges. Doug Wellertalk07:45, 6 February 2024 (UTC)
@Doug Weller: Thanks - this helped me track down the issue. It turns out I was using a command that only worked when the edit window text was available as a direct child of the edit window element; this works most of the time, but not in certain configurations. I have fixed the gadget, so please try it again and see if it works for you now. — Mr. Stradivarius♪ talk ♪14:24, 6 February 2024 (UTC)
Hi Strad. I just noticed that your bot made lots of changes to Module:Pagetype/softredirect/sandbox back in February but did not generate an edit request, so these changes have only just been applied to the live module. I know it makes edit requests for the other pages, so can you look at why it didn't in this case? Thanks — Martin (MSGJ · talk) 07:06, 9 August 2024 (UTC)
@MSGJ: I think those edits are back when I was testing the functionality. I never set up the bot to run automatically for Module:Pagetype, as there was a problem when trying to leave two edit requests on the same talk page (one for each subpage). The BRFA for StradBot on Module:Pagetype is still not complete. The problem is a bug in Pywikibot, which I need to report and get fixed, but I never got round to it. — Mr. Stradivarius♪ talk ♪01:41, 10 August 2024 (UTC)
The Wikimedia Foundation is conducting a survey of Wikipedians to better understand what draws administrators to contribute to Wikipedia, and what affects administrator retention. We will use this research to improve experiences for Wikipedians, and address common problems and needs. We have identified you as a good candidate for this research, and would greatly appreciate your participation in this anonymous survey.
You do not have to be an Administrator to participate.
The survey should take around 10-15 minutes to complete. You may read more about the study on its Meta page and view its privacy statement .
Please find our contact on the project Meta page if you have any questions or concerns.
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Updates for editors
On wikis with the Translate extension enabled, users will notice that the FuzzyBot will now automatically create translated versions of categories used on translated pages. [4]
In 1.44.0-wmf-2, the logic of Wikibase function getAllStatements changed to behave like getBestStatements. Invoking the function now returns a copy of values which are immutable. [6]
Wikimedia REST API users, such as bot operators and tool maintainers, may be affected by ongoing upgrades. The API will be rerouting some page content endpoints from RESTbase to the newer MediaWiki REST API endpoints. The impacted endpoints include getting page/revision metadata and rendered HTML content. These changes will be available on testwiki later this week, with other projects to follow. This change should not affect existing functionality, but active users of the impacted endpoints should verify behavior on testwiki, and raise any concerns on the related Phabricator ticket.
In depth
Admins and users of the Wikimedia projects where Automoderator is enabled can now monitor and evaluate important metrics related to Automoderator's actions. This Superset dashboard calculates and aggregates metrics about Automoderator's behaviour on the projects in which it is deployed. Thanks to the Moderator Tools team for this Dashboard; you can visit the documentation page for more information about this work. [7]
Meetings and events
21 November 2024 (8:00 UTC & 16:00 UTC) - Community call with Wikimedia Commons volunteers and stakeholders to help prioritize support efforts for 2025-2026 Fiscal Year. The theme of this call is how content should be organised on Wikimedia Commons.
Hi, Stradivarius! Once again, many thanks for Draftify; 9+ years, how time flies. For a while, the AfC submission wizard (docs) has supported WikiProject banners on the talk page of a draft. Could Draftify be updated to include the talk page of a user draft when moving it so we don't have to manually follow up? Best, SamSailor06:12, 12 November 2024 (UTC)
Reminder to participate in Wikipedia research
Hello,
I recently invited you to take a survey about administration on Wikipedia. If you haven’t yet had a chance, there is still time to participate– we’d truly appreciate your feedback. The survey is anonymous and should take about 10-15 minutes to complete. You may read more about the study on its Meta page and view its privacy statement.
Hello! Voting in the 2024 Arbitration Committee elections is now open until 23:59 (UTC) on Monday, 2 December 2024. 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.
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Updates for editors
Users of Wikimedia sites will now be warned when they create a redirect to a page that doesn't exist. This will reduce the number of broken redirects to red links in our projects. [8]
View all 42 community-submitted tasks that were resolved last week. For example, Pywikibot, which automates work on MediaWiki sites, was upgraded to 9.5.0 on Toolforge. [9]
Updates for technical contributors
On wikis that use the FlaggedRevs extension, pages created or moved by users with the appropriate permissions are marked as flagged automatically. This feature has not been working recently, and changes fixing it should be deployed this week. Thanks to Daniel and Wargo for working on this. [10][11]
In depth
There is a new Diff post about Temporary Accounts, available in more than 15 languages. Read it to learn about what Temporary Accounts are, their impact on different groups of users, and the plan to introduce the change on all wikis.
Meetings and events
Technical volunteers can now register for the 2025 Wikimedia Hackathon, which will take place in Istanbul, Turkey. Application for travel and accommodation scholarships is open from November 12 to December 10 2024. The registration for the event will close in mid-April 2025. The Wikimedia Hackathon is an annual gathering that unites the global technical community to collaborate on existing projects and explore new ideas.
Join the Wikimedia Commons community calls this week to help prioritize support for Commons which will be planned for 2025–2026. The theme will be how content should be organised on Wikimedia Commons. This is an opportunity for volunteers who work on different things to come together and talk about what matters for the future of the project. The calls will take place November 21, 2024, 8:00 UTC and 16:00 UTC.
A Language community meeting will take place November 29, 16:00 UTC to discuss updates and technical problem-solving.
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Updates for editors
A new version of the standard wikitext editor-mode syntax highlighter will be available as a beta feature later this week. This brings many new features and bug fixes, including right-to-left support, template folding, autocompletion, and an improved search panel. You can learn more on the help page.
The 2010 wikitext editor now supports common keyboard shortcuts such Ctrl+B for bold and Ctrl+I for italics. A full list of all six shortcuts is available. Thanks to SD0001 for this improvement. [12]
Starting November 28, Flow/Structured Discussions pages will be automatically archived and set to read-only at the following wikis: bswiki, elwiki, euwiki, fawiki, fiwiki, frwikiquote, frwikisource, frwikiversity, frwikivoyage, idwiki, lvwiki, plwiki, ptwiki, urwiki, viwikisource, zhwikisource. This is done as part of StructuredDiscussions deprecation work. If you need any assistance to archive your page in advance, please contact Trizek (WMF).
The CodeEditor, which can be used in JavaScript, CSS, JSON, and Lua pages, now offers live autocompletion. Thanks to SD0001 for this improvement. The feature can be temporarily disabled on a page by pressing Ctrl+, and un-selecting "Live Autocompletion".
Tool-maintainers who use the Graphite system for tracking metrics, need to migrate to the newer Prometheus system. They can check this dashboard and the list in the Description of the task T350592 to see if their tools are listed, and they should claim metrics and dashboards connected to their tools. They can then disable or migrate all existing metrics by following the instructions in the task. The Graphite service will become read-only in April. [13]
The New PreProcessor parser performance report has been fixed to give an accurate count for the number of Wikibase entities accessed. It had previously been resetting after 400 entities. [14]
Meetings and events
A Language community meeting will take place November 29 at 16:00 UTC. There will be presentations on topics like developing language keyboards, the creation of the Mooré Wikipedia, the language support track at Wiki Indaba, and a report from the Wayuunaiki community on their experiences with the Incubator and as a new community over the last 3 years. This meeting will be in English and will also have Spanish interpretation.
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Starting this week, Wikimedia wikis no longer support connections using old RSA-based HTTPS certificates, specifically rsa-2048. This change is to improve security for all users. Some older, unsupported browser or smartphone devices will be unable to connect; Instead, they will display a connectivity error. See the HTTPS Browser Recommendations page for more-detailed information. All modern operating systems and browsers are always able to reach Wikimedia projects. [15]
Starting December 16, Flow/Structured Discussions pages will be automatically archived and set to read-only at the following wikis: arwiki, cawiki, frwiki, mediawikiwiki, orwiki, wawiki, wawiktionary, wikidatawiki, zhwiki. This is done as part of StructuredDiscussions deprecation work. If you need any assistance to archive your page in advance, please contact Trizek (WMF). [16]
This month the Chart extension was deployed to production and is now available on Commons and Testwiki. With the security review complete, pilot wiki deployment is expected to start in the first week of December. You can see a working version on Testwiki and read the November project update for more details.
View all 23 community-submitted tasks that were resolved last week. For example, a bug with the "Download as PDF" system was fixed. [17]
Updates for technical contributors
In late February, temporary accounts will be rolled out on at least 10 large wikis. This deployment will have a significant effect on the community-maintained code. This is about Toolforge tools, bots, gadgets, and user scripts that use IP address data or that are available for logged-out users. The Trust and Safety Product team wants to identify this code, monitor it, and assist in updating it ahead of the deployment to minimize disruption to workflows. The team asks technical editors and volunteer developers to help identify such tools by adding them to this list. In addition, review the updated documentation to learn how to adjust the tools. Join the discussions on the project talk page or in the dedicated thread on the Wikimedia Community Discord server (in English) for support and to share feedback.
Institut Seni Budaya Indonesia Tanah PapuaJenisPerguruan Tinggi NegeriDidirikan09 Oktober 2014Lembaga indukKementerian Pendidikan, Kebudayaan, Riset, dan TeknologiRektorDr. I Dewa Ketut Wicaksana, S.Sp, M.HumAlamatJalan Raya Sentani Km. 17,8 Expo Waena, Jayapura, Papua, IndonesiaSitus webhttp://www.isbi-tanahpapua.ac.id Institut Seni Budaya Indonesia Tanah Papua atau disingkat ISBI Tanah Papua adalah perguruan tinggi negeri yang terletak di kota Jayapura, Papua. Kampus ini menyelenggarakan pr...
«АСМ Оран» Повна назва Ассоціасьйон СпортівМедінет д'Алжир(араб. الجمعية الرياضية لمدينة وهران) Прізвисько Школа,(араб. شرم مدرسة) Засновано 1933 Населений пункт Оран, Алжир Стадіон «Хабіб Буакеул»у Орані Вміщує 20 000 Президент Мохамед ель-Морро Головний тр...
Nacida para triunfar Serie de televisiónGénero Drama/biográficoGuion por Pedro VásquezDirigido por Efraín Aguilar PardavéProtagonistas Nidia BermejoCristina UruetaAngelita VelásquezFernando VásquezDoris María RamírezPaís de origen Perú PerúIdioma(s) original(es) EspañolN.º de episodios 20ProducciónProductor(es) ejecutivo(s) Manolo Castillo G.Productor(es) Efraín Aguilar PardavéDuración 42 minutos aprox.LanzamientoMedio de difusión América TelevisiónHorario Lunes a vierne...
Jack Stephens oleh Steve Hogg, 2017Informasi pribadiNama lengkap Jack Stephens[1]Tanggal lahir 27 Januari 1994 (umur 29)Tempat lahir Torpoint, Inggris[2]Tinggi 6 ft 1 in (1,85 m)Posisi bermain BekInformasi klubKlub saat ini SouthamptonNomor 24Karier junior2005–2010 Plymouth ArgyleKarier senior*Tahun Tim Tampil (Gol)2010–2011 Plymouth Argyle 5 (0)2011– Southampton 5 (0)2014 → Swindon Town (pinjaman) 10 (0)2014–2015 → Swindon Town (pinjaman) 37 (1...
Season of television series NikitaSeason 1Blu-ray coverCountry of originUnited StatesNo. of episodes22ReleaseOriginal networkThe CWOriginal releaseSeptember 9, 2010 (2010-09-09) –May 12, 2011 (2011-05-12)Season chronologyNext →Season 2List of episodes The first season of Nikita, an American television drama based on the French film La Femme Nikita (1990), the remake Point of No Return (1993), and a previous series La Femme Nikita (1997). It aired from September 9, 2010...
State highway in Nevada and Placer counties in California, United States State Route 267Map of northeastern California with SR 267 highlighted in redRoute informationMaintained by CaltransLength12.69 mi[1] (20.42 km)Major junctionsWest end I-80 / SR 89 in TruckeeEast end SR 28 at Kings Beach LocationCountryUnited StatesStateCaliforniaCountiesNevada, Placer Highway system State highways in California Interstate US State Scenic History Pre...
Ini adalah nama Tionghoa; marganya adalah Souw (Su). Kapitan Souw Beng Kong蘇鳴崗Makam Souw Beng Kong di Jakarta.Kapitan Cina Batavia pertamaMasa jabatan1619–1636PendahuluJabatan baruPenggantiKapitan Liem Lak KoDaerah pemilihanBatavia Informasi pribadiLahirTong An, Fujian, Kekaisaran MingMeninggal1644 – 1580; umur -65–-64 tahunBatavia, Hindia BelandaPekerjaanKapitan CinaSunting kotak info • L • B Souw Beng Kong, Kapitan Cina (Hanzi sederhana: 苏鸣岗;...
Mexican artist (born 1967) Angelica Carrasco at the Salón de la Plástica Mexicana Angelica Carrasco (born January 11, 1967)[1] is a Mexican graphic artist who is a pioneer of large scale printmaking in the country. Her work often is related to violence and classified as “abstract neo-expressionism.” Much of her career has been dedicated to teaching and the promotion of the arts, especially the graphic arts and has been recognized with membership in the Salón de la Plástica Mex...
Swiss Bank redirects here. For the former bank and predecessor to UBS, see Swiss Bank Corporation. For the national bank of Switzerland, see Swiss National Bank. Pictured: the Mont Cervin Palace in Zermatt. A hub of tourism, many private banks service the city and maintain underground bunkers and storage facilities for gold at the foothills of the Swiss Alps. Banking in Switzerland dates to the early 18th century through Switzerland's merchant trade and has, over the centuries, grown into a c...
Sri Lankan weightlifter Chaturanga LakmalChathuranga Lakmal lifts the weight to win silver medal at the 2016 South Asian GamesPersonal informationFull nameChaturanga Lakmal Jayasooriya ArachchilageBorn (1988-10-07) 7 October 1988 (age 35)Gampaha, Western Province, Sri LankaHeight160 cm (5 ft 3 in)Weight56 kg (123 lb) 61kgSportSportweightliftingEventmen's 56kg Medal record Men's weightlifting Representing Sri Lanka Commonwealth Games 2018 Gold Coast 56k...
1999 soundtrack album by Phil Collins and Mark MancinaTarzan: An Original Walt Disney Records SoundtrackSoundtrack album by Phil Collins and Mark MancinaReleasedMay 18, 1999Recorded1998–1999StudioConway Recording Studios and Capitol Studios (Hollywood, California)The Village Recorder, Signet Sound Studios and Image Recording Studios (Los Angeles, California)Mancina Music, Inc. (West Los Angeles, California)Sony Scoring Stage (Culver City, California)Todd-AO Scoring Stage (Studio Cit...
Herbert Henry Asquith Primo Ministro del Regno UnitoDurata mandato5 aprile 1908 –5 dicembre 1916 MonarcaEdoardo VIIGiorgio V PredecessoreHenry Campbell-Bannerman SuccessoreDavid Lloyd George Leader dell'opposizioneDurata mandato12 febbraio 1920 –21 novembre 1922 MonarcaGiorgio V Capo del governoDavid Lloyd GeorgeAndrew Bonar Law PredecessoreDonald Maclean SuccessoreRamsay MacDonald Dati generaliPrefisso onorificoThe Right Honourable Suffisso onorifico...
Computer security testing tool MetasploitMetasploit Community showing three hosts, two of which were compromised by an exploitOriginal author(s)H. D. MooreDeveloper(s)Rapid7 LLCInitial release2003; 20 years ago (2003)[1]Stable release6.3.36[2] / September 28, 2023 (2023-09-28) Repositorygithub.com/rapid7Written inRubyOperating systemCross-platformTypeSecurityLicenseFramework: BSD,[3] Community/Express/Pro: ProprietaryWebsitewww.metasplo...
For the 1991 video game, see Utopia: The Creation of a Nation. 1982 video gameUtopiaDeveloper(s)Mattel ElectronicsPublisher(s)Mattel ElectronicsDesigner(s)Don DaglowPlatform(s)Intellivision, AquariusReleaseIntellivisionWW: June 3, 1982[1]AquariusWW: 1983Genre(s)City-building[2][3][4]Real-time strategy[5][6][4]Mode(s)Multiplayer Utopia is a 1982 strategy video game by Don Daglow released for the Intellivision and Mattel Aquarius. It is of...
«¿Por qué no estás en el ejército?». Cartel de reclutamiento del Ejército de Voluntarios durante la Guerra Civil Rusa. El Ejército de Voluntarios (ruso: Добровольческая армия, Dobrovólcheskaya Armia) fue uno de los primeros ejércitos del Movimiento Blanco creado durante la guerra civil rusa,[1] el principal de ellos, el de mayor duración, el que gozó de una mejor dirección y de una administración más estable.[2] Tuvo como principal teatro de op...
Railway equipment manufacturer Ural LocomotivesTypeOpen joint-stock companyFounded2010HeadquartersVerkhnyaya Pyshma, RussiaRevenue29,985,000,000 Russian ruble (2017) OwnersSinara Transport Machines, SiemensWebsiteOfficial Workers of Ural Locomotives with Vladimir Putin Ural Locomotives (Russian: Уральские локомотивы) is a railway engineering company formed as a joint venture between Sinara Transport Machines and Siemens in 2010. The manufacturing facilities are based a...
College football bowl game College football game2018 Military Bowlpresented by Northrop Grumman11th Military BowlCoin toss prior to the game Cincinnati Bearcats Virginia Tech Hokies (10–2) (6–6) The American ACC 35 31 Head coach: Luke Fickell Head coach: Justin Fuente 1234 Total Cincinnati 77714 35 Virginia Tech 77107 31 DateDecember 31, 2018Season2018StadiumNavy–Marine Corps Memorial StadiumLocationAnnapolis, MarylandMVPMichael Warren II (RB, Cincinnati)[1]F...
روبيرتينو بيتري معلومات شخصية الميلاد 6 مايو 1985 (العمر 38 سنة)بويرتو لا كروز الجنسية فنزويلي الحياة المهنية المهنة متسابق دراجات نارية نوع الرياضة سباق الدراجات النارية رقم الدراجة 4 إحصائيات سباقات الدراجات النارية بطولة العالم للموتو2 سنوات النشاط 2010–2011 البدء الف...