[04:11:05] https://wiki.project1999.com/Lambent_Armor could anyone help me learn how to make tooltips like what appear on the item links for this Everquest shard wiki? I haven't been able to get this kind of result with any of the extensions I've tried, but my community seems to think it should be very easy :( [04:44:18] I must head to bed but thanks in advance if anyone can give me some direction. I'll check back tomorrow! [15:03:18] Hi folk, I want to turn off the annoying java warning message at launch, since I don't use java at all (deactivated in options > advanced). Any workaround? [15:04:00] which java message? [15:04:09] mediawiki doesn't include a java warning... [18:53:41] i fricked some stuff up and now i have files in the "image" table in the DB that dont actually exist; is there a way to delete all files that don't actually exist? [18:53:49] as in, like, its in the DB but the file isnt actually there [19:00:21] I don't use files on my wiki much, but findMissingFiles.php and findOrphanedFiles.php in the maintenance dir look like good starting points [19:00:54] Deleting the page onwiki should sort the image table out... [19:10:07] findMissingFiles only found some of the many files that don't exist [19:13:37] @Reedy: what page? [19:32:38] daniel11420: nice job yesterday with the fix! [19:33:07] daniel11420: how about making a script that checks for all the files and deletes if they don't exist? (if you have access to the filesystem) [19:33:50] i do have access to the filesystem but that seems rly complicated and before i did that i just wanted to make sure if maybe someone already figured this out and made a script alreaady [19:36:06] daniel11420: yes ofc [20:16:34] daniel11420: The File:Foobar.ext page [20:17:06] I want to do it automatically, it would take years to do it manually [20:18:18] Yes and no [20:18:22] The process is still the same [20:18:44] If you build a list of pages, you can delete them with the deleteBatch.php maintenance script [20:18:55] MW doesn't have random fixes for when people mess around with stuff [23:00:52] I have an older extension I would like to use on my wiki (the developer had it hosted on his own site.) I know it was being used on another wiki that is running version 1.30 (my software is up-to-date with the newest version of mediawiki, 1.34.2) but I can see from the documentation included with the extension that it is probably from pre-1.25 because it describes using "require once" when [23:00:52] adding it to localsettings.php. It seems like a fairly simple file though, so I was wondering if anyone could help me figure out what I might need to update to make it work with my wiki? [23:01:34] well, let's start with the basics: what extension? where's the source? :) [23:02:09] There are numerous extensions that still haven't been converted to extension registration [23:02:16] Doesn't mean they won't work [23:02:42] hey ashley. the developer had it uploaded on their private site along with several others here: https://www.destinati.com/code/p99wiki.extensions.zip the one i was interested in is ajaxhoverhelper [23:03:20] When i try adding it to my local site using wfLoadExtension, the site fails to load. [23:04:09] fails how? [23:04:38] it would, since the extension doesn't have an extension.json file to begin with, yes [23:04:43] I just immediately get an HTTP Error 500 [23:04:54] !blankpage [23:04:54] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [23:06:12] well the quality of the code is...oh dear [23:08:20] * Reedy pretends to be surprised [23:08:23] i wouldn't be surprised. this is being used on a game wiki as part of a solution to create hover thumbnails that feature content from a template. i'm trying to create a wiki in a similar niche (different game, but common community) that wants this same feature. [23:09:12] let's see...this may take a few minutes as I wanna clean up the code first to see what I'm working with here [23:21:29] thank you, ashley. i appreciate the effort, you have all of my patience. [23:39:38] now that I've cleaned this up a bit...*only* now do I see one glaringly obvious problem: the extension has a seemingly meaningful JS file...but the one and only special page doesn't load it? so what _does_ load it, hmm? [23:40:23] ah! i figured that bit out earlier, based on the JS. you have to append an item name to the path [23:40:26] http://wiki.project1999.com/Special:AjaxHoverHelper/Lambent_Breastplate [23:41:26] oh sorry, i think i totally read that backwards. the js seemed to be loaded on the common.js [23:41:40] . . . [23:41:45] oh boy. [23:44:27] oh dear. I figured this was a special kind of mess, I guess I didn't realize exacty how bad. This was the first time I've ever even considered using an extension not from the mediawiki site. I just haven't been able to find a supported extension that can do something like this. [23:49:40] heh, no worries, this just looks like something that grew somewhat organically... [23:49:59] not exactly very portable and I wouldn't call code living in MediaWiki:Common.js update-proof either, but hey [23:51:10] yeah, seems safe to safe this thing is throwing up enough red flags that we'll live without this functionality. for now, at least, until i can find a better solution. [23:51:59] thank you so much for digging into it, ashley. :) [23:59:26] rari: no problem; I made it slightly better but haven't tested it yet, but if you're brave enough... https://git.legoktm.com/ashley/AjaxHoverHelper (the minified JS code on top of that .js file is still seedy and I don't know about the gazillion *other* issues lurking in here...as said, this is just some initial cleanup, and *maybe* it might run enough to throw a meaningful error or something?)