[00:01:31] mutante: thanks [00:02:10] came up as: Template:TOC in red [00:03:14] hmm, it should be this https://www.mediawiki.org/wiki/Template:TOC [00:03:26] i expected that to exist by default..something might have changed [00:04:55] mnathani: add __TOC__ [00:15:29] mutante: nothing exists by default [00:15:40] i think you mean __TOC__ [00:34:59] Ive got an interesting idea for the externallinks table. What about having a including the timestamp that a link was added? Like what happens with cl_timestamp ? [00:36:47] what's your usecase :) [00:37:07] it's doable, but ^ [00:37:55] legoktm: tracking when links are added, so batch requests for archival (IE a partnership with IA) can be done [00:38:25] or tracking how long a link has been in an article without having to check every diff [00:38:58] tracking overall external link volume over time [00:39:12] or within a given timespan [00:39:24] sounds useful [00:39:28] file a bug? :) [00:39:46] legoktm: I was thinking about it but wanted a sounding board first :P [00:53:50] legoktm: see https://bugzilla.wikimedia.org/show_bug.cgi?id=72931 [00:54:38] :D [00:55:16] I almost wonder if that could be +easy [00:56:07] legoktm: this actually came to mind as I was emailing IA about a feature request for their API :P [00:57:01] Reedy: conceptually it's easy, but you need all the db patches, changes to linksupdate? [00:57:28] probably easier not to tag it ;) [01:51:27] Hi. I am using MW 1.23.6, and for some reason I am unable to log in to a particular account. [01:51:59] I've copied my own personal user_password straight from the database and dropped it on the account. [01:52:23] I can log in just fine, but I can not with the other account, despite them having the same password hash and salt. [01:52:42] Does anyone know what could be going wrong, or could someone point me in the right direction so that I can get useful debugging info? [01:53:20] user_password shouldn't have the raw password, it'll be hashed and salted. [01:53:42] if you want to reset the password and you have shell access, you can use eval.php to do so [01:54:17] legoktm: I tried using maintenance/changePassword.php [01:54:46] Additionally, I realize that the password is salted and hashed, which is why I was careful to copy the entire value from user_password over to this other person's account. [01:54:52] orion: that should also work. [01:55:01] err [01:55:01] caching? [01:55:06] I'm not sure the second part will [01:55:24] changePassword.php should invalidate caches [01:55:27] direct db updates won't [01:55:30] Right [01:56:10] hmm, strange [01:56:27] I restarted PHP and it works now. It seems that changePassword isn't invalidating the cache. [02:10:26] orion, if you're using CACHE_ACCEL (aka APC in most cases), command-line PHP can't access the cache used by PHP used by the webserver [02:10:38] ah, true [02:10:42] Very good point. [10:15:59] Hi. I am trying to get the wikipedia infoboxes to work but I am getting a Lua sript error. The message is "Lua error in mw.html.lua at line 253: Invalid class given: The name must be either a string or a number.". Any idea what is causing this please? [10:36:37] !wikipediatemplates | slabby [10:37:00] huh, where di the bot go? [10:37:58] slabby: basically, wikipedia infoboxes are the biggest, oldest, most complex and most nasty templates you can try to work with. you are probably much better of to write your own. [10:40:49] DianK_WMDE: okay, thanks for the advice - ill give it a crack making my own :) [10:42:30] greetings,is there a way to sort the "Mediawiki Image" display with subfolders? Talking about the dialog that pops up if you want to include a picture in a Wikipage [10:43:08] if 10 people start to upload pictures,it will be a big mess and an endless list of filenames like "pic1.jpg" which i want to avoid [10:45:15] DianelK_WMDE: okay, thanks for the advice - ill give it a crack making my own :) [10:48:05] slabby: if you are going to use Lua, have a look at the Capiunto extension. It should make building infoboxes a lot easier [10:48:46] DianelK_WMDE: Thanks - will do [11:14:40] DianelK_WMDE: I think I am missing something obvious. I have Srcribunto and Capiunto installed. I have added the first example on http://www.mediawiki.org/wiki/Extension:Capiunto/Infobox to a page but it is just displaying the code. Have I missed a step (Google isn't being very helpful)? [11:21:51] DianelK_WMDE: Okay - ignore that. Think I am on the right track. [12:00:37] DianelK_WMDE: Do you have to require() the capiunto infobox before you can use it? [12:08:35] DianelK_WMDE: I'm getting "attempt to index field 'Infobox' (a nil value)" when I run "mw.capiunto.Infobox.create" [13:00:32] ugh https://www.mediawiki.org/w/index.php?title=Extension_talk:SimpleSecurity&diff=0&oldid=683830 [13:35:40] This is an interesting way to use eval() and implode(): http://joomlacode.org/gf/project/joomla/scmsvn/l4%20%3E%3E%20joomlacode.orgjoomlacode.org/gf/project/joomla/scmsvn/?action=browse&path=/development/trunk/libraries/joomla/document/html/html.php&annotate=23145#l477 [13:45:33] !help [13:45:34] There are a lot of topics you could be asking about. Besides, this bot is mostly for experienced users to quickly answer common questions. Please just ask your question and wait patiently, as the best person to answer your question may be away for a few minutes or longer. If you're looking for help pages, we moved that to !helpfor. [13:45:42] !wptemplates [13:45:42] 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... [13:45:50] DanielK_WMDE: Bot seems up now. [13:49:32] anyone using CKEdit for Mediawiki? [13:49:40] Carmela: tnx! [13:49:50] Metusalech: probably not, it's really unmaintained [13:50:21] There's a VisualEditor extension for MediaWiki. [13:50:53] svip: holy fuck... [13:51:05] Is the VE going to be included in the next big Mediawiki Update? [13:51:24] Dunno. [13:51:33] DanielK_WMDE: I figured out how it works! [13:51:57] You can call it with say 'user1 or user2 or right or top' as a string. [13:52:06] Then it returns true if one of those exists. [13:52:40] Because it counts each module, so they either become 0 or 1+, e.g. 0 or 1 or 3 or 0 in this case. [13:52:51] A statement which would be true. [13:53:56] svip: and i guess it's reasonably safe because of (isset(parent::$_buffer['modules'][$name]) [13:53:59] but still. ugh. [13:54:08] It took my quite a while to figure out. [13:54:14] And moreover, it doesn't actually do what it says. [13:54:28] It doesn't count modules. [13:54:43] And then return a number. [13:55:08] Because given the condition you write, you can either make it return an integer or a bool. [14:15:01] DanielK_WMDE: When I showed them that code, they said 'hey, you are looking at our old code!' [14:15:04] https://github.com/joomla/joomla-cms/blob/ac589fd45aaa88a5e9d972cacceec083cb4c754b/libraries/joomla/document/html/html.php#L515 [14:15:08] Oops, it's still there. [14:52:04] hello [14:52:15] i created a subtheme of vector [14:52:40] but when i set it as default in Localsettings.php i get an error message [14:53:06] while i get no error message when i choose that theme from the special:preferences [14:53:24] its the latest mediawiki version [14:53:27] What's the error? [14:53:31] and the subtheme is based on this tutorial [14:53:32] http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/ [14:53:48] the error message is: Fatal exception of type MWException [14:53:53] !debug [14:53:53] 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:54:01] Skinning has changed a lot since Feb 2012 [14:54:56] ok [14:56:02] is there an up to date guide for creating a subtheme of vector? [14:58:33] Maybe not [14:58:48] yea, i couldn`t find one as well [14:59:19] is there an IRC channel that is only for skinning questions? [15:00:03] i want to suggest a new project for wikipedia... how can i do that? [15:03:26] Suloo: No, it's just here [15:03:28] ihopepeace: what do you mean? [15:05:58] Reddy: i want to change the reading experience of wikipedia... I have something in mind for that... How shoul I discuss it with community [15:07:41] Probably some mailing list, not sure which one though [15:09:39] Village pump maybe: http://en.wikipedia.org/wiki/Wikipedia:Village_pump [15:10:33] Thanks [17:14:12] hi all [17:14:58] when using "ImagickExt" as SVG Converter I get the following error: Exception from line 255 of includes/media/SVG.php: unable to open file `/tmp/magick-O3Xd7ERI': No such file or directory @ error/constitute.c/ReadImage/583 [17:45:16] hi, can I ask a quick question about setting up mediawiki? [17:45:31] legcmr: fire away [17:45:36] !ask [17:45:36] 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:46:03] I want to create a basic heading structure that's inherited by each new page. It doesn't look like templates are what I need, is there something else? [17:46:32] legcmr: What should the structure look like? [17:47:24] I want to set up various levels of headings to act as prompts for people creating new pages, so they'll be reasonably consistent [17:47:32] Ahhh. [17:47:39] You might need something more complex than wikitext [17:47:47] legcmr: I don't suppose you're much of a programmer? [17:48:06] I get by [17:48:14] legcmr: You *can* do this with templates - just make a template and make sure people use it [17:48:36] legcmr: But you might want to write a ContentHandler extension if you want to be totally sure...thing is, I doubt you can do that in the main namespace [17:49:03] would editors see the headings or the wiki code to include the template? [17:49:20] Don't we have preload stuff? [17:49:21] The wiki code, though you could use {{subst:}} to move the code into draft pages maybe [17:49:35] Reedy: Do we? That seems like the sort of ridiculous thing we would do, I guess [17:50:02] https://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text [17:50:08] Ooh, good call. [17:50:18] perfect, thanks Reedy! [17:50:34] !preload is https://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text [17:50:35] Key was added [17:55:10] can we put some really useful templates, like {{TOC}} into a default mediawiki install? is that unlikely to happen? [17:55:32] mutante: i think there's a bug about this [17:55:33] :P [17:55:33] it seems to me everybody wants them but has to copy/paste from elsewhere after setup [17:55:38] heh, ok [17:55:44] For Help pages at least [17:57:52] also, the enhanced RSS feeds extension stuff, feeds per category and all that, much better. i'd have to figure out how to suggest moving that code to be default Feeds code [18:46:15] is Extension:ShowRealUsernames preferred by more sites than Extension:Realnames? Realnames was last updated in 2011 [18:46:44] I've no idea [18:46:57] It's not in our git repos [18:47:01] The latter has an empty repo [18:48:11] the apiary only shows 13 sites using ShowRealUsernames [19:07:03] Things are looking good with new install