[00:00:37] CZauX: I think you should only cache article pages (Eg. /wiki/), not logn ones like /w/index.php?action=edit&title=... [00:01:06] it will also send purges for pages affected by this page (reparsed through the job queue), though [00:02:37] When I was logging the purge commands from Mediawiki, it seemed to only send send the PURGE method, and then you'd take the requested URL and purge that. I don't know how Squid would remove other pages from that [00:03:11] Which is why I'm confused on setting up varnish properly. Either you cache everything and set rules to not cache specific things, or you cache only specific things. [01:01:41] hi, addPortletLink() has been deprecated lately? [04:33:27] <_frozen> Question: Users has started to work around spam protection by creating spam accounts that shows up on the Recent Changes list. Is there a way not to announce accounts created on the recent change list? [12:43:23] Hey there. Can someone help me to aktivate this extension? https://www.mediawiki.org/wiki/Extension:WYSIWYG [12:49:37] Brender: Hi. Have you looked at visualeditor? [12:50:45] !ve [12:50:45] VisualEditor is a project to create a simple editor for MediaWiki that would make it far simpler for people to contribute to Wikimedia projects. See also https://www.mediawiki.org/wiki/VisualEditor and #mediawiki-visualeditor channel. [12:50:50] Brender: ^ [12:53:56] i know this extension but i dont know how i nstall "parsoid" [12:54:01] it´s very hard... [13:01:44] Brender: You can try. :) I'm sure people here will try to help if you run into issues. [18:30:31] Anyone awake and familiar with the 3rd party DPL? [18:30:54] which of the two [18:32:21] I need some help with DPL and getting something to sort. And the DPL help manual is, well, a technical manual which makes no sense to the non-technical minded. I have a similar DPL sort working, that I SEE how it sorts, but... it's not actually working when I adjust/edit it to do what I need for this second sort method. [18:40:19] ElmerG: I hope you understand you're not being clear at all… [18:43:04] Okay. I have a template set up, and I need to get a DPL sort set up to display all entries with a certain set of categories, then pull entries from that template to fill in a table. [18:43:42] Another person provided me with a working version of the DPL sort, which I am trying to edit to do what I want. It will not function appropriately, however, and I cannot find out why. [18:44:16] Er, do what I want for this other template. It functions on the first template, but not on the second. [18:45:38] ElmerG: providing the DPL query you're trying to execute may help [18:45:59] Let me link it, one moment. [18:49:37] http://rfkmush.mwzip.com/wiki/Test. I was trying to build off of the bottom two DPL calls (which both work), for the top one. The top one SEEMS like it's working, as it is not giving me the 'no articles' error, but I can't get it to pull those entries from the template VampTemplate. [18:54:37] ElmerG: from what I understand, it pulls articles that are inside Active, Alive *and* PC. There seems to be only one page: http://rfkmush.mwzip.com/wiki/Owen_Daniel_Forrester_Savidge [18:54:56] Correct, there is only currently 1 page that matches. [18:55:26] But it's not pulling any of the actual information from the template, which is filled in and has the appropriate clan/covenant/etc. stuff filled out from the template. [18:55:41] but also you use the include condition, to extract only the contents of the template: VampTemplate, but I don't see this template in that page's wikitext [18:56:19] ... I am a moron, thank you. [18:56:28] yw :) [18:57:15] I changed the template title from one wiki to another, and... voila. Thanks. :) [18:59:28] good! [19:05:02] That's great, thank you so much oh wonderful fire fox pokemon! [19:10:28] !next [19:10:28] Another satisfied customer. NEXT! [21:17:31] hey, quick question: what is the best convention for assoc arrays, [ 1, 2, 3 ] or [1, 2, 3]? Codesniffer accepts both and coding conevention is so outdated that suggests array() [21:17:51] legoktm:hey, I think you are an expert on this matter ^ [21:18:04] I'd presume with the spaces [21:18:11] we'd use array( 1, 2, 3 ) [21:18:23] So using [1, 2, 3] looks weird (IMHO) [21:19:24] without spaces is actually the convention in python, so I feel comfortable with it but for an obviously incorrect reason [21:19:41] [ [21:19:44] 1, [21:19:45] 2 [21:19:47] damn it [21:19:48] 2, [21:19:50] 3 [21:19:50] ] [21:19:51] :D [21:19:55] no spaced needed [21:20:06] :D [21:20:16] I use with spaces [21:20:21] thanks Reedy [21:33:47] Amir1: i think legoktm mentioned that he considers the fact that codesniffer accepts space-less [1, 2, 3] a bug [21:34:04] hmm [21:34:21] thanks, I think I need to check my extension and clean them [22:32:22] Hi pals, have a dream, hope to improve my wiki site. [22:33:14] I dream of popup messages that show on mouseover, if a user moves mouse over some text, he sees an additional message. [22:33:38] The simplest way is to use tag. [22:34:10] In this case the details will be in status line or in small popup help. [22:34:15] Is there anything else? [22:39:20] Or to use tag. [22:39:35] Yet this way makes me to dream a bit more. [22:44:24] PMZ_: use the title attribute on a span? Normal text goes here [22:44:42] Oh, wow, let me check... [22:44:46] pretty sure the sanitizer lets that through [22:45:37] works better, underscores the key word. Yet the dream is a bit larget: [22:45:40] larger: [22:46:17] Say, I use Ivanov. [22:46:36] On mouse over Ivanov one may see the popup "full name". [22:47:02] In some place on the same page there is
  • Ivan Ivanovich Ivanov.
  • [22:47:37] So there is a list of names mentioned in this page. And those names somewhere on the page. And these names on the page are inside tags. [22:48:40] The obvious hope is, check the value (!) inside each ABBR, find that value in some list, get the LI element out of that list, show the LI value in popup. [22:49:37] So to have typical Petrov around Petrov name, and to have something showing me Petrov's full name. That full name is in the
  • on the same page. [22:49:43] you'll need js for that [22:49:47] no way to do that with just markup [22:49:54] Ok, why not. [22:50:14] because it isn't possible with just markup [22:50:25] Yes, I understand. [22:50:37] What way to look at, what key words to check? [22:50:47] I do not understand your question then [22:51:43] you will need to create custom code in order to show "rich content" (e.g. not plain text) within popups, or to style the popups differently [22:51:43] I haven't written any js for years. May you please help me with some key words for I could dig into? [22:52:05] check the mediawiki library documentation; there likely is already something for that there [22:52:26] beyond that, mw uses jQuery which makes your job of searching through the DOM easier [22:52:55] You mean, jQuery loads with every page? [22:53:37] yes [22:56:40] Thanks! [22:57:24] PMZ_: in particular, you'd likely want to check out https://www.mediawiki.org/wiki/ResourceLoader/Modules#jquery.tipsy [22:58:09] that plugin is bundled with mw, so you don't need to bring in any extra libraries (or roll your own) [22:58:25] you can make use of it via the mw.loader.using() example given in that section [23:40:32] Hi pals, I am making a template with cyrillic letters inside, and I write like this: [23:40:38] {{{1}}} [23:41:08] I want {{{1}}} to be a cyrillic word both as id and as content. Yet it works only as content. [23:41:20] The id becomes encoded. May I prevent this? [23:42:37] The id becomes encoded like -- .D0.90.D0.BB etc. [23:56:56] I mean, may I avoid anchorencode? [23:58:25] PMZ_: normally not. if you're the wiki admin, i think there's a config option to disable it [23:58:43] i mean, not admin, but "owner". if you have shell/ftp access. [23:59:07] $wgExperimentalHtmlIds = true; [23:59:11] !wg ExperimentalHtmlIds [23:59:11] https://www.mediawiki.org/wiki/Manual:%24wgExperimentalHtmlIds [23:59:25] Got answer: class is not encoded, id is encoded.