[00:06:23] Hi, Is there anyone? [00:10:52] I can't understand where is the problem in this migration of my Mediawiki 1.23 from my old hosting to the newone Ovh. - I have my wiki.sql backup and I Imported it on my new database wikinew. All fine in populating the db - I uploaded via Ftp the directory mediawiki with all files in www folder from old hosting to the newone in the same position - I changed the configuration on LocalSettings.php for the access to the newdatabase [00:11:55] But when I try to go to the Index page I have a blank page with only a twitter button. If I make page source I see this code that probably is only a part of the my index page: https://dpaste.de/tycU [00:12:08] What is wrong? Something with the permission files? Help me! [00:12:59] I made a topic here https://www.mediawiki.org/w/index.php?title=Topic:Thc4lesri5ljdilh&action=history [00:22:37] Sorry the right link https://www.mediawiki.org/wiki/Topic:Thc4lesri5ljdilh [00:24:26] you're performing a document.write() somewhere in JS? [00:25:01] this worked before but went south some time between 1.23 and now, Rafama [00:38:28] Rafama, please ask that in public, there's nothing secret about it [00:38:38] ok [00:38:53] in Home page I have some button of facebook and Twitter and somothing is wrong [00:39:01] yep [00:39:42] did you update mediawiki? [00:40:21] no only transfer [00:40:42] I can try to remove the code of fb and twitter button [00:40:51] try disabling that social buttons extension/code [00:41:01] because other pages without that bottons are visibles [00:42:16] I just set up a mediawiki instance that's going to be used to host a lot of charts/graphs in an SVG format. When I include an image in a page, though, it doesn't seem to re-render the graph at the size I want instead just blowing up (or down) the original png preview. Do I need to do anything in particular to get it to re-render? [00:47:01] alaunus, do you have either GD or ImageMagick installed? [00:47:52] MaxSem: I'm using ImageMagick [01:32:13] kim_bruning, yeah that's what I thought [01:32:15] done [03:00:37] Yay. [09:01:38] Hi, after a trasfer to a new hosting I have some errors. I think that same extension are pointing to reference of the old hosting. For example in the main page I have this error Warning: include(/containers/30123/www/bancadati/extensions/Widgets/smarty_plugins/modifier.validate.php): failed to open stream: No such file or directory in /home/ioleggoljm/www/bancadati/extensions/Widgets/compiled_templates/f638d7e934e1b07e19ae457b51ab3 [09:03:12] How can modify the main pointer to the right place? .Htacces file? In my backup and sump db.sql there aren't links to my old hosting..... [09:48:12] uff....I see that in the extension folder there are file .php where there are link to the old site directory of the old hosting.... :( Is there a way to update or change all of them? [09:48:46] the specific folder is Widgets/compiled_templates [10:15:58] Rafama: try moving the file to a differnt area and then reaccessing the page the template/widget is used [10:19:07] Hi p858snake How? What file can I try to move and where? [10:20:03] I can see that in my folder Widgets/compiled_templates there are files .php where there are links to the old histing.... :( How can modify all of them to the new references? [10:35:42] Hi, has MediaWiki one cache for unlogged users and one for logged in? I have found that sometime cs.wikipedia shows another version for unlogged and logged. Can you help me? [10:35:51] And if this is true can you say the reason? [10:37:07] Kinda [10:37:16] Anonymous users are more cached [10:37:34] Logged in users get a different parsing etc, due to user preferences [10:37:54] And why if I purge the page it doesn't change for anons? [10:42:44] It should [10:43:21] Ok. Thanks. [12:24:43] In cases of a suspected database leak, is there a way to force all users to change their passwords? [12:29:51] Lcawte: I think we've done it via hooks before [12:30:04] There's an invalidateSessions which you may want to run too [12:32:54] Is the session invalidation resetUserTokens.php? [12:43:11] Lcawte: That one too is probably worth running [12:43:15] invalidateUserSessions [12:44:19] Ah, I didn't notice that one, I was looking at the Maintenance scripts category on MediaWiki.org. [12:44:45] Though, I'd agree there should be some way to force all users to change their password [12:44:52] Might be worth a task filing (if there's not one already) [12:45:13] Do you have any further details on that hook method? [12:46:11] https://phabricator.wikimedia.org/rOMWCa2bc40ec2535362f47cef81e15514c3b50d6074b <- that, perhaps? [12:46:58] Lcawte: Yeah, that's what I was thinking of [12:47:04] IIRC it's gone from master of mw-config now [12:54:50] So after a bit of digging, there's a whole mess of bugs around this sort of area that aren't very active. [12:55:40] Probably [12:55:52] It kinda feels like something that should be fixed [14:30:11] andre__: where can i find the code for main_page of wikimedia ? [14:32:29] sucode_, what is the "main_page of wikimedia"? [14:32:53] (and why do you ask me?) [14:34:01] andre_: http://localhost/w/index.php/Main_Page ; this is the address and i want to get code of it; where can i find this ? [14:34:28] so you're asking about the code for main_page of MediaWiki. [14:34:40] and not some Wikimedia site. [14:35:15] What makes that "code" different from any other wiki page in your wiki? [14:35:26] I'm wondering why you ask about that page specifically. [14:36:43] andre_: i asked about that page because i want to customize that page. [14:38:07] sucode_, then please be specific what you'd like to cusytomize. Because "the code" is in several places [14:38:43] sucode_: Its, wikiPage [14:39:29] andre_: the want to change the logo on the top left corner; it said as; set $wgLogo to the URL path to your own logo image [14:39:39] sucode_: This, is object of page. Every page is wrote by the same code. Data of it, is stored to database [14:39:50] sucode_: Locate LocalSettings.php [14:39:58] sucode_, https://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_change_the_logo.3F [14:40:34] thanks rlot and andre_ [14:41:07] rlot: LocalSettings.php is the code for the main_page [14:41:09] ? [14:41:48] sucode_: No, its configuration file [14:42:09] sucode_: There, you can configure your mediawiki. These $wgLogo is config variable [14:42:33] sucode_: Code for every page, is wikiPage.php [14:44:41] rlot: wikipage.php everypage code ; i didn't get this ? [14:46:52] sucode_, you do not want to edit the PHP code that renders and constructs wiki pages. That would be wikipage.php in the MediaWiki code base. [14:47:04] sucode_, you want to edit one variable in your settings instead. [14:47:14] Your settings are in the LocalSettings.php file. [14:47:39] That's why you should not ask " where can i find the code for main_page" but what you want to do instead, like "I want to change the logo in the corner" [14:48:01] sucode_: Append "$wgLogo = {patch for your logo file}" to LocalSettings.php [14:48:40] "$wgLogo = {patch for your logo file} ;" [14:52:42] i got that; thanks [14:53:59] for setting the logo on title bar of the tab of browser where the name of wiki is defined; where to find that variable ? [14:54:16] $wgFavicon [14:57:56] Reedy: where to find this variable (in which file); can't find it in LocalSettings .php [14:58:06] It's defined in DefaultSettings [14:58:11] Same as any setting in MW core [14:58:43] Just append it to LocalSettings.php [14:58:57] on top [14:59:26] Reedy: (He is not asking about variable, just about configuration of wikimedia) [14:59:39] <_TWS> anyone here use the maps extension? [15:05:26] rlot: you are right [15:06:22] Reedy: i found it as favicon.ico ; how to change that to change the logo of icon of tab of browser [15:07:32] _TWS: What would it change? [15:08:29] <_TWS> eh? what would what change? [15:09:00] _TWS: Yeah. What would it change if anyone in here used the Maps extension? [15:09:37] _TWS: ...or to put it in different words: What would be your followup question? [15:09:52] !ask | _TWS [15:09:52] _TWS: Please feel free to ask your question: if anybody who knows the answer is around, they will surely reply. Don't ask for help or for attention before actually asking your question, that's just a waste of time – both yours and everybody else's. :) [15:09:53] <_TWS> it probably wouldn't change anything. I'm hoping to find someone else who's using it because I have a question about how to set the opacity on a ground overlay [15:11:10] _TWS, #wikimedia-interactive might be more focused for Maps questions, you may also try there [15:12:26] <_TWS> thank you for that. I was also trying in #semantic-mediawiki [15:43:46] Is there anyway for me to find out all edits from a certain date or range of dates for everyone? I'm looking for edits on a small wiki from February because someone made an edit to a template accidentally logged out and I'm trying to find out who and what other edits they made. [15:44:03] We don't have DB dumps [15:44:40] If there is no special page for that yet, I can probably work up a script to do it, but I don't want to do the extra work if I don't need to. [16:02:13] Hi... I'm trying to install Manjaro on a Dell Inspiron. Its a slower one with a Celeron processor and brand new. I have Manjaro running on my desktop and my laptop no problems. When I try to install from USB on this Dell, it will boot into the first screen which shows options- (non-free drivers, ect.) but after that the sceen goes blank and nothing. I've tried various other linux distro with the same USB and no problems boot [16:02:38] butternutz: Welcome to the MediaWiki support channel. What is "Manjaro"? [16:02:55] a linux distro [16:02:57] butternutz: Then I'm afraid you're wrong here. :) [16:03:26] dang, this linked in from the manjaro website too... [16:03:31] butternutz, where? [16:03:50] butternutz: #manjaro is the place instead. According to https://wiki.manjaro.org/index.php?title=Manjaro_IRC . [18:22:22] https://phabricator.wikimedia.org/T93380; i want to do this task; and where can i find its source file ? [18:30:59] sucode__: Its not coding task, you do not need to edit source files. To edit this Article, just click "Edit" in top right corner [18:34:12] rlot: as the phabricator task mention to make this page less number of links; or making it more on one single webpage; is such things can be implemented from edit option on top right ? [18:39:03] sucode__: Yes. MediaWiki its code, it doesnt have any content. Its task about editing article, on specific wiki [21:04:54] is there any possibility to expire all current user sessions for a mediawiki instance? [21:07:56] Hmm Krenair ^ [21:10:38] This might be helpful https://stackoverflow.com/questions/27173262/how-do-i-force-all-users-of-a-mediawiki-wiki-to-re-login [21:12:04] IvanFon: i already found that. i hoped that there is a more proper way ;) i want to avoid changing cookie prefixes or editing the php.ini. for me this looks like a tweak. [21:12:42] I think there is [21:14:02] Zppix: a more decent solution? [21:14:25] I dont know one moment [21:14:34] Krenair: are you around [21:15:16] does anybody know how mediawiki's authentication process with existing cookies work at all? i digged around in the database already but didn't find anything about cookies or sessions. [21:51:11] Zppix IvanFon i just tried to delete all session files in /var/lib/php5/sessions/. Sometimes that works but sometimes it just recreates the session file on reloading the wiki in the browser i just logged in. [21:51:37] Because of the cookies [21:52:00] Zppix: weird... why are there files if they do not have any effect sometimes? :D [21:52:27] They cant control a clients browser [21:53:23] Zppix: yes, i totally understand that but obviously there has to be some server-side cookie-reference and i thought that this is the ref i am searching about. [22:03:09] tamier: there is a maintence script that can help [22:03:16] InvalidAllSessions or something [22:03:24] p858snake|L2: thanks, i'll search for that. [22:04:03] there really isn't a built in way to do it via MW, you need to add some manual hooks [22:04:16] Reedy is the expert in these matters [22:06:03] p858snake|L2: i can't find a script like that, sorry :( [22:06:54] it should be in the maintenance folder of your installation, "or something" means I don't know the full correct name [22:06:55] I read that MW uses PHP5 for session management. I can't believe there's no way to delete them :D [22:07:23] p858snake|L2: yes, i searched in that folder for things like delete, remove, sessions, cleanup, ... [22:08:22] https://github.com/wikimedia/mediawiki/blob/master/maintenance/invalidateUserSessions.php [22:08:38] you may need to update if you are running a older version of MW [22:08:57] p858snake|L2: ah, thanks. yes, it looks like that. [23:01:16] I have a list of about 38,000 spam accounts and I'd like to delete any pages they created. Is there an easy way to do this? [23:19:08] !e Nuke | Evidlo [23:19:08] Evidlo: https://www.mediawiki.org/wiki/Extension:Nuke_ [23:37:32] I see pages like 'Tsivilizatsiia_3_evoliutsiia_skachat_torrent.pdf' in my database, but when I browse to http://purduelug.org/wiki/index.php?title=Tsivilizatsiia_3_evoliutsiia_skachat_torrent.pdf, I don't see anything there [23:38:15] I already went through and deleted all the pdf files [23:50:21] <_TWS> anyone know of a complete, yet simple wiki page that shows how the semantic extension works?