[00:33:54] is there any way to make special:whatlinkshere exclude links from transclusions? [01:07:48] Hello71, using the Hide transclusions button? [01:16:37] Does anyone know why the ordered lists randomly continue across sections on my site: http://www.halachipedia.com/index.php?title=Bread ? I don't want them to continue. [01:32:21] What's the difference between the parsing when I using show preview and the regular page because everything is fine when I use show preview but when I save it the indentations are all messed up? [05:43:38] hi, can one say me what save does it mean? http://imageshack.com/i/ey3nV0Hdp [05:49:50] i'm getting a problem with the math extension on REL1_25 [05:50:07] Class 'MWLoggerFactory' not found in extensions/Math/MathRenderer.php on line 175 [07:55:37] heyho, i want to make a template, that can be load by users when they make a new article. is it possible? [08:02:35] something like a link called "new Article" in the navigation. then there is an empty site where you can write the article name, and preset topics [11:48:57] Hi.I'm from Russia.I don't know English and use a translator. Can you help me. How to make a mobile version of mediawiki template:Ambox display(looked) just like in the regular version of Wikipedia. [11:57:51] Please can all the branches be pushed to the github mediawiki mirror? They were there until yesterday morning. https://github.com/wikimedia/mediawiki/branches [12:11:40] Firefishy, hmm.. not sure what's gone wrong there [12:15:36] i've asked in #wikimedia-operations who run gerrit [12:18:58] coolio. Thx [12:54:02] Is it possible to use external css files on specific pages in media wiki? Forexample when i want to make good looking tables the mediawiki syntax is very limited [12:58:38] !css [12:58:38] 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 [12:58:50] stangeland: Every page has page-specific class on the element. [13:02:35] Fiona, so if this is my wiki site: https://wiki.something.com/index.php/CoPaaE what is the corresponding css file then called? [13:04:59] stangeland: You can edit the page "MediaWiki:Common.css". [13:09:54] is it not valid to put this on my wiki page? http://paste.ubuntu.com/11391436/ [13:10:35] when i render the page, the are printed on the page as if ignored by the code parser [13:11:27] hello, ori is online? [13:14:28] any1? [13:22:22] Sasan: if you ask your question, perhaps someone else can assist you ? [13:23:44] stangeland: mediawiki indeed does not use thead and tbody tags. [13:30:49] in my wiki, i installed collection extension [13:31:15] but when i press downlaod as PDF, it show mw error: error in rendering book [13:31:21] what is its probelm? [13:33:07] Sasan: At a guess, there is a problem with the render server. https://www.mediawiki.org/wiki/Extension:Collection#Set_up_your_own_render_server [13:33:31] But I have never instaleld or used Collection, so it's really just a guess. You may need to collect more information [13:33:34] !debug | Sasan [13:33:34] Sasan: For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [13:33:40] * DanielK_WMDE waves at thedj [13:34:30] stangeland: seems to me like mediawiki should allow and . Perhaps file a feature request for that. [13:34:41] i see no reason not to allow them. [13:43:12] kudos for the MediaWiki:Common.css. That is really really useful [13:52:08] hi, when i use the mediawiki to search for X and i know X occur on several of my wikimedia pages, how come i only get a single hit when i search for X? [13:52:26] i'm getting a problem with the math extension on REL1_25 [13:52:32] Class 'MWLoggerFactory' not found in extensions/Math/MathRenderer.php on line 175 [13:54:45] DanielK_WMDE: hi [13:57:09] DanielK_WMDE, do you have any idea about this? [13:58:39] is this woth pursuing as a replacement for the builtin search engine? [14:06:10] UserProd: Did you try running `composer update` in mediawiki directory? [14:06:19] * UserProd tries [14:06:58] i don't have composer installed [14:07:02] what does that check/ [14:07:27] composer is the package manager mediawiki uses, so sometimes an update is required [14:07:44] I'm trying to see a list of all pages on my wiki. [14:07:47] stangeland: regarding thead tbody, there is a ticket for that already i think. It's not part of our whitelist, because 'wikicode is not html' as some would say. [14:08:04] I have pages in the mainspace, template:, help:, widget: [14:08:10] personally i think we are already way past that.. [14:08:23] But when I got to Special:AllPages, it only shows mainspace and widget [14:08:38] oh he just left.. [14:08:49] Why not the Help: and Template: pages? [14:09:51] itstheduke: you mean the dropdown on Special:AllPages does not list Help: and Template ? [14:10:40] thedg: No, they list those. But I was under the impression that when you go to Special:AllPages, it shows you a listing of *all* pages on the wiki [14:11:01] without having to chose a namespace [14:11:14] no, that is not the case [14:11:22] or rather.. [14:11:50] not by default [14:12:43] if it shows you Main and 'widget', it is more likely that you don't actually have a 'widget' namespace, just main pages prefixed with 'widget:' [14:13:24] !composer | UserProd [14:13:24] UserProd: Composer is a dependency manager for PHP. MediaWiki uses it to include certain external libraries. See https://www.mediawiki.org/wiki/Composer for more details. [14:14:25] thedj: Is there a variable that controls which namespaces are listed on Special:AllPages? is it $wgContentNamespaces [14:15:09] i've got the vendor repository from REL1_25 up to date as well [14:15:12] itstheduke: https://www.mediawiki.org/wiki/Manual:Using_custom_namespaces [14:15:16] shouldn't that cover all the dependencies? [14:15:49] itstheduke: if it's from an extension, the extension itself is usually responsible for creating the namespace. [14:16:42] Right, but I just want to SpecialPages to list all pages on the wiki from all namespace. How can I accomplish that? [14:17:48] Like for example if I want to see all Help: pages, I just want SpecialPages to list them without me having to choose Help from the dropdown. [14:18:25] itstheduke: but then you won't be able to see only "help:" pages [14:22:03] Vulpix: OK, is there a simple way for Special:Pages to show all pages, categorized by namespace (like a heading for each category)? If not, I'm OK just leaving things as is. [14:22:24] *heading for each namespace [14:23:18] no, there's no simple way for that. I don't recall anything like that exists [14:23:54] maybe a Dynamic Page List extension is able to do that, or at least list all pages from all namespaces, ordered by namespace first, and then page name [14:24:36] No problem, thanks. [14:25:27] UserProd, don't think it covers some of the external libraries afaik [14:26:06] but composer is a cinch to set up [14:26:36] i just like keeping things in my repository, instead of having the app mess around with files in the target location [14:27:32] Related to what thedj pointed out, I have a page that starts with Widget: but is not in the Widget namespace because I created it before the Widgets extension was properly installed. [14:28:20] The problem is it's showing up in the main search results. But when I go to the page it doesn't exist. [14:28:51] (I guess I probably deleted it). Is there a way to prevent it from showing up in the search? [14:30:24] is there a way i can figure out which dependency is missing manually? [14:31:17] itstheduke: you'll have to run namespaceDupes.php: https://www.mediawiki.org/wiki/Manual:NamespaceDupes.php [14:32:01] Vulpix: Thanks, I'll check it out. [14:33:10] UserProd, maybe you could run composer update with --dry-run? [14:33:23] (kinda crude) [14:35:11] Composer could not find a composer.json file in /w/extensions/Math [14:38:18] UserProd, try running in the mediawiki base folder? [14:44:51] too many dependencies said they wanted to be change, so i just ran it properly [14:44:54] still didn't fix the issue [14:47:11] Volpix: that did the trick. Thanks so much. [14:52:24] UserProd, if there is a composer.json in the extensions folder (not the Math folder) try running it there [14:52:49] there isn't [14:52:57] itstheduke: :) [14:53:43] find $your_docroot -name composer.json [14:54:31] Vulpix: Whoa, got your name wrong! Sorry! :$ [14:55:02] UserProd, kinda led you down a rabbit hole, here is a nice doc link: https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries [14:55:09] no problem! [14:55:59] so i just run composer install --no-dev [14:56:12] or you can clone the git repository with all of the libraries that they use [14:56:20] i ran with the no-dev and it just deleted a bunch of the things it downloaded before [14:56:26] yea, that's what i already have [14:56:55] :) [14:57:52] UserProd, you have the vendor repository? [14:57:57] yep [14:59:25] ummmm [14:59:32] did you run update.php? [14:59:42] not sure what the problem is now [15:05:48] lemme try it again [15:06:03] yep, no luck [15:06:12] it has to be something in the extension itself i think [15:08:58] Class 'MWLoggerFactory' not found in /w/extensions/Math/MathRenderer.php on line 175 [15:14:04] UserProd: at a guess, your version of Math is not compatible with your version of MediaWiki. It relies on a class that does not exist yet in your version of MW. [15:14:17] this is just a guzess, but it's a common cause for this kind of error [15:14:18] they're both off REL1_25 though [15:14:29] let me double check the versions [15:14:49] UserProd: the snapshot versions of extensions arn't very reliable. [15:15:13] it'S possible that someone added a dependency on a new 1.26 feature before the snapshot was taken+ [15:15:22] (yes, we need a better system for this) [15:15:39] (the problem is, it requires work from individual maintenance authors...) [15:15:40] there's no other option.... [15:16:06] *sigh* [15:16:15] UserProd, https://wwwa.mediawiki.org/wiki/Special:ExtensionDistributor/Math ? [15:16:23] extension management is being overhauled... the person to ask would be YuviPanda, but he'sd traveling, I guess [15:16:33] a lot of folks are returning home from france today. [15:16:45] anyway, off to fix dinner [15:16:54] GEOFBOT: that just pulls from the latest REL1_25 doesn't it? [15:17:39] UserProd, i think the REL1_25 version is different from the snapshot, try it i guess [15:17:59] i am just a lowly student who works on bits of code every now and then so i am not the most helpful person :P [15:19:50] nope, all the files came out the same [15:20:16] np, thanks for trying :) [15:22:20] UserProd, get a snapshot of 81dbee82c922a127260d91b73e8f288c0027cf14 (before logging functionality was changed) [15:23:43] UserProd, https://git.wikimedia.org/zip/?r=mediawiki/extensions/Math.git&h=81dbee82c922a127260d91b73e8f288c0027cf14&format=zip I think works [15:25:20] kk [15:30:13] Math is also broken for REL1_25? :S [15:32:06] sweet, that worked! [15:32:11] :) [15:32:13] thanks GEOFBOT [15:32:20] no problem [15:32:57] REL1_25 for extensions was branched on 2015-04-06. The same problem happens for CirrusSearch... I guess all extensions are currently SNAFU for REL1_25 [15:33:41] same problem happened in 1.23 https://phabricator.wikimedia.org/T66157, and 1.22, and so on... [15:36:43] that's why I'm not upgrading anything that's on 1.24.2. Anything that changes API without security fixes is a "go slow" indicator [15:37:44] In January 2015 the system of providing monthly point releases was abandoned. [15:37:48] interesting [15:38:43] I won't recommend upgrading until 4 weeks after the release, because this problem with extensions is a recurring one [15:39:15] Unless and until there's an easy way to upgrade with ansible/chef/puppet, userprod, that's a good thing. [15:39:54] i liked the predictable security releases though [15:40:22] instead of the 1 day notice when that security report was released a few months ago [15:40:28] Predictable feature releases are good, but monthly is too quick. Security releases should come out as soon as they're tested [15:40:59] they should come out quick, but with enough notice of the release so people can plan for it [15:58:04] I'm using memcached for sessions, and working on setting up some failover. Is there some way that I'm missing to get it to put the session data on multiple servers? Right now it only seems to be doing just one. [17:46:35] If anyone here works on plugins, can you recommend some good php books/tutorials for people who know 1 or 2 other languages (in my case, python and bash)? [17:48:18] penth: PHP is a "curly-brackets language" (https://en.wikipedia.org/wiki/List_of_programming_languages_by_type#Curly-bracket_languages), so if you are familiar with JavaScript or C it should look fairly familiar. It resembles Python too if you squint hard enough. What worked for me was just experimenting with modifying existing PHP code and trying out little snippets. [17:50:44] ori, I can do some of that easily, but I just want to get a strong foundation to build upon so that I get the basic and idiomatic syntax down without tying up my own feet. [17:53:06] Vulpix: I assume someone will correct the Math REL1_25 branch in the next few days? [17:55:31] or should i open a ticket so someone looks into it? [18:01:59] I was looking into more extensions to see if they could have the same problem, but as always, I got distracted by a few other tasks... [18:02:48] feel free to report it anyway [18:06:57] hey, I'm running 1.20 and relatively new to mediawiki. How do I get {{cite web}} to work? [18:07:17] I added the "Cite" extension so works but it doesn't print the citation out [18:14:28] bratchley: 1.20 is really old and not supported anymore [18:15:00] Would newer versions support {{cite web}} out of the box? [18:15:04] but my guess is that you copied content from wikipedia without also copying the templates that the content uses [18:15:20] I downloaded the .tar.gz from the website [18:15:24] and extracted it [18:15:40] is there a way I can manually copy "Template:Cite web" ? [18:16:16] sort of [18:16:49] Special:Export allows to export templates recursively [18:17:39] bratchley: do you want to import all the documentation and everything else, or just the bare minimum to make it work? [18:17:40] still, that won't work for 1.20, since that template use Scribunto and I guess it won't be compatible [18:18:17] well shoot. [18:18:35] upgrading is really easy, unless you have extensions you wrote yourself or something [18:18:57] no it's all from the mediawiki website [18:19:00] the extensions I mean [18:19:22] so upgrading is generally low risk? [18:19:36] yes, but it's good to take a backup anyway [18:19:43] only if you take a backup :) [18:20:18] heh ok [18:20:24] I'll see if I can go that route [18:20:43] would newer versions have {{cite web}} as part of it or would I still need to do that after the upgrade? [18:21:09] you'd still need to do t hat [18:23:21] why is the 1.25.1 update.php script complaining about an out of date composer.lock file when I don't use composer? [18:23:51] mw does [18:23:55] /can [18:24:04] but i don't have to, do i? [18:24:13] i like tracking mw using git [18:24:15] and it sucks when it fails miserably [18:24:38] wmat: are you using our vendor repository? [18:25:01] jackmcbarn: yes, oops, let me update that correctly :/ [18:27:29] jackmcbarn: thx, apparently i need more coffee [18:27:33] np [18:27:52] Maybe that update.php hint could be improved [18:30:37] hmm, my version page still shows 1.25alpha even though i'm on the REL1_25 branch. [18:31:18] cache? [18:31:26] i tried a purge [18:31:57] https://github.com/wikimedia/mediawiki/branches/all [18:32:02] Why is there no branches? [18:32:04] Or tags [18:32:05] :/ [18:33:36] I ran update.php but it doesn't seem to have done anything. The script returns to the prompt without an error or anything [18:33:51] no output at all? [18:34:26] fatal error, but no error_reporting? [18:34:38] sorta sounds like it [18:34:54] let me check then [18:35:14] error_reporting = E_ALL & ~E_DEPRECATED [18:35:17] from the php.ini [18:35:45] nm display errors was off [18:36:01] sorry about that [18:42:37] Reedy: does the github repo get synced to Jenkins whenever changes occur on branches? [18:42:54] Reedy: or gerrit rather [18:42:59] synced to jenkins? [18:43:16] all changes on gerrit when merged should make it to github [18:43:31] typo, i meant gerrit [18:47:33] seems to have mostly worked but it's having trouble using the same skin as before even though I copied it over the from old install [18:48:30] might be worth seeing if it has an updated version [18:51:31] Reedy: you mean the skin? [18:52:30] yeah [18:53:14] Is there a GSoC student around who want to squash a tiny multimedia bug? [18:54:59] it looks like they haven't had an update since 2013 for the skin in question [18:56:49] but I installed the latest version and it still says "Whoops! The default skin for your wiki, defined in $wgDefaultSkin as cavendish, is not available." [18:57:03] is there a way to see if a given skin is still compatible? [18:58:49] also I tried to add "wfLoadSkin( 'cavendish' );" to LocalSettings.php and it actually killed off the whole site for some reason. [18:59:37] wfLoadSkin sounds pretty old [18:59:58] that's pretty new, actually :P [19:00:04] * Reedy blinks [19:00:44] Reedy: https://www.mediawiki.org/wiki/Manual:Extension_registration [19:01:19] but the extension/skin needs to be adapted for that to work [19:01:34] otherwise, you should use the old way of require_once( ... ) [19:01:39] it doesn't show cavendish as having been installed, which might be related to the problem but I don't know how to troubleshoot that [19:02:24] I wonder how much we actually got done at the extension registration sprint/workshop on Sunday. [19:03:34] Cavendish isn't in the WMF gerrit? [19:03:47] I don't know what "WMF gerrit" means [19:03:50] I'm a novice user [19:05:00] I downloaded the latest version from here: https://www.mediawiki.org/wiki/Skin:Cavendish [19:05:09] Almost every time I use UploadWizard I have to fix something with it. [19:05:47] Cavendish doesn't have extension credits, which is probably why you can't see it in LocalSettings.php ... looking at the code for two seconds makes me thing there are probably other issues with it... [19:06:04] Such as maybe not showing up in Special:Preferences as well. [19:07:06] Question: Are Lua modules, and the templates that invoke them, subject to parameter limits? Or are parameters in Lua-using templates not really "parameters" so much as an input for the Lua parser? [19:07:35] rillke: Why specifically a GSoC student? :P [19:07:48] Lcawte: so should I try to use a different skin in this version? [19:08:49] bratchley: That's probably a good idea, unfortunatly. It doesn't seem to have been updated in about a year. [19:09:12] polybuildr: They are motivated [19:09:24] or at least they should [19:10:15] rillke: A student currently doing GSoC or someone who plans to apply? [19:11:10] Is there a difference in motivation? Ah, you want to do this little tiny bug? [19:11:29] *squash [19:15:11] rillke: Point me to it, I might give it a shot. :P [19:16:10] now you can do code review [19:16:35] https://gerrit.wikimedia.org/r/214112 [19:18:07] Anybody happen to know a skin that's relatively close to this: http://i.imgur.com/UOBcLsq.png [19:18:22] the closest I was able to find was cologne blue which isn't that close at all [19:19:05] rillke: Commit message convention maybe? The "active verb" thing? [19:20:57] then give a minus [19:23:43] rillke: Nah, not a -1. [19:28:41] thanks, polybuildr :) [19:29:30] rillke: You're welcome. :) [20:03:53] so I'm on 1.25 and I've installed a "Cite" extension that makes work, but it says I need "Template:cite web" [20:03:58] where do I go to get that? [20:08:40] You don't "need" it, but it makes life easier [20:08:43] Export it from enwiki [20:09:15] How do I copy it down? I'm looking at https://en.wikipedia.org/wiki/Template:Cite_web but it's not immediately obvious [20:09:37] !export [20:09:37] To export pages from a wiki, navigate to Special:Export on the wiki, type in the names of the pages to export, and hit "export". See for an example of this form. See also: !import [20:10:11] Make sure you check "Include templates" too [20:13:10] OK I just did that but the Template:Cite web on my local wiki just has some markup that didn't process showing [20:14:09] Do you have parserfunctions installed too? [20:14:14] I wonder if you need lua too [20:14:29] is parserfunctions an extension? [20:16:04] looks like ParserFunctions is already installed [20:16:24] what's the stuff that's not being parsed? [20:16:31] probably the easiest way to identify it [20:16:55] page just says: {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} [20:20:28] Reedy: ^^ [20:21:02] Looks like that's going to be lua-ness [20:22:10] do I need to install an extension or something? [20:22:34] yeah, it's a bit more complex for this one though [20:22:36] !scribunto [20:22:36] Scribunto is a new extension that makes it easier to write repeatable code in Lua, rather than in complex wikitext templates. See http://www.mediawiki.org/wiki/Lua_scripting and http://www.mediawiki.org/wiki/Extension:Scribunto for more information. [20:26:54] bratchley: copying templates from wikipedia is about the most complex and messy thing you can do. [20:26:59] much easier to just write your own [20:27:14] or copy from a younger project with less old cruft [20:27:35] things that work for wikipedia often don't work well at all for small projects [20:28:32] DanielK_WMDE: yeah this is starting to turn into a rabbit hole [20:28:54] bratchley: you can use without any templates. [20:29:02] just add whatever text you want to go into the citation [20:29:03] done [20:29:18] if you want templates, make the ones you need. keep them simple. [20:30:08] yeah [20:32:30] ty [20:32:37] to everyone that helped [21:19:02] hi, when i use the mediawiki to search for X and i know X occur on several of my wikimedia pages, how come i only get a single hit when i search for X? [21:22:09] which search backend are you using? [21:22:23] maybe you could provide X ? [21:29:18] Hey there guys! Does anyone know how to create a link to edit the current page? [21:29:36] I have seen one for an external link to edit the current page, but I am looking for an internal link and can't quite figure it out. :( [21:30:42] well, it's created as an external link [21:31:04] you can make it so it doesn't have the "external link" style, though [21:31:15] Platonides: That is the only way? I am trying to create it as part of a template. [21:31:52] I would have thought you just have {{PAGENAME|action=edit}} but obviously clearly that doesn't work. All you need to do is be able to append the edit part to the URL. [21:32:21] So is my only option here using an external URL and styling it to not appear as an external URL? :( [21:32:38] I can just use the "plainlinks" class if that is so. [21:32:48] yes. you can generate the link with {{fullurl:{{PAGENAME}}|action=edit}}, but it'll be external [21:33:18] (something like: [{{fullurl:{{PAGENAME}}|action=edit}} Edit this page]) [21:33:48] Yeah, that is what I was trying to avoid, and to use an internal link. Strange I can't seem to find one. [21:35:08] Thanks in any event guys! :) [22:28:44] Hi guys! :) Does anyone know if it is possible to have text styled by a template? [22:29:06] I could use CSS in that case, but for some reason was looking for the ease of use templates. [22:29:48] For example, I have an info box along with all proper divs etc, I just want to wrap that template around a piece of text and then have that text displayed in that div box... :) [22:43:02] Deadmano: sure, you could have {{emphasized|text=Whatever you want}} and Template:emphasized outputs styled spans and divs. It doesn't work so well for long amounts of text, and if the text has | or = it gets messy. You could have {{emphasized start}}Whateveryou want{{emphasized end}}, but unbalanced templates have problems. [22:44:59] Deadmano: you could transclude or use #lst to pull an arbitrary named piece of text into the template [22:45:24] spagewmf: The {{emphasized start}} though refers to an actual template with that name (I thought including the template name in the first part would work and define a start/end, LOL. [22:46:10] Not sure if the context is understood, but I have a div, with a colored box and some markup. I just want specific text to use that template markup, however I have done it with CSS not a problem, but would have loved to use the template. [22:47:38] And neither examples (even the first) seem to work for me. :(