[03:35:23] I don't know if asking this here, but how does Wikimedia Foundation wikis have sub-sub-domains? (es.m.wikipedia.org, for example). [03:37:45] Can I use .htaccess to have short links instead of MediaWiki's traditional way? [04:08:50] Hello! Does anyone know if it's possible to add a licensing statement/credit to a Wiki's logo? [04:09:16] Maybe marktraceur knows. :) [04:09:25] Ohai. [04:09:36] shauna: You mean licensing for the logo, or the wiki? [04:09:41] For the logo. [04:09:46] Hm. [04:09:57] Never thought of that [04:10:39] I just made a wiki and my logo is an image I got from Wikimedia Commons. I want to give them credit for it! [04:10:42] shauna: Nothing comes to mind [04:10:47] I mean, I can just add a comment on the main page, that's fine. [04:10:52] I'd imagine you could put it in the footer [04:10:59] !footer [04:10:59] For changing the page footer, see the FAQ (!) . More information at http://www.mediawiki.org/wiki/Footer and http://www.mediawiki.org/wiki/Manual:Skinning#Footer [04:11:26] thanks [04:11:35] My pleasure! [04:11:38] G'night now [04:13:01] Goodnight! [08:39:49] hej [08:39:57] someone here who have some lua knowledge ? [08:41:18] cause i a have a lua problem but cant fix it, i have read some things but could find any solution...i have a Template from the english wikipedia and when i try to use i only see a script error you can check it here -> http://wiki.hotspro.de/index.php?title=Ahli [11:42:24] Hi. Does the site-wide Common.css apply to the mobile view as well? [11:44:31] Eduard_Munteanu: it does not. but there's a Mobile.css that does [11:45:01] Oh, I see, thanks. [11:45:58] Yep, that seems to do. [11:57:00] I'm trying to style some links as buttons, any idea how to do it properly? [11:57:35] [[...]] gives a button with a link inside it (the colors being rather linky than buttony) [12:00:35] i a have a lua problem but cant fix it, i have read some things but could find any solution...i have a Template from the english wikipedia and when i try to use i only see a script error you can check it here -> http://wiki.hotspro.de/index.php?title=Ahli [12:03:20] Oh, hm, [[...|...]] seems to work. [12:16:28] Good day [12:17:10] I've dumped the SQL data (and associate wiki data) before formatting everything. Now I want to restore the wiki on a different server. On the new server, Psql is running. On the old one, the dump was created from MySQL [12:17:29] Should I expect any difficulties when importing the mysql data to psql and running the new wiki with psql? [12:34:45] ManDay: yes, you will have trouble. as in, it's probably not going to work at all [12:35:14] ManDay: for transferring content between different database backends, or between different versions of mediawiki, you can use an XML dump [12:35:15] DanielK_WMDE: Yeah, I suspected that much :-( Already set up a new mysql server [12:35:24] however, that's page content only - no user accounts, no logs, etc [12:35:25] ill mind that next time. thanks :) [12:35:32] oh [12:35:34] well, screw it [12:39:28] Could you tell me where the Administrator Name and password are stored? [12:39:53] I already have another wiki and I would like to make the admin the same as on the other one, but I don't know what it is on the other one [12:46:21] ManDay, they are stored in the database [12:46:57] LocalSettings.php has the variables about the account which is used to connect to the database [13:06:01] Is there some nice way to get support for quotes in a vanilla Mediawiki install without copying / writing a quote template myself? [13:12:02] not that I know of [13:12:11] from what I've seen it's always a custom template [13:13:03] cariaso: where in the db please? [13:15:07] ManDay see https://www.mediawiki.org/wiki/Manual:Installation/Creating_system_accounts GRANT ALL PRIVILEGES ON wikidb.* TO 'wikiuser'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION ; [13:15:22] ManDay or see https://www.mediawiki.org/wiki/Manual:Resetting_passwords#Direct_database_modification [13:15:53] cariaso: not sure what this has to do with "where in the db" [13:16:18] ah, ok, 2nd one [13:33:34] Heck [13:33:59] "The instructions on this page should apply more or less evenly to any given version of MediaWiki. However, avoid upgrading MediaWiki or its database schema prior to restoring! Particularly, avoid restoring a database backup from an older version of the software into a newer version; this will not work." [13:34:05] However, I did backup an older version of the wiki. What now? [13:34:37] Generally, you start with the same version of the code for the database [13:34:38] Restore, then upgrade [13:34:53] Is there any way to tell which version it was, Reedy ? [13:35:04] I have backed up the whoe database by dump, LocalSettings and images [13:35:07] From the database alone? [13:35:13] iguess [13:35:25] Not easily [13:35:30] damn [13:35:33] what now? [13:35:36] You'd have to restore it somewhere, and look for certain db tables/fields [13:35:39] !schema [13:35:39] http://www.mediawiki.org/wiki/Manual:Database_layout [13:35:50] well restoring it into mysql is no problem [13:36:21] I mean, it might work if you just restore the db, and then run update.php from the new code [13:36:22] is there any particular field or table where i can find the version number? [13:36:26] No [13:36:32] o_O [13:36:37] You've got a backup at least, so you've not got a great deal to lose [13:36:37] Ok, I'll try update.php [13:37:05] !update [13:37:05] update.php is a script that updates the database tables. You usually need to run it after upgrading MediaWiki or installing certain extensions. For details, see [13:38:42] Reedy: So I create an additional database into which I fill the backup and then run update, which will ask me where my old database resides - is that right? [13:38:52] No [13:39:06] update.php will want to work based on your LocalSettings.php [13:40:19] Ah, I see [13:40:33] So in my freshly installed wiki, I'll just overwrite the database with my old one? [13:40:38] (and then update.php) [13:40:54] yeah, that should work [13:41:39] ok, i got nothing to loose! [13:44:48] Oh lord, I think it worked [13:44:51] It actually worked... [13:44:52] wow [13:45:05] Computers rarely do that! [13:48:16] Could anyone tell me how to make the MainPage something else? [13:48:24] wait, i should google that first [13:49:52] ManDay: Like, rename it? [13:50:04] Have it show up as "My awesome site" or whatever? [13:50:25] I guess I have to use a redirect for that [13:50:28] just make it be another page [13:50:38] No, you can do it. [13:50:39] Nope, no redirct [13:50:52] Reedy may know the config setting off the top of his head [13:50:53] Change MediaWiki:Mainpage onwiki [13:50:56] Yay [13:51:34] gggnnaa [13:51:45] since I restored the old database i don't know the admin account any longer [13:53:21] look in the user table [13:53:25] might need to reset the password [13:55:27] yeah, did it [13:57:20] Reedy: sorry i don't know where to change "Mainpage onwiki" [13:57:24] Is that some special page? [13:58:00] It's a page on the wiki [13:58:01] e.g. https://en.wikipedia.org/wiki/MediaWiki:Mainpage [13:59:42] Reedy: thanks man, all working now [20:06:30] Hi all! :) What page can I edit to show something on all category pages? I have a template, and it needs to show on all category:AZY [20:06:43] Hi! [20:06:56] Hm, good question [20:07:23] hehehe :) [20:07:35] I have been looking for this for two days now [20:08:00] questionmark: Not an edit notice, right? On all category pages while reading them? [20:08:28] Yep corect. I have a widget that needs to show on every category page while reading them [20:08:47] !e PageNotice [20:08:47] https://www.mediawiki.org/wiki/Extension:PageNotice [20:09:00] legoktm: God, you take the fun out of everything [20:09:30] questionmark: ^ should do what you need I think [20:10:42] legoktm: cool, let me try. TY [20:38:16] hey, I'm trying to get links (either external or internal) of a page but ParserOutput.php doesn't have it nor LinkHolderArray.php, where I can find it? I want to make a new table and goes through all of links when the page is saved and adds it to the table if certain criteria are met [20:38:40] any help would be awesome [20:43:13] parser output definitely has links [20:47:57] /window 34 [21:48:55] Is this Exception in LocalisationUpdate already known to more people? https://dpaste.de/ZK7m [22:06:31] SPF|Cloud, connectivity problem? [22:06:50] perhaps. [22:07:34] well I don't really believe that [22:07:43] as I still can git clone things