[00:59:38] is it possible to hide a page with namespace "123" etc [01:00:02] or restrict user from viewing namespace 123 [01:32:08] four: yes, but it's not really a good fit for mediawiki. see https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_viewing_of_certain_specific_pages for details [01:59:19] what ya mean? :/ [02:02:04] four: the page i linked explains it better than i can [07:22:54] good morning to you all (CEST). I feel the need to ask my question from yesterday again... [07:23:06] I have a problem with a freshly installed mediawiki 1.25.1 that generates "invalid" email address verification tokens during user registration. I noticed that clicking the link fails (token expired) and the expiry timestamp in the DB is NULL [07:23:12] I was able to reproduce on a different server, but only tried MySQL as a database backend. Which information is needed to determine if this is a software bug? [08:04:09] Ive installed years ago the Media Wiki 1.16.2 on my Server. Now I want to Update my Wiki to the latest release. Is there anything special about the Data Migration because its such an old Version ? [08:05:19] PatriceB, read: ://www.mediawiki.org/wiki/Manual:Upgrading#How_do_I_upgrade_from_a_really_old_version.3F_In_one_step.2C_or_in_several_steps.3F [08:05:32] https://www.mediawiki.org/wiki/Manual:Upgrading#How_do_I_upgrade_from_a_really_old_version.3F_In_one_step.2C_or_in_several_steps.3F [08:06:37] Thanks White_Master [08:06:49] PatriceB, not problem [08:57:35] hello everyone, i have got a question regarding mediawiki api https://www.mediawiki.org/wiki/API:Main_page usage in commercial business applications - is there any "official" contact person / contact address to hold talks? [09:04:16] More people than I expected, eh. [09:04:24] Well. Hello [09:06:57] I'm trying to understand the technical background of the software by understanding the code and using alive instances of it. [09:08:20] Speaking of, I'm researching on how it responds to HTTP requests. My curiousity was caught by how the URI, in many cases, always starts with /wiki/ in it's path. [09:08:49] So I'm asking, what and when are the cases where the /wiki/ path is different. [09:17:24] Hm. Apparently saying, it never does. [09:29:44] this may be a silly question to ask [09:29:55] but how do i move the quote or picture nearer to each other ? (http://postimg.org/image/9r38ep3zh/) [09:30:21] the code is as so in mediawiki template:quote page ([[File:quote.png|60px|caption]]) [10:28:08] Hi everyone! Tried to google but found nothing relevant. Can someone explain me what "gsrsearch' is? (media wiki api) [10:33:36] c64ping: g=generator, sr=search, and search=text to search. in other words, the "text to search" field of the "search" api when used as a generator for another API query. [10:34:22] (i think, at least.) [10:34:37] thank you MatmaRex [10:35:00] c64ping: https://en.wikipedia.org/w/api.php?action=help&modules=query%2Bsearch [10:35:46] just what I needed :D thanks a lot! [10:36:08] c64ping: and https://en.wikipedia.org/w/api.php?action=help&modules=query for a quick note of what 'generator' is [10:36:17] i wonder if we have better documentation for this somewhere [10:36:50] https://www.mediawiki.org/wiki/API:Query#Generators [12:07:48] hello [12:08:02] i would like to use a global variable that can be used on each page [12:08:28] for example $TeamMember1 = bla and that i can use $TeamMember1 on each page [12:08:38] what is best way to realise that [12:16:33] Hello and Thanks Thanks for the most awesome wiki engine ever [12:16:50] you're welcome welcome [12:16:56] I am migrating a couple of MW instances from a Debian7.3 box to Debian8.1 [12:17:00] any advice? [12:17:18] main reason for migrating is that git is busted on the old machine [12:17:39] and maintaining extensions is not fun if no git [12:19:41] What should I do about the extension situation.. Copy the manually installed extensions required for the sites to work or..? [12:20:10] hello, I've got an issue with the php dumpBackup.php script. My goal is to migrate the data from my current MediaWiki setup to Foswiki setup. The xml created with this php script has issues creating the links for the subpages. So having imported the data to Foswiki, I can see the pages, but there are no links for their subpages as in the Mediawiki layout [13:07:34] What was the quick-and-easy way to put up a sidewide banner [13:08:01] I need to warn people on couple of wikis that in the next couple of days the migration will be done and uploads / edits may be lost [13:10:17] !sitenotice [13:10:17] Sitenotice is a wiki-wide message that appears at the top of the page for all users. It is editable by users in the sysop usergroup at [[MediaWiki:Sitenotice]]. See also: !anonnotice [13:10:57] ^ should probably include a link to the mw manual [13:13:27] thanks Glaisher [13:17:10] !sitenotice [13:17:10] Sitenotice is a wiki-wide message that appears at the top of the page for all users. It is editable by users in the sysop usergroup at [[MediaWiki:Sitenotice]]. See also: !anonnotice [13:17:12] !sitenotice del [13:17:12] Successfully removed sitenotice [13:17:27] !sitenotice is Sitenotice is a wiki-wide message that appears at the top of the page for all users. It is editable by users in the sysop usergroup at [[MediaWiki:Sitenotice]]. https://www.mediawiki.org/wiki/Manual:Interface/Sitenotice See also: !anonnotice [13:17:27] Key was added [13:19:24] ty [15:43:22] so, I'm a bit confused: I was using the ResourceModuleLoader thing, and it randomly stopped working [15:44:30] I'm developing an extension, and some custom CSS to go along with it, and while the extension I was developin is still working, the CSS doesn't load anymore [15:46:50] It was working last night. I'm using mercurial, and as soon as I got it working, I committed. I reverted back to the when I committed and it was working, so I know for a fact every thing is identical to how it was, and now it's broken [15:50:40] diginet: so you have that code running on some public site where we could look? [15:50:55] (or have the code publicly available?) [15:51:21] MatmaRex: yeah, wiki.kdx.me/Lacuna (the thing in question is the table which currently has C code in it, it's supposed to be style) [15:51:24] *styled [15:52:20] my CSS has a green rounded border and zebra stripes, which for me do not show up [15:57:40] diginet: what is the name of the resource module which should provide these styles? whatever it is, it doesn't seem to be loaded. [15:59:03] ext.kdxwiki, i assume [15:59:51] MatmaRex: yep, let me put my extension.json in a pastebin [16:00:03] the weird part is that the tag extension is clearly loading [16:00:24] diginet: when i run `mw.loader.load('ext.kdxwiki')` in browser console, the styles appear. [16:00:41] MatmaRex: ...odd [16:00:54] diginet: so it seems to me that you're not doing $this->getOutput()->addModules('ext.kdxwiki') (or similar) somewhere in PHP [16:01:59] MatmaRex: here's my extension.json: http://pastebin.com/qAZBcqms [16:02:27] what's weird is that, as I said...it was working in precisely this same state last night. [16:02:42] so where would I add that? [16:03:57] or rather, what exactly should I add? I thought putting it in the json was enough? [16:18:24] diginet: sorry, i got distracted [16:18:42] diginet: probably in the parser hook where you handle the tag. [16:18:44] MatmaRex: no problem [16:19:03] MatmaRex: so I have to do that, in addition to declaring it in my json file? [16:19:28] yes. declaring the resource module does just that, it declares the resource module, making it possible to load it. it doesn't automatically load it anywhere. [16:20:31] MatmaRex: ahh...so, forgive me for being dense, but how do I load the module? There seems to be different manners in which to do so [16:21:53] diginet: since this provides styles for your parser tag's output only, you'll want to add it to the ParserOutput object ($pout->addModules('ext.kdxwiki')). you should have access to one somewhere where you're handling the tag, i don't quite remember how that's done [16:22:30] okay thanks, that at least gives me a jumping off point [16:22:49] diginet: other common approach is to do this in BeforePageDisplay hook, if your styles needto apply to all pages [16:23:04] (there, you call ->addModules() on the OutputPage object) [16:23:18] thanks so much for your help, I was racking my brain trying to figure out whats up. I think what happened is that, I had tried to declare it with PHP, and through caching or something the wiki ended up in a intermediate state [16:24:17] while I have you: one other question: I'm trying to develop an extension that creates a sort of "anonymous" subpage. What I mean is that I want to be able to edit little snippets by themselves, without them showing up in the TOC. Is there something I hook into for partitioning pages? [16:25:17] diginet: i'm not sure if that's possible, last time i looked there, the table of contents generation was pretty heavily hard-coded [16:25:19] :( [16:25:36] I see, and are the little edit buttons hard coded as well? [16:25:56] in any case thanks for the heads up...I won't bother with it too much if so [16:26:10] thanks so much for everything [16:26:51] diginet: they too, but not quite as badly hardcoded. there's a SkinEditSectionLinks hook which lets you modify them. you can't remove or add secitons using it, or anything like that [16:35:17] MatmaRex: oh one other things, for json, I don't suppose there's any module equivalent of the AutoloadClasses field, is there? [16:36:44] diginet: no [16:36:51] I see, well thanks [16:42:24] We're asking MediaWiki users to take a short survey to help better understand how they use MediaWiki. Please take a moment and fill out the survey at: http://hexm.de/MWSurvey [17:04:13] ricordisamoa doesn't like gerritbot to share in joy https://phabricator.wikimedia.org/T37707#1454373 [18:44:55] I want to reset my Admin password from the command line...any advice? [18:48:55] Howie_, maintenance/changePassword.php ? [18:55:02] Hello. I've inherited a MediaWiki site through my place of employment, and as its been a few years since anyone used it, no one has records of the admin username/password. How can I find out this information and/or transfer the admin rights to another user? [18:56:07] MarWat: There's a command line script called maintenance/createAndPromote.php that you can use to create a new admin user [19:02:13] RoanKattouw: Do I need to install the MediaWiki software to do that? [19:02:32] MarWat: You need to ssh into the server that runs MediaWiki [19:03:42] Okay. Thanks for your help! [19:18:12] !instantcommons [19:18:12] InstantCommons is a feature for MediaWiki 1.16+ that allows any MediaWiki installation to use media on the Wikimedia Commons. This has basically been realized via $wgForeignFileRepos. See . If you're only looking to use images from Wikimedia Commons and no other wikis, you can use the shortcut setting $wgUseInstantCommons to true. [19:27:37] anyone know why $wgUseInstantCommons = true; wouldnt be showing images? [19:29:31] Likely https://gerrit.wikimedia.org/r/#/c/218531/ [19:29:41] Which is in master and all release branches, just not out in a stable release yet. [19:31:33] ostriches: Nope, Im using a fairly recent checkout of master [19:32:30] Just tried an upload by url and mediawiki threw a HTTP request failed due to unknown error. when using an HTTPS link [19:38:22] If I want a module of an extension to expose a function to another module that depends on it, what would be the cleanest way to do it? Is there like an 'ext' global object or something that I can append to, like in VE? [19:43:36] Betacommand: if the HTTPS certificate fails to validate, the upload won't succeed. This may happen if the server doesn't have root CAs installed or updated, or the target site has an issue with the certificate (untrusted CA, expired, etc) [19:44:14] ferdbold: mw.{extension}.function [19:45:33] legoktm: so mw.{ext}.{foo} = function ({bar}) {}, correct? [19:48:38] ferdbold: yeah [19:49:05] nice, thank you [20:13:14] Vulpix: Im using the standard ubuntu certs [20:13:37] is there anyway to checkout from the old svn repositories? [20:28:54] diginet: why? [20:29:09] Betacommand: there's an extension that is only on there [20:29:14] I can't find it anywhere else [20:29:31] diginet: it wont work [20:29:38] ahh [20:29:57] I know, I just wanted to look at the code [20:30:07] so what are my options? manually copy and paste? [20:30:16] diginet: abandoned projects are what was left [20:30:38] diginet: what extension? [20:30:45] the purge one [20:30:51] https://phabricator.wikimedia.org/diffusion/SVN/browse/trunk/extensions/Purge/Purge.php [20:30:58] copy and paste screws everything up [20:31:04] plus the i18n file is longer [20:31:20] and Download File doesn't work [20:31:27] let me look [20:35:35] someone can help me? [20:36:08] never mind, I figured something out [20:36:27] dexter94: what is your issue [20:38:02] i have a problem concerning the plot in octave [20:38:47] expecially about the nyquist plot [20:39:12] every time i try to plot it a window appear but nothing in plot [20:39:51] i tryed to change the grapich editor from the defalt one to gnuplot but nothing in changed [20:49:23] so anyone? [20:54:37] dexter94: Is this a MediaWiki issue? [20:55:47] the octave site resend me here for help [21:00:59] octave seems to have nothing related with MediaWiki, apart from having a MediaWiki site (wiki.octave.org) [21:26:53] Hey guys, would need some help with plugin development(if a plugin is needed for this) [21:28:03] ask away, someone will help [21:28:49] I got a platform with own userdatabase, [21:29:15] now I want to use mediawiki for documentation and stuff [21:29:24] authentication is not the problem [21:30:07] I would need a feature, when you click on the username of a page author, you should be redirected to the userpage on the platform [21:30:45] I thought to do it in nginx config and use a location rewrite [21:31:02] would there also be an easy way to achieve this in mediawiki? [21:36:26] hauck-d: you could write a very simple extension [21:36:41] that links the user page to a different site [21:36:42] ok, with a redirect hook? [21:37:41] perhaps you could lock the userpages [21:37:46] and make them redirect by default? [21:38:58] Sorry, but I am quite new to mediawiki stuff, is it possible to do that by default? redirect all pages with User: ? [21:44:00] not sure, i haven't worked with extensions before [21:44:09] i doubt it is possible default [21:44:35] Ok, great, thanks :) [23:37:43] hi, on mw.org/Manual:Short_URL/Apache I see RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/w/index.php [L] .... my question is why doesn't that have the [QSA] flag also? [23:38:42] I mean, if the URL is x?action=edit .... doesnt [QSA] preserve the ?action=edit ?