[03:01:08] * GrandePuffo goodnight and happy new hear averybody!! [03:01:28] happy new year GrandePuffo [12:09:52] I made a template categorize pages on my wiki, is there a way to rebuild the list without manually purging every page? [12:10:37] hmm, I think I got it [12:10:38] forcerecursivelinkupdate [12:49:54] How can I push the code of an existing github repo (https://github.com/ankitashukla/mediawiki-spelling-dictionary/) to gerrit? [12:50:02] The repo is an extension [12:51:00] ankita_: Have you had a repo created? [12:51:28] Reedy: No, I'd been working on the github repo all this while [12:51:43] That's step number one then, request a gerrit repo :) [12:51:55] We can enable direct push for you to import your repo [12:52:04] Reedy: https://www.mediawiki.org/wiki/Git/New_repositories/Requests here? [12:52:07] Then put it back to gerrit gating like other repos after history is imported [12:52:37] Please [12:59:57] Reedy: What is an LDAP username? the wikimedia username or the gerrit username? [13:00:13] gerr9t [13:00:16] *gerrit [13:05:13] Reedy: done! Thanks! :) [13:11:21] I'm getting an error "Cannot access the database: Unknown database 'spellingdictionary' (127.0.0.1)" while I have already run mwscript maintenance/update.php in vagrant terminal [13:11:57] Any help on this? [13:12:17] Unknown database? [13:14:06] Reedy: I have created the database in the main script of the extension : $GLOBALS['wgSpellingDictionaryDatabase'] = 'spellingdictionary'; [13:14:15] Reedy: after which I ran mwscript maintenance/update.php [13:14:34] That's not creating the database [13:14:46] You need to create it on mysql [13:14:56] Why are you using a seperate database, rather than just a table or plural? [13:15:35] CREATE TABLE IF NOT EXISTS /*_*/spell_dict_word_list ( [13:15:40] The code is just creating a table [13:15:47] This was for the extension I was working on (during Outreachy last year) [13:16:00] As suggested by my mentor [13:16:07] I created a database [13:16:18] So you need to create the table in that database too [13:16:30] As update.php will just create the table in the MW installation [13:16:52] oh [13:17:29] So can I directly create a database after logging into the vagrant terminal (ssh, followed by mysql) ? [13:17:31] If you just set wgSpellingDictionaryDatabase back to false, it'll work without creating a table [13:17:34] and then run update.php? [13:17:44] Okay, trying that [13:17:50] update.php will have already created it in your mw install database [13:19:07] Okay thanks! It works [13:19:53] What is a good method by the way for an extension's table? Directly create the table or create table in a separate database? [13:21:44] What do you mean? [13:22:00] The only reason to create it in a seperate database is to share it, or to offload it to a different server etc [13:23:50] Oh! [13:25:27] Reedy: So the extension is supposed to add valid spellings of different languages to a table, so that when some editor edits/translates the articles, the (valid) words are matched from the table and are not underlined with the red line [13:26:20] For this purpose, I understand that the extension and the table should be hosted on some central server which can be directly accessed by everyone, so a direct table should be fine, right? [13:27:41] It shouldn't matter at this stage [13:27:51] You'll need more config to have it point at a different sql server anyway [13:28:25] Reedy: oh, thanks! :) [13:30:52] ankita_: Is this intended for deployment on Wikimedia wikis? [13:31:46] I am planning for it to be deployed :) [13:32:27] There's a handful of issues with your database schema.. I've not looked at your other code yet [13:38:18] It'd be reviewed when on Gerrit ? [13:38:41] Nope [13:38:51] Then ? [13:39:02] Unless you submitted it as one big changeset, it wouldn't get reviewed [13:39:15] You can file a phab request requesting review etc [13:39:24] Oh, okay! I will [13:39:26] It'll be needed eventually if it's destined (and wanted) on WMF wikis [13:41:09] I'll work on it and try getting it reviewed [13:41:45] can I access Module methods via the API? [13:41:58] What module methods? [13:42:02] You mean lua? [13:42:32] yup, it is Lua [13:42:46] What do you mean by access them via the API? [13:43:34] I want to get the results of a method call, so in this case it returns a set of characters which are removed from a string before that string is used as a pagename link [13:44:30] https://en.wikipedia.org/w/api.php?action=help&modules=scribunto-console [13:44:48] awesome, thanks [13:47:08] That doesn't seem to be on the Mediawiki wiki yet, is it still in development or am I just missing it [13:47:45] I don't know when it was added [14:09:57] TheDaveRoss: It was added about a year ago [14:10:16] https://www.mediawiki.org/w/api.php?action=help&modules=scribunto-console [14:10:21] "Internal module for servicing XHR requests from the Scribunto console." [14:10:21] Hmm [14:10:57] I was hoping to find some usage examples etc, but I can stumble through [14:11:03] Might have to learn some Lua I guess [14:13:38] hello, one question. A collision of titles in the same namespace is avoided by the framework, yes? [14:14:32] or rather, "prevented" I should say. [14:18:17] Collision to what extent? [14:18:22] Foo and FOO are seperate articles [14:19:36] Reedy: I mean completely identical titles, i.e. "foo" and "foo". Those would not occur in the same namespace, correct? [14:20:04] No, you can't have 2 articles in the same namespace with identical naems [14:20:05] Though [14:20:10] Foo and foo are the same by default in MW [14:20:23] 1st letter is case insensitive [14:20:26] /normalised to uppercase [14:20:37] I see, thanks. [14:24:34] I should mention that was talking in terms of the database backend, which I'm dealing with. I just realized my question makes less sense when talking about the frontend side of things, where surely two identical pages could not even differentiated or accessed seperately. [14:24:53] Anyway, question answered! :) [14:25:14] If you just insert stuff into the DB yourself, all bets are off :) [14:26:48] Yes, this was only concering what the user frontend permits to go through, on Wikipedia.org specifically. [14:43:41] Reedy: are you familiar with the use of the scribunto-console? [14:43:48] Nope, sorry [14:44:50] Hello everyone! I'm Dunia, a participant in Google Code-In. [15:38:31] uh http://ward.asia.wiki.org/view/conduit-of-high-fidelity [15:44:09] Nemo_bis: could you please explain what is that [15:45:57] Nikerabbit: something Ward Cunningham wrote; not sure of concrete implications :) [17:22:59] Hello! I was wonder if we use British english or American english on mediawiki english pages? [17:24:59] uummm, hello? [17:25:30] hello [17:26:40] Husun: Both are fine as long as you don't use American English in en-GB pages [17:27:23] Glaisher: Thank you! [17:27:46] kennysharbot: got my answer ;D [20:38:18] Anybody here experienced with Pywikipedia? [20:38:34] * OA slaps addshore around a bit with a large fishbot [20:39:48] ?? [21:14:41] What's with that one person coming in, asking about pywikibot, and randomly /slap-ing people? [21:21:58] Hoping to get attention, I’m guessing. [21:22:14] that slap feature is from webchat... probably not knowing what would do [21:22:58] Colloquy doesn’t support trouting. [21:23:26] gtg, happy new year! [21:23:42] [21:24:52] Hehehe IRCcloud supports slapping [21:24:56] * OH- slaps OH- around a bit with a large zebra lionfish [21:25:32] I don't know of a IRC client round that doesn't support /me [21:26:06] IRCCloud randomly chooses a fish [21:26:21] QWebIRC always uses "fishbot" [21:26:54] p858snake: it does /me. It doesn’t do /slap [nick] [21:28:05] /me slaps Amgine around with a /me command [21:28:21] [21:28:37] stray s [22:25:17] At English Wikisource I have an issue that the modified Mediawiki:movepage-moved is not being used, it is reverting to default. It used to work, but now doesn't. Can anyone suggest problem solving? [23:50:18] Does anyone have experience with LDAP Authentication extension?