[01:56:40] We recently update to the current LT version and there's a new tracking category, "Pages using duplicate arguments in template calls". Is there information on the page in view mode about what's duplicated or can it be accessed from the API? [01:57:17] I'd like to be able to put a notice on the top of any page in that category that our wiki's version of "template editors" will see before hitting "edit". [02:05:56] ShoeMaker: no, but https://en.wikipedia.org/w/index.php?title=User:Frietjes/findargdups.js can be used [02:06:23] recommend forking as a gadget accessible for your editors ofc [02:10:13] I'd have to rewrite it almost from scratch because it filters a lot of tags and extensions we don't have and doesn't filter other tags and extensions we do... But... I can probably do that at some point. [02:10:42] Thanks. [04:03:51] is there a single dump of enwiki page history, (without content)? at https://dumps.wikimedia.org/enwiki/20200501/ I see pages-meta-history, but thats split in parts [09:38:33] Hello, is there some way i can hi all content and all menus from users that are not logged in? I am running MW 1.32.5 [09:48:45] [[Special:Allpages]] [09:49:16] !access | diverdude [09:49:16] diverdude: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [09:49:34] ah 'hide' [09:55:36] diverdude: by content you mean the actual content of the pages? You want your wiki to be inaccessible to unregistered users? [09:56:05] Vulpix: yes - i want everything to be totally inaccessible to unregistered users [09:56:25] !private [09:56:25] There is no such key, you probably want to try: !fishbowl, !ppp, !secrets, [09:56:26] Vulpix: but i still want to have it possible to log in [09:56:58] ! fishbowl [09:56:58] Hello, I'm wm-bot. The database for this channel is published at http://wm-bot.wmflabs.org/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [09:57:01] !fishbowl [09:57:02] http://www.mediawiki.org/wiki/Help:User_rights should explain how to set up a wiki that's private, where users can see the content but cannot edit or create it. [09:57:16] diverdude: https://www.mediawiki.org/wiki/Manual:Preventing_access#Simple_private_wiki [09:58:16] aha ok. i will study this. thank you [11:36:40] Hi and BIG thanks for the awesome software and pro-bono support [11:36:57] I'm looking to enable uploading .pdf-files [11:37:12] So I'm looking at https://www.mediawiki.org/wiki/Manual:$wgFileExtensions [11:37:28] oh yeah.. and now I see the answer in it [11:38:08] $wgFileExtensions[] = 'pdf'; [11:38:14] this will append, not replace [11:47:12] hmm.. I uploaded a .pdf and the resulting page says the .pdf is 0x0 pixels [11:47:19] so something not conffed [11:50:46] yeah.. my bad again [11:50:54] missing a prequisite "xpdf-utils" [11:50:56] installing [11:55:45] Debian 9 switched xpdf-utils to poppler-utils, but the wiki manual says that's ok [11:55:53] still 0x0 pix [11:56:02] should I perhaps delete and reupload [11:56:17] should I uninstall and reinstall something? [12:02:46] I looked at the documentation and decided to run 'php refreshImageMetadata.php -f' [12:04:01] that complained about not being able to "lock" files in the upload-directory, which, now come to think of it, I don't have rights to, so I need to add myself to the www-data group or 'sudo su www-data' (or how is that command) [12:06:21] I did a 'sudo usermod -a -G www-data myusername', still the maintenance script is complaining about no access [12:07:28] The upload directory structure is just fine [12:07:30] checked it [12:08:18] now I'm looking and seeing the string "mwstore://local-backend/local-public/" followed up by the directory structure of /images/ [12:08:41] is the ampersand, hash sign, 58 and semi-colon supposed to be there [12:08:48] looks awful for syntax [12:12:18] : is actually a colon in html-entity-encoded notation [12:13:20] ok, any help how to fix so that 'php refreshImageMetadata.php -f' would not complain about being unable to lock files in the /images/-directories ? [12:14:16] all is owned by www-data:www-data and I'm in the www-data -group, but it complains once for each uploaded file [12:15:10] ok.. group www-data does not have write access, my bad again [12:15:46] I cannot login as www-data, blocked, cool, cheers sec-heads [12:16:09] so I'll give write access to the group [12:16:14] jukebohi: Can't you use the sudo command? [12:16:38] sudo -u www-data php maintenance/.... [12:17:00] okay... not giving shell, but giving run is good idea [12:20:08] okay.. now it ran without complaints [12:20:11] I'ma see the wiki now [12:20:44] yeay! it works! [12:20:49] Cheers Vulpix! [13:06:10] Hi, I'd like to know how to get start developing external authentication for MediaWiki. From my research, I realise that I need to use `PrimaryAuthenticationProvider`, but I don't know where to start. Can anyone point me to any resource? [13:08:10] uhh.. i gotta look up how to push a value into an array, without blanking what's in there [13:08:21] do I feel like a n00b nao [13:08:41] jukebohi: You already did it before, in your example: $wgFileExtensions[] = 'pdf'; [13:08:59] Vulpix: now the wiki says the only allowed type is 'pdf' [13:09:20] SarunInt: I don't know about that, but you may check https://www.mediawiki.org/wiki/Extension:PluggableAuth and related extensions as an example [13:10:01] jukebohi: be sure you're not fiddling with $wgFileExtensions anywhere else in your LocalSettings.php file [13:10:11] I'll check now [13:10:41] search wrapped [13:10:47] one instance of '$wgFileExtensions' [13:13:48] On https://develop.consumerium.org/wiki/Special:Upload it says the only allowable type is 'pdf', yet on https://wiki.stop-synthetic-filth.org/wiki/Special:Upload it says allowed types are 'pdf, flac, mkv, mov, mp3, mp4, oga, ogg, ogv, wav, webm' [13:14:56] I added the 'pdf' to each wiki in the exact same way. The latter wiki does have the Extension:EmbedVideo so that is prlly responsible for the video formats [13:15:24] now I notice that common image files are not in the latter wiki [13:15:45] and the Consumerium development wiki has just one thing that can be uploaded: 'pdf' [13:16:36] Well, if you really have $wgFileExtensions[] = 'pdf'; and not $wgFileExtensions[ 'pdf' ];, I'd say your PHP is broken beyond repair, or you're looking at the wrong LocalSettings.php file [13:17:06] oooooppphhhhh. mi bad [13:17:38] not a new array of one item, but pushing another value to the array [13:19:15] sorry, I dyslexia too hard today. Cheers Vulpix, now both wikis are behaving as expected [13:22:51] :) [14:13:49] Ok. I'm happy with Extension:PdfHandler. I'd like to upload the LibreOffice Calc sheet that is the origin of the created .pdf and link both of those in the captioning of the .png. Do I need to find a handler for LibreOffice Calc document if it is there just for user convenience [14:15:06] I don't need no preview for the spreadsheet, just user convenience that they have a reasonable acces to the source [14:16:30] Looking at https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads [14:17:26] You may need to also set $wgStrictFileExtensions = false; if it refuses to accept the file [15:47:02] Hi, I have added this to LocalSettings.php: https://dpaste.org/jB4r But the sidebar is still visible. How do i hide the sidebar? [15:47:26] for anon users ofc. [15:49:34] It's a feature o f the skin [16:06:15] Reedy: what do you mean? [16:06:33] You can't remove the sidebar without modifying the skin [16:06:58] Jdlrobson: fwiw, I was going to do a bunch of autotfixing today but can't due to https://phabricator.wikimedia.org/T9356#6143224. Replacing div#foo with div#foo,(nav|footer)#foo is non-trivial for a simple find/replace given other CSS selector features etc. Fixing that bug seems simple but would be best to get sign off from cscott or subbu. The code for it is simple though [16:07:10] Reedy: really? that seems like a pretty poor design decision [16:07:27] Find a time machine and complain to the people that wrote it many years ago [16:07:31] :) [16:07:48] There might be skins where it's configurable... But you've not even told us which one you're using [16:07:56] But most are designed for the sidebar to be there [16:08:42] It can be hidden with one line of CSS though, but it'll become visible on the login page at least. [16:09:10] Reedy: i am just using the default skim [16:09:12] skin [16:09:20] That isn't helpful [16:09:24] There isn't a default skin [16:09:37] if literally no aspect of the logo or sidebar is allowed to be public, it might make sense to set the access control at a hgiher level, e.g. http authentication [16:09:39] Reedy: mm ok. i did not install any skins at least :D [16:10:09] Depending on how you installed it, we do bundle some skins, but there's still a choice [16:10:31] Reedy: it looks like this skin: https://www.mediawiki.org/wiki/Manual:Interface/Sidebar/Hacks [16:10:36] only logo is different [16:17:18] arg...got disconnected [16:17:28] Reedy: did you get my message? [16:31:41] Reedy: ahh i am using skin Vector :) wfLoadSkin( 'Vector' ); [16:47:07] I am logged in but i cannot edit MediaWiki:Common.css for some reason. I have even set $wgAllowUserCss = true; in LocalSettings.php. What am I missing+ [16:47:09] ? [16:52:57] diverdude: you need the editsitecss permission, provided by default to users on the interface-admin group https://www.mediawiki.org/wiki/Manual:User_rights#List_of_permissions [16:54:53] Vulpix: ok so how exactly do i set that? [16:55:57] diverdude: Go to Special:UserRights and add yourself to that group [16:56:07] assuming you're bureaucrat on the wiki [16:56:30] i am the owner :) [17:00:01] Vulpix: hmm i am trying to change the size of the logo...i put this in the css: https://dpaste.org/DwXs But it does not really have any effect. Should i change something else? [17:00:43] diverdude: try fiddling with the developer console first (hit F12) [17:06:03] Vulpix: hmmm its weird because the logo is not resizing...its just being "cut" when i set the size [17:11:17] ah found out [22:16:31] Hido you plan to move to discord or a other app [22:18:02] For what? [22:18:25] Reedy: science! ;) [22:22:17] Hi is their a slack channel now for your service as i heard their was [22:23:22] There is no official MediaWiki slack. There may be some slacks from other organizations which include discussion of MediaWiki. [22:25:00] My personal and possibly unpopular opinion is that using a closed-source walled-garden platform as the official chat system for a Free and Open Source Software project makes little sense. [22:43:41] discord is good- [22:43:53] mybb and phpbb are using it [22:43:59] also matrix [22:59:48] satdav: discord is not a FOSS solution. Matrix is FOSS and because it also has an irc bridge you can choose to use it as your client to communicate here today -- https://github.com/matrix-org/matrix-appservice-irc/wiki/Guide:-How-to-use-Matrix-to-participate-in-IRC-rooms [23:31:48] whats the difference between the 3 different wiki what you give when setup [23:32:32] We want it to be open to the public but all users need to be registered in order to edit or post [23:37:19] While we are at it, I recall Julia uses Slack. [23:38:09] And a lot of open source software projects have communication via discord. [23:38:28] One needs to know where to draw the boundary for their own project. [23:39:11] there is even a media wiki on discord [23:39:33] WMF project's users are predominantly on irc so it moving instead of a bridge seems silly. [23:39:44] Creative Commons uses slack, as I recall. [23:40:01] satdav: that may not be official. [23:40:16] If you don't see that mentioned on-wiki, it is most likely not. [23:40:32] it is not its a user run one