[02:01:54] after an import, i have pages in my main namespace that have empty content -- how do i delete these ?? -- delete action fails with "The page or file "ACL:Group/Knowledge architect" could not be deleted. It may have already been deleted by someone else." See http://demo.myoffice.wiki/Special:AllPages - thx/john [02:05:11] do i just delete the database records in the page table? [02:12:27] hypergrove: You probably need to figure out what went wrong with the import? [02:12:41] Though it sounds like perhaps that namespace just doesn't exist or does now? [02:12:51] You can try rebuildTitles.php or some similar maintenance script. [02:13:49] Oh, namespaceDupes.php. [02:14:02] Does it only happen pages with prefixes such as ACL:? [03:28:41] Hey! I'm having an issue with my wiki not loading any CSS or images / formattin after some apache configuration. [03:28:54] formatting* [03:31:58] After a long battle with my apache config, I was able to redirect HTTP to HTTPS but again, it's formatted like a very basic website with images or anything... any ideas? [08:29:29] hi, i want to extend the upload procedure.... i guess i can hook in onUploadFormInitDescriptor to extend the uploadform. but the main problem is, that i need the uploaded file to gather some informationen, display some checkboxes and let the user choose some options. i have no clue how to add an extra step in the uplaod dialog and especially push data to the dialog after the file was uploaded ( in the UploadVerification hook i get the [08:29:29] temp file).... can someoen give me a push in the right direction?:) [10:10:36] hi there, I'm using monobook as skin and my left menus are put on the bottom. When I look in FF the element .proplet has a width of 14em. If I disable it left toolbar is ok. [10:11:15] But my problem is that I can't find such "width: 14em;" in the css files and even if I modify the main.css it seems not to be update on the web version (via the load.php script) [10:11:22] can someone help me please ? :o) [10:12:29] oh, for information I just updated my MediaWiki from an oldest version (1.14 I think) [10:13:16] well modification of .css files inside of mediawiki source code is not recommended, because this is whay breaks during the upgrade [10:14:19] I'm not sure css was modified, but now my tookbar is under the main article [10:14:39] what I don't understand is "why my modification is not taken in account" ? [10:15:03] Mindiell: 1) verify that you have original files and not the modified ones 2) Check your [[MediaWiki:Common.css]] files for changes that might break the site [10:15:42] you say "even if I modify the main.css" - don't [10:16:40] speaking about skins/monobook/main.css [10:16:42] ? [10:16:45] yes [10:17:24] in newer mediawiki there is a facility called Resource Loader that manages CSS/JavaScript that your browser gets [10:17:28] !rl [10:17:28] ResourceLoader is the delivery system for JavaScript/CSS in MediaWiki. First released in MediaWiki 1.17. See also https://www.mediawiki.org/wiki/ResourceLoader , https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_%28users%29 and https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_for_extension_developers [10:18:03] I got original files, sure [10:18:21] and Common.css seems ok [10:18:28] it is best to customize the wiki using MediaWiki:Common.css and friends [10:18:37] what if you start with a blank Common.css? [10:18:50] ok, I can blank it ? [10:18:54] ok I'll try it [10:18:55] thx [10:19:09] you can delete it or edit and delete all the contents [10:19:28] remember to purge browser cache every time you change anything [10:21:43] nothing different [10:21:53] toolbar is still under the main article :o/ [10:23:15] the css inspector of FF still show a .portlet class with a width of 14em [10:36:02] Ok, let's do something simple : How can I modify a css ? And how can I see it on the website ? :o) [10:40:52] saper ? [10:46:07] event the load.php page doesn't show me the famous ".portlet" class :o/ [10:47:54] !css [10:47:54] 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 [10:48:21] hmm, ok [10:48:48] got it ! thx [10:49:39] at last, not easy to do such a simple thing, but thx again, it's ok now :o) [10:52:14] things got a bit more complex [10:54:06] Hi! Can anybody check my request on mediawiki.org in the Project:Current issues ? It has been there for 9 days already (or even longer) [11:33:40] Hey everyone. I'm having trouble uploading files to my Wiki. I keep getting this error: [01342a46] Exception Caught: Could not acquire lock for 'FOOBAR.jpg' [11:50:35] theatrex, https://www.mediawiki.org/wiki/Manual:How_to_debug [12:01:25] Alright I will work at that. Also, any idea how to hide an article's code from showing up in the search results on a wiki? [12:05:30] Yeah I am not getting anything from using the debugging tools sport. [12:23:59] Hmm. I got an interesting debug! [12:24:54] What should the permissions bit for the /includes folder be? [12:24:56] 755? [13:10:22] Hiya, can any1 point me to the page where you can edit images which need retouching, pls? [13:24:37] Manj-811-Xfce, you go to the file that was uploaded, you can upload new revisions over the previous image [13:26:22] Cheers threesixes, I actually meant an overall list I saw before with the names of all images that need retouching. [13:28:28] oic you're talking about the actual mediawiki sites rather than downloads/installs [13:30:28] That's right. [13:31:35] https://commons.wikimedia.org/wiki/Commons:Media_for_cleanup [13:31:48] looks like category images for cleanup [13:33:18] Thanks mate. That's exactly what I was after. [13:37:27] no problem Manj-811-Xfce thx for contributing =) [13:39:26] Thank YOU! [14:26:26] Hello mediawiki [14:28:19] i'm a webgl developper wondering why wikipedia do not propose 3D content as it brings more than 2D images or videos, and often at a inferior cost [14:44:30] Atrahasis: Hi. Which file format(s) do you mean by "3D content"? [14:45:17] https://phabricator.wikimedia.org/T3790 and maybe https://phabricator.wikimedia.org/T107410 might be related [14:45:27] see the blocker list of the first task [14:49:55] Hi @andre__ & thanks for your answer. I'm new to freenode and it's my first question about wikimedia development. Thanks for the links, i had not found those [14:50:34] sure sure :) [14:50:35] (Phabricator is the task/bug/feature tracker for MediaWiki/Wikimedia) [14:51:00] Yep the discussion of your first link is exactly what i mean, as i wrote i'm a webgl developer and use three.js [14:52:38] Atrahasis: allowing aditional file formats to be uploade das media files is pretty simple. However, allowing them to be shown in a useful way on-wiki is a lot harder. [14:52:42] JSON files are light and well parsed for webgl. threejs can be 400Ko but only a small 100Ko part would be useful for simple 3d contents, and an image as falback for non webgl browser would do it as it does today [14:54:08] i saw x3D content has been implemented years ago, which relies on a java plugin (and is today blocked by javaitself..) [15:12:01] DanielK_WMDE andre__ rewriting a renderer would be very useful. I mentionned json but collada files are also well parsed [15:12:11] *would'nt [15:25:43] Atrahasis: no, one would integrate an existing renderer. not horribly hard, but not trivial either. Have a look at hof TIFFs are integrated, for instance: https://www.mediawiki.org/wiki/Extension:PagedTiffHandler [16:05:46] Hi! Is there anyone who could create a couple of MediaWiki: messages on mediawiki.org? The list of them can be found on Current issues, under the topic "Interface localization". [16:06:22] There are 4 that should be created, and 2 that should be adjusted a bit. I've provided the text for all of them. [17:05:27] Hi [17:07:36] Is anyone there? [17:18:06] ts_: sure, there are alyways people here. just ask, and be patient. [17:18:30] https://workaround.org/getting-help-on-irc [18:24:18] Hi All, I have one question regarding pagelinks table, I am trying to upload it to mysql. its been days and data is still uploading. It inserted around 360,000,000 rows. If somebody can tell me what is the total number of rows so I can see an estimate on my upload. Also is there any other way to ingest this data?? [18:28:53] sonia: yes, you can run the rebuildall.php maintenance script instead of importing the link tables [18:29:07] !maintenance [18:29:07] https://www.mediawiki.org/wiki/Manual:Maintenance_scripts [18:32:34] Thanks!! but I am not installing whole wikipedia dump, just few page related tables like Page, CategoryLinks, Revision, Text. I used gunzip < enwiki-latest-pagelinks.sql.gz | mysql to insert data into mysql. How running rebuildall.php will help me. sorry if i misunderstood the concept. I am new to wiki data [18:33:40] I am able to upload all other tables like page, text in reasonable time. but pagelinks is going for days and I am not sure if I have to kill that job. [18:35:13] It is a huge table. If you are running it on a typical home computer or a regular server it will take a very long time. [18:38:04] I am running it on server, just want to have some idea, how many rows are there.. It inserted around 360,00,00 rows. If its going to take weeks or months.. I really appreciate if someone has that information [18:44:17] The pagelinks file is 4.4gbs text file, compressed. You are going to be there a very long time. [18:49:05] yes, I understand but if someone uploaded that can they please give me guidelines on how much more rows will be there, given it inserted around 360,000,000 rows already 360 millions.. Also if there any other way like inserted it in hive etc for fast processing [20:00:35] Can someone please answer the original question I asked?? [20:02:55] sonia: A loooooooooong ass time. Open the file and find the last row it is going to insert. For us to even find out we would have to download a giant file. Which on this connection here could take a few hours. [20:03:52] sonia: huh? I thought the text table wasn't publically provided [20:04:26] sonia: rebuildAll.php will take an excessively long time [20:04:56] Like probably about 6 months [20:05:00] maybe longer [20:05:26] It will be orders of magnitude faster to import the sql dump of that table than to run rebuildAll.php [20:06:59] sonia: For your original question - how many rows in a compressed dump file [20:07:19] You can get an estimate yourself, using a command like gunzip file.sql.gz | wc -l [20:08:06] but for a multi-gb file, that will probably still be a long time to calculate [20:18:21] thanks all for your answer. I really appreciate your help [20:21:36] sonia: Sometimes you can change mysql config to import faster [20:21:56] e.g. http://dba.stackexchange.com/questions/83125/mysql-any-way-to-import-a-huge-32-gb-sql-dump-faster [20:32:20] anyone familiar with this error: [20:32:21] Fatal error: Call to undefined function MediaWiki\suppressWarnings() in /home/lojjik/upstream/includes/Setup.php on line 435 [20:32:46] legoktm: ^ [20:33:38] lojjik: hi, have you run "composer update" / git pull'd in mediawiki/vendor? [20:33:44] !composer [20:33:44] 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. For information on how to install MediaWiki dependencies with composer see https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries [20:38:25] and which folder should vendor be in? in includes directory, it shows the message showing external dependencies aren't installed. in root folder ($IP), the suppressWarnings error shows [20:39:20] lojjik: vendor should be in $IP/vendor [20:40:05] ok. then I am running up to date external libraries in the correct location [20:40:47] ah [20:44:06] Hi! I created a website with a MediaWiki and wanted to use the short URL but I am not able to. I used this tool: http://shorturls.redwerks.org. But when I changed the apache settings (as described in the Manual: SHORT_URL) stopped able to access the wiki. Can anyone help me?