[01:38:39] I want to make a wiki with functionality similar to TVTropes, but for a different subject matter. Is there some combination of mediawiki features and plugins that would reproduce a significant fraction of their feature set? [01:54:24] can the Category namespace be made to allow hierarchical pages? [02:39:53] I am looking at https://allthetropes.org/wiki/Category:Applied_Phlebotinum and considering that at one point that would have been a single page, later upgraded to a category when the trope was subdivided. What does the process of converting a page into a category that contains other pages look like? [07:38:30] hello. where can I report a bug of mediawiki donation interface? [08:16:19] Hi all, I have some questions regarding the various wikimedia xml/sql dumps, how they are generated. Is this the right forum to ask, or is #wikimedia-tech a more apporiate forum? [08:18:30] do pages which represent the same content in language-specific wikis share the same document id? [08:20:47] and similarly, regarding the cat_id/cat_title in the category sql dumps, are the same cat_ids used across languages and merely have translations for cat_title, or does each language have it's own unique set of cat_id/cat_title pairings? [09:25:11] Hello! I'm wondering what _Log_ as a verb means in the following: [09:25:56] #. [Wiki] Label for the button in the debug toolbar to output the current selection to the JavaScript console. [09:25:56] #. [Wiki] {{doc-important|"Log" is a verb here. Translate as "log the selected (text)", and NOT as "the log (that was) selected".}} [09:25:56] #, fuzzy [09:25:56] msgctxt "visualeditor-debugbar-logrange" [09:25:57] msgid "Log selected" [10:48:48] log-verb means "to put information into the log-noun" [10:49:03] in this case the log-noun in question seems to be the javascript console output [10:50:00] "Log selected" means "take the selected text and put it into the log-noun" [10:57:22] sparr, thanks! So you’re saying that using log is kind of economy of writing, right? Rather than saying "Insert the selected text into the Javascript console", more or less... [11:39:22] Hi, I have a maybe strange question [11:40:59] is it possible to have several categories within one category page? [11:42:12] F.ex. if i "make" a category page about flowers. Can I have subgroups like red flowers, yellow flowers..? [13:37:40] Good morning. Will you participate in Google Code-In 2019? [13:48:58] Hi paweltes [13:49:36] I think that question is best posed to Andre Klapper [14:01:16] :O [15:24:15] I added a meta tag for viewport on localsettings and it adds twice to meta tag? [15:24:19] weird [15:27:41] https://pastebin.com/rfWQPdZj [18:25:31] Besnik_b: in english, log is both a verb and a noun. when you log-verb a thing, you are appending it to a log-noun. [18:26:34] similarly, when you report-verb something, the document you produce in doing so is a report-noun. [18:54:50] sparr, thank you! I’m aware of the verb-noun relationship.What I can't grasp is why using log when you're actually not logging anything. The text is thrown to a Javascript debugging console and (my assumption) from there you wait a pass or fail and possibly errors. But no logging. If you log, you'd tell users "here's the log for such and such" or "Choose this or that to log this or that"... [18:56:20] In other words, the step is a debugging step. It might have or not another logging step afterwards, but the given one deals with debugging... [18:58:34] Ouch! "to output" says he, which I missed. [18:58:57] It's clear now! [18:59:12] sparr, thank you! [19:05:28] you're welcome [19:06:03] sometimes it's confusing when the log-noun in question is ephemeral; the javascript console or even the daemon stdout/stderr are occasionally places a log action sends data [19:07:26] on a lot of platforms, the log-verb functions are abstracted away from the precise log-noun back end, so you can use the same log-verb functions to send data to a log file or to a console of some sort or over the network to a log aggregation service [19:32:46] Hi, i have an old wiki that i wanted to update and host. So i uploaded mediawiki1.31.1, the images folder and the extensions folder and imported the database and edited the localsettings.php [19:33:20] but when i want to use the update script it says Error: You might be using an older PHP version (PHP 5.6.39-0+deb8u1). MediaWiki 1.31 needs PHP 7.0.0 or higher or HHVM version 3.18.5. Check if you have a newer php executable with a different name. [19:33:33] im using php 7.1. [19:35:03] and when i want to use the webinstaller, it is fine until it wants to update the database, then it does it and stops there. the wiki is not working then, the default skins are not loading and the special pages for loggin in are also not working [20:00:26] I need help resetting my password and I am not getting an email to reset it [20:00:28] Help! [20:02:29] check your spam folder [20:04:29] I did and nothing there either [20:29:00] hi, i updated my wiki with the update.php from shell but nothing is working [20:29:19] the skins and the login pages are not loading [20:29:27] but i think it updated the database [20:30:23] are you using the tarball or git? [20:31:08] tarball [20:31:39] ok. Best practice for tarball is that you extract it to a fresh (empty) directory, and copy over relevant things like your LocalSettings.php and images [20:31:57] i dont know why its not working. also the webinstaller stops after it updated the database and says sth like "the wiki can be used now" [20:32:15] if you did all of that, then I'd double-check LocalSettings.php. You may have some stuff in there that is breaking things (or may be missing stuff in there) [20:33:01] for example, if you're loading extensions, make sure that you have the correct version of all of those extensions. The tarball ships with a bunch of extensions which are known to be compatible, but if you downloaded any others you need to upgrade those yourself [20:33:24] for the skins, check your LocalSettings for what $wgDefaultSkin is set to and ensure that you're loading that skin in LocalSettings via wfLoadSkin() [20:33:29] i did that. fresh wikimedia and copied the images and extensions folder because without the extensionsfolder it gives me some errors even when i deactivate every extension in the localsettings.php [20:33:44] hmm [20:33:54] what version are you upgrading from? [20:34:12] 1.16 [20:34:23] ah [20:34:41] I recommend saving a copy of your LocalSettings and having the web installer generate a fresh one for you [20:34:51] then re-add extensions and stuff after [20:35:36] okay i should remove extensions and image folder and make a clean install and insert them manually afterwards? [20:35:48] rename/delete LocalSettings, go to the web installer, and point it at your existing database. It'll recognize that it's already installed and will go through the update procedure instead of wiping everything, and then generate a fresh LocalSettings for you [20:35:52] no, don't remove them [20:36:01] for the extensions folder, make sure you have recent versions of all your extensions [20:36:12] extensions made for 1.16 are almost certainly NOT going to work in 1.31 [20:36:40] and if you copied your extensions folder from 1.16 over, you probably overwrote some extensions with outdated versions [20:37:22] the best course of action may be to delete the extensions folder entirely, copy over the clean extensions folder from the tarball, and then do what I said above with the installer [20:37:25] keep your images folder in place though [20:37:46] allright thanks :). one second i will try that right now [20:37:59] if you have any extensions that aren't shipped with mediawiki in the tarball, you should re-download them (make sure to download the version meant for 1.31) [20:39:18] so i even dont need the extensions. it just gave me errors in my localsettings.php when i dont add them. [20:39:20] for this line [20:39:22] require_once( "$IP/extensions/Configure/Configure.php" ); efConfigureSetup(); [20:39:38] are you following my instructions? [20:39:59] i will try it right now :) [20:40:10] one minute [20:40:22] that's an extension which isn't shipped with mediawiki, and how to set up extensions has changed significantly from 1.16 [20:40:39] this is why I said to blow off your existing LocalSettings after keeping a copy for reference [20:42:28] Sena: the Configure extension is no longer compatible with recent mediawiki versions, btw [20:44:40] allright. yeah maybe that was the error that i made when i tried to update the wiki on my localhost. i just didnt recognize that i will overwrite everythink when i upload the old extensions folder :( my fault. sorry [20:44:59] but i will try it right now. i just takes a while to delete the old folder [20:45:20] for some reason [20:47:33] other questions: i dont need to re-add the old extensions that my wiki works right? i think there arent new versions of them [20:52:44] Sena: if there aren't new versions of them, then you're probably SOL for that extension [20:53:02] check the talk page to see if it says it's compatible and such; if people are reporting it isn't working, then you won't be able to use it [20:53:36] only add extensions into LocalSettings that you know or suspect will still work [20:53:44] if you try to add an incompatible extension, your wiki will break [20:54:37] (alternatively, update it yourself to make it compatible, pay someone to update it for you, or ask someone really nicely if they want to update it although that's pretty unlikely to happen) [20:55:47] :) [20:56:03] i still deletes that folder.. [21:16:53] Hi [21:19:41] @skizzerz omg i think it worked. but i have some trouble logging in [21:20:41] thanks for your help :) [21:24:40] @skizzerz: so the wiki is online.. but all the categories and mainpage etc are gone [21:24:45] :( [21:24:53] is there a way to fix this? [21:26:16] so there are some pages when you klick on "random pages" it shows some of the written posts [21:26:46] but the mainpage is empty :( [21:29:12] and i think some other pages are also missing [21:32:22] that's hard to say [21:32:32] you can try running the rebuildAll.php maintenance script [21:32:55] but if missing content is caused by extensions, then restoring will involve installing that extension [21:33:25] I know you used to have the Configure extension, and if you used that a lot you'll also need to figure out what configs you set in it and get those into LocalSettings.php instead [21:35:47] oh okay so i checked and i think the content is there. its just the mainpage that is missing, and when i look on the other versions of it, the latest version is the one that is used, so its checked. but when i click on the mainpage its empty [21:36:20] "configs you set in it and get those into LocalSettings.php instead" do you know where i can look that up? [21:36:22] if you edit the page does the content appear in the box? If yes, hit save (without changing anything) and see if that helps [21:36:43] I'm not sure where Configure stored its configs; it may be a file somewhere or it may be in the db [21:37:51] nope. when i want to edit the mainpage the box is just empty.. but it has this older versions and they seem activated.. [21:38:10] Sena: maybe it's just that the mainpage title changed? [21:39:02] the wiki was a english one. i installed it now in german. can this be the reason? [21:39:51] yes [21:40:07] it's not a big issue [21:40:10] fuck [21:40:32] but if it previusly expected the mainpage to be called Main_page, now it may be looking it on Hautseitze [21:40:47] *Haupseite [21:41:03] so, first', figure out the name where the Main page is [21:41:17] okay so do i have to install everythink and upgrade everything again or can i just change the language? because maybe the mainpage ist not the only page that is affected [21:41:21] that's probably "Main_page" [21:41:23] then edit MediaWiki:Mainpage [21:41:27] and put that name there [21:41:45] so that when MediaWiki looks the main page, it knows the title under which it is [21:41:57] (or alternatively, rename Main_page to the name it is expecting) [21:42:06] you can simply change the language [21:42:11] edit LocalSettings.php [21:42:22] you will have $wgCodeLanguage = 'de'; [21:42:29] change it to $wgCodeLanguage = 'en'; [21:42:34] !wg CodeLanguage [21:42:34] https://www.mediawiki.org/wiki/Manual:%24wgCodeLanguage [21:42:42] hmm [21:42:46] it's not that name [21:43:03] make that $wgLanguageCode, not $wgCodeLanguage [21:43:31] okay i will try that.. [21:43:35] one second [21:43:43] you may need to run maintenance/rebuildmessages.php after changing that [21:45:36] yes it worked perfectly.. [21:45:43] thank you soo much :) [21:45:51] should i run rebuildmessages.php? [21:46:27] yes, I would run it [21:46:34] the docs say you need to run it [21:46:42] allright :D [21:46:47] and if it wasn't in your setup, it won't hurt [21:47:18] it just deleted the cache [21:47:50] *message cache [21:51:17] okay thank you so much for you help @platonides and @skizzerz.. last questions. there are some dead links which are pointing to my old host. is there a way to bulk edit them?? [21:51:25] maybe in the database? [21:51:38] for example i have a link like this: https://www.univie.ac.at/strv-vwl/wiki/images/4/42/Cheatsheet_v1.pdf [21:52:04] and it works when i change it to www.wiki.roterboersenkrach.at/wiki/images/4/42/Cheatsheet_v1.pdf [21:52:51] you wrote that link in the page source? [21:53:05] if you made that link as [[Media:Cheatsheet_v1.pdf]] [21:53:11] it should have updated automatically [21:53:22] or if you used [[File:Cheatsheet_v1.pdf]] [21:54:11] i dont know who made that links but they seem link they are extern ones [21:54:41] bad luck, then [21:54:51] is there a way to list all linked pdf or the media? [21:54:53] you pretty much need to change all of them [21:55:16] if they had used a template, or magic words it might had updated automatically [21:55:26] if they used the link explicitely, it doesn't [21:55:47] you can use a bot to replace all https://www.univie.ac.at/strv-vwl/ to https://www.wiki.roterboersenkrach.at/, though [21:56:13] or Extension:ReplaceText [21:58:34] oh i think its just these few links because other ones with the key are working fine.. do you know a way to list all these links? [21:59:12] you can search for it [21:59:33] when you replace them, I recommend replacing with [[internal links]] though [21:59:43] (if possible) [22:03:07] i know this is a newbie question but do you know a site where i can look up some search commands? when i search for the link, it searchs the post content but not the links [22:06:05] Sena: see Special:Linksearch [22:06:28] there you can place https://www.univie.ac.at/strv-vwl/* [22:14:05] allight :) thanks [22:14:21] everythink just worked perfectl :) [22:14:26] *perfectly [22:15:02] :) [22:19:52] Whats better on MW...add markup for a javascript or let the javascript do the elements itself? [22:20:14] what do you mean? [22:20:37] or rather, what are you trying to do? [22:20:42] like a toolbar or a button having their own div define beforehand or javascript/jquery doing it [22:21:06] on edit toolbar? [22:22:44] no [22:22:54] well could be also [22:23:11] but also those toolbars "send me to fb" etc [23:24:45] for elements that will take up room on screen, i recommend emitting direct HTML with suitable styles, so you don't have a 'flash of unstyled content' or other stuff-moves-around problems. you can hook up event handlers from JS safely though, generally, and can always modify or fill in an area if you have to reserve space and then add elements inside [23:49:18] I have categories that describe aspects of things, and also subcategories of categories. When looking at "pages in this category" how can I differentiate between a thing this category describes vs a subcategory that is below this category? [23:50:36] say I have Category:Tall and Category:Very_Tall, the latter being a subcategory of the former. I also have Page1 that is in Category:Tall. When I am looking at Category:Tall, I want some visual distinction between Page1 and Category:Very_Tall [23:54:33] or maybe Category:1990s and Category:1991