[04:25:10] I was going thorugh a template-protected template on English Wikipedia and found this notice on the page "To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes [04:25:11] on the talk page before implementing them." I am interested to know that how an edit on a template (with high number of transclusions) would increase the server load ? [04:39:47] Can someone please help me about it. is my question not appropriate/understandable ? [07:40:41] changing a template will force all the pages that use it to be rerendered [07:41:22] but in general I wouldn't worry about it that much, if you need to make a change, make it. just don't constantly make edits to high-use templates unnecessarily, if e.g. it could've been tested before hand [07:49:45] I cannot confirm that changing a template will force all the pages that use it to be rerendered [07:50:00] I edited https://www.mediawiki.org/w/index.php?title=Template:OPW two weeks ago [07:50:07] but https://www.mediawiki.org/wiki/Outreachy still displays the old version [08:16:07] andre__: indeed, recent versions of MediaWiki try to be smart about whether a template change requires purging. With parser functions as contained in that template, the decision is often the wrong one. [08:16:28] Nemo_bis: Argh, thanks for explaining that mystery to me! [08:16:35] "Eventually" the pages will be updated... [08:16:48] Any idea how to force updating? Because I'm obviously clueless. [08:22:20] andre__: I think it's done. It was actually a matter of stuck FuzzyBot... https://www.mediawiki.org/w/index.php?title=Template%3AOPW%2Fen&type=revision&diff=3906756&oldid=3857643 [08:23:40] Nemo_bis: Oh, the transclusion goes via the /en translation? I see. Thanks! [08:23:45] yes [08:23:49] noted [08:24:03] Only because Shirayuki added that parser function trickery though. [08:24:23] I'm not quite sure that Shirayuki's markup syntax is the most efficient, but he usually cleans up after any error himself, so... [08:24:30] heh [08:34:48] [00:49:45] I cannot confirm that changing a template will force all the pages that use it to be rerendered <-- it should in theory at least :) [08:35:05] Reality bites :) [09:26:29] cirrussearch regexps are non-greedy? if yes, what is the proper syntax to make "*" and "+" behave greedy? [09:33:18] Danny_B: cirrus regex uses the lucene regex engine https://www.elastic.co/guide/en/elasticsearch/reference/current/regexp-syntax.html it does not support such flags so it all depends on how you've written your expression [09:52:03] dcausse: i'm not talking about flags. i would expect that /foo[^a-z]+[^x]/ will match "fooAAx" but it matches only "fooAA" (which would be expected behavior to /foo[^a-z]+?[^x]/ [09:57:13] fooAA is a valid match for /foo[^a-z]+[^x]/ the way this regex engines work is optimized to find a match without taking into consideration greedyness [10:00:38] thus it's probably not extracting the substring you would expect from a more sophisticated regex engine [10:00:51] but the match remains valid [10:02:24] :-/ [10:02:44] pity it doesn't have the std pcre behavior [10:03:03] Danny_B: it would be way too costly :) [10:03:24] this leads to create obscure regexps instead [10:04:36] to be able to match stuff like the one i mentioned [10:05:34] Danny_B: when you say "match" you would like cirrus to return fooAAx not fooAAx right? [10:07:18] hm.. sorry wrong example, please ignore [10:08:46] dcausse: that was actually correct example [10:09:06] (actually exactly what i wrote earlier) [10:09:55] but /foo[^a-z]+[^x]/ can't match "fooAAx" or I'm missing something? [10:31:02] dcausse: yes, you're right, i have typo there (as i was simplifying the regexp i'm using to be easier legible, sorry). the correct is: given string: barfooAAqwerty, current match is fooAA, expected match is fooAAq [10:49:15] dcausse: /foo[^a-z]+[ -wy-�]/ seems to do what is desired, however it's scratching the left ear with the right hand behind your back... [12:16:54] Danny_B: ouch indeed :/ [19:14:11] [[Tech]]; CrazyBoy826; /* Unreachable username */ new section; https://meta.wikimedia.org/w/index.php?diff=20167303&oldid=20157335&rcid=15665448 [19:14:38] [[Tech]]; CrazyBoy826; /* Unreachable username */; https://meta.wikimedia.org/w/index.php?diff=20167304&oldid=20167303&rcid=15665449 [19:19:03] [[Tech]]; CrazyBoy826; /* Unreachable username */; https://meta.wikimedia.org/w/index.php?diff=20167309&oldid=20167304&rcid=15665458