Jean Abou Samra
Joined 15 October 2025
→Spam users: Reply |
|||
| (13 intermediate revisions by 3 users not shown) | |||
| Line 108: | Line 108: | ||
::::Thank you for installing this extension, this is definitely an improvement. CharInsert is a different animal. Root access is of course best, but you have to do much administration. Usually root access is very expensive when you need a provider. A long time ago I have written a Lilypond extension myself on a home server in my local network. | ::::Thank you for installing this extension, this is definitely an improvement. CharInsert is a different animal. Root access is of course best, but you have to do much administration. Usually root access is very expensive when you need a provider. A long time ago I have written a Lilypond extension myself on a home server in my local network. | ||
::::Just in case you are asking who I am, I wrote LSR 1040, 1042, 1043, 1044 (when I remember right) and was involved in 1066 and 1067. [[User:Manuela|Manuela]] ([[User talk:Manuela|talk]]) 19:34, 19 December 2025 (UTC) | ::::Just in case you are asking who I am, I wrote LSR 1040, 1042, 1043, 1044 (when I remember right) and was involved in 1066 and 1067. [[User:Manuela|Manuela]] ([[User talk:Manuela|talk]]) 19:34, 19 December 2025 (UTC) | ||
:::::I've discovered a potential reason for activating Scribunto: Right now, I'm using the <code>query</code> MediaWiki API to download snippets for <code>makelsr.pl</code>. However, <code>query</code> doesn't expand templates. This means that I have to call the <code>expandtemplates</code> API, sending the unexpanded page to the Wiki server to get an expanded version back. | |||
:::::The Skribunto interface provides [https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#frame:preprocess <code>frame:preprocess</code>], which seems to unify the abovementioned two calls into a single one (I haven't tested it). Maybe this can be configured to not use Lua, in case this simplifies things. What do you think? -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 14:56, 1 January 2026 (UTC) | |||
::::::I don't see a problem with one extra API call per page to expand templates. Also, the function you link is a Lua API, for use in Lua modules running on the wiki, so I don't get how you want to use it outside. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 22:02, 1 January 2026 (UTC) | |||
:::::::OK, <code>expandtemplates</code> it is then :-) -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 23:30, 1 January 2026 (UTC) | |||
== MediaWiki variables for current stable and unstable LilyPond versions == | == MediaWiki variables for current stable and unstable LilyPond versions == | ||
| Line 128: | Line 132: | ||
::Great! However, it seems to me that you have to add some piece of PHP code to do that... This means I cannot do it by myself. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 07:00, 30 December 2025 (UTC) | ::Great! However, it seems to me that you have to add some piece of PHP code to do that... This means I cannot do it by myself. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 07:00, 30 December 2025 (UTC) | ||
:::Ah, do you need them to be variables as opposed to templates? [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 08:30, 30 December 2025 (UTC) | :::Ah, do you need them to be variables as opposed to templates? [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 08:30, 30 December 2025 (UTC) | ||
::::Do I? I honestly don't know. Please advise. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 12:36, 30 December 2025 (UTC) | |||
:::::Please try templates first. Seems to me that the use case for variables is when you want programmatically generated stuff like the current date. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 19:40, 30 December 2025 (UTC) | |||
::::::It seems to work fine, thanks! However, for more serious template handling I think that the [https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions ParserFunctions] extension would be necessary. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 06:43, 31 December 2025 (UTC) | |||
:::::::Added. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 08:01, 31 December 2025 (UTC) | |||
::::::::Thanks! -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 14:41, 1 January 2026 (UTC) | |||
== Spam users == | |||
Jean, what shall we do with spam users like User:JoleenStallings? Shall we remove them immediately? While they don't do harm to the Wiki, they are still polluting the namespace... -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 05:21, 11 January 2026 (UTC) | |||
:Yes. I've just removed all their user pages and blocked them and their IP addresses. [[User:Jean Abou Samra|Jean Abou Samra]] ([[User talk:Jean Abou Samra|talk]]) 13:57, 11 January 2026 (UTC) | |||
::OK, thanks. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 16:03, 11 January 2026 (UTC) | |||
:::Obviously the spammers have discovered this wiki. IMHO there is only one solution. Creation of new users only with verification of an admin and editing only for registered users [[User:Manuela|Manuela]] ([[User talk:Manuela|talk]]) 19:53, 11 January 2026 (UTC) | |||
::::Well, it's not that bad: currently, the situation can be handled manually quite easily (by watching the atom feed of this Wiki and quickly removing spam users). However, if this becomes too much of a burden, some additional measures must be taken. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 05:17, 12 January 2026 (UTC) | |||