[01:13:51] aw they left [01:13:53] https://en.wikipedia.org/wiki/Intellipedia [01:14:12] see also https://en.wikipedia.org/wiki/Category:MediaWiki_sites_of_the_United_States_government [01:40:30] Fun category. [02:45:28] I'm getting Error: Unknown dependency: schema.Edit from VisualEditor's ext.visualEditor.mediawiki module and its causing it to fail. Anyone know what this means? [06:00:24] Can someone talk me through the install guide for 1.24.1 on a new website install? [06:04:01] Daley: that's a bit of a tall order, but if you give it a shot and get stuck, ask! [06:04:34] I realise thought I'd come see the "brains trust". [06:20:27] Hello. I'm running MW 1.25wmf12. I am unable to get user emails to work. Below is the error from my wiki.log file. [06:20:30] error] [e95fe784] /w/index.php/Special:ConfirmEmail ErrorException from line 275 of /opt/lampp/htdocs/w/includes/mail/UserMailer.php: PHP Strict Standards: Non-static method Mail::factory() should not be called statically [06:21:15] I have not been able to find a solution or recent reports of other users having the same issue. [06:21:29] Is someone able to point me in the right direction where I should be looking? [08:20:45] anyone encountered the ldap extension refusing to work with SSL on a microsoft IIS server with mediawiki? [10:02:20] Anyone here interested in doing a quick security review (not formal - I just want to know how dangerous you think it is) of a new MediaWiki extension? [11:42:42] am I at the correct place for a mediawiki markup syntax question? I'd like to style a table column. I've been reading https://www.mediawiki.org/wiki/Help:Tables and there is no indication that that's possible. Is it possible? [11:44:12] what I think I want is for mediawiki to emit a col element which I can provide with a style property [11:46:26] oh, I think I found the answer on the page I linked myself (which is no, impossible) [12:25:13] is there any other way to do that other than per cell? inline styles unfortunately don't seem to allow for selectors [15:59:05] I am trying to redirect to Special:Abc/Xyz from Special:Abc. I read (https://doc.wikimedia.org/mediawiki-core/REL1_19/php/html/classSpecialRedirectToSpecial.html) I need to use $subpage =SpecialRedirectToSpecial::getRedirect('Xyz'); & have created a page SpecialXyz.php in the same directory as SpecialAbc.php but it's not working. I get "$this is null". [15:59:05] Could someone point out what might be wrong? [15:59:44] Have you registered it correctly? [16:01:39] Reedy: I just included `SpecialRedirectToSpecial::getRedirect('Xyz');` in my code and also created SpecialXyz.php in specials/ (I am trying to do this in an extension) [16:02:04] But you actually need to register your special page [16:02:06] Not just create the file [16:07:37] Reedy: I registered the page in the main extension file and still get the same error :( [16:12:01] fatal: Project not found: mediawiki/services/ocg-collection/deploy [16:12:09] I'd better go through and cleanup my checkouts [16:26:45] hello i want to [16:26:45] ask one question [16:26:53] how to use flow extension [16:27:26] i want to create topic using flow extension [16:27:35] how i do this please help me [16:29:52] any tutorial for this extension please provide me [16:44:04] what is UUID in flow ? [16:57:04] is it possible to replace the search box with one with custom jquery behind it? [16:59:11] any person who know how to use flow extension ? [16:59:20] help me please [16:59:54] superm401, quiddity, mlitn, could one of you answer sofat's question? [17:01:01] https://www.mediawiki.org/wiki/Extension:Flow is the best “tutorial” for installing it [17:01:25] Does anyone know of something that will generate a TOC table for just a section (and whatever sub-sections it has)? [17:01:41] UUID is a class that generates unique ids, which is used throughout flow (ids for topics, posts, revisions, …) [17:01:48] Ooh, that's a cool idea Rosencra_ [17:01:51] do you have any question in particular? [17:02:05] (also, you may want to ask your Flow questions in #wikimedia-collaboration) [17:02:43] That's where I got the list of people to pingspam! :) [17:02:59] I know HeaderTabs sort of does it. but it's hampered by the 4 section limit. (and forcing __TOC__ causes odd behavior) [17:06:06] mlitn, i used this link [17:06:23] i just want to know how to create topic in flow [17:07:02] any specific tutorial for this [17:07:11] just browse to any Flow-enabled page & there should be an input field [17:07:24] when you click it, it’ll expand and you will be able to add a title & content [17:07:26] when is open the flow extension page they asking for UUID [17:07:35] what exactly is it saying? [17:07:40] what is UUID ? [17:08:00] UUID is a class that generates unique ids, which is used throughout flow (ids for topics, posts, revisions, …) [17:08:27] when you just want to create a topic, you shouldn’t have to warry about UUIDs, they’re just some code [17:08:48] so I guess you’re seeing some sort of error which is confusing you? [17:08:51] what exactly do you see? [17:09:16] Could not find content matching the type and the UUID. [17:09:39] i just want to create the topic using flow [17:10:09] sofat: I have to leave now - I’ll be back in < an hour [17:10:21] any change you could report this on https://phabricator.wikimedia.org/maniphest/task/create/, preferably with a screenshot? [17:10:30] I’ll look at it as soon as I get back [17:10:45] or you can probably find people in #wikimedia-collaboration to help you in the meantime ;) [17:11:11] okay i am waiting and try to solve this [17:12:20] Thanks for the support, mlitn [17:41:51] Merry Christmas! [17:42:01] * marktraceur looks at calendar [17:43:34] which calendar? [17:43:49] The one that says "January" at the top [17:44:23] so the wrong calendar? [17:44:29] because you should really be using the Julian calendar [17:44:42] Obvs. [17:48:12] <^d> Calendars are for squares [17:48:35] Usually. Sometimes they're for rectangles. [17:48:51] I guess you could go with triangles. [17:49:10] Ooh, or hexagons [17:49:16] <^d> Not terribly efficient for writing in though [17:49:32] Tell that to Battlestar Galactica. [17:49:54] <^d> I WILL [20:49:00] Does div#mw-head-base server a purpose? When I'm skinning I normally just set it to display: none because it just seems to complicate the layout. [21:49:01] Hello. I'm running MW 1.25wmf12. I am unable to get user emails to work. Below is the error from my wiki.log file. [21:49:18] [error] [e95fe784] /w/index.php/Special:ConfirmEmail ErrorException from line 275 of /opt/lampp/htdocs/w/includes/mail/UserMailer.php: PHP Strict Standards: Non-static method Mail::factory() should not be called statically [21:49:34] I have not been able to find a solution or recent reports of other users having the same issue. [21:49:42] Is someone able to point me in the right direction where I should be looking? [21:49:49] What version of php? [21:50:06] God knows why a factory method isn't static... [21:50:33] heh [21:50:48] I think I filed a bug about that from static analysis [21:51:04] Hi! I am looking for help on moving an old Mediawiki 1.11.0 (from 2007!) on a shared webhost to my own VPS with the current Mediawiki, details here: https://webmasters.stackexchange.com/questions/75790/mediawiki-upgrade-strategy How would I do this? [21:51:43] !backup [21:51:43] See http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki for information about backing up your wiki. For restoring your wiki, see http://www.mediawiki.org/wiki/Manual:Moving_a_wiki#Import_the_database_backup for more. If you don't have database access, try !grabber. [21:51:46] !movewiki [21:51:47] For help about moving pages, see . For help about moving wikis, see . [21:54:55] naaw: https://phabricator.wikimedia.org/T49463 [21:56:18] thanks Reedy. But the standard way won't work because my version is so old and is not compatible with the PHP version on the new VPS [21:57:12] cider: Can you change php version on your current vps? [21:58:04] current wiki is on shared webhosting where I can't change anything and don't have shell access [21:58:12] But yes, you can just start with newer mediawiki version, and point it at the old database [21:58:18] and tell it to upgrade the database [21:58:36] alright, I'll try that. Thanks! [21:58:59] make sure you take a db and file on disk (php and uploads) before doing anything tohugh [22:03:56] sure [22:17:39] Reedy, PHP version is 5.6.3 [22:18:51] Reedy: thanks for the link [22:18:54] If I'm using an edit hook in my extension, is there a way to tell whether I'm editing a whole article or just a section? [22:19:23] thanks Reedy! After installing php5-json, imagemagick, php5-intl and chmod'ing the directory to www-data now it seems to work fine :) [22:19:36] whee :) [22:24:33] now how can I clean up the database from all the deleted spam pages? [22:25:37] How old is the spam? [22:27:06] in the last two years I had the wiki completely read-only due to the spam, so older than that... [22:27:21] Hmm [22:27:24] !spam [22:27:24] For information about combating and handling spam in MediaWiki, see and . [22:27:33] I'm not sure if Nuke will work for you [22:28:03] Hm, I followed the advice and installed the SwiftMailer extension but sending mail errors with "Fatal error: Class 'Swift_Message' not found in /opt/lampp/htdocs/w/extensions/SwiftMailer/SwiftMailerHooks.php on line 41" [22:28:16] Special:Version reports the extension as installed. [22:28:36] Did you run composer? [22:28:53] cider: if all the spam has been already deleted through normal delete interface, you can clear the deleted text from the database with a maintenance script: https://www.mediawiki.org/wiki/Manual:DeleteArchivedRevisions.php [22:29:27] I ran "composer update". It gave the following output: [22:29:28] Vulpix: whould that delete diffs of legitimate pages as well? [22:30:06] Loading composer repositories with package information [22:30:06] Updating dependencies (including require-dev) [22:30:06] Nothing to install or update [22:30:07] Writing lock file [22:30:07] Generating autoload files [22:30:19] I don't know if that's what's expected [22:30:26] cider: yes, but only deleted revisions. page history would be preserved [22:33:13] hmm, looks like the script just deletes the archive table. In my wiki the archive table is only 800kb. Most (34MB) is still in the text table. 12MB in searchindex, 3MB in user and 1MB in logging [22:36:35] ahh, the script first deletes the archive and then invokes purgeOldText.php to purge the text records which no revision links to. Will try [22:45:13] I'm going to answer my own question (how does one find out whether an editpage is a sectoin or a whole article): if EditPage::section evaluates to true, it is a section, otherwise it is not. [22:45:45] Not sure if that is a rigorous check, but it has worked well so far. [22:48:46] Hi, I am trying to use the ambox template from WikiPedia on my own private wiki, I have imported the template but what I am getting when I go to Template:Ambox is the following: [22:48:53] {{#invoke:Message box|ambox}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} [22:53:11] jeroen: have you worked with templates before? [22:53:38] keisetsu_: Yes, on another wiki about one or two years ago, but that one is gone now. [22:53:53] And I didn't work on that wiki a lot. [22:54:24] jeroen: That looks like a good template. Have you tried {{ambox}} in a page? [22:54:31] So, you need ParserFunctions and Lua [22:54:35] And dependant templates [22:55:21] keisetsu_: Whenever I do {{ambox}} on a page I am getting this: {{#invoke:Message box|ambox}} [22:55:45] !exporttemplates [22:55:46] To copy templates from Wikipedia, use Special:Export and check the "Include templates" option to get all the sub-templates, then upload the file with Special:Import on your wiki. You'll also likely have to install the ParserFunctions extension, Scribunto extension and install/enable HTML tidy. You also might need some CSS from Wikipedia's Common.css. You'll also need a lot of... [22:56:32] That is quite a list. [22:56:40] jeroen: I think Reedy is answering your question. Sounds like it is a fairly involved template that requires at least the parser functions extension [22:56:40] Indeed [22:56:44] Templates aren't simple [22:56:56] Some templates are quite simple [22:56:58] I did do the exporting and checking the "Include templates" option. [22:57:09] I know that from my previous Wiki. [22:57:16] Jeroen: that won't include needed extensions, though [22:57:42] jeroen: I don't think you need lua, but that #invoke is signalling something else [22:57:44] If it was a few years ago, it might not have needed Lua then [22:57:54] Possibly http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions [22:58:53] no, I think it is, as the templates note says, scribunto: http://www.mediawiki.org/wiki/Extension:Scribunto [22:59:40] yes, #invoke means you need scribunto [23:00:27] Not all templates require extra extensions, but a lot of the wikipedia templates do. [23:00:51] Scribunto is Lua [23:02:46] Reedy: that's true but misleading. a lot of users end up getting Extension:Lua instead of Extension:Scribunto (which then doesn't work) [23:02:54] heh [23:03:03] put a huge banner [23:13:03] Reedy, looking at this again I assume the output "Nothing to install or update" from 'composer update' may be an issue? [23:13:55] I'm obviously out of my depth here, but presumably 'composer update' should install or update something. [23:15:14] composer install [23:16:38] [root@sydetr001 SwiftMailer]# composer install [23:16:38] Loading composer repositories with package information [23:16:39] Installing dependencies (including require-dev) from lock file [23:16:39] Nothing to install or update [23:16:39] Generating autoload files [23:30:08] naaw: is there a vendor directory? [23:30:59] legoktm, yes there is [23:32:30] naaw: and is the swiftmailer code in there? [23:33:33] Yes. the vendor folder contains an autoload.php file and composer and swiftmailer directory [23:34:35] the swiftmailer directory contains [23:34:40] [root@sydetr001 swiftmailer]# ls -F [23:34:40] CHANGES composer.json doc/ lib/ LICENSE notes/ phpunit.xml.dist README tests/ VERSION [23:37:48] Reedy: I have installed Scribunto, I am getting this error: Script error: No such module "Message box". Script error: No such module "documentation". [23:42:33] Jeroen: you need to import those modules [23:42:42] Module:Message_box and Module:documentation [23:53:13] I'm getting an error in my JS console when I try to run VE. It is "Error: Unknown dependency: schema.Edit" [23:53:31] I have a specific question about git review usage, is there anyone here familiar with git review? [23:54:58] Negative24, could you go to #mediawiki-visualeditor please? [23:55:55] Krenair: Yea. Will do. I didn't know that existed