[01:40:55] anyone here? [01:40:55] Hi ramenator500, I am here, if you need anything, please ask, otherwise no one is going to help you... Thank you [01:41:44] I am looking for tutorial for editing mediawiki's css [01:42:04] I am a complete noob and I am in way over my head [01:47:40] We broke an entire internal wiki today by simply adding a new Category tag to a few template pages. By "broke" I mean people reported that all pages were displaying in code, not in text and graphics. Thoughts? [01:54:22] I have no idea. [01:54:55] I have questions but no answers [02:01:07] Any experiences to share with strange things happening when adding Category tags to pages already tagged with another Category? [02:02:57] This is a very old mediawiki installation. Of course the Systems folks who set this up are long gone and the new guys have no experience with it. [02:03:09] Hi anygleason. [02:03:12] How old? [02:03:53] We added a new Category to a template page and all the internal wiki pages displayed the page in code, not text and graphics. [02:03:55] Wikitext can be a bit fickle, but categorization shouldn't break templates/pages, typically. [02:04:12] What code did you add to the template? [02:04:29] I'm at home now so I don't have my notes, but I wanna say 1.6, if that makes sense. [02:04:36] 1.6 is ancient. [02:04:48] Hopefully 1.16 at least. [02:04:59] Just the usual [[Category:newcategory]] [02:05:09] And reverting the edit fixed the pages? [02:05:16] Ancient is correct. [02:06:17] We are lobbying to move to some type of Wordpress solution (customized). We can't keep using mediawiki if we have no developers or systems help. (I am a tech writer.) [02:06:40] MediaWiki is pretty neat, but it's not blog software. [02:06:50] Yvette - Reverting the edits fixed it. [02:06:58] Multiple edits? [02:07:10] I'm trying to think of ancient bugs where adding a category would bust pages. [02:07:17] Maybe if it was added on the same line as other syntax? [02:07:31] We don't really need a blog--this is a knowledge base set up in a process, click, procedure, click format. [02:08:26] Ah, okay. [02:08:29] But getting back to the problem--you're saying if we added the Category to a new line, that should work? [02:08:35] It might help? [02:08:53] It's complicated for us though. The Categories are largely created through templates. [02:08:53] When you say "started showing code," it's difficult to understand what you mean. [02:08:56] Without a screenshot or something. [02:09:07] But it sounds like the edits you made broke the template. [02:09:12] And the template started showing its code to users? [02:09:26] That would strongly suggest that the category was added in the "wrong" way? [02:09:30] Yes, unfortunately I didn't see it either. I got rolled back quickly! [02:09:56] The edits should still be visible. And you can create a sandbox to recreate the issue, probably? [02:10:11] If multiple templates are involved, that sounds relevant. [02:11:04] Ok, if we have multiple categories being set to a page through a topbar template, and then we manually added a Category, say at the bottom of the page, we should be ok? [02:11:41] I guess I'm not sure what defines "wrong" way to add a category. [02:12:35] But using a Sandbox (we're working on a wiki that is not live yet, so pretty much the same thing) is a good idea. [02:18:49] anygleason: I would say the wrong way results in broken pages? [02:18:55] While the right way does not. [02:19:21] If you can share screenshots or additional info, it would probably help a lot. [02:23:39] Not using my work laptop now, so I cannot. Thank you for helping. I think I will try this chat tomorrow when I get to work. Cheers! [02:43:38] is there a way to add info boxes? [02:44:11] is there an extension or do i need to make them myself with css? [03:01:28] Hi ramenator500. [03:01:40] Infoboxes consist of some CSS and some Scribunto modules and some wiki templates. [03:02:18] what's scribunto? [03:02:35] !e Scribunto [03:02:35] https://www.mediawiki.org/wiki/Extension:Scribunto [03:03:08] It's an extension that allows wiki templates to use a programming language. In the case of infoboxes on the English Wikipedia, these Scribunto modules are written in Lua. [03:03:34] It's not strictly necessary. [03:03:34] thanks [03:03:42] But if you copy things from Wikipedia, it'll be required. [03:03:53] I had another question, how do I add an image in the upper corner? [03:03:55] You can build your own infobox if you want using the same CSS. [03:04:02] ah [03:04:08] An infobox is just an HTML table really. [03:04:16] oh [03:04:25] It's not built in to MediaWiki at all. [03:04:32] It's a Wikipedia thing. [03:04:37] And prolly other wikis now too. [03:04:50] cool [03:05:00] Image in upper corner like the lock icons? [03:05:05] yeah [03:05:17] !e ArticleEmblems [03:05:17] https://www.mediawiki.org/wiki/Extension:ArticleEmblems [03:05:21] I think we're using that now? [03:05:22] I forget. [03:13:50] no [03:14:02] https://www.mediawiki.org/wiki/Help:Page_status_indicators [03:14:07] it's a core feature [03:17:52] Oh. [03:18:13] Right. [03:19:29] how do I get visual editor to work? [03:56:28] free software for tv lge :03.05.19 [04:26:41] https://www.irccloud.com/pastebin/7Ixdibju/ [04:52:39] wow....my first time in a chat in years. [04:53:11] oops....try another name...BYE! [04:55:02] wow [04:55:14] first time in a chat in years... [04:56:02] is this where a nubee can learn something about mediawiki? [04:56:20] anyone home? [04:56:37] silence is not golden [04:57:16] am I all alone? sniff... [04:57:26] who [04:58:43] hmmmmm....not very interesting.... [05:00:29] darn, how can I get anywhere if there is nobody to talk to? [05:01:44] hello.....first time in mediawiki, first time in chat in years,.....looking around to learn a bit. [05:02:00] hello smoke [05:02:26] >>>>> hello smoke. [05:03:32] talkative, aren't you.....cat got your tongue? [05:04:33] I was trying to touch the ground in mediwiki.....but too many terms unknown to me. [05:05:08] hello abian [05:05:46] no joy....I am out on a limb, and nobody is there to help me out... [05:06:29] well not a word back from anyone anywhere....time to move on....sigh..... [05:10:14] thimbullFish: Hello. [06:04:05] I am trying to install mediawiki_selenium.git I have generated a gemfile and run 'bundle install' which installed all the reqired dependencies a folder named gemfile.lock has appeared in /vae/www/html/ and then I have clicked bundle exec mediawiki-selenium-init it created a test directory in the present directory but when I try to install mediawiki_slenium [06:04:06] by typing gem install mediawiki_api it returns "Successfully installed mediawiki_api-0.7.1 [06:04:06] Parsing documentation for mediawiki_api-0.7.1 [06:04:06] Installing ri documentation for mediawiki_api-0.7.1 [06:04:07] Done installing documentation for mediawiki_api after 0 seconds [06:04:07] 1 gem installed" but I could not find the selenium directory anywhere in present directory can anyone say where does it got installed or weather it got insstalled ? [08:37:56] Hey am I so lucky that anyone can help with setting up Extension OATHAuth [08:39:57] I am getting an db error when I tries to acces the Special:SpecialPages [09:53:48] Hey, is there any extenstion that would allow me to easily copy the text from a code block when reading a wiki page? [10:54:15] Hello everyone ! I would like to create pages in MediaWiki from an office document (doc, docx, odt) and by keeping the styles and the images. Is there a solution to do it ? Thank you in advance for your help ! [11:59:24] Does wikimedia use a different search engine to media wiki? [12:00:09] wikimedia is a group of sites [12:00:13] mediawiki is the software they run [12:00:25] But yes, they use elasticsearch for searching, rather than mysql search [12:04:08] oh just thought id found that they use cirrussearch? [12:05:53] that's the name for the extension that does the interfacing [12:07:22] ahhh ok [12:08:00] And do you know of any extenstion that would allow a user to easily copy a whole code block to clipboard? [12:14:11] JeffreyQ: Ctrl+C on your keyboard? [12:15:18] Or write some javascript that marks+copies all text? I don't see something that generic as extension territory. :) [12:16:49] andre__ ctrl+c is what I do but my users seem to be incompetent. I was hoping for something that would maybe put a 'Copy to clipboard' button next to the code block which when pressed would copy the contents of the code block to your clipboard [12:17:52] I can imagine such generic code exists on the interwebs, and I hope that you could provide that to users by putting it into MediaWiki:Common.js. I have not checked myself though. [12:18:49] (but if your users generally don't know how to copy text I'd say that the problem is somewhere else than in MediaWiki...) [12:50:33] Hello! We "broke" a large, internal wiki by adding a [[Category: newthing]] tag to the bottom of some pages that were already categorized via template. We are using 1.19 [12:55:40] Okay. [13:10:46] Will all XM [14:01:36] that wouldn't have 'broken' the wiki [14:08:37] what can happen is, that the jobrunner has now a lot to do, and so it can take some time until all pages are categoriezed in the right way [14:09:25] Of course, they left very quickly [14:09:30] And didn't define what they meant by broken [14:18:31] Can anyone suggest any good extensions I might have missed? [14:30:43] Is there a builtin way to view user email addresses (as an administrator)? I remember seeing a page either on how to do it or on an extension to allow it, but I can't find it again [14:34:47] There's definitely not a built in way [14:45:57] Is there an extension that makes it possible to run the maintenance/* scripts from some kind of admin page instead of command line? [14:47:24] There's Extension:Maintenance for it, but it's not very actively maintained [14:50:33] thank you [14:55:56] can someone help me set up parsoid? [14:56:04] I'm really lost [15:27:36] not directly wiki related, but anybody know of any chats (irc or otherwise) about captcha development? [15:41:15] ramenator500: Whats the problem your having with parsoid? [16:21:24] Hello, I have used the Vector skin as the base for a custom skin. Whenever I change any of the LESS files, the css does not seem to recompile. I have tried action=purge, cleared browser cache, etc. If I go directly to the load.php URL that serves up the CSS, I cannot see my changes in it. How can I force css to recompile? [16:27:11] ganiman: According to https://www.mediawiki.org/wiki/ResourceLoader/Features#Cache_invalidation this should happen "automatically"... but maybe the docs are outdated and it has been made more restrictive to save resources somehow... [16:28:32] IIRC, if caching is enabled, it takes like 10 minutes for RL to detect there are changes and generate fresh content [16:31:52] Vulpix: it isn't happening. I read changing timestamps on LocalSettings.php or some other files might do it too, but that isn't working for me either. [16:32:11] it's been weeks, so I dont think it is caching either [16:32:58] MatmaRex would know for sure how it works, but unfortunately he's not here ATM [16:36:35] Is $wgResourceLoaderDebug enough to change it? [16:38:12] that would reload the cache inmediately for sure [17:07:26] Did you change the skin to not identify itself as vector? Wonder what happens if two skins internally identify themselves the same way [17:18:29] wiki_guest: that shouldn't be possible [17:19:08] ok [17:19:16] but in the event you figured out a way to do it, my guess is that one would override the other [17:21:09] wfLoadSkin() takes a string skin name as its key, and it expects to find a directory in skins/ with that name [17:21:45] since each skin is in its own directory, and the filesystem doesn't let you have two directories with the same name but different contents*, duplicate skin keys shouldn't be possible [17:22:07] (you could probably do some shenanigans with bind mounts) [17:25:48] I don't understand this: By default, MediaWiki-VisualEditor does not enable itself for users. To make it available, add the following lines to your wiki's LocalSettings.php after you have downloaded the extension: [17:26:06] where do I download the extension [17:26:12] to the extension folder? [17:26:21] untar it there? [17:26:56] yes [17:27:09] VE requires a fair amount of additional setup beyond dropping it in your extensions directory [17:27:26] notably, you will need to install Parsoid as well [17:28:50] you should do this before doing any of the mediawiki side of things [17:52:29] Skizzerz: I notice in the skin.json file for Vector, 'vector' and 'Vector' are used a lot. Could two skins with identical skin.json files cause issues? [17:54:25] probably, but likely what I said above (one overrides the other). That said, I don't know the skin system's implementation offhand so these are only educated guesses [18:05:10] just a thought of what my be causing ganiman's problem, if the default Vector is overriding his skin due to something like that [18:06:49] skizzerz I installed parsoid and got it running [18:07:21] and I put VE in the right directory [18:07:34] I know I have to change some stuff in localsettings.php [18:08:45] ramenator500: yep, the extension page should have a guide. At a minimum you need the wfLoadExtension() call. After that call, you can configure anything elxe [18:08:46] *else [18:11:50] Congratulations [18:12:03] The parser upgrade will break wikisource [18:12:05] Thank you [18:12:07] the problem is the moment I add wfLoadExtension( 'VisualEditor' ); [18:12:07] / Enable by default for everybody [18:12:07] $wgDefaultUserOptions['visualeditor-enable'] = 1; [18:12:08] / Optional: Set VisualEditor as the default for anonymous users [18:12:08] / otherwise they will have to switch to VE [18:12:08] / $wgDefaultUserOptions['visualeditor-editor'] = "visualeditor"; [18:12:10] / Don't allow users to disable it [18:12:12] $wgHiddenPrefs[] = 'visualeditor-enable'; [18:12:14] / OPTIONAL: Enable VisualEditor's experimental code features [18:12:16] #$wgDefaultUserOptions['visualeditor-enable-experimental'] = 1; [18:12:19] https://en.wikisource.org/w/index.php?title=Page:The_forerunners.djvu/77&action=edit&lintid=1087 is not liked [18:12:30] !pastebin | ramenator500 [18:12:30] ramenator500: To avoid overflowing the channel with inane amounts of text, use https://dpaste.org or https://phabricator.wikimedia.org/paste/edit/form/14/ or other awesome pastebin sites to share code, errors, and other large texts. [18:12:32] because it apparenlty has "fostered" content [18:12:48] sorry [18:13:14] what do you mean when you say "problem" ? [18:13:17] like, what happens [18:13:29] However, the method used is so far the only method that actually works correctly, until some developers are actually concerned enough to care about projects other than Wikipedia. [18:14:10] and actually fix proofread page so it renders stuff correctly first time, without having to use bodges because the parser was never designed to cope with LST in the first place [18:14:13] Skizzerz, the moment I add https://dpaste.de/hmK3 to my local settings I get a 500 server error [18:14:24] Anyone? [18:14:46] I'm a noob, I don't know [18:14:48] sorry [18:15:23] ramenator500: what web server / OS ? [18:16:07] you'll want to check your error logs for more details on what the error is [18:25:42] os is ubuntu [18:26:09] the server is http://h2681176.stratoserver.net:8142 [18:26:44] when I add the snippets from https://www.mediawiki.org/wiki/Extension:VisualEditor#Setting_VisualEditor_up [18:26:57] then I get a 500 error when I go to my website [18:28:46] I did this https://dpaste.de/YFmL [18:28:54] ramenator500: you will need to check your error log for more details on what the error is. You can also try enabling displaying the errors in-browser by following the instructions at https://www.mediawiki.org/wiki/Manual:How_to_debug [18:29:08] without the actual error message, there is not much I can do to assist [18:45:00] I don't know how to get to my error log [18:45:10] I just put in the snippet [18:45:14] and nothing worked [18:45:21] that's pretty much all I know [18:47:31] ramenator500, which webserver software do you use? [18:47:44] For example: apache, nginx, ... [18:48:39] webserver software? [18:48:44] oh [18:48:51] I think this thing runs apache [18:49:33] Well, time to find out. :P [18:50:05] I *think* the error log location would be something like /var/log/apache* or such (don't run Ubuntu here so cannot check) [18:51:00] i think I figured it out [18:51:12] there was a typo in config.yaml [18:53:08] could that be it? [18:54:48] Maybe. No idea what "config.yaml" is without any path information, as any application could have a file with such a name. [18:54:57] oh [18:55:03] did not know that sorry [18:55:23] yaml is one file format, and "config" is very generic :P [18:55:27] etc/mediawiki/parsoid/config.yaml [18:55:32] did not know that [18:55:36] ah! thanks :) [18:55:40] but removing the typo did nothing [18:55:43] what was the typo? [18:55:51] api.phpp [18:55:57] heh. Oh yeah. [18:56:01] That could be the reason :) [18:56:07] it didn't do anything [18:56:21] could you take a look here and see if there's anything in there that's wrong? [18:57:29] https://dpaste.de/1NCf [18:58:00] shit [18:58:08] I just realized I did something very dumb [18:58:10] : / [18:58:57] ramenator500, errrm, yes. :( [18:59:29] ramenator500, you may want to change that [19:01:26] changed [19:01:32] ok but it was about this part [19:01:33] https://dpaste.de/osJE [19:02:03] as soon as I add that, the whole thing stops working [19:05:48] I want to know how to troubleshoot [19:05:52] where do I start? [19:08:14] https://www.mediawiki.org/wiki/Parsoid#Troubleshooting [19:08:19] https://www.mediawiki.org/wiki/Manual:How_to_debug [19:09:18] thx [19:09:54] the mediawiki is on a hosting site [19:10:03] and not on a server I control [19:10:07] is that a problem? [19:10:40] Could be, could also not be. Cannot generalize. [19:10:54] Depends on the permissions / rights you have on that hosted server. [19:12:13] : / [19:14:07] could you look at the snippet I posted and tell me if there's anything weird in there andre__ [19:14:17] https://dpaste.de/osJE [19:19:55] ramenator500, I do not know, sorry. [19:20:03] o [19:20:13] thx anyway [19:20:19] what's the error / problem you're facing, after which steps? [19:20:41] I would like to use some templates defined on wikipedia, (ex Incomplete), but they each rely on a large tree of templates and modules. Is there a reasonable way I could import everything required to make the template work into my wiki? [19:21:10] the website doesn't work after I enter the snippet into localsettings.php [19:21:31] and now I don't know where to look [19:22:14] ramenator500, please define "doesn't work". [19:22:29] I get a 500 error when I visit the site [19:22:45] so I figured I entered something wrong [19:22:50] ramenator500: and your webserver's error log says? [19:23:09] I don't know how to get to my websites error log [19:23:34] ramenator500, then this is what you need to solve. [19:23:48] ramenator500, do you have shell/terminal access to your server? [19:23:59] yes [19:24:07] I think so [19:24:10] ramenator500, does /var/log/ exist? [19:24:44] if so, check if there are error log files of your webserver software. If not, find out where those are logged. [19:24:51] ok [19:24:53] thanks [19:34:55] I really have no idea where to look [19:36:45] what are possible places? [19:36:58] I logged in to the cpanel [19:37:03] there was nothing there [22:24:45] hey, apparently I cannot use "\\" inside a math environment, it's giving me syntax error, is this the expected behaviour? What can I do to get the line jump? [23:48:19] REMINDER about the planned data center migration: There will be NO EDITING for about 30 minutes on both Wednesday, 19 April at 14:00 UTC and Wednesday, 3 May at 14:00 UTC. This will affect ALL of the wikis. You will be able to read the wikis and to log in, but you will not be able to edit. Read https://meta.wikimedia.org/wiki/Special:MyLanguage/Tech/Server_switch_2017 for more information. Please share this news. [23:48:19] If you find unexpected problems (e.g., can't read for more than a few minutes), then please report those in #wikimedia-tech, which will be monitored by members of the Operations team. #wikimedia-operations will be moderated until the switch is finished and everything is stable again.