[00:16:07] is there a video player extension that integrates with visual editor? [00:17:52] if any did, it'd probably be TimedMediaHandler, since that's on wikipedia [00:27:36] I was more thinking of one with which i can embed videos from youtube and such...... with an integration in visual editor so that in the "Insert" menu there's something like "YouTube Video" or "Embedded video" or so [01:10:17] Hello [01:10:43] "File:Python.png|link=Python" [01:11:06] How can i add link to search for keyword "Python" ? [01:11:34] and maybe to show category Python? [01:14:39] Druid05: |link=Category:Python should work [01:14:55] Link=SpecialLSearch/Python maybe [01:22:42] p858snake|L2_: thanks :) [01:23:14] that should read Special:Search etc etc [13:48:13] Hi, is there a way to put header tags inside templates such that users can fill out content below without using parameters? [13:48:19] content below headers [13:49:27] I'm not sure if I understood, but yes, you can include headers inside templates [13:50:27] use html headers (

etc) to avoid edit section links appearing on the page, that will edit the template instead of the page [13:51:18] Vulpix, Thanks, however i got more than 2 headers, but I can't seem to fill in content between the 2 headers without resorting to parameters [13:51:46] but i would also like to maintain the use of the WISWG editor when filling out the content [13:52:34] why do you want to use templates for this and not normal wikitext? [13:53:04] I am using VisualEditor btw [13:53:23] of course, templates need parameters if you want to fill things that should appear inside it [13:53:32] basically, for a certain category, I wish to force users to use a certain page layout that has predefined headers [13:55:35] unless you use Semantic Forms (and I'm not sure about the support of VisualEditor + Semantic Forms btw, there's no way to do that apart than pre-filling the wanted layout on page creation [13:57:20] you can pass a "preload" parameter to action=edit (I don't know if that works with VE) to prefill the edit box with the content of another page. https://www.mediawiki.org/wiki/Extension:InputBox has a parameter for that [13:57:44] https://www.mediawiki.org/wiki/Manual:Creating_pages_with_preloaded_text [13:58:13] Ah thanks alot Vulpix! [14:03:10] Vulpix: semantic forms and VE can coexist: [14:03:39] * if you choose the visual editor, your templates are editable through the VE interface, with a templatedata documentation if any or the raw fields if not [14:04:01] * if you choose the form editor, you only edit the relevant templates [14:04:42] good to know [14:07:24] the UI could be puzzling "edit with form" "edit" "edit source", could be valuable to create MediaWiki:formedit to put something more descriptive like "Edit metadata" [14:39:59] Vulpix, how do i edit the edit button to include the preload param? [14:42:42] slushpuppy: writting PHP code, or with JavaScript, but basically MediaWiki can't make the edit links contain the preload parameter with normal operation [14:43:00] darn, ok thanks alot Vulpix [16:17:17] Hi there. I'm finding time and time again that pages in the not-main namespace are not being invalidated by changes that affect them, and thus may persist for up to half an hour. Where as a change in the main namespace starts affecting everything with 2 or 3 things done per page request (great system) how do I control these settings on a per-namespace basis? [16:31:31] Hi, is there a way to set the cache expiry for page transcluding? [16:34:31] slushpuppy: For normal page transclusion we automatically expire the cache whenever the page changes [16:34:46] If that's not working on your wiki, the job queue may be misconfigured [16:35:49] bawolff, I am trying to implement some sort of automatic Today's featured article. I got https://www.mediawiki.org/wiki/Extension:BedellPenDragon#Random_page_in_category [16:36:16] and it is showing up random pages like it should, I am wondering if there is a way to cache page transclusions for a day or so [16:39:36] slushpuppy: ok, so that's a tag extension inclusion, so there is no automatic cache invalidation [16:40:45] In the code, you can do stuff like $parser->getOutput()->updateCacheExpiry( $numberOfSecondsToCachePageFor ); [16:41:16] if you don't have access to code, just putting {{CURRENTHOUR}} anywhere on the page will reduce the cache time by quite a lot [16:41:20] but that's hacky [16:42:45] if you don't have access to code, just putting {{CURRENTHOUR}} anywhere on the page will reduce the cache time by quite a lot <-- I can change that to date of the month to get daily updates yeah? [16:44:09] both {{CURRENTDAY}} and {{CURRENTHOUR}} will make the page be regenerated once an hour [16:44:43] {{CURRENTMONTH}} causes max cache time to be 24 hours [16:48:01] ok ty [17:56:07] hi, I have a problem about common server. I have a wiki with 5 languages. I want to make wikibase and common for it. What I must do? Where I can find a documentation about it? [17:58:33] ainalavi: https://www.mediawiki.org/wiki/Manual:Wiki_family [17:59:54] Thank you. Are there any data that is necessary to know? Are there further information? [18:01:20] ainalavi: none that I'm aware of, but feel free to ask specific questions if something about the manual is not clear [18:02:11] Thank you [20:03:22] what is the extension that lets me show transcluded templates? I'm trying to debug an infobox rendering as ... instead of the actual infobox [20:06:05] Special:ExpandTemplates ? That's part of core now [20:06:23] ah [20:06:30] will look into that. thanks [20:07:58] hm [20:08:10] that expands templates but it doesn't show which ones were used [20:09:52] Special:Whatlinkshere will show you what templates are on a page [20:10:06] And when you preview a page, there's a box near the bottom listing all the templates [20:10:21] toulouse: are you talking about the thing that's below edit windows? [20:10:27] yeah [20:11:01] TemplateSandbox ? [20:11:36] will look at that [20:11:38] thanks [20:12:35] toulouse: the code that actually does it is in includes/EditPage.php [20:12:47] dunno what that means about whether its an extension [20:13:28] on a related note, why might i be seeing HTML tags? I'm thinking there's something I'm missing because as far as I can tell that's what the template outputs, but it works on the original wikia I'm exporting from [20:13:51] They probably have an extension to generate infoboxes [20:13:56] ^ [20:14:07] hrm [20:14:52] aha. PortableInfoboxes. [20:14:53] thanks [20:16:43] bingo: https://github.com/Wikia/app/tree/dev/extensions/wikia/PortableInfoboxBuilder ...not sure if portable though [20:20:19] Wikia is stuck in MediaWiki 1.19 and the code is extremely modified, I doubt it would work on any other wiki without hacks [20:20:32] dang [20:22:07] infoboxes aren't a wikia invention, you can come up with good or better ones with normal wikitext and parser functions [20:22:40] yeah, but i'm transferring a wiki out [20:22:46] so this sort of makes it laborious [20:23:17] ironic that PortableInfobox has lockin because it's non-portable -_- [20:23:19] try to not use wikia-propietary extensions next time ;) [20:54:03] How does one create a table of Contents on the Main page that is hierarchical and automated when you create new page in a particular "category" .. should I use categories or Namespaces? Im basically starting start startup I work for [20:54:25] I only have a few pages so far [20:54:33] but will have many and want to automate the ToC [20:54:42] the only way I know is using CategoryTree [20:54:50] !e CategoryTree | klow [20:54:50] klow: https://www.mediawiki.org/wiki/Extension:CategoryTree_ [20:56:31] Interesting, OK Ill take a look at that.