[00:58:27] hey, help me out with a translation issue please (still not sure if its an issue?) [00:59:31] mediawiki 1.31 has "$month_long" for may but not for any other month in the spanish translation [01:00:26] some Manual:* page i forgot about in mediawiki.org suggests its because $month messages are for "short names" of the month [01:01:40] so months that have a long name like september would be translated as "sept" in spanish, and short months like may would be just "mayo", since that's already short [01:02:04] but this doesnt apply to may and i dont know why [01:03:09] So the message key is the english name of the month [01:03:12] spanish wikipedia shows the same issue in 1.34 where months are all translated normally except may which has a "may = may" and "may_long = mayo" [01:03:25] In english may doesn't have a short name [01:03:26] seen here https://es.wikipedia.org/w/index.php?title=Especial%3ATodosLosMensajes&prefix=may&filter=all&lang=es&limit=50 [01:03:44] but in spanish it does! [01:03:51] So for a month like April, the message key is 'apr' for the short name and 'april' for the long name [01:04:24] for may, the key is 'may_long' because you can't tell apart short and long name in english [01:04:59] but there are no short names in spanish [01:05:19] may is the only one with a "may_long" because its the only one whose "may" is actually a short name [01:05:25] every other month has the full name [01:06:03] Guest391: but compare with https://es.wikipedia.org/w/index.php?title=Especial%3ATodosLosMensajes&prefix=apr&filter=all&lang=es&limit=5 [01:06:24] Where short april is translated as abr [01:06:28] oh hey that one does have a short version [01:07:32] nevermind i see the issue im having now. all of them have a short version, the key is just three characters long and i was searching for things like "septem" [01:08:23] I expect if it was added now, the naming scheme would be more clear, but the months were added a long time ago before there were standards on how to name the i18n messages [01:44:26] any idea how I can invalidate an item from the object cache from a maintenance script? I am trying to call ->invalidateCache() on a LocalFile object but it doesn't seem to be doing anything [01:45:11] this object cache is stored in mysql in the objectcache table [01:45:16] no memcached etc [03:08:19] can named parameters of parser functions be localised? [03:09:19] if not, how do i get to the extension's `$magicWords` from a render function? [03:17:49] ok maybe not. the more i look into it, the worse the idea becomes [06:15:10] hi. i'm new in wikibase. [06:31:06] hi there.i'new in wikibase and mediawiki. i'm going to use wikibase api. i want get items with special value of their properties. can anyone help me? [08:15:40] is there anybody? [14:48:47] Hello, I'm trying to use MultimediaViewer together with MobileFrontend. I get the following error: "mobile.mediaViewer is undefined" when I try to click on picture when on mobile device. It seems like the module is missing, but how should I load it? [14:50:16] Kyouma: MultimediaViewer is not compatible with MobileFrontend [14:50:32] and not mobile-friendly in general [14:50:47] tgr: I see, but it somehow works on Wikipedia, or it is different extension? [14:50:53] MF has its own media viewer (which is apparently not working for you) [14:52:52] it's part of the extension: https://gerrit.wikimedia.org/g/mediawiki/extensions/MobileFrontend/+/c2f32081dec90dcea124c69e4eb5b1f6feaa927a/extension.json#443 [14:53:12] How it should be loaded then? [14:54:00] As it seems, it's not loaded automatically [14:54:39] AFAIK it should be, maybe something in the asset loading toolchain is broken? [14:55:11] check for logs on the resourceloader channel, check if there are .js assets which fail to load... [14:55:33] Probably, I'm now trying this on clean installation but it's still not work... [14:55:37] I will check the logs now [14:58:30] [resourceloader] Module "site.styles" not loadable on target "mobile". [14:58:30] [resourceloader] Module "noscript" not loadable on target "mobile". [14:58:58] It seems like it can't load any module with target "mobile" [15:07:58] for most modules that's normal [15:08:18] it only loads modules which declare mobile as a valid target [15:08:51] well, there is nothing about "mobile.mediaViewer" in the logs [15:09:27] maybe check the exception channel, or manually whether any loaded .js pages contain an error [15:11:06] I'm afraid that there is some bug in the version that I use (the last stable version) [15:11:16] maybe I should try different version? [15:17:45] I don't know the specifics, but maybe the media viewer of the MobileFrontend is activated only with a configuration setting [15:18:12] Vulpix: I tried to search for such settings, but I can't find it [15:19:38] there is nothing about loading modules here: https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/master/README.md [15:24:17] i'm new in wikibase and mediawiki. i'm going to use wikibase api. i want get items with special value of their properties. can anyone help me? [17:15:30] Kyouma: is it a public wiki? [17:34:26] <_94rain> Is there any way to transclude an old revision? {{special:permalink/1}} does not work [17:48:19] _94rain: no, its not possible [17:49:20] There's no reason in principle why support couldnt be added, but i think its an intentional decision not to [17:49:37] Im not sure the exact reasoning [18:04:24] tgr: no, it's not public wiki. just some tests on my server [18:07:43] Hi all, I'm trying to migrate my MediaWiki database from MariaDB 5.3 (yeah, I know) to 10.3. But when I try to migrate the tables to my 10.3 database, I see this error: "mysqldump: Couldn't execute 'show create table `site_identifiers`': File './wiki/site_identifiers.MYD' not found (Errcode: 2) (29)" How can I continue this migration successfully? [18:07:44] I've backed up the database, and the wiki is still live (1.27.4--again, yes, not great). The same error happens when I manually export and import via PhpMyAdmin. Thanks! [18:30:19] sushimustwrite: Did you already google this message? [18:30:28] This doesn't look like a MediaWiki error :) [18:30:40] Yes, with little luck. I'm trying something else now. [18:31:11] it looks like that the files saved on the drive are corrupt or some are missing... [18:32:05] Weirdly, the best result I found was another IRC log that ended with (Errcode: 2) (29) corrupt. But my error message didn't end in corrupt, so I'm trying to figure out the exact circumstances of why the site_identifiers weren't found to start wtih. [18:32:27] sushimustwrite: Btw.: Look at: https://stackoverflow.com/questions/13353412/how-to-restore-my-myi-myd-tables-from-frm Seems you're, kind of, out of luck here. [18:32:50] Do you've a backup of the mysql database (or the files on the filesystem) you _could_ restore? [18:33:50] Thanks, I'm reading that. And I don't have an older one (I know, this is a side project gone old). I can check though. [18:34:59] without these files, I don't think that it will be easy to fix the database. Once the DB is "fixed" an upgrade should go smooth :) Btw.: what are you doing with mysqldump? If it's the "take backup before upgrade" step, then it is also not really related to MediaWiki itself, either. [18:35:44] Yep, it is indeed that step. I'll look there then. Thanks. [18:36:38] Good luck! :) [18:55:24] does anyone know how I can clear something from the object cache in a maintenance script? I am trying to call ->invalidateCache on a LocalFile object, but it isn't deleting the row from the objectcache table in the database. [22:36:17] any idea about my question above?