[00:43:13] Is `purgeOldText` supposed to delete any mw_text items that don't have a corresponding entry? [02:44:27] Hello. Is there such a thing as a completely user-controlled free MediaWiki host? [02:44:50] what do you mean by user-controlled? [02:45:22] Complete free choice of configuration settings, extensions, user groups, etc [02:46:30] you could look through https://www.mediawiki.org/wiki/Hosting_services [02:46:46] personally I've worked with people from ShoutWiki and would recommend them; they do have ads though [02:47:39] Ads are fine, as long as they don't completely spam the pages. However, I believe ShoutWiki requires you to be staff for complete control [02:48:02] Pretty much all of the free hosts listed have some kind of restriction like that [02:48:18] Oh [02:48:29] That's why I'm asking if there are any that don't [02:48:30] You want *direct* control [02:48:37] Yes [02:48:38] I doubt anything like that exists [02:49:26] Maybe if you find a free shared hosting provider or something? and then install MW yourself or something. [02:49:44] I want the ability to say "Hmmm, this extension looks like it could be handy. Click! Installed" - without having to worry about staff saying "No that tool is staff only" [02:50:14] so install your own version on your own host [02:50:16] completely-free would probably involve some kind of virtualisation to be secure [02:50:35] at which point you may as well get your own vps and be able to manage everything yourself [02:51:07] Getting my own vps? Ka-Ching! [02:51:21] my point exactly [02:52:28] My point is asking if there is a free MediaWiki host that allows full founder control [02:52:37] I could of gotten you what you wanted but my friend had to shut down his hosting service [02:52:52] no there isn't [02:53:07] Most of those I've researched eventually hold your site ransom, apparently. [02:53:20] founder control allowing arbitrary code execution (i.e., specifying your own extensions)? [02:54:25] Not specifying my own extensions, but being able to pick and chose which MediaWiki extensions and other settings I want, with no restrictions other than what's technically possible [02:56:15] pick and choose which MediaWiki extensions you want = specifying your own extensions [02:56:35] Okay, then yes, that's what I want [02:56:48] for free and with no limits [02:57:09] yeah [02:57:14] For free, and with the only limits being what's technically possible. [02:57:29] Not limits as what the staff feel like doing or not doing [02:57:32] I think being within the realm of technically possible was kind of implied [02:58:43] So basically there is no such host that allows complete control for free, anywhere in the World. Is that what you're saying? [02:59:07] Yes/ [03:00:20] *Amanda growls very loudly* [03:01:17] have you tried wiki.wiki ? [03:01:25] please don't growl at other users [03:01:43] Wiki.wiki is dead [03:01:49] :( [03:01:57] Attempting to create a wiki returns an error message [03:02:24] Saying 'We aren't creating new wikis right now. Please provide your email address and we will contact you" [03:02:32] https://wiki.wiki/Special:RequestWiki [03:02:48] I requested months ago and they never got back to me [03:06:21] I'm not so sure that I trust that site anyway - requiring users to request wikis rather than manually create them tells me that there are control restrictions [03:10:46] I guess my dream of hosting a fully independent MediaWiki site has officially gone down the drain after 3 months of attempts [03:13:08] Feel free to email me via amandaquad@yahoo.com - although don't bother unless you have a solution for me [03:13:47] Got an old, jailbreakable iDevice or an old Android device? [03:14:25] There are PHP/MySQL setups available. That's what I use. [03:18:41] good evening. Anyone good with the math parsing thing? [03:22:44] Hi Dragonfly6-7. [03:22:47] What's your question? [03:23:15] There's a weird problem with the article on chemical equilibrium [03:23:22] the problem's been present in the article since May [03:23:38] yesterday some anon (erroneously) changed "increase" to "decrease" [03:23:42] thsi resolved the parsing error [03:24:01] and when we try to restore "decrease" to "increase" the parsing error recurs [03:24:41] (er,'decrease' was erroneously made 'increase, rather. It should be 'decrease'.) [03:24:56] https://en.wikipedia.org/w/index.php?title=Chemical_equilibrium&action=history can you figure out what's gone wrong? [03:31:01] It sounds like caching. [03:31:20] We store math formulas as images by default still, I think. [03:31:31] Instead of generating those images for each reader, we store a copy. [03:32:10] go on [03:32:45] You can add a dumb space or something. [03:33:35] Hmmm. [03:33:46] You don't mean in the formula. [03:34:01] I mean, the text you're talking about isn't part of a formula. [03:34:06] It's just near one. [03:34:44] > Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "/mathoid/local/v1/":): {\displaystyle \left(\frac {dG}{d\xi}\right)_{T,p} = RT \ln \left(\frac {Q_\mathrm{r}}{K_\mathrm{eq}}\right)~} [03:34:53] Hmmm. [03:40:17] Yvette - any ideas? [03:46:49] hi Dragonfly6-7 [03:48:33] hello, Krenair [03:48:46] Yvette seems to have gone so I'm looking [03:49:33] I was looking at another task! [03:49:35] But I'm leaving soon, yeah. [03:49:45] Dragonfly6-7 always finds the most interesting bugs. [03:49:54] I'm also getting flooded with like 20 PMs. [03:49:56] From a spammer. [03:50:38] yeah, so are a lot of people [03:51:15] :-) [03:56:29] ugh, what on earth is this doing [03:58:32] Yvette - actually, I was asked about that one by another user [03:59:25] Dragonfly6-7: Yeah, you're a funnel for weird bugs. :-) [03:59:31] A proxy, whatever. [03:59:39] Good Lord with this spam. [03:59:43] ah, Risker just fixed it [03:59:44] There's some umode to block unregistered users. [03:59:52] Maybe it cached an errro? [03:59:56] error * [04:00:05] Risker probably just destroyed a test case. ;-) [04:00:15] Squishing the specimen. [04:01:05] ./umode +R [04:01:11] To block pm spam [04:02:54] Dragonfly6-7, what? [04:03:19] this sort of parser error should never result in "Math extension cannot connect to Restbase." [04:08:42] Okay so essentially [04:10:30] RB returns HTTP 400 [04:11:34] The actual error it has is [04:11:55] Expected \"-\", \"[\", \"\\\\\", \"\\\\begin\", \"\\\\begin{\", \"]\", \"^\", \"_\", \"{\", [ \\t\\n\\r], [%\$], [().], [,:;?!'], [/|], [0-9], [><~], [\\-+*=], or [a-zA-Z] but \"\\x0C\" found. [04:12:17] Well: Expected "-", "[", "\\", "\\begin", "\\begin{", "]", "^", "_", "{", [ \t\n\r], [%$], [().], [,:;?!'], [/|], [0-9], [><~], [\-+*=], or [a-zA-Z] but "\x0C" found. [04:13:15] got this out of $restbaseInterface = new MathRestbaseInterface( "{\displaystyle \left(\frac {dG}{d\xi}\right)_{T,p} = RT \ln \left(\frac {Q_\mathrm{r}}{K_\mathrm{eq}}\right)~}", 'tex' ); $restbaseInterface->checkTeX(); then dumping the result of $restbaseInterface->getError() [04:20:03] thank you [04:21:00] pfff [04:21:02] no ticket filed? [04:24:14] but "\x0C" found. [04:24:22] That's... familiar. Non-breaking space? [04:24:43] https://en.wikipedia.org/wiki/Page_break#Form_feed [04:41:23] \f in Python. [04:41:27] And elsewhere. [06:14:56] Is it possible to change the background color of -all- headers in a table at once? [06:15:07] I have a table with lots of headers and I'd rather not use 'style' for each header individually... [06:15:36] I've done extensive searches on mediawiki.org and via Google, but I can't find an answer. [06:16:00] And I've experimented with a variety of different placements and uses of style="background-color:#D8D8F5;"... [06:17:38] But if I specify "background-color:#D8D8F5;" immediately after my 'class' and before my headers, then my whole table becomes green [06:18:30] And if I specify ! style="background-color:#52A76F;"| before my first header, then it only changes my first header [06:20:49] Actually... I was initially going to use this instead of 'class' : {{STDT| sortable c_08 text-center}} [06:21:33] Unfortunately, the STDT style for sortable seems to give the "zebra" alternating row backgrounds. [06:21:58] ThunderC: Are you familiar with CSS? [06:22:04] Which wiki are you trying to do this on? [06:22:18] You probably want a CSS class that can style the whole table the way you want. [06:22:20] Not very, but i've used it in the past. I can try. [06:22:23] Similar to how class="wikitable" behaves. [06:22:32] Are you familiar with class="wikitable"? [06:23:31] Not very. [06:23:48] Well, it's a similar principle. [06:23:56] It applies styling to the headers and to the rows. [06:31:09] What kind of CSS class would you suggest for changing the background of an entire row? [06:31:11] tags, perhaps? [06:34:20] Is what I'm asking for really that unusual? It seems strange to me that such functionality is already a part of the MediaWiki markup. :( [06:34:54] I meant "is not" [06:55:31] ThunderC: CSS is edited separately. [06:55:33] !css [06:55:33] To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Vector.css is for the Vector skin (default), etc. For more information, see !skins and https://www.mediawiki.org/wiki/Manual:Interface/CSS [07:01:46] So, what I'm asking for is not possible without admin rights? [07:05:07] You can probably use inline styling. [07:05:12] It will just be repetitive. [07:05:15] !e TemplateStyles [07:05:15] https://www.mediawiki.org/wiki/Extension:TemplateStyles [07:05:18] Is coming soon.®™ [07:12:53] The installation on that TemplateStyles page says to, " Download and place the file(s) in a directory " [07:13:41] This does not sound like something for a wiki user, but rather something only the webmaster could do [07:14:40] Looks like my only choice is to insert this in front of every header: ! style="background-color:#52A76F;"| [07:15:16] seems a shame that no simple solution exists for something that sounds so simple [07:19:00] You could use a template. [07:19:08] Or ask an admin to edit the site CSS. [10:02:29] I was surprised that in 1.27 Usercreate template was deprecated and replaced with hard-coded markup in LoginSignupSpecialPage class. It seems that now there is no way to alter registration markup in any advanced way. [10:04:04] Are you sure? I think you just need to use AuthManager stuff now [10:33:43] Yep, maybe, though so far I did not find proper way to implement it [10:42:45] Vedmaka: here's a silly extension I wrote that adds a checkbox to the login form: https://github.com/wikimedia/mediawiki-extensions-UnCaptcha [10:43:38] legoktm: thanks [10:43:45] !e UnCaptcha [10:43:46] https://www.mediawiki.org/wiki/Extension:UnCaptcha [10:46:17] Vulpix: I haven't documented it yet because it requires a core patch that isn't merged [10:46:38] ok :) [15:22:46] Hello [15:23:11] Any way to import a wiki to ODT without access to it? I mean having the mediawiki syntax... [15:23:43] The wiki syntax is here... https://wiki.gentoo.org/index.php?title=UEFI_Dual_boot_with_Windows_7/8&action=edit [15:39:14] Hello [15:39:20] Sorry, I got disconnected [15:39:58] How to import mediawiki syntax to OpenDocument? I want to do my own booklet and the usual html output from web browsers is very noisy [15:40:12] https://www.mediawiki.org/wiki/Gerrit/Tutorial ; if I am making a new page then how can i implement the content section in that new page; i want to figure out that line in the source code of this link which provide content list to it. [15:48:08] timofonic: Special:Collection and mwlib could generate odt afair [15:50:09] saper: Is it used by some commandline or are there some example? [15:51:42] timofonic: yes you can install mwlib locally and feed it with wikitext [15:51:59] timofonic: http://mwlib.readthedocs.io/en/latest/basics.html [15:52:42] it does not support latest stuff and things like Lua extensions, but should work for your case [15:54:31] saper: Thanks. Can I use it on Windows? That's the only system I have now, as this is for making my Gentoo booklet :P [15:54:57] it's written in python [15:55:34] So I install Python3 and then this? But I'm not a programmer :P [15:56:18] saper: Or Python 2? [15:57:23] I'd go fo python 2 [15:57:45] timofonic: it's all described up there http://mwlib.readthedocs.io/en/latest/installation.html [15:58:12] ouch but it needs PIL and other stuff [15:58:36] saper: I tried panconvert but no luck, despite I installed multimarkdown and pandoc previously... [15:58:42] saper: ohh [15:58:55] so, yes, it can made to work on Windows [15:59:00] but it will be a pain [15:59:51] you might need to check this out http://www.lfd.uci.edu/~gohlke/pythonlibs/ [16:37:10] Hi there, I try to login to my mediawiki 1.27 with a python-script, using mediawiki's api.php. Does anyone know of a matching example code, as everything I found on google or stackoverflow uses deprecated (in 1.27) methods. [16:40:07] I dont understand how to fetch the correct token und how to correctly use the clientlogin-action in python using urllib2 [16:40:41] I startet with the first answer in this stack-overflow-post: http://stackoverflow.com/questions/3642313/in-python-mediawiki-authentication-from-cookies [16:40:51] I get the result "Need Token" [16:45:24] where can your code been seen / inspected ? [16:46:19] hi andre, my login-startpoint is in the first answer of that stackoverflow-link I posted above, my actually script is on github, just a second, I fetch the link [16:47:06] https://github.com/produnis/myscripts/blob/master/python/mwc2pdf.py [16:47:35] I fetch the wikicontent in lines 124-129 [16:48:00] produnis: do you know pywikibot? [16:48:05] My wiki's settings are, that you need to be logged in, in order to see the wiki pages [16:48:25] saper: no... [16:48:39] https://www.mediawiki.org/wiki/Manual:Pywikibot [16:48:52] it's a complete python library to do all of that [16:49:13] page = Page(pywiki.getSite('en'), u'Think') [16:49:14] oldcontent = page.get() [16:49:15] https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation I didnt know that.... seems to be worth reading... .:)= [16:49:16] thx [16:49:34] it is widely used and is kept up to date [17:12:43] saper: Could do you make me a favor, please? Can this be easily converted to ODT? https://wiki.gentoo.org/wiki/User:Timofonic/MyGentooInstall [17:13:46] saper: I'll replace the Gnome paragraphs with some instructions about a more lightweight DE, but it's approximate plan [17:55:10] saper: Excuse me. Are you there? [19:09:35] timofonic: a bit [22:50:47] Hi guys, [22:51:08] I am seeing the following message in the JavaScript console: [22:51:13] Use of "gM" is deprecated. Use mw.message( ... ).parse() instead. [22:51:36] But I don't see, where this warning would come from. [22:51:47] Is there a way to get a backtrace to fix this? [22:52:17] is this a brand new plain mediawiki install? do you have any extensions installed? and gadgets? [22:52:35] did you copy any code into pages such as Mediawiki:Common.js? [22:53:52] This is a grown installation, which I updated to MW 1.27 recently. Extensions are installed, Gadgets not. And yes, there is code in the MediaWiki:.js pages. [22:54:31] those would be your starting points [22:54:41] It would be helpful to get a backtrace so that I don't have to guess where this is coming from. I at least did not find any hits in the extensions/ directory... [22:54:58] It's gonna be a page onwiki [22:55:03] either site js or a gadget [22:57:36] The log.deprecate function says: "Create a property in a host object that, when accessed, will produce a deprecation warning in the console with backtrace." [22:57:46] Where is this backtrace? [22:58:07] All I am seeing is the one line (and that for each problem)? [23:00:42] set debug mode, and search via your browser? [23:02:54] Debug mode is activated. But the source code does not contain a hit. How would I now find e.g. an occurence of "gM"? [23:05:06] https://stackoverflow.com/questions/37685351/chrome-devtools-search-all-javascript-files-in-website [23:12:38] Hmm, I do now see the function definition and I see the code of the function, but that is all. The other hits are unrelated, e.g. a few signs in a CSS file or inside a base64 encoded string. [23:13:27] Should tell you what file it's on... [23:13:35] Got DB access? [23:17:53] hi. having some trouble with mediawiki. is irc good place for question? [23:19:16] Yes [23:20:19] i'll just ask. trying to copy a page from another wiki. did the export import all modules on the page. still looks nothing like the page im copying from. some of the code is showing on the page, I have CSS enabled already, i don't know why the code is showing instead of the stuff from the copied page [23:20:43] some of the code is showing as plain text, so it looks nothing like the source page [23:21:03] i'll guess it's not CSS. I don't know what it is. I'm stumped [23:26:06] Reedy: I mean I only found the definition of the gM function, not where it's used. [23:26:22] Reedy: DB access, yes. You mean I should search the text table? [23:26:30] Yup, that's what I'd do [23:27:42] Yeah, most likely better than trial and error in files, which I already searched without hits. [23:28:38] I took a note. Thanks for the input, guys! :-) [23:32:06] i'll be more specific. i'm trying to make a clone of liquipedia since they wouldn't accept any more games. i'm trying to import brackets and stuff like that. and having no success. anything there should be exportable right? there's no way they can hide pieces of code [23:32:29] so after exporting a page and all it's templates, and importing them. why am i failing to clone the page? [23:33:02] Missing extensions? [23:33:13] i'll take any related advice, if there are bracket templates somewhere else i'd gladly use them [23:33:28] ah, they might use some private code you say? [23:33:49] No [23:33:54] Is your wiki public? [23:34:17] the cloned page looks like it has raw CSS code showing, CSS is enabled so why would it show raw like that [23:34:40] example: http://23.94.38.188/index.php?title=Test [23:34:58] !parserfunctions [23:34:58] "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [23:35:08] You need to install that [23:35:21] thanks :D [23:38:52] hey, i already have the folder. it's missing some files from the 7z file. should i stay with existing version though? [23:39:12] i'll enable it without installing it. and see if it works. [23:44:16] so, add wfLoadExtension( 'ParserFunctions' ); to localsettings.php. correct? [23:45:19] ah, worked. thanks. more problems to sort out. i'll try do it on my own and only ask here as last resort. thanks again :D [23:45:26] Yes [23:46:07] You're gonna need various other extensions it looks like [23:46:40] i see that. i dont know why it didnt export all as i thought it did. BBL anyway. ty again :D