[03:30:40] is it possible to search for pages that are only in multiple categories. ie, search for pages in both category A and category B for example [03:30:47] boolean AND [10:00:21] Hi, I'm using a template with variable on page1, I'm transcluding this on page 2. Can I use a Magic word on page1 for the page name, so that when transcluded, it's still the name of page 1? [10:03:47] Meaning, the magic word for the page name should expand to the name of the page where it was written, and not change on transclusion. [12:26:20] Hi, is there a way to translude, or list all the pages to they can be automatically be transcluded from a category? [12:53:14] zofbot [13:06:18] Damn, a combination of substitution, magic words and transclusion should work to make the pagename substitute only on the first page that implements the template, but I can't find it. [15:06:15] Hello, im looking to have a pop up display when folks first visit the wiki, is there any extension that could help with this functionality? [15:26:27] Invitation Age of sail at #AdventuresofChat [15:35:41] finalbeta: if Template:A contains {{safesubst:B}}, then doing {{subst:A}} on a page will cause Template:B to be subst'ed as well [15:35:44] is that what you're after? [15:36:21] as for transcluding all pages in a category, you'll need an extension like DPL for that [16:32:03] * revansx[m] sent a long message: revansx[m]_2018-06-05_16:32:02.txt [16:38:20] There seems to be lots of stories about CA Policy Agent not playing nicely with MW as a SSO agent, but the CA Policy Agent folks maintain that CA is not capable of causing an issue like this. Ultimately, what I'm hoping for here is insight about whether or not ```Auth_RU``` is the culprit or not of a "son-offirst-save-bug" reprising after all these years. Thoughts? [16:44:52] **[tl;dr version]** -- hey, I noticed that the ```_session``` cookie isn't set until you make an edit. Is this normal? I'm also seeing a problem with the first save not working, so I thought this might be the cause. [16:46:56] Skizzerz, I want to use {{BASEPAGENAME}} in the template, and have it expand to the name of the page that uses the template. [16:47:52] But if another page transcludes (part of) that page, I want the {{BASEPAGENAME}} to remain the nameof the first page [16:48:28] so {{BASEPAGENAME}} can only expand on the page that directly uses the template, but not on pages that themselves transclude that page again; [16:48:40] (sry,, I know that sounds complicated ;) ) [16:48:42] are you substing the template or just transcluding it? [16:49:24] if subst, use the safesubst trick I mentioned [16:49:55] if transclusion, then you'll need to use a lua module via Scribunto; it is not possible to achieve that behavior using only wiki markup as far as I know [16:50:21] I have 3 pages, the first is a template, the second is a page that uses the template. {{BASEPAGENAME}} as used in the templat must expand to that page name. [16:50:44] another page will translude that page, but at that point, {{BASEPAGENAME}} must not change to that other page [16:51:18] yes, so either the middle page subst:s the original template (thus embedding the template code in that page, and also subst:ing BASEPAGENAME to the actual page name) [16:52:19] Skizzerz, ideally, that first page doesn't have to send a variable to the template, and if it does, it has to stay "code" on that page. [16:52:44] (that way people will be able to just copy paste the code of the page, else they will make mistakes every time) [16:52:56] the issue is, when expanding templates it literally just recursively copy/pastes all that code onto your end page behind the scenes [16:53:07] it doesn't keep track that the {{BASEPAGENAME}} originally came from page X [16:53:49] ping legoktm for help with revansx's query above [16:54:14] (maybe someone could point us to a session guru?) [16:54:19] actually looks like you can't walk up the call stack using lua either [16:54:25] yes, that's why I tried using includeonly on the template page. and then {{BASEPAGENAME}} showed up on the page implementing it, but substitution didn't work; [16:55:03] something like {{safesubst:BASEPAGENAME}} (but didn't work as I expected it) [16:55:15] the subst: stuff only works if you're subst:ing the original template [16:55:50] which causes the expansion to happen on save, and it saves the expanded form instead of the template transclusion [16:56:10] (so no direct link to the original template exists, and modifying the original template will not modify that page) [16:56:26] ah, I see, i don't realy want that, I want template changes to reflect to al pages implementing it [16:56:48] without an extension, it looks like what you want is impossible [16:56:48] Skizzerz, thanks for explaining the limits. (no is also an answer :) ) [16:57:06] there might be an extension that does that, but I'm not aware of it [16:57:49] yeah, too bad, I guess we will just have to type the page name as variables a few thimes. [17:00:21] I'll have a look at the extention you mentioned dynamicpagelist. And see if it combines with tranclusion. [17:00:41] (I want to translucde part of each page in a category on a seperate page) [17:36:52] saper: Are you there? [20:00:53] \q [20:00:55] \q [22:11:56] TheMontyChrist: to format math equations, use Extension:SimpleMathJax https://www.mediawiki.org/wiki/Extension:SimpleMathJax [22:19:52] Does the mod operator work with magic words (in templates and such)? [22:20:05] (any mod operator; if one does, what would that operator be?) [22:21:32] (for example, with {{#ifexpr:) [22:21:39] whops. I meant {{#ifexpr}} [22:25:11] https://github.com/wikimedia/mediawiki-extensions-ParserFunctions/blob/master/includes/ExprParser.php#L179-L387 [22:25:13] He's gone