[08:17:52] Hi there, Ihave a question about a self hosted Mediawiki. I have had hundrets of bots that registered and created pages (mainly profile pages). Is there a way to bulk remove those accounts and pages? [08:49:26] Hi, I have a short question  about running maintenance scripts starting with MW. You now have to e.g. do maintenance/run.php update. [08:49:58]  If I want to add flags: Do the mechanics remain the same, e.g. I could do maintenance/run.php update --wiki commons [08:51:03] or "maintenance/run.php update --nopurge --quick" et.c [08:51:28] https://www.mediawiki.org/wiki/Manual:Update.php [08:52:56] To cut it short. Apart from maintenance/run.php and dropping the php suffix from the respective script everything remains the same? [09:19:51] I do not yet have an MW 1.40 at my fingertips. This is why I am asking. [09:27:28] yes, `php maintenance/run.php update --foo --bar` should work fine [09:28:48] Cool. Thanks for confirming. [15:13:52] Hello, I have a question: I'm looking for a method to use a custom image view page instead of the default metadata page in the File: namespace. [15:13:53] Is it possible to globally modify all default image link destinations: [15:13:54] [[File:Some image|800px]] [15:13:56] So instead of the image linking to: [15:13:57] File:Some_image.jpg [15:13:59] ... it would link to: [15:14:00] File.cgi?Some_image.jpg [15:14:02] This assumes that File.cgi is a server exception, i.e. a custom image output that is bypassed by the wiki's default page serving. [15:14:03] It can of course be done in the markup by [[File:Some image|link=https://example.com/File.cgi?Some_image.jpg|800px]] [15:14:05] But there are many pages I prefer not to modify manually. [15:14:06] So if using the link= markup, it may be better done with the Replace Text extension: [15:14:08] * Extract the filename within any "[[File:(.).jpg|" patterns. [15:14:10] * Replace any spaces in filenames with underscores. [15:14:11] * Insert |link=Some_image.jpg after the first | in each "[[File:(.)]] pattern. [15:14:13] Or perhaps another solution is to create a new namespace (eg. Display:) that shows an image but generates a custom image view when clicked and replace all "File:" instances across the wiki with "Display:" [15:14:14] Another way may be to modify the File: page output page. If so, how and where can this be done? [15:14:15] Can it be done in LocalSettings?