[00:03:35] Actually, now that I'm actually reading it, that's the only string. It's on all the template pages. Googling it doesn't bring up any hits though, so I don't know what it means. [00:06:19] I don't like to re-message, but since a few people joined since... [00:06:26] Is $_SERVER[PHP_AUTH_*] OK for getting HTTP basic authentication credentials? Or should I use something from WebRequest? (WebRequest::initHeaders gets rid of everything not prefixed with HTTP_.) [00:10:05] it's probably OK [00:13:24] MatmaRex: Okay, thanks. [00:31:57] I don't want to break etiquette re-asking my question... but if anyone can help with a probably-lua-on-shared-hosting problem, let me know. Or if o4ddn701tao1ufdnkxe1wdgz5b5ga84 just looks familiar at all. [00:36:18] boblamont: I am going to setup lua soon, let's stay in touch. If you figure that out, msg me. thx. [00:39:30] ok, I'll try. If you don't hear, feel free to shoot me an email: boblamont@myself.com [01:02:03] Poking around various pages, I also found a different string, if it looks any more familiar: t4az5q8zekjr0kpgvlz6fgo7i77psk8 [06:16:43] Hi, anyone here using InstantCommons on their wikis? [06:17:28] I've enabled it on my wiki and pages take more than a minute to load with commons images on it [06:17:51] If I disable InstantCommons, same page loads within 2 seconds [06:19:45] Here's the caching I've applied on LocalSettings.php - https://dpaste.de/d3BJ [06:21:01] Hello all [06:21:16] I see that other wikis using InstantCommons on the Internet doesn't take so much time to load. Not sure what I have missed, any pointers would help. [06:21:17] Goood morning to all [06:28:36] I 'm new in MediaWiki i want to start develop extension where i need to start like a absolute beginner? [06:52:47] !contribute | ctmarco [06:52:47] ctmarco: For information on how to contribute towards the MediaWiki project, check out [07:32:40] How i can install VisualEditor extension throug composer? [11:32:26] Hi, installed MediaWiki 1.27.1 on my shared host using Installatron. [11:32:53] It all works fine except for the templates [11:33:11] for some reason I've got no templates [11:33:51] Gerwin: How does that show? [11:35:27] {{colbegin}} {{lorem}} {{lorem}} {{colend}} becomes Template:Colbegin Template:Lorem Template:Lorem Template:Colend [11:37:22] Or is there no such thing as preinstalled default templates? [11:54:03] Gerwin: If the page Template:Colbegin on your wiki is empty than the template is not installed. Did you check? [11:54:09] Yeah, likely not preinstalled. [11:55:58] http://wiki.gerwinbisschop.nl/Special:UnusedTemplates there are no templates present [11:56:49] andre__ how do i install the templates? [12:02:36] Hello developers of MediaWIki [12:02:44] ctmarco: hi [12:02:45] I need in which directory is login script [12:02:54] All login stuff [12:03:06] why would you like to see the login stuff? are you trying to fix a bug? [12:03:13] I need [12:03:31] Where is registration section and login lcoated? [12:14:13] ctmarco: /includes/specialpage/LoginSignupSpecialPage.php but i'm not sure [12:17:44] Gerwin: by copy and paste, I'd say :) [12:18:33] ctmarco: There is no single "login script". There is some user interface stuff and there is some database logic in the background [12:18:43] hence depends on what you'd like to do [12:26:02] andre__: I'm not going to copy all the templates since most templates are nested. [12:30:44] Hello all [12:30:57] How i can make authentication to wikimedia from another website [12:31:12] For example like login with google account or so [12:31:20] I need basic idea [12:32:00] ctmarco, https://www.mediawiki.org/wiki/Extension:GoogleLogin [12:33:51] I need make script for my web isntead of google [12:38:39] ctmarco: in general, https://www.mediawiki.org/wiki/Extension:OAuth [13:35:04] ANyone know simple way to get username and password? [13:35:15] Like a $this->user [13:35:19] $this->password [13:41:55] ctmarco: From where? [13:42:24] ANywhere [13:42:46] in any file in MediaWike project [13:42:57] Doesn't work like that [13:43:03] But i need [13:43:09] Take login and password [13:43:17] WHich logged in etc [13:48:01] ctmarco, did you check the links I provided, and the codebases? [14:12:04] so i get some fatal MWException during password reset, but can't try again because there was an attempt in the last 24 hrs .o [14:12:51] lol [14:12:57] What'st he actual error message? [14:13:30] [462853e2] Fatal exception of type MWException [14:13:55] i guess it could be that the email couldn't be sent.. how can i test that? [14:14:21] !debug [14:14:21] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [14:18:03] ty [14:20:14] How i can remake login [14:20:25] i need to make access with some token allow [14:20:32] How i can remake it? [14:20:36] Where i need to start? [16:36:42] I moved my wiki to another server and can't seem to figure out why I'm getting an exception. [bbfb05ec] 2016-10-13 16:35:10: Fatal exception of type MWException [16:38:13] !debug [16:38:14] For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [17:26:54] Question: is there a way to change the default search box behavior for mediawiki? Currently it seems to only search for exact strings, and not break the search text into keywords [17:27:11] it also seems to require at least 4-5 characters before it will return something [17:27:46] for example - searching for support.png 'supp*' finds nothing, 'suppo*' finds support.png [17:42:46] t4nk847: install an extension like https://www.mediawiki.org/wiki/Extension:CirrusSearch (will require additional setup outside of the extension) [17:43:05] what you're running into is a limitation of mysql fulltext search and there isn't anything mediawiki can really do about that [17:43:32] you can try configuring the fulltext bits in your my.ini (removing some stopwords, reducing minimum search length), but it will still mostly suck [17:43:58] there may also be an extension or config to pawn the search off to an external service like google site search too [17:45:39] skizzerz - I have installed cirrussearch [17:45:45] unfortunately it appears to do nothing [17:45:58] so Im troubleshooting that [17:46:01] you did all the additional setup stuff it requires? [17:46:09] it needs an external service to be spun up [17:46:22] yeah [17:46:31] elastica, elasticsearch installed and running [17:46:41] can test those successfully [17:46:49] elasticsearch version is 1.7? [17:46:52] but mediawikisite/API:Search and discovery#CirrusSearch returnsaccess forbidden [17:46:56] (yes, it is) [17:47:22] 403 error, access forbidden when testing the api [17:48:57] sounds like a server config issue of some sort, check error logs [17:50:15] wilco [17:57:56] [Thu Oct 13 10:56:14.698647 2016] [core:error] [pid 708:tid 1772] (20024)The given path is misformatted or contained invalid characters: [client 192.168.1.85:60201] AH00127: Cannot map GET /API:Search%20and%20discovery HTTP/1.1 to file [18:00:29] sounds like a path issue, it's trying to find a file with that name rather than sending it to the wiki [18:00:38] path/rewrite issue* [18:02:12] yeah, thats what I get out of it [18:02:42] but I dont know how to edit that, dont see the setup for it at all [18:02:48] sadly I don't have the time right now to help you with it more :( [18:03:11] no problem, thanks anyways [18:09:33] Hi! The size of the table "text" in my DB has exponentially increased recently and reached the maximum of my DB subscription (400Mo). I would like to reduce its size at all costs, i am thinking about deleting old versions of some pages. I need somme help about how to manage it! ty [18:18:45] BobMorane: as a start, you should run https://www.mediawiki.org/wiki/Manual:CompressOld.php [18:20:56] anomie: can you please help me figure out why I get a different result than you? [18:21:09] when I try the code, it doesn't show me the same messages as you [18:22:20] huji: First of all, check your local languages/i18n/en.json in core and make sure the message is present. In the current master it's on line 3803. [18:26:10] anomie: it is not present [18:26:18] neither is it on https://phabricator.wikimedia.org/diffusion/MW/browse/master/languages/messages/MessagesEn.php [18:26:27] are you sure it is in current master? [18:26:36] I'm thinking maybe you are using a branch [18:26:55] languages/messages/MessagesEn.php hasn't been used for messages since 2014. [18:27:39] huji: https://phabricator.wikimedia.org/diffusion/MW/browse/master/languages/i18n/en.json;366f55fb7e937fb6251e1e08dd882d56175667bc$3803 [18:28:06] oh, was looking at the wrong place [18:28:13] also, needed to run a git pull on my MW [18:28:14] one sec [18:30:23] anomie: ok that is fixed [18:30:25] thanks [18:32:20] legoktm : I had tried compressOld, here were the effects: +4Mb in l10n_cache, all other tables unchanged [18:32:39] oops. [18:34:09] Did hte script output things that looked sane? [18:38:16] yeh, no error [18:39:30] What was hte output? [18:39:32] !pastebin [18:39:32] To avoid overflowing the channel with inane amounts of text, use https://phabricator.wikimedia.org/paste/create/ or other awesome pastebin sites to share code, errors, and other large texts. [18:42:58] I dont saved it :( i may come back to you later with it, but i am also looking for an alternative solution to clean up content massively [18:43:15] Do you get a lot of spam? [18:44:42] No but a bot is editing long pages intensively [18:45:11] That's the sort of revisions that script should benefit from [18:45:15] Oh, hang on... [18:45:21] mysql won't reduce the files on disk size... [18:45:53] OK - I have mediawiki with cirrussearch running (I think) successfully. When I use the quicksearch in the upper right - I can only successfully autofind by the beginning of the file names. For example - searching for 'KB' reveals all docs starting with KB without hitting enter. However, 'personal' would only find docs starting with personal, but not KB_Personal [18:46:13] so default search behavior is exact string instead of keyword? How do I change this [18:57:09] Reedy: what do you mean by reduce the files? [18:59:49] Ok in the filesystem [19:00:57] I am so frustrated by wikimedia searching [19:01:02] this doesnt make any sense [19:01:48] if I search for 'take' I should see articles with that word in either the title or body - but instead I ONLY see pages with titles that begin with 'take' [19:23:32] *mediawiki [19:39:29] * t4nk847 slams his head into table [19:50:16] t4nk847: but when you press 'enter' you find the pages you want? top right box is just an autocomplete feature, it'd be a non-sense to perform a fulltext search on every character you type [20:16:58] Reedy : do you advise me to try to run compressold again and find out why it doesnt has any effect? [20:17:12] It might help [20:17:23] And/or pay attention to the messages [20:17:31] Like I say, it won't affect the size on disk [20:19:27] hi ! is anyone from the Project-Admins group here ? [20:19:45] What is it supposed to reduce ? [20:19:56] BobMorane: MySQL won't reclaim the space on disk [20:20:06] You have to backup and reimport the db for that [20:20:37] Yea i'm still workin on a local copy [20:23:02] But what will happen at reimport ? [20:23:38] it'll use less space on disk if the compression worked [20:28:01] Okay [20:28:34] Any way to see if the compression worked properly before reimporting ? [20:30:29] And maybe a long term solution would rather be a real deletion of revisions? [20:30:54] Get a better host? [20:31:44] go to the revision table, take a rev_text_id, and then try to find it on the text table (by old_id). old_text should be unreadable (compressed) and old_flags be set [20:33:07] even if mysql doesn't free the space on disk, the amount of space used on the text table should be reduced [21:06:35] Hi, I'm trying to add a form where users can enter wiki style markup and it'll ultimately be displayed as HTML. Is there a parser or some tools that are available for me to implement this? Would it basically be using Parsoid? Thanks. [21:10:02] Gabe: https://www.mediawiki.org/wiki/API:Parsing_wikitext [21:43:15] Reedy : Vulpix : indeed the table size is now ok after reimport. I would say problem is solved, thank you for your help [21:49:30] Is there also something already available where I can easily include a Wiki markup toolbar (e.g. bold, references) to be placed in my form for my own site? [21:55:29] !e WikiEditor | Gabe [21:55:29] Gabe: https://www.mediawiki.org/wiki/Extension:WikiEditor_ [21:56:13] I'm trying to compile zimwriterfs and am getting this. any ideas on what might be wrong? https://bpaste.net/raw/d7f58f48c0be [22:06:40] @Reedy, @wm-bot, thanks. [22:06:41] Hey Gabe, you are welcome, but keep in mind I am just a stupid bot, it was actually Reedy who helped you :-) [22:14:30] Then you're the smartest stupid bot I've talked with. [22:35:20] Hi, I'm wondering whether it's OK to use User $user->checkPassword for a simple HTTP basic authentication check. I know it's deprecated in favor of AuthManager, but since it's actually using AuthManager "behind the scenes" and I don't need the full features of AuthManager, is it OK to use? [22:35:51] deprecated generally means "is going to be removed in a future version" [22:36:07] *sigh* [22:36:08] so, you can use it, but don't expect your code to be particularly future-proof [22:36:52] MTres19 also it may say deprecated but i doint think it will work [22:37:01] All code needs to be authmanager compatible to work [22:37:21] We found this with ConfirmAccount [22:38:19] paladox: checkPassword calls AuthManager::singleton()->beginAuthentication, though. [22:38:45] it probably does work just fine [22:38:58] if not, that's a bug [22:39:17] deprecated doesn't mean "no longer works", it means "should not be used in new code, and may be subject to removal in the future" [22:39:41] The only potential problem I see is that it's not using \MediaWiki\Auth. [22:39:46] (where removal may entail leaving the method around but throwing an exception when someone calls it) [22:41:43] Well... I guess I'll just copy the code I need... It did resolve my perplexity about including usernames and passwords in AuthenticationRequest... [22:44:24] Thanks.