[00:46:01] Good moring everyone: I am trying to migrate the 'images' directory of a broken mediawiki server to a new installation. The problem is that the old server had $wgHashedSharedUploadDirectory = true. [00:46:52] I moved the backup of the images folder into place, but the server is looking for '/images/A.jpg' instead of '0/0a/A.jpg' I understand that it is missing the index, but is there a way to regenerate the index? [01:20:20] hello [01:21:16] i need to talk to a developer for essence of the gods [01:22:07] I have found multiple game breaking bugs and I cannot use this mod anymore please devs my teamspeak is teamspeak.circlecraft.info [01:22:14] please come and help [01:22:30] * Hello71 sniggers [01:23:13] And you decided to come here why? [01:23:14] warriorwiki: find -type f -exec mv {} . + [01:23:40] warriorwiki: and I don't know how you plan on restoring the database with all the entries in it [01:24:06] dammit, I wanted to say "you need to do the konami code" [02:18:25] hello! is there any real reason to update mediawiki? [03:09:21] inex: https://www.mediawiki.org/wiki/Manual:Upgrading#Why_upgrade.3F but you should always upgrade to the latest version for performance enhancements, security updates, and new user features, more details of which are usually in that version's release notes [03:18:08] Hi All [03:18:16] MediaWiki does not function when magic quotes are enabled. Please see the PHP Manual for help on how to disable magic quotes. [03:18:29] But I have it disabled in my PHP setting. [03:18:44] So its weird to me, please help. [07:10:14] jackmcbarn: thanks. updating vendor and composer worked [07:15:12] Hi, I 've got a security question [07:18:10] After install the configure script was still accessible from outisde the server. So renamed the dir to soemthing else. And I have the feeling that visitors can execute any php script directly if t hey know teh name. and someone who is experienced with mediawiki knows the names. Is this a security hole? If yes, do what? [10:43:29] hello,everyone [10:45:30] hi [10:46:17] hi [10:46:39] I want use ldap to identify users [10:47:35] but I only have the ldap server's IP address,and on username and password,what shuoud I do [11:20:25] I want to use the onLinksUpdateComplete hook, but I don't understand the LinksUpdate object. How get I receive the added or remove URL, or at least the page ID ("el_from")? [11:20:51] https://www.mediawiki.org/wiki/Manual:Hooks/LinksUpdateComplete [11:21:25] !class LinksUpdate [11:21:25] See https://doc.wikimedia.org/mediawiki-core/master/php/html/classLinksUpdate.html [11:22:28] Subfader: ^ [11:28:06] Thanks, trying. [11:30:16] it is possible to remove a perfix with parser function, for example if Category:123 the output schould be 123 [11:30:19] hi :) [11:33:33] Steinsplitter: {{PAGENAME:Category:123}} [11:34:25] Vulpix: aaah, thanks! thx :) [11:34:38] Vulpix: $linksUpdate->mId :) [11:47:42] hi for this line: $db =& wfGetDB( DB_MASTER ); ... I am getting " [11:47:43] Strict Standards: Only variables should be assigned by reference in [11:48:29] Should the ampersand be removed? I have seen this ampersand used in other references tio wfGetDB... [13:23:11] Hi [13:23:17] Seeking assistance [13:23:20] Anyone available? [13:23:45] heyho. i try to make a external wiki create account. i write this: https://dpaste.de/zBEj , in DB in mwuser is id, user_name user_password user_email added. but when i try to login with the new createt account there is the errormsg: this user doesn't exist? i think there is something missing in the db, but what? can somebody help me? [13:30:03] in the usergroup the account exist... [13:32:47] Dirk^^^: creating new accounts on MediaWiki with that PHP file? that doesn't look good... [13:32:47] hi [13:32:55] can I use titleparts in url? [13:33:19] i know. but i tried to make an extern register [13:33:20] ManBoob: ask the question, dont ask if you can ask [13:33:49] Dirk^^^: it would be better to call MediaWiki API for that [13:34:35] Dirk^^^: https://www.mediawiki.org/wiki/API:Account_creation [13:36:20] Security Question: After install the configure script was still accessible from outisde the server. So renamed the dir to soemthing else. And I have the feeling that visitors can execute any php script directly if t hey know teh name. and someone who is experienced with mediawiki knows the names. Is this a security hole? If yes, do what? [13:42:00] linux-amiga: the update script, once there's a LocalSettings.php present, will require to input a token (which is present in LocalSettings.php) for it to start configuring things [13:42:48] ah! good to know. And the other scripts? [13:42:54] still, it's a good practice to configure /mw-config so it only allows access from your current IP, or localhost, or simply disable access when the install/upgrade has been done [13:43:21] all other scripts have a check that will not run if called directly [13:43:31] ah [13:44:16] i renamed the config directory /mw-config to something unguessable [13:45:02] MediaWiki does not function when magic quotes are enabled. Please see the PHP Manual for help on how to disable magic quotes. I have already disabled the magic quotes in cpanel [13:45:08] And still face the issues. [13:45:35] linux-amiga: don't do that [13:45:41] why? [13:45:47] reconfigure your web server to make it inaccessible [13:46:05] because security by obscurity is terrible practice [13:46:15] in the .htaccess ? [13:46:22] ah [13:46:23] ok [13:46:50] i'm not that familiar with apache, so i couldn't tell you the best way to do it [13:46:56] ok [13:47:04] thanks anyway [13:49:06] can I easily upgrade to the new version without export/import my pages and files? [13:49:31] linux-amiga: yes. Only take a backup in case things go wrong :) [13:49:35] !upgrade | linux-amiga [13:49:35] linux-amiga: http://www.mediawiki.org/wiki/Manual:Upgrading [13:50:28] just remember to unpack the new installation on an empty directory and not over old files. This is a common cause of errors [13:51:03] I will do [13:51:52] is it recommended to upgrade any release or is it enough when a release appears that has changes which I want to have? [13:53:18] well, just be sure you're running a supported version of MediaWiki (currently 1.25.1, 1.24.2, 1.23.9), because other have no security updates and may be vulnerable [13:54:26] how to determine my version? [13:54:49] linux-amiga: go to the [[Special:Version]] page [13:54:55] ah [13:55:21] it says 1.24.2 so all ok [13:55:23] 1.25 was released this week, so you may find issues in some of your extensions in case some of them hasn't been updated for incompatibility changes or something like that [13:56:00] i did not upgrade to 1.25 [13:58:46] mediawiki is a great software [14:13:29] but how to make mediawiki link to ldap [14:13:57] !ldap [14:13:57] http://www.mediawiki.org/wiki/Extension:LDAP_Authentication To get support, open a new thread on the support page http://www.mediawiki.org/wiki/Extension_talk:LDAP_Authentication [14:16:42] MediaWiki does not function when magic quotes are enabled. Please see the PHP Manual for help on how to disable magic quotes. I have already disabled the magic quotes in cpanel [14:16:44] And still face the issues. [14:16:56] thank iu [14:16:59] Any possible insight? [14:19:16] no,I just use a server address and server port [14:19:35] it can make user login wiiki [14:50:37] hmpf i don't understand api:account creation. is the password in mysql md5? i need a token? how can i generate a token? [15:23:00] Dirk^^^, mtql md5? not at all [15:23:24] see the docs regarding the tokens [15:51:25] !smw [15:51:25] SemanticMediaWiki is an awesome extension that lets you connect wiki pages with semantic relations. See and . Mailing lists are available at [15:58:48] does SMW have an IRC channel? [16:01:41] #semantic-mediawiki iirc. [17:04:01] Lcawte: thanks [17:04:06] !blank [17:04:06] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [17:12:10] jemand der deutsch kann hier und Ahnung hat? :) [17:41:55] MatmaRex: hallo [17:42:03] hi aharoni [17:42:25] MatmaRex: do you have a permission to edit https://hu.wikipedia.org/wiki/MediaWiki:Common.js ? [17:42:30] see https://hu.wikipedia.org/wiki/MediaWiki-vita:Common.js#Fixes_for_ContentTranslation [17:44:25] aharoni: i can, but only as global interfaceeditor, i'd rather not unless something is horribly broken [17:44:51] MatmaRex: np, that's what I imagine [17:45:54] aharoni: i'm not sure if the proposed changes would actually change any behavior of that code… what is actually broken? [17:46:11] Try opening ContentTranslation. [17:46:26] (doing anything on an empty jQuery collection, which is what you get when calling $('#doesntexist'), is a no-op) [17:47:28] MatmaRex: enable the beta feature and go to https://hu.wikipedia.org/wiki/Special:CX?debug=true [17:47:59] did it. works for me [17:48:10] i am translating an article right now [17:48:17] WAT [17:48:39] http://i.imgur.com/gnDZkOI.png [17:49:04] WAT [17:49:07] WAT WAT WAT [17:49:35] I get a fatal on $('#searchform').attr, etc. [17:49:39] in Chrome and in Firefox [17:50:38] MatmaRex: How on Earth is it even possible. [17:51:14] hmm [17:52:56] i think it might depend on the load order [17:53:27] aharoni: why is CX so special, anyway :/ killing the whole interface is not cool [17:54:11] users didn't complain [17:54:18] Not a single one. [17:54:31] And we have over a thousand who actually published articles. [17:55:09] and you also have site scripts falling over because they depend on page interface actually existing… [17:55:24] anyway, you can consider me hereby complaining [17:56:49] I look forward to the day CX is deployed on English. I want to translate articles from French, a language I can read decently well. [17:57:16] harej: next month if all goes well [17:58:12] harej: I'm counting on you to reply to all the people who will complain about new features that HELP PEOPLE CREATE ARTICLES [17:58:17] and surely there will be a few. [17:58:18] aharoni: i did a smaller fix, should suffice: https://hu.wikipedia.org/w/index.php?title=MediaWiki:Common.js&diff=16096177&oldid=15592498 [17:58:43] MatmaRex: yippe, thanks [17:59:13] (this is basically a version of your point 2 which changes less code) [17:59:39] (your point 1 is not necessary, as $form.submit(…) is already a no-op if $form doesn't actually have any elements in it) [17:59:49] MatmaRex: would you be so kind and leave a comment at the talk page? [18:01:16] done [18:28:10] is there any one? [18:28:32] Preved [18:51:24] ah [18:52:16] do u you what kind of framework the mediawiki use [18:54:41] Su27: MediaWiki doesn't use a framework IIRC [18:55:06] ah [18:55:21] how do you feel about it [18:55:27] it's just a bunch of PHP code written by a lot of different people just for MediaWiki [18:57:33] ah [18:57:55] the model of design is very complex [18:59:26] indeed [19:16:04] hi for this line I see in an extension's code: $db =& wfGetDB( DB_MASTER ); ... I am getting "Strict Standards: Only variables should be assigned by reference in" ... Should the ampersand be removed? I have seen this ampersand used in other references tio wfGetDB... [19:16:44] If I remove the ampersand, the error message goes away.... should it be removed? [19:18:03] docs say: Note: multiple calls to wfGetDB(DB_SLAVE) during the course of one request will always return the same object, unless the underlying connection or load balancer is manually destroyed. [19:18:17] so I guess there's no need to use ampersand here [19:18:41] Vulpix, thank you for looking that up friend [19:28:28] hypergrove: yes. that ampersand looks like something from PHP 4 days :) [19:29:50] MatmaRex, little surprise there. Mass change done... so far so good. [19:45:48] Hi, what is the best method for exporting pages to pdf which supports East Asia characters? I'm using PdfExport but which plugin is the best for it? [22:17:57] today is my 4 year anniversary of joining mediawiki.org :O #totalnoob [22:18:44] georgebarnick: congrats. I made my first SVN commit more or less 4 years ago. [22:19:01] nice lol [22:23:06] I have a question regarding the use of Tango icons, Can I use them for a wiki that supports my commercial business but none of the icons are in the commercial software. They are only in the wiki for informational/design/tutorial reasons? [22:37:42] brokedahmouth: well it depends on project license [22:38:31] brokedahmouth: basically you can sell work which are under free license, but you cant change there license not to be free [22:39:36] your project license, must mention, that there are media, which might be excluded from project license. I guess your icons will be always as mirrored imates right [22:39:37] ? [22:41:22] Free SEO Analyzer/Optimizer + PDF Generator without shit signups or paying. thought i'd share - https://www.criosphinx.net/seo-checker SAVE & SHARE [22:48:05] no [22:48:08] nothing on my wiki [22:48:14] in terms of icons will be mirrored [22:48:18] totally seperate [22:48:41] the icons on the wiki are mostly for the wiki's design to convey informations [22:48:50] that being the case am i in the clear?