[00:18:50] Even though I edited MediaWiki:Sidebar to my liking, I still have a "tools" section (its translated to swedish,) with links such as Upload file, Printfriendly version etc. How can I get rid of that section? its not mentioned in my sidebar now..? [00:25:15] the new jsonfm output looks like a bad acid trip [00:29:03] solved it. common.css can delete toolbox in sidebar. :) [01:15:39] hello ?, could someone help me please ? [01:15:50] yes? [01:15:54] Hi Zuko [01:15:58] hello [01:16:00] http://fr.shingekinokyojin.wikia.com/wiki/Sp%C3%A9cial:CSS <-- Zuko is working on this [01:16:15] Asking about restricting category addition to specific user groups [01:16:19] I don't know if it's possible [01:16:55] yeah that's right [01:17:08] just ban everybody who disobeys you [01:17:17] Well, i cannot do this, [01:17:20] Zuko: You could probably write an extension that does it, but it sounds like more trouble than it's worth [01:17:30] Zuko: Can you talk about what exactly you want to prevent? [01:17:37] well, look at this: [01:17:41] http://fr.shingekinokyojin.wikia.com/wiki/Duran#Navigation [01:17:52] the category'box [01:17:57] do you see any ''add a category'' ? [01:18:04] Yup [01:18:13] Well, "Ajouter des categories" but sure. [01:18:24] Zuko: Oh, you just want to hide that element? [01:18:28] yeah [01:18:37] but only for user under the right of Rollback [01:18:51] Easy enough, I think... [01:18:57] oh [01:19:16] Zuko: I faintly recall there being per-group CSS files. [01:19:19] !css [01:19:20] 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 [01:19:38] Zuko: https://www.mediawiki.org/wiki/Manual:User_group_CSS_and_Javascript [01:19:45] Huh..Made a bot for Boilerplate templates...Nice :P [01:20:02] Zuko: So you could hide it in common.css and then show it in the group-sysop.css or whatever [01:20:10] Lor_: Helpmebot does some things of the same caliber! [01:20:30] marktraceur: Explain? I'm on #wikipedia-en-help right now! [01:20:38] so normally, it should be Js ? [01:20:47] i'm not sure because, i am not normally speaking in english [01:20:51] Lor_: I gave you one example [01:21:01] Zuko: I doubt you need JS for this. [01:21:12] oh i didn't see: So you could hide it in common.css and then show it in the group-sysop.css or whatever [01:21:20] hum [01:21:36] Right. [01:21:49] so, it would be hidden in Common.css and the, in MediaWiki:Common.css/group-sysop.css [01:21:58] i could enable it so that only staff would see it ? [01:22:10] Zuko: Whatever groups you want to be able to see it, go ahead. [01:22:26] Zuko: But you have to realize that this won't stop people from adding categories, it only hides this one button. [01:22:44] yeah of couse but, at least, it helps [01:22:44] Zuko: A smart person can override the CSS, and a less smart person can just add it manually through the edit page. [01:23:08] yeah but, you know, that's true for everything [01:23:38] Well, unless you did it on the backend. [01:23:57] In this world, nothing can stop a man to do something. Not even law but, it can help to restrict or to make a better maintenance. I mean, [01:24:16] i perfectly know that it wont stop the category add [01:24:25] but, at least, it will help [01:24:37] Zuko: Fair enough :) [01:25:03] and, if the guy isn't stupid, normally, he wont try to search a way to add it. (except vandals) :P [01:25:22] okay, i am going to try this out [01:27:21] Hi everyone! I am setting up environment for mediawiki and i have installed xampp successfully. I have cloned mediawiki from Git repo. While trying to access http://localhost/mywiki/core/mw-config/index.php i am getting error "Fatal error: Class 'MWLogger' not found in C:\xampp\htdocs\mywiki\core\includes\GlobalFunctions.php on line 1107". It also includes that MediaWiki requires the PSR-3 logging library to be present. [01:27:34] This library is not embedded directly in MediaWiki's git repository and must be installed separately by the end user [01:27:58] How do I install this library? [01:28:59] by the way, Marktraceur, what is the contrary of none ? [01:29:10] display: none !important; [01:29:20] if i want to display it, i just dont add anything ? [01:29:24] i leave it like this ? display: !important; [01:29:26] Phoenix303, https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries [01:29:50] Zuko, display: block [01:29:58] Zuko: display: inline-block; may be better [01:30:15] do you have a page explaining all this ? [01:30:22] Read up on CSS :) [01:30:26] okay :) [01:30:37] !lmgtfy CSS tutorial [01:30:37] http://lmgtfy.com/?q=CSS+tutorial [01:30:41] wm-bot: I love you. [01:31:13] Hé hé [01:33:29] I wuv you wm-bot. [01:33:47] http://fr.shingekinokyojin.wikia.com/wiki/MediaWiki:Common.js/sysopcategory.js [01:33:49] i did that [01:35:14] I have already cloned external libraries to vendor folder but still it is not working [01:35:19] now, i'll have to impot it [01:35:47] use composer? [01:36:48] Uh [01:37:02] *import [01:37:08] okay let me try with composer [01:38:45] also, per http://people.wikimedia.org/~ori/2014-12-12_20.svg composer officially sucks [01:39:03] Mark, is it okay ? [01:39:39] Zuko: Probably! [01:39:54] hé hé [01:40:02] Oh, no. [01:40:10] Zuko: You made a JS file with CSS in it. [01:40:48] oh [01:40:51] now i'm lost [01:41:05] how can i do it then ? [01:41:22] i dot [01:41:34] Zuko: Use the CSS files instead! [01:41:35] Common.css/sysopcategory.css ? [01:41:54] the same thing but with Css ? [01:41:59] Zuko: No, MediaWiki:Group-sysop.css [01:42:03] oh yeah stty [01:42:15] *Srry [01:42:21] No problem :) [01:42:31] hé hé [01:44:22] http://fr.shingekinokyojin.wikia.com/wiki/MediaWiki:Group-sysop.css there ? [01:44:48] YES ! [01:44:55] Yes it works ! [01:45:22] Yay! [01:45:26] Zuko: Glad we could help [01:45:33] I feel less fired now. [01:45:38] (reference to another channel) [01:46:02] i see [01:46:09] Well, thx alot alot Mark :) [01:46:14] i owe you much ! [01:46:25] Have a nice day and hope i'll see you again :) [01:46:56] Cheers, good luck [02:11:05] hi [02:11:23] is possible to show last edited pages with DPL [02:11:24] Hi Sia--, what's up? [02:11:27] !dpl [02:11:27] The DynamicPageList (DPL) extension outputs reports based on criteria given in a special tag. For more information, see and . [02:11:31] ty wm-bot [02:11:44] Sia--: You could just use Special:RecentChanges [02:12:33] no i want to show it in my index as short story of new created pages [02:13:19] Hm. [02:13:38] Sia--: http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Criteria_for_page_selection#Select_articles_based_on_REVISION_dates [02:14:17] that has nothing to do with my question [02:14:35] It doesn't? [02:15:02] Sia--: You want the latest revision dates, right? So use that query to get articles revised since N hours/days/minutes ago. [02:15:16] i dont need date [02:15:40] you want to show a list of the most recently edited pages? [02:15:44] just showing last 3 article in my page [02:15:59] not give a date or special category [02:17:43] Krenair, no , just like news page, show last edited pages with short story about 100 letters [02:18:11] Isn't recentchanges transcludable? [02:18:27] it is [02:18:35] you could do {{Special:RecentChanges|limit=3}} marktraceur [02:18:46] but I'm not quite sure this is what Sia-- wants [02:19:06] See, but that's cool. I didn't know that. [02:19:24] Krenair, i can do it for radompage with DPL [02:19:33] but not last edited [02:19:58] Sia--: http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Controlling_output_order#ordermethod [02:20:22] Use the lastedit sort order [02:20:26] And limit to three. [02:20:29] {{done}} [02:22:37] marktraceur, that need category [02:22:48] I don't *think* so [02:22:53] and can't limited to 3 [02:27:03] Sia--: namespace=\ncount=3\nordermethod=lastedit [02:27:10] I think that'll do. [02:27:14] You can add namespaces if you want. [02:28:26] marktraceur, thanx but doesn't work [02:28:53] Hm. [02:44:11] marktraceur, i've creatd this and is working http://pastie.org/9777576 [02:44:17] but have 2 problem [02:44:34] showin image from artice and is not lastedited?!! [03:12:16] marktraceur : I have installed composer but couldn't understand from which directory to run "composer install" [03:12:55] any idea? [03:13:03] about my question? [03:13:42] Hello. I was wondering if there is an event of some kind that I could use to have javascript run after the side-by-side preview finishes loading? [03:14:10] I second sigilbaram's question [03:15:18] It would be really handy so that stuff that is normally loaded when the page is ready could be displayed properly in the side-by-side preview [05:47:55] Hello, I try to list the pages of a class, I did not find anything to do that. Thank you for your help [05:48:09] category* [05:51:49] irssi__: You're trying to list category members? [05:53:31] I used the wrong syntax. ([[: Category: name]]) while good is [[Category: name]] ^^' [05:53:53] sorry for the noise [05:56:46] No worries. :-) [07:24:02] i need to run update.php to get an extension working [07:24:06] i don't have shell access [07:27:34] Damentor: you can use the web updater, see https://www.mediawiki.org/wiki/Manual:Upgrading#Web_browser [07:29:14] when i go to mywiki.com/wiki/mw-config/ [07:29:20] it says there is no text on this page [07:29:26] it's nothing special [07:31:47] Damentor: The page legoktm describes exactly what to do in the situation that occurs [07:32:10] *page legoktm linked describes [07:32:19] ah, i see [07:32:23] which htaccess do i rename? [07:32:29] there are like 8 [07:32:42] or just the one in the root directory? [07:32:51] whichever one handles the rewrite rules [07:33:06] you might have to try renaming them one at a time until you get it working [07:37:55] "/includes/.htaccess" [07:38:03] "/languages/.htaccess" [07:38:09] "/images/.htaccess" [07:38:16] "/cache/.htaccess" [07:38:25] "/maintenance/archives/.htaccess" [07:38:32] "/maintenance/.htaccess" [07:38:41] "/serialized/.htaccess" [07:38:43] any idea? [07:39:35] Hey man, I know just as little as you do [07:40:09] hi [07:43:45] please [08:16:00] I want to add a text to summaries when it is added by mobile view [08:16:20] do you know how can I do it with JS? [13:03:24] I have a list of several hundred edits from the wmflabs 'usersearch' tool, and I want to filter this according to diffs that add specific text to the page (of which I suspect there may be dozens). What's the best approach? [13:12:23] MediaWiki:Mobile.js doesn't work. how can i use JS code for mobile veiw? [17:05:01] Is it possible to make one section NOT appear in the TOC? [17:05:39] samu: If you use

instead of == ==, I think that does it. [17:05:54] There's some trick... [17:06:05] Fiona: well, it doesn't [17:06:06] ;P [17:06:43] I have a template that has

something

and that gets added to the toc of the page that includes it [17:06:55] which is something I don't really want ;P [17:08:36] https://test.wikipedia.org/wiki/Dominique [17:08:37] Hmmm. [17:08:51] Maybe that behavior finally broke. [17:09:05] samu: You can use a
with the same class, maybe. [17:09:40] yeah, I guess I'm stuck with that. [17:09:45] samu: Why would you make a section if you didn't want it in the TOC? Maybe there's another way to solve this problem. [17:10:16] marktraceur: well, there is - Fiona just suggested one. I just didn't want to add a separate class, as I use only the 'hX' selector in my css [17:10:34] which was quite convienent and easy to read. But yeah, I can just copy that css ;) [17:10:36] https://test.wikipedia.org/wiki/Headings [17:10:47] You can set a limit on the TOC box. [17:13:26] that css class was actually easer for me ;) [17:13:37] as it didn't require changing every page, just a few templates + some css [17:14:53] thank you ;) [21:17:30] Hi, when I try adding a Horizontal line when editing a page on my mediawiki and trying to save the page I get "Internal Server Error" and in the httpd errorlog it gives some warning about ModSecurity. What can I do to fix this? [21:26:48] abaday: disable ModSecurity. [21:35:00] MatmaRex: no way to do it without disabling? [21:36:40] abaday: i don't know how ModSecurity works, but probably no way. i would guess that it rejects all requests containing "--", in an attempt to prevent SQL injection [23:34:46] Do you have any idea to fix that [23:34:47] https://www.mediawiki.org/wiki/Extension_talk:DynamicPageList_%28third-party%29#Show_last_Added.2Feidted_pages_shortstory.21