[11:02:05] Hello and Thanks Thanks Thanks for the most awesome wiki engine [11:02:14] How do I bypass SpamBlacklist [11:03:09] an edit of mine on developl.consumerium.org triggers from trying to post URL in form of '-preisvergleich.de' [11:22:23] juboxi: remove the item from the blacklist or add it to the whitelist [11:22:42] is there an easy way to recreate the search index table? [16:05:53] Betacommand: maintenance/rebuildtextindex.php [17:50:42] G_SabinoMullane: doesnt work if the table doesnt exist. I pulled the sql commands from mediawiki and re-created it by hand [19:28:04] @bawolff hi it's me again :) while importing data from tr vikipedi my MediaWiki installation's name has been changed to "Vikipedi" [19:28:12] You can take look to mainpage: https://lugat.org/Anasayfa [19:28:56] And you can see on the title in a random page: https://lugat.org/Fonksiyonel_programlama Fonksiyonel programlama - Vikipedi [19:29:13] @bawolff I want it to be like "Fonksiyonel programlama - Lugat" but not Vikipedi [19:29:54] Site name basically overridden. $wgSitename = "Lugat"; but it does not affect the system anymore. [19:30:03] Please help me how can I fix the site name? [19:31:03] mertyildiran: edit the page https://lugat.org/MediaWiki:Pagetitle [19:31:35] I recommend deleting it, by deleting the page it will automatically use $wgSitename again [19:33:18] @Skizzerz thank you so much. Deleting it broke the title system so I replace it's good now. [19:34:05] @Skizzerz but there are still some problematic regions like in the https://lugat.org/Anasayfa it says : "Vikipedi'de bu isimde bir madde bulunmamaktadır." [19:34:17] But it should say "Lugat'de bu isimde bir madde bulunmamaktadır." [19:34:33] if you add ?uselang=qqx to the end of the URL, it will replace such messages with something like (pagename) [19:34:48] you can change that text by editing MediaWiki:Pagename [19:35:00] (replace "pagename" with whatever you see inside of the parenthesis) [19:35:37] It's the Turkish version of "Wikipedia does not have an article with this exact name." [19:36:19] Do you mean this page: https://lugat.org/MediaWiki:Pagename ? [19:36:38] But there is no any edit button just create [19:38:01] For example this random url: https://lugat.org/Haghjsgqjkqwjdkbjz says "Vikipedi'de bu isimde bir madde bulunmamaktadır." but it should say "Lugat'de bu isimde bir madde bulunmamaktadır." [19:38:46] @Skizzerz I mean it's a site wide problem. [19:39:00] no [19:39:09] mertyildiran: Hi, i didnt see your message earlier. You need to use my exact nickname (bawolff_) or i wont get notified (most irc clients will fill it in if you press tab) [19:39:25] go to https://lugat.org/Anasayfa?uselang=qqx -- you will see the text replaced by something, (.......) [19:39:34] oh OK bawolff_ [19:39:48] the ...... inside is the name of the page you need to edit [19:40:28] in this case, it says (noarticletextanon), so you edit MediaWiki:Noarticletextanon [19:40:31] It says (noarticletext) [19:40:41] or MediaWiki:Noarticletext if you're logged in [19:40:52] https://lugat.org/MediaWiki:Noarticletextanon ? [19:40:56] both [19:41:01] one is for logged in, one is for logged out [19:41:20] another thing you can try is to visit https://lugat.org/%C3%96zel:T%C3%BCm%C4%B0letiler and search for Vikipedi to view everything that uses the old name [19:41:22] @Skizzerz I don't understand sorry [19:41:57] https://lugat.org/MediaWiki:Noarticletextanon is shown when you are logged out and visit a page that does not exist; https://lugat.org/MediaWiki:Noarticletext is shown when you are logged in and visit a page that does not exist [19:42:07] so, you will need to edit both [19:42:24] https://lugat.org/index.php?title=%C3%96zel%3AT%C3%BCm%C4%B0letiler&prefix=Vikipedi&filter=all&lang=tr&limit=50 [19:43:29] does that help clear your confusion? [19:43:40] @Skizzerz that (https://lugat.org/MediaWiki:Noarticletext) fixed the issue OK I get it now thank you so much [19:45:10] There should be a customization guide that covers all of these processes I think. [19:46:17] I gave you two of the ways you can find out what pages to edit to customize these things [19:46:47] the MediaWiki: namespace contains text that is automatically added to pages by the mediawiki software [19:47:18] to view which pages are added, you can search through that special page I linked for the text, or you can add uselang=qqx to replace the text with the page names [19:48:03] sometimes these pages have text like $1 or $2; these are placeholders that are replaced by the mediawiki software [19:48:23] $1 might be the page name, or a user name, for example. Exactly what it is varies between pages [19:48:55] mertyildiran: https://www.mediawiki.org/wiki/Manual:Interface [19:49:22] @Skizzerz no no I mean I was not aware of these links for example: [19:49:23] https://lugat.org/MediaWiki:Common.css [19:49:29] https://lugat.org/MediaWiki:Noarticletext [19:49:47] https://lugat.org/%C3%96zel:S%C3%BCr%C3%BCm [19:49:50] see the link Vulpix gave for a more detailed overview of the MediaWiki: namespace [19:50:02] https://lugat.org/%C3%96zel:%C4%B0statistikler [19:50:42] Yeah thanks @Vulpix it covers a lot of the topics [19:51:47] @Skizzerz is that your account?: https://github.com/Skizzerz [19:52:15] and @Vulpix is that your account?: https://github.com/vulpix [19:52:22] I would like to follow you guys. [19:52:34] nope, https://github.com/ciencia [19:53:01] @Vulpix thank you. [19:54:52] @Skizzerz are you there? [19:56:34] ? [19:57:32] @Skizzerz is that your account?: https://github.com/Skizzerz [19:58:51] yes, but I do very little mediawiki work on it [19:59:42] @Skizzerz great I was asking for following you [20:00:13] Is there better way than this to: https://dpaste.de/wdkb [20:00:24] to cover all wikipedia images [20:00:37] because some of the images are missing on our site [20:01:02] Like including multiple apibases etc. to cover all images? [20:03:24] Do you have an example of a missing image? [20:10:00] @bawolff_ wait a min I'm trying to find [20:10:52] Some cases could be if the image got deleted at wikipedia/commons (e.g. due to copyright issues) [20:11:00] @bawolff_ this page for example: https://lugat.org/Amerika_Birle%C5%9Fik_Devletleri [20:11:08] "ABD'nin genişlemesi" [20:11:32] scroll down a bit, right side [20:12:24] I see the image there [20:12:48] https://snag.gy/FBSINK.jpg [20:13:11] @Vulpix you can see yes, I can see either with VPN. [20:13:23] But wikipedia.org is blocked in Turkey [20:13:29] Oh as in its being hotlinked? [20:13:31] That's why we are trying to tunnel the images [20:13:40] Yeah it's hotlinked [20:13:58] the URL points to https://lugat.org/images/thumb/b/ba/USA_Territorial_Growth_small.gif/312px-USA_Territorial_Growth_small.gif for me [20:14:51] by the power of this configuration https://dpaste.de/wdkb @bawolff_ provided us it's able to tunnel images [20:15:01] But I think this image coming from en.wikipedia.org [20:15:15] and this script is not covering the API of en.wikipedia.org https://dpaste.de/wdkb [20:15:26] ,I think ... [20:16:01] mertyildiram: we are talking aboutvthe territorial growth inage Vulpix mentioned? [20:16:15] or a different image? [20:16:57] or it's because it's a gif? [20:17:02] or maybe I'm seeing a cached page while mertyildiran is not, thus seeing different things? [20:17:10] yes territorial growth image [20:18:08] hi! I found that I can call the install script from command line and get a LocalSettings and prepare the database. Is there anyway I can generate that file but not have it setup the database? [20:18:10] I see the same as vulpix [20:18:11] @Vulpix try Ctrl + F5 also as I said wikipedia.org blocked in the Turkey. That's why I'm not able to see [20:18:28] @Vulpix where are you from? [20:18:34] Try to use a VPN from Turkey [20:18:53] If you really want to see the situation [20:18:55] carandraug: not really no [20:18:55] Spain [20:19:53] bawolff_: is there any LocalSettings.php template that I could start from for manual editing then? [20:20:03] Im on my phone so i cant view source easily, but the image is liading from https://lugat.org/images/thumb/b/ba/USA_Territorial_Growth_small.gif/312px-USA_Territorial_Growth_small.gif [20:20:37] Carandraug: you could just copy one from an existing wiki [20:20:47] to make it more clear: [20:20:59] This image loading no problem: https://tr.wikipedia.org/wiki/Dosya:NYC_wideangle_south_from_Top_of_the_Rock.jpg [20:21:10] But this image is not loading: https://tr.wikipedia.org/wiki/Dosya:USA_Territorial_Growth_small.gif [20:21:22] bawolff_: I have one. It's from a 1.20 installation that I inherited. I am curious how a new install would look like. [20:21:38] Honestly probably the same [20:21:46] so I'm doing a new install, dropping the database, importing the old database, then upgrading it [20:22:05] Both are stored under https://upload.wikimedia.org/wikipedia/commons/ [20:22:28] @bawolff_ is it possible that instant commons is unable to tunnel animated gif images? [20:22:41] Carandraug: the generated localsettings.php hasnt changed much over the years [20:23:15] bawolff_: oh! I thought there may had been more changes after so many years. My main issue is it's two sysadmins away from me, and none left any details. I don't know why they choose any of the settings. [20:23:22] carandraug: the code that generates it is in includes/installer [20:23:58] carandraug: the installer was rewritten in 1.16, thats the last big change [20:24:44] LocalSettings.php should be backwards compatible going way back (e.g. to MediaWiki 1.5) [20:25:47] carandraug: if you want to know what a setting does, most are documented on mediawiki.org and also code comments in includes/DefaultSettings.php [20:28:06] mertyildiran: full sized images might not get tunnelled [20:29:02] bawolff_: yeah. But going through all the options was too much time. So I wanted to know what changes did they made. I inherited some 11 servers, all doing different things, all configured manually, no documentation. [20:29:32] *what changes did they made by trying to see the difference against a default install. So I could then focus on those [20:30:34] but I can make a local install to get that default LocalSettings.php. I was just wondering after having done it, if there was a way to obtain that wouldn't have required the database being created [20:31:13] you can reverse-engineer the code of the installer :P [20:31:15] bawolff_: but thank for your responses. That there hasn't have been a lot of changes, that reduces one variable [20:31:25] At best one could use sqlite and just delete the db file [20:31:45] the default one is very basic [20:32:09] @bawolff_ OK I understand i will dig more into it, thanks for the help! [20:32:34] usually it just sets path related stuff (wgScriptPath, etc) wgServer, cache config, image config etc [20:36:55] carandraug: a new generated LocalSettings.php from 1.28 http://dpaste.com/1CMM6WA [20:39:33] bawolff_: but going through the installers myself, I am learning more about how mediawiki is setup. I don't trust much what was done before. The guy before wouldn't touch the mediawiki because he didn't know how it had been installed. And I'm not trusting anything done by the guy before him, everything was fudged until it worked. The LocalSettings file with the password for the databse is world readable. [20:40:00] :S [20:45:16] well, on his defense, it wasn't really his job and this was a small site without any public facing machines. Sorry, I'm just venting my issues. I will get back to my work. [20:45:25] thank you for the answers guys bawolff_ and Vulpix [20:45:51] Glad to help [20:46:33] !next [20:46:33] Another satisfied customer. NEXT! [20:59:01] your documentation on https://www.mediawiki.org/wiki/Manual:* is pretty good. Seems extensive, with details, and asides. I like it. [22:05:21] :-) [22:14:05] hey @bawolff_ @Vulpix my importing process of tr.wikipedia.org finished but I only got 148.596 pages https://lugat.org/%C3%96zel:%C4%B0statistikler and there are 1.490.361 pages on tr.wikipedia actually https://tr.wikipedia.org/wiki/%C3%96zel:%C4%B0statistikler [22:14:23] I imported this file https://dumps.wikimedia.org/trwiki/20170501/trwiki-20170501-pages-articles-multistream.xml.bz2 [22:14:48] using this command: nohup php importDump.php < trwiki-20170501-pages-articles-multistream.xml & [22:15:19] and these are the last three lines of the output: [22:15:22] 148300 (2.67 pages/sec 2.67 revs/sec) 148400 (2.68 pages/sec 2.68 revs/sec) 148500 (2.68 pages/sec 2.68 revs/sec) [22:16:21] There are many pages still missing and I have 0 Content pages [22:16:30] Also templates are missing [22:16:37] What should I do now? [22:17:26] Skizzerz: are you there? [23:39:51] the more you know, huh? :P [23:39:56] oops sorry [23:40:00] stupid laptop