[03:10:24] Um, can I get some help? [03:10:34] what do you need help with? [03:11:36] So there's this German wiki with 600+ articles, and we tried installing Hit Counters. That did not work (even after updating MW via w/mf-config). (more coming) [03:12:21] So things turn a bit more drastic. Seeing that there is a "1146 Table 'DB2062002.hit_counter' doesn't exist (rdbms.strato.de)" error, we make the table in the database based off of the database of another wiki that does have Hit Counters. [03:12:41] Then we got this: Notice: Undefined index: conns in /mnt/webs / e1 / 48 / 54538048 / htdocs / web / WIKIS / DACH / w / includes / profiler / TransactionProfiler.php on line 269 [03:12:51] So we undid all database work, and then the database stopped working. [03:13:12] Luckily we made a database back up earlier. The bad news is that even after uploading it, the database is broken. [03:13:29] And now 600+ articles are "down the drain", or at least inaccessible. [03:13:46] *The database backup was made before any of this happened. [03:13:51] hmm :-S that's a bit beyond my pay grade i'm afraid. i hope someone here more qualified than myself sees this soon though and can help out [03:14:14] about the only thing i can suggest, if it's a mysql database, is to make sure that you're using the proper encoding on it and what not [03:14:35] Yeah. Thankfully the German people are currently asleep and are not aware of this "nuclear bomb" [03:15:21] It would be really nice if someone qualified can come on, This is such a disaster... [03:15:32] Is there a way I can better contact someone qualified. [03:15:35] ? [03:16:06] just wait here. the people who build this software reside here after all [03:16:41] You're a nice greeter, just saying. ;) [03:16:54] If it's helpful, the backup is about 190 MB. [03:17:19] that strikes me as being huge for a database backup. i did one on a wiki with about 200 articles and it was nowhere near that size [03:17:44] It has quite a few images. [03:17:50] unless you mean you've backed up the whole wiki, in which case i could see it being that size [03:18:03] Just the database. [03:18:09] hmm [03:18:51] Here's a sample page: http://test.scratch-wiki.info/wiki/-de:Scratch-Timeline [03:19:39] i got fairly slow internet so if there's a lot of images, it could take a little while [03:19:54] Wait, there's a small light at the end of the tunnel. [03:20:12] oh? you finding something out? [03:20:20] On the server, the main wiki is named DACH. There's another named DACH2 that I never asked about. [03:20:29] The thing is, if DACH2 is a backup of DACH... [03:20:46] Then we can easily restore lots of lost data, even if we might not have the past couple of months. [03:21:19] However, to be 100%, we have to ask the German owners, and that means they're online and see what happened to their server... [03:21:49] hmm. can you copy the data over to localhost or maybe a vps somewhere to see if that is indeed the case? [03:22:20] I have FTP access. [03:22:44] But not database access. (There's a second admin on right here that did all of the database stuff.) [03:22:57] So now that I think of it, I can't really copy it to a localhost or vps. [03:23:23] ah, hmm. without database access your problem might not be fixable. that is, it may be up to the admin who has the database access to get things working again [03:23:33] The other admin has database access. [03:23:45] *He's online and not one of the German owners. [03:24:04] I'm trying to see how we can dig ourselves out of this. [03:24:12] oh i see now [03:28:15] From all of this I've learned that when something bad happens, I laugh a bit, then start to cry. This is depressing. [03:28:36] DACH2 is not a backup. [03:29:56] hmm. well, wait it out here. i'm sure someone will be along who can help you out better than i can [03:33:56] Okay, right now we're hoping that the web host makes period updates. Let's hope... [03:34:50] good luck [03:36:42] Krenair: got any ideas^ [03:37:27] what's up? [03:42:25] Sorry, I disconnected. [03:49:44] The Wiki can't even be updated via /w/mw-config. [03:49:57] An error occurred: A database query error has occurred. Query: SELECT count(*) FROM `watchlist` WHERE wl_namespace & 1 LIMIT [03:52:01] Is anyone here? Can you copy and paste my discussion so that I have it for reference? [03:52:08] Maybe put it in a txt file? [03:53:05] i can do that [03:53:47] eventually... ever since they redid the pastebin website it's been slower than cold molasses [03:54:49] When did they redo it? I remember using it recently and it worked smoothly. [03:56:30] http://pastebin.com/CcvvHuD1 here it is [03:56:40] Choco31415: it was redone fairly recently, i don't know when exactly [03:57:10] could have just been the paste i was on, it was about 5,000 lines of c source code i posted (mostly a giant comment that could be used as a dictionary file) but i had no issues with it before [04:01:00] Thank you greeter! [04:01:53] you're welcome. the paste expires in 24 hours, so if you want it beyond then, be sure to save it yourself at some point [04:17:45] I guess I got no help. :( [04:17:46] greeter: i've found pastie better than pastebin in the paste [04:17:50] *ast [04:17:55] **past [04:18:02] Is there a good time tomorrow? [04:18:22] p858snake: i might consider switching if pastebin doesn't get as good as it was a month ago lol [04:25:42] dpaste.de is the best! :P [04:26:50] that's the one in the topic i believe [04:27:39] Yup. [05:14:04] hello all - is there any reason why this incategory: API call returns no results - https://commons.wikimedia.org/w/api.php?action=query&list=search&srsearch=incategory:Mathematics&format=json as the "Mathematics" category has quite a few items in it. [05:15:18] Hi fclausen. [05:17:39] https://commons.wikimedia.org/w/api.php?action=query&list=search&srsearch=incategory:Mathematics&srnamespace=0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|100|101|102|103|104|105|106|107|460|461|490|491|828|829|1198|1199|2300|2301|2302|2303|2600 [05:17:48] Because srnamespace defaults to 0 in the API. [05:18:59] I'll file a task about this. [05:24:38] https://phabricator.wikimedia.org/T124008 [05:47:43] Leah: awesome. So the list of namespaces you've provided there are the "standard" ones all categories will have? [05:51:15] Leah: I read https://www.mediawiki.org/wiki/Help:Namespaces which cleared it up. The namespaces will be common to the whole mediawiki instance [05:53:12] (I have subscribed to T124008) [06:00:05] fclausen: Basically if you go to Special:Search, the site configuration pre-selects more than one namespace for you. [06:00:17] For Commons, Special:Search picks 0, 6, and some others. [06:00:21] The API only ever uses 0. [06:00:25] Which is a little silly. [06:02:42] That is a little silly [06:02:52] I'd expect the api to use "content" namespaces. [06:05:08] Or search everything by default. [06:05:14] And have srnamespace be a filter. [06:05:18] An opt-in filter, I mean. [06:32:22] Leah: Yeah, it would indeed be good to search by default [06:32:34] search all by default [06:32:45] or at least the content namespaces [06:54:11] Yeah. [09:31:13] Is it a bug or a feature that, when I access the settings and want to leave w/o changing anything, that Chrome says I changed something and if I really want to leave? [13:53:43] anyone knows much about visualeditor/parsoid? [14:22:14] jsl14, "much" is pretty subjective :) [14:22:31] but if you have a question, maybe as in #mediawiki-visualeditor ? [14:22:44] Ah. You already asked there. [14:27:22] yep [14:27:24] :/ [14:27:45] but I guess I'll just hang in there a little more to see if someone wakes up [14:27:46] :P [14:27:51] jsl14, try again in ~4h when folks in the San Francisco office wake up :) [14:28:11] thnaks [14:28:15] thanks* [14:29:20] How do I disable the keyboard shortcuts (also known as access keys)? [14:35:11] c3l, why would anybody want to do that? [14:38:56] andre__, they interfere with other custom keybinds I have in my browser (through plugins and tampermonkey [14:39:50] andre__, for instance, I have a keybind on alt+r, which also triggers "go to recent changes" on wiki.. [14:40:33] Is there some js I can run to disable this on my client (i.e. just locally for my browser) [16:12:24] Hello, anyone know of a way to succesfully connect MSUpload with Semantic Forms? [16:12:42] I see a wiki discussion talk page that says there is a way to do it: https://www.mediawiki.org/wiki/Topic:R5abjn7iu09agx34 [16:22:34] morning [17:14:52] hello guys, there's collapsable FAQ on wiki.virtonomics.com, is this implemented using standard functionality of mediawiki? [19:02:07] Hi - the Semantic Forms extension defines its own tab, called "Edit with form". I'd like to create a keyboard shortcut for that tab. [19:02:36] The problem is, the ASCII letters for keyboard shortcuts are almost all taken: https://meta.wikimedia.org/wiki/Help:Keyboard_shortcuts#Translator.27s_View [19:02:58] It looks like g, j and k are still available, though. [19:03:19] Should I just take one of those? Or are they reserved or something? [19:04:36] The only extension I know of that has its own keyboard shortcut is VisualEditor, which took alt-shift-v, even though that already seems to be used somewhere - the history page, maybe. [19:07:02] None of the numbers are taken, on the other hand - could I just take one of those? [19:21:17] How do I fix this error in the wikitimeline extension? http://hypotheticalhurricanes.info/w/Special:Log/rights [19:23:17] Is the version in sync with your mW version? [19:23:26] I do not know. [19:23:42] I had to download it away from my normal method. [19:23:46] Well, that's the first port of call [19:24:04] Hey, our mediawiki website has been working great for over a year. We recently upgraded to SMW, which worked fine, until a few days ago when the server freaks out whenever there are changes on the templates. It seems like its doing stuff in the background and maximizes the CPU usage which makes the website really slow for up to 30 min. Has anyone experienced something similar or does know how to solve this issue? [19:31:12] It does not say what version in particular it is but it says on the extension page it is for 1.5 and up. [19:36:31] I'm also intrigued by the same issue Muki has. Touching templates which are widely used in my wiki makes the server go down, as if the job queue was extremely populated or some other kind of overhead. :( [19:45:43] Repton: You should use the branch of the extension to match your MW version [19:46:04] Muki: Val_ how is your job queue setup? [19:46:46] How can I use the "|" character as the value for a field in a template? [19:46:56] I don't remember that we did something with "job queue", where can I find info about that? [19:47:01] polybuildr: Create a Template"! with contents of | [19:47:04] polybuildr: They use {{!}} [19:47:48] Reedy: Seriously? :P We don't give people any other way to do it? xP [19:47:58] Yup, seriously [19:48:05] Look how well used it is on enwiki etc ;) [19:48:10] {{!}} is like escaping in wikitext [19:48:24] also, it's no longer necessary to create the template in modern MW versions, it's a parser function now [19:48:36] orly? [19:49:10] yeah, I just found that at https://www.mediawiki.org/wiki/Help:Magic_words#Other [19:50:14] Hi, I'm pulling mobile HTML with this URL (https://en.m.wikivoyage.org/w/api.php?action=parse&page=San%20Francisco&prop=text&format=json&mobileformat=html&disableeditsection&noimages) and I wanted to know if there's an equivalent URL for grabbing the corresponding CSS [19:51:07] Also, recursive templates. You can use a template within a template in the content of a page, right? [19:51:16] yup [19:51:23] And what happens if you use a template within itself? [19:51:30] In the definition, I mean. Template: page [19:51:42] if you do it unconditionally, for ever, it'll break [19:51:50] if you do it conditionally, it should be ok [19:51:50] there's a recursion limit IIRC [19:52:01] Reedy: job queue setup is using default settings as I haven't touched that, is it suggested to change those settings? [19:52:21] Well, if it's causing problems, it's worth exploring options [19:52:25] Reedy: "Template loop detected: Template:ABC" [19:53:12] Does anyone know the URL for grabbing corresponding CSS? [19:53:36] If it exists* [19:54:21] prop=headitems etc? [19:54:45] Reedy, legoktm, thanks :D [19:56:19] Thanks @Reedy! [19:57:19] Hi! Is it possible to change a username / login by simply editing the user-table in the db? The wiki is freshly installed, no login yet (still reading through the configuration manual). [19:57:51] Reedy: will changing $wgJobRunRate = 0.01; help at all? [19:58:05] Muki: It could, yeah [19:58:14] "May be less than one in which case jobs are performed probabalistically." [19:58:27] guest_____: You can, though I'd suggest using the Renameuser extension [19:58:46] Reedy: Alright, are there other variables that you suggest to tweak if that doesn't help? [19:59:24] Muki: If it's causing problems, you'd probably be best setting it to 0, and running runJobs via cron or similar [20:01:31] Reedy: hmm the problem is that i don't really know what the problem is, as soon as you edit a template the server load spikes, like its doing something in the background [20:01:38] Yeah [20:01:46] Editing templates requires various updates to take place [20:01:56] Or, at least, discovery if updates need doing [20:02:18] It can't be done on the save action, because on really high use templates, it'll take too long, and the webserver will timeout [20:02:21] So jobs are created [20:02:29] Then they have to be processed [20:02:44] !jobquue [20:02:46] !jobqueue [20:02:47] The Job Queue is a way for mediawiki to run large update jobs in the background. See http://www.mediawiki.org/wiki/Manual:Job_queue [20:19:16] Hello, looking for a way to have a button or form on pages that allows the current page title or url to pass through to a predefined email recipient [20:19:49] the goal is to have a "Submit Ticket" button or form, that passes to our ticket system via e-mail and creates a ticket about that specific page [20:20:55] would like to use phpmail [20:29:02] https://www.mediawiki.org/wiki/Manual:Forms ? [20:43:29] Hi, I'm not clear about the recent authentication changes; will I have to change my bot code, which uses the two-pass action=login with token? [20:44:53] See reply in #wikimedia-tech [20:45:44] Seen, thanks :) [21:05:41] MW does not use HTTP_RAW_POST_DATA, correct? It should be safe to turn off always_populate_raw_post_data? [21:49:37] http://hypotheticalhurricanes.info/w/Special:RecentChanges How do I fix that fatal error? [21:50:30] Latest version 1.0 (July 30, 2008) [21:50:34] It's hardly a surprise it doesn't work [21:50:41] Wow.. [21:50:48] You realise it's not the one WMF wikis use? [21:51:05] I know but I do not know how to install the better ones. [21:51:52] Repton: download the version that matches your MediaWiki version from https://www.mediawiki.org/wiki/Special:ExtensionDistributor [21:52:32] Which timeline extension? [21:53:01] legoktm: https://www.mediawiki.org/wiki/Extension:WikiTimeLine [21:53:05] It's a link to a zip file [21:53:26] http://www.chaosreligion.com/wiki/Special:Version [21:53:29] MW 1.12 [21:54:01] Repton: Don't use that extension [21:56:54] >.> [21:57:31] Okay [21:57:51] Then I guess I will go without a timeline because the good one EasyTimeline is too hard for me to install. [21:58:04] Why is it too hard? [21:58:11] legoktm: do we have a template for these ancient extensions? [21:58:27] set status to unmaintained? [21:58:28] Because my hosts says I do not have the user access for it [21:58:53] It's a good host just with that aspect no. [21:59:11] huh - is perl not installed on your host or something? [21:59:23] I honestly do not know [21:59:55] oh, I guess ploticus would be the more obscure dependency [22:38:28] Hi i am currently running a v1.21.3 version mediawiki and i get this error "PHP Fatal error: Class 'HtmlFormatter' not found in /var/www/internal/wiki/extensions/MobileFrontend/includes/formatters/MobileFormatter.php on line 6" [22:38:33] is this because i need to upgrade [22:39:07] you need to use the same version of the extension as MediaWiki core [22:39:58] daveycal: ...and you want to run software which is not full of security problems: https://www.mediawiki.org/wiki/Download and https://www.mediawiki.org/wiki/Manual:Upgrading [22:40:39] ok ill upgrade, can i jump right from 1.21.3 to the current or do i need to do it stepwise? [22:41:03] you can jump [22:41:24] https://www.mediawiki.org/wiki/Manual:Upgrading#How_do_I_upgrade_from_a_really_old_version.3F_In_one_step.2C_or_in_several_steps.3F [22:41:51] Why is the interactive timeline not showing up? http://hypotheticalhurricanes.info/w/2017_Atlantic_hurricane_season#Timeline