[01:05:30] :-) [02:38:24] hi, it seems that autocomplete doesn't include redirects. is there a way to include redirects? [03:37:30] auvajs: Seems to work fine at https://test.wikipedia.org/wiki/Sandbox [03:38:03] If I type "redirect" in the search box, I see "REDIRECT" as an option. [10:20:20] Release Date for 1.27 is 30.05? [12:59:02] morning [12:59:23] Morning. [13:26:29] I want to automatically mark a user as being verified on registration, is there an easy way of doing this? [13:41:20] does anyone know why wiki Vector skin NOT work in localhost [14:10:14] Hi All, does anyone have any info on the user table and how it's populated? My queries relate to the case sensitivity of it [14:14:04] Raftab: as far as I know all new MediaWiki installs use binary fields and thus are inherently case sensitive [14:15:05] the question is: Why does mediawiki allow me to create these different users: example@SUB.domain.com example@sub.domain.com example@sUb.domain.com even though they are the same user. We use an LDAP lookup, so when we talk to the group it sees that the e-mail is there, but if the user puts in their email address with some capital letters then it will create a new user [14:15:18] thanks @Nikerabbit, I'm just wondering if there's a way around this issue [14:18:39] it's been raised here: https://www.mediawiki.org/wiki/Manual_talk:User_table. Really, there's no massive impact here, but it makes the user table non-unique [14:19:40] Raftab: as far as I know MediaWiki does not allow @ in usernames [14:20:45] Hmm, perhaps it's a setting, or to do with the LDAP creation of them, it's able to create them in our instance. Either way, I think this would apply for eXample@domain.com [14:20:47] I'll test it now [14:21:44] Yep, eXample@domain.com would work, along with example@domain.com [14:22:43] Perhaps I need to do a separate lookup on the user table when creating users from an ldap lookup [14:23:11] then I can just return false on the creation of the user, although this would throw the user out and not log them in as their actual user [14:24:54] perhaps it's just me I am surprised your LDAP contains emails with different cases [14:25:29] @Nikerabbit It doesn't, it's when you input it into mediawiki [14:25:42] the login page [14:27:55] Mediawiki needs to have it's own local storage of a user, so whenever it sees one that doesn't exist in the table it creates it [14:30:04] Raftab: okay I don't really know how the extension you are using works then [14:31:49] @Nikerabbit, np. We extend from AuthPlugin.php to interact with LDAP. So, not an extension per se https://www.mediawiki.org/wiki/AuthPlugin [14:33:07] Raftab: in the more generic sense then :) Are you aware that MediaWiki 1.27 has rewritten AuthManager? [14:34:09] @Nikerabbit, ooh, that sounds nice. I saw the changes on 1.26 for AuthPlugin, they didn't affect us. Unfortunately, because of security policy and Redhat not updating their PHP repo, we can't update to 1.27 :( [14:35:09] Raftab: yeah that's going to be a common problem... I also have one wiki stuck on 1.27 alpha because newer PHP version is not available [14:35:59] is parsoid so unreliable ? [14:36:34] suddenly returning 500 errors, no idea why [14:36:38] we're stuck on 5.3.3.. released in 2010. CentOS 6.7 [14:36:47] @p1rate, have you checked any error logs you have? [14:36:57] where can I find parsoid error logs ? [14:37:04] there is very little documentation it seems [14:37:55] {"error":{"reason":"Host: localhost. is not in the cert's altnames: DNS: [14:38:05] it was working the entire day and now it's broken...so weird [14:38:20] so you're running parsoid on the same server your wiki is hosted on? [14:38:37] yes [14:39:29] just reading the error, have you got a certificate on the system? [14:39:36] I do [14:39:46] when did you apply it? Have you made any changes that could impact it? [14:40:17] it's trying to load content over localhost https [14:40:22] which the certificate isn't valid for [14:40:33] I'll see if I can config nginx to support port 80 for parsoid [14:41:23] yeah, that does the trick :) [14:41:39] weird though that it was working fine all days and suddenly it decided to stop [14:41:44] that's weird [14:43:16] very [14:43:31] also got another issue but it's very specific [14:43:43] I had a few issues configuring our parsoid instance.. ended up using wireshark which was ridiculous.. fixed it though! haha [14:43:43] using GoogleLogin extension for our company wiki [14:43:50] haha, nice [14:44:27] when someone registeres they are automatically confirmed but an email is sent anyway, when you click the link it says that the page is not available (since you are basically auto confirmed) [14:44:55] just hacked it in now so the sendConfirmationEmail() simply returns a success Status object and sending the mail is skipped [14:45:00] not pretty but it works... [14:47:00] so, when you upgrade your wiki it'll vanish? [14:50:34] yes [14:51:46] maybe I should just take the plunge and edit mediawiki source code to stop it creating users with different cases [14:56:18] That's usually not the best answer [14:56:47] What do you mean by "creating users with different cases"? [14:57:00] Raftab: AuthPlugin has a getCanonicalName method which should ideally take care of this [14:57:19] @bawolff I agree it's not the best answer [14:57:30] @tgr, I'll check that out, thanks [14:57:36] in AuthManager normalizeUsername does the same [15:04:22] @bawolff @tgr I've opened a can of worms. I need to change my plugin that extends from AuthPlugin to use the new hooks: https://www.mediawiki.org/wiki/Release_notes/1.26#MediaWiki_1.26.0 [15:04:31] so, I'll get right on that. [15:04:51] this is contrary to what I said @ 15:34 :( [15:05:39] Raftab: AuthPlugin is going away in 1.27, those are preparations for that [15:05:55] if you don't care about 1.27, you can ignore them [15:06:20] @tgr, I wish we could upgrade to 1.27, it has some really nice stuff in it, but see my comment @ 15:34 [15:07:07] the not replace $user thing is the only one you must change, the rest should work fine in 1.26 [15:10:56] @tgr OK, thanks. I think we already resolved that. The issue is that when you go to log into our mediawiki instance, if you use a different case e-mail address to the one you originally signed up with, mediawiki will create a new user, but only because when that e-mail address is checked in the LDAP group it is found to be there, but Mediawiki continues to use the e-mail address the user inputted and does no checking (due to it bei [15:11:49] e.g. I could be a typical user and use this email address for 364 days of the year: example@domain.com, but one day I accidentally hold shift for too long and use this one: example@Domain.com and that would create another account [15:11:58] not sure if this makes any sense.. sorry [15:11:59] Raftab: yeah, you should canonicalize to lowercase [15:12:21] omg...even after my hack it still sends the "confirm your email" mail [15:12:29] But which function in authplugin.php? initUser already has the e-mail [15:12:31] not sure how that works when you already have user records with different casing [15:12:33] but a user is autoconfirmed so the link for confirmation breaks [15:12:49] @tgr I can get rid of the existing data, I just don't want anymore :) [15:13:46] @p1rate, if you're already hacking why not just stop the SMTP server from sending them? [15:13:51] is the email address the username or are you using some extension to authenticate against user_email? [15:13:57] because other mails should be sent [15:14:05] the email address is the username [15:14:40] @tgr how else have you seen this work when organisations have to authenticate against an LDAP group? [15:14:54] in that case, try lowercasing it in AuthPlugin::getCanonicalName [15:15:12] OK, thank you, testing [15:15:17] I haven't, I don't know much about LDAP [15:16:48] @tgr OK, it didn't let me login, going to do more testing to work out why (as I'd have thought the LDAP was case insensitive) [15:17:12] @p1rate I mean e-mails that are just for confirmation [15:17:25] how? [15:18:26] Raftab: probably need to update the user table so the case is correct there [15:20:38] @p1rate : http://www.sendmail.org/~ca/email/doc8.12/cf/m4/anti_spam.html it's one hell of a hack though [15:21:02] @tgr, still no dice, would rather make sure this isn't an ldap screw up before investigating more mediawiki stuff [15:21:22] Raftab, not really an option due to infrastructure but thanks anyway :) [15:22:20] @p1rate weird that it's still sending the mail [15:22:21] p1rate: if all users are bound to their Google accounts you can just disable $wgEmailAuthentication as Google already does the account verification for you [15:24:30] @tgr, do you know if there's a flow diagram for AuthPlugin.php? [15:26:23] e.g. the comment for getCanonicalName is: If you want to munge the case of an account name before the final check, now is your chance. [15:30:09] Raftab: I doubt it [15:30:25] @tgr ok, np [15:34:03] Raftab: reading LoginForm::authenticateUserData() and LoginForm::addNewAccountInternal() is probably your best bet [15:34:14] Great, thank you [16:12:00] OK, I ended up just using $user->setName(strtolower($user->getName())); in my extension of AuthPlugin.php to sort out the lower case stuff @tgr @bawolff [16:12:36] I expect that will break in weird ways, given that the User namespace isn't allowed lowercase letters [16:14:04] To avoid breaking mediawiki, should I just get rid of all users that don't have the ucfirst on their username? @bawolff [16:14:17] Well I don't know how much it will actually break [16:14:30] en.wiktionary.org used to have users with lowercase first letters, and the world didn't explode [16:15:06] Its more like, if weird stuff happens, don't say I didn't warn you [16:15:25] @bawolff, what would you suggest? [16:15:42] not having users with lowercase first letter usernames in MediaWiki [16:16:23] OK, so that's what I said @ 17:14, which is OK. But it still doesn't fix people who log in like this: eXample@domain.com [16:16:36] Mediawiki will create that as a new account [16:20:27] 1,207 records where a user has more than 1 e-mail addresses :( @bawolff [16:53:05] Hi every one , I really needs a help for my job, anyone could help me? [16:53:46] * need [17:06:49] clear [17:07:02] Helooo!!! [17:07:13] hi, it seems that autocomplete doesn't include redirects, is there a way to do so? [17:11:51] !ask | WikiPRF [17:11:51] WikiPRF: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [17:16:36] ok. My question is : I have a mediawiki application. I don't know why another server the database has a trigger calling some procedures : do_insert_category_closure_catlinks , do_delete_category_closure_catlinks and do_update_category_closure_catlinks [17:17:55] my partner has migrated my db to a new server but forgeting in the dump (mysql) to put procedures inside [17:18:18] now, my mediawiki is not deleting pages or link pages to category [17:19:10] I'm looking for documentation about procedures and triggers in mysql db mediawiki without success, I suspecting that was a requisite for old mediawikis versions and some extension used in my applications created it. I really don't know. [17:19:44] WikiPRF: i'm pretty sure we don't use either of them for mysql [17:19:44] Anyone should help me about it? Anyone knows about db procedure and triggers used by mediawiki ? [17:19:57] not sure about postgres and other databases [17:20:12] I'm using mysql [17:20:24] Yeah, we don't use stored procedures [17:20:39] Can I just delete the triggers without fear? [17:20:52] What version of MediaWiki? [17:22:08] MediaWiki 1.26.2 PHP 5.4.16 (apache2handler) MySQL 5.6.24-enterprise-commercial-advanced-log ICU 50.1.2 Elasticsearch 2.3.1 [17:22:53] Extensions used : CategoryTree, CiteThisPage, Interwiki, Nuke , Renameuser, CategoryTree, Cite, ImageMap , InputBox, LabeledSectionTransclusio, ParserFuncionts [17:23:32] PDFEmbed, Poem, SyntaxHighLlihter, PDFHandler, ConfirmEdit, SpamBlackList, TitleBlacklis, CirrusSearch, Elastic [17:23:56] LDAP Authentication, LocalisationUpdate, VisualEditor and WikiEditor [17:25:49] that is it [17:26:29] the mysql schema does not use stored procedures or triggers [17:26:51] I cannot say the same about extensions though [17:27:31] those triggers you mention are likely part of the CategoryTree extension, given the name [17:27:47] But it has no sql tables [17:28:16] hmm, yeah [17:28:24] do_insert_category_closure_catlinks doesn't find any results in any WMF hosted extension [17:28:27] and has no sql scripts of any sort in the extension's file tree [17:28:34] Quick look at that list, all of them are WMF hosted stuff [17:29:39] I know that in the extension page squares - left side , there is a field calle database change - [17:30:49] excuse me for my delay but what does mean WMF? [17:31:05] anyway, since we've established that these procedures have nothing to do with mediawiki or any of the extensions you're using based on your list, there must be some other cause for the issue(s) you're having [17:31:42] can you describe "now, my mediawiki is not deleting pages or link pages to category" in more detail? I don't actually know what you mean by that [17:32:28] WMF = wikimedia foundation, the nonprofit that hosts Wikipedia and similar sites; WMF hosted extension = an extension that one of their wikis use [17:32:40] INSERT IGNORE INTO `categorylinks` (cl_from,cl_to,cl_sortkey,cl_timestamp,cl_sortkey_prefix,cl_collation,cl_type) VALUES ('28','Normativa_Interna','PORTARIA NORMATIVA Nº 49, DE 27 DE AGOSTO DE 2015','20160526211606','','uppercase','page') Função: LinksUpdate::incrTableUpdate Erro: 1305 PROCEDURE dbwikiprf.do_insert_category_closure_catlinks does not exist. [17:32:40] there's a box at the bottom of the extension page for them [17:32:59] when I do php rebuiltall.php the script give me back this notice. [17:33:52] and in my application when I have a article and put the tag to inscribe it in a category, in my category page, don't showing this article. [17:34:06] so delete the trigger that's causing that error [17:34:20] then re-run rebuildall [17:34:28] in same way, if I trying to delete same pages , the aplication give me back : There 's a error in database , page don't deleted [17:35:08] nothing in mw or those extensions you listed look to be doing that, so it's something custom from your old wiki [17:35:22] whether or not that something custom is important is not something I can inform you about [17:35:26] I checked in database and saw there is same triggers about delete, update and insert pages that calling a procedure , but there isn't that procedure [17:35:40] ok. [17:36:27] (if it IS important, I recommend moving it away from db triggers and stored procedures into a proper mediawiki extension) [17:37:47] Thank's so much , I will trying delete the trigger. Do you know if the script application do the link in pivot table catlinks ? [17:38:45] Curious I really don't know why this trigger is there, I not delevoped it, I was thinking this comming from application or some extension, but like I sad all of my extensions I listed here . [17:46:20] Well, thanks a lot . I ll try your advice. [18:27:17] Hi, again, anyone knows if there is a database mediawiki version with the table called "category_closure' ? [18:29:45] wikiprf, that's an extension: https://github.com/mediawiki4intranet/IntraACL/blob/edb5a7398df3f9f6c0a6a2cebd25f068125b56bc/storage/intraacl-functions-mysql.sql [18:30:57] hummm. thank's . [18:32:37] Anyone knows who changes the LDAP Authentication/FAQ do in database? [18:33:55] That's because I searching for changes and procedures in my database , I don't have this IntraACL extension in my mediawiki but I have LDAP extension , may be this extension do the same changing that IntraACL [18:35:31] It adds 1 tale [18:35:38] *table [18:37:09] Is The LDAP adds a table right? [18:37:38] Do you know if is category_closure? Where do I found information about this table? [18:37:49] It's not [18:37:56] MaxSem linked you it above [18:38:06] If you had the extension previously, it'd add it [18:38:15] But it wouldn't be removed automatically [18:40:12] ok. [18:45:30] Hello, all. [18:45:48] So, [[File: searches wiki commons after the local file database? [18:46:05] If instantcommons is enabled, yes [18:47:10] mmm. How do I turn that off? [18:47:27] I'd rather source Wikicommons and include the files locally for one of my wikis [18:47:54] Do you have $wgUseInstantCommons = true; in your LocalSettings ? [18:48:07] I'll make sure I have it set to false now -- that's the parameter I was looking for. [18:48:21] You can just remove the line [18:48:24] default is false [18:55:38] OK, thanks. Second question: I have images uploaded, and they're showing in the temporary directory, but they don't link... [18:56:49] Ownership seems right... oNe sec. [18:57:26] Nevermind -- missing in php.ini [18:59:56] Grr. [19:01:17] back [19:12:05] Hi [19:12:09] I am PrinceKong [19:12:13] I seek help [19:12:20] I am setting up mediawiki with xaamp [19:12:29] but I got stuck [19:12:43] I am stuck here: Extract all your Mediawiki files and folders into a subfolder e.g. mywiki\ of the htdocs folder, wherever that is e.g. c:\xampp\htdocs\. [19:12:43] Direct your browser to the appropriate page, e.g. http://localhost/mywiki [19:12:52] it wont find mediawiki [19:13:00] object not found [19:13:15] did I overlook anything? [19:17:34] Kong [19:17:51] I got it by the way, I am through this knot [19:18:21] but now I am installing the mediawiki and it asks for database table prefix, what is that and how do I find it? [19:18:36] PrinceKong: Just leave it blank [19:18:42] its optional [19:18:44] by the way, I am a beginner in this...:D [19:18:46] thanks [19:19:27] The individual things in the installer should have some sort of help tooltip explaining them or something [19:20:07] yeah, like a question mark to hover the arrow over [19:20:35] so, anyhow, now it says my database name does not work [19:20:57] Invalid database name "bom bim bang". Use only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_) and hyphens (-). [19:21:18] dont get it, it should be fine? [19:21:48] AH! I have to use hyphens or underscores, not blank spaces [19:22:05] but my database name has blank spaces, shouldnt it match? [19:22:40] Mysql let you make a db name with blanks in it? [19:22:46] That's kind of surprising [19:23:08] If possible, can you use a different db name? [19:23:53] So you suggest that I hyphenate it [19:24:15] ? [19:26:20] I just made bimbambong into one word [19:26:24] that should be fine [19:29:54] it is installing! [19:30:08] this is a littlebit exiting [19:32:24] :) [19:33:35] So, I DID IT!! [19:33:52] So does this mean I can make a wiki totally for myself [19:34:00] only accesible to me me me and only me? [19:35:09] does it mean that creating acounts, editing and everything will be published only for me me me and only me? [19:35:26] This is so neat! I got my own private wikipedia [19:35:39] now I can practice editing and make articles and all [19:37:58] but is it true? [19:38:06] it looks so onlineish [19:38:29] it even says that my IP might be visible if I am editing without registring an account [19:39:52] :o [19:40:58] I cant read your comments, they are not visible to me> [19:40:59] why? [19:41:09] So to install mediawiki do I download this installer, upload it to my Linux server, and then try to run it from there? [19:41:24] yeah [19:41:34] I'm trying to figure out where to put the file. [19:42:05] Recently picked up a Godaddy host. [19:42:39] PrinceKong: Yep, its all private (unless your computer is actually on the internet) [19:43:11] *actually reachable from the wider internet [19:43:45] PrinceKong: Try figuring out your IP address, and then from another computer, try going to it, to see how accessible your computer is [19:43:57] PrinceKong: Most people, there computer is not accessible [19:44:18] but in principle its possible for your computer to be generally accessible from the wider internet [19:44:25] well, my mediawiki is on localhost so it should not be accessible [19:44:53] I guess most people dont explore that principle thorougly [19:45:04] only shady hacksmacker and crackattackers [19:45:16] blackhatpacker and backpackers [19:45:51] OK thanks to you all, you have been very helpful [19:46:09] PrinceKong: Probably you're behind a Network address translator [19:46:19] which would prevent other people from seeing your computer [19:55:52] "empirical evidence that the ratio of email messages in public mailing lists to versioning system commits has remained relatively constant along the history of the Apache Software Foundation" https://dl.acm.org/citation.cfm?id=2487119&preflayout=flat [19:57:53] can I use WIkimedia commons with mediawiki on localhost? [19:59:13] Just giving the feedback, my trouble about the trigger in db (mysql) has been solved. [20:00:45] PrinceKong: Yes (provided you have internet access) [20:00:57] that was due to a plugin intraACL , who generate this trigger , some procedures and tables. But in migration to the production enviroment my partner fogave the procedure mysql. Other thing is that when we uninstall the plugin it don't erased the junk in database [20:01:01] PrinceKong: Just put $wgUseInstantCommons = true; at the bottom of LocalSettings.php [20:01:04] thanks for all. [20:12:56] how do I edit a php file? [20:14:30] On windows - use notepad [20:14:34] err actually [20:14:45] notepad is a bad choice due to BOM, and unix line endings [20:14:50] Use wordpad [20:15:35] There's also a program called notepad++ that you can download the works well [20:17:48] without this ""; [20:18:15] there is a section in the php saying: ## For attaching licensing metadata to pages, and displaying an [20:18:47] I'm not sure what you mean [20:18:56] i added your comman there [20:19:07] $wgUseInstantCommons = true [20:19:11] In php, lines starting with a # or // are comments that don't do anything [20:19:14] in localsettings [20:19:16] The semi-colon is important [20:19:33] in php files, most lines have to end with a semicolon [20:20:09] So it should be $wgUseInstantCommons = true ; [20:20:15] ? [20:20:50] yes [20:20:53] I think that works -- removing the space between true and ; is convention [20:21:11] yep, that's correct. The space between true and ; doesn't matter [20:21:22] normally people don't put a space there, but it won't make a difference [20:49:47] Hello again, is it possible to install the visual editor in xaamp to? [20:56:41] no? [20:57:26] VE is just an extensiion. you mean Parsoid? [21:00:46] https://www.mediawiki.org/wiki/Parsoid/Developer_Setup#Windows_setup [21:01:00] yeah, "developer" :P [21:02:06] I dont know, i am beginner [21:02:17] but it would be neat to run the VE on localhost [21:02:22] is it possible? [21:02:42] how do I add the extentsion? [21:03:18] aiaio, tomorow, it is getting late [21:03:22] good night [21:03:26] I have to sleep [21:12:52] You have a problem in the parser somewhere [21:13:21] just one? [21:13:25] Compare - https://en.wikisource.org/wiki/Page:Chronological_Table_and_Index_of_the_Statutes.djvu/365 and https://en.wikisource.org/wiki/Page:Chronological_Table_and_Index_of_the_Statutes.djvu/366 [21:13:36] The latter has spurious whitespace [21:14:44] I've encountered this annoyance many times, and whilst there are workarounds. It should ideally have a long-term fix that finally lets the parser cope with the issue of table syntax over multiple pages which gets combined on a transclusion [21:14:54] *get [21:15:28] I'm dissapointed that something simple like this, is something that's so hard to get right [21:25:40] If it's so simple, fix it then [21:25:43] Patches are welcome [21:53:08] well said [22:20:11] Reedy: If I knew where to start [22:20:13] ... [22:20:22] PHP is not my area of expertise [22:20:25] Well, please do not say it's simple then [22:21:02] Reedy: It's simple on a relative scale [22:21:08] But you have a point [22:21:23] Maybe I should go back to using paid archives? [22:21:36] Then at least I can pay for features I want :) [22:21:38] XD [23:26:02] Hi everyone! Anyone knows if is possible to setup to user inscribe in a category like whatchlist and watch category membership too? [23:30:08] like Extension:CategoryWatch but not deprecated [23:43:21] Hi everyone! Anyone knows if is possible to setup to user inscribe in a category like whatchlist and watch category membership too? [20:30] like Extension:CategoryWatch but not deprecated