[00:19:18] ����� [00:19:18] warning [00:19:18] you may be watched [00:19:18] do usa&israel use the internet(facebook,youtube,twitter, chat rooms ..ect)to spy?? [00:19:18] do usa&israel use the internet 2 collect informations,,can we call that spying?? [00:34:03] heh [00:34:27] someone's out of the loop :) [11:38:20] help please [11:46:24] !ask [11:46:24] 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. :) [11:50:18] I have just copied the "Medical citation needed" template from enwiki to aswiki. But it gives "Script error" [11:51:13] Can anyone pleack what's wrong? [11:52:31] not pleak... it should be "check" [11:53:37] here in special:expand templates (https://as.wikipedia.org/wiki/%E0%A6%AC%E0%A6%BF%E0%A6%B6%E0%A7%87%E0%A6%B7:%E0%A6%B8%E0%A6%BE%E0%A6%81%E0%A6%9A%E0%A6%AC%E0%A7%8B%E0%A7%B0_%E0%A6%AA%E0%A7%8D%E0%A7%B0%E0%A6%B8%E0%A6%BE%E0%A7%B0_%E0%A6%95%E0%A7%B0%E0%A6%95) it gives "Script error: No such module" [11:54:36] psneog: [11:54:57] yes... how to fix it? [11:55:01] so you need to copy the unsubst module, or you need to remove references to that module from the template [11:55:23] How do I do it? [11:55:37] copy the unsubst module? [11:56:23] https://en.wikipedia.org/wiki/Module:Unsubst [11:56:40] yeah found it, copying.... [11:57:10] or you can just strip the unsubst layer from the template [12:04:16] valhallasw`cloud: Did it, and working. lots of thanks [15:21:45] Hello [15:21:53] Can someone support me with a technical issue that i have? [15:22:18] !ask | Guest14448 [15:22:18] Guest14448: 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:23:50] Thank you. I just update my MediaWiki to the latest version 1.23.1 from version 1.22.2 [15:24:00] But I have some serious bugs [15:24:20] This is the URL of my MediaWiki: www.rapidseedbox.com/kb2 [15:24:37] At first, I have the following exception: Unexpected non-MediaWiki exception encountered, of type "InvalidArgumentException" [15:25:28] Then, I refresh the page and it loads, but with no styling at all [15:25:31] as follows: http://gyazo.com/04c6c861401cc5148e989188b17723fa [15:25:49] indeed, the exception seems to be random :S [15:26:24] Just to clarify, version 1.22.2 works perfect on my server Vulpix [15:26:37] It's also available: https://www.rapidseedbox.com/kb [15:27:17] The error log however has only one error [15:27:23] [06-Jul-2014 15:26:54 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 1960031633 bytes) in /home/user/public_html/kb2/includes/libs/CSSMin.php on line 240 [15:28:28] That's 1024MB of memory, which I believe I already allocated -- but still it's way too much for PHP as far as I can tell [15:32:25] can anyone assist me with my issue? [15:33:45] Guest14448: look at https://www.mediawiki.org/wiki/Manual:How_to_debug, and try setting $wgShowExceptionDetails = true; [15:34:07] at least to try to see from where does the "Unexpected non-MediaWiki exception encountered, of type "InvalidArgumentException" " comes from [15:37:18] Vulpix: I just added these 3 lines to my localsettings file [15:37:20] $wgShowExceptionDetails = true error_reporting( -1 ); ini_set( 'display_errors', 1 ); [15:37:31] and my mediawiki doesn't load now. [15:38:05] there's a missing semicolon after "true" [15:38:53] got it [15:39:13] http://gyazo.com/3c5b6f3df2943135fe79c1c31e64360e [15:39:15] that's what I see now [15:41:44] I guess it may be happening because of the l10n cache. are kb and kb2 using the same database? [15:43:39] Yes they are [15:43:56] this database has been updated to 1.23.1 though [15:45:31] it may be a problem if people access both instances, since l10n cache may get incompatible to one version [15:45:40] I see [15:45:57] Well, how can I clear that cache< [15:47:02] I don't mind making the kb unavailable for a while. [15:47:13] so kb2 will be the only one to access the database [15:47:24] this mediawiki is for internal usage only [15:47:48] you can issue a "truncate table l10n_cache;" on a mysql command prompt, to clear all rows of that table [15:47:50] and what you're saying does sound reasonable, because sometimes randomly the kb2 does work when I refresh [15:48:05] I'm on it Vulpix, thank you for your time thus far! [15:48:44] you may want to set this, also, so it isn't recreated again until you can make it work: $wgMessageCacheType = CACHE_NONE; [15:49:47] I just added $wgMessageCacheType = CACHE_NONE; on both of my installations [15:50:28] table is now empty [15:50:56] Unfortunately, I still have the same error on https://www.rapidseedbox.com/kb2/ [15:51:54] http://gyazo.com/d4f41900d3b71dc7ad36c92d709cc8df [15:52:35] I can also see that l10n_cahce table has information again [15:52:41] rows* [15:53:48] maybe someone accessed the 1.22 instance in the meantime? [15:54:05] I disabled the caching there too [15:54:23] and there are only 4 people accessing this kb [15:54:26] I'll truncate and test again [15:55:35] Now https://www.rapidseedbox.com/kb isn't working either [15:56:48] so currently, both of my installations aren't working [15:58:12] Vulpix: can you please help me revert back to a situation where at least kb (1.22.1) works? [15:59:27] if you upgraded your database, you should restore a backup from before the upgrade [16:00:07] I'd like to experiment with installing a new MediaWiki installation, in a fresh database [16:00:24] I'll transfer all uploads and page content to that new database. [16:00:34] I got the old one in backup, so let's ignore this one for a while [16:00:45] Any idea how should I keep troubleshooting for the new kb2 installation? [16:02:27] that error is very strange. I guess the cause may be the interference of accessing both instances at the same time [16:02:36] I se [16:02:38] I see [16:02:47] I'm going to try and make a fresh installation then with new database [16:02:50] I'll report back shortly [16:02:54] Thank you for your time thus far! [16:03:51] yw :) [16:04:36] 2385 [16:04:43] oops, wrong window :P [16:08:53] Vulpix: [16:09:05] Check this out please, this is a fresh 1.23.1 upload [16:09:07] https://www.rapidseedbox.com/kb2/mw-config/index.php [16:09:18] It has some weird .css errors [16:09:32] this upload has no localsettings file yet [16:09:36] I'm installing right now [16:10:16] it returns HTTP 404 error somehow https://www.rapidseedbox.com/kb2/mw-config/?css=ltr [16:10:34] maybe a conflict with rewrite rules? [16:11:19] I noticed, but I have no htaccess file in this folder [16:11:20] let me double check [16:11:50] confirmed, not htaccess there [16:11:52] no* [16:12:11] I wonder how could that happen with a fresh upload [16:12:19] from the official .tar.gz package [16:14:20] well, there seems to be some server thing doing redirects, because https://www.rapidseedbox.com/kb2/mw-config/index.php?css=ltr redirects to https://www.rapidseedbox.com/kb2/mw-config/?css=ltr [16:14:37] maybe a .htaccess on a parent directory [16:17:18] just updated my .htaccess on the parent directory [16:17:21] the result is a bit different [16:17:23] but still the same [16:17:24] please check [16:19:47] it throws an Internal Server Error [16:20:04] if you look at the apache error_log file, it may contain further information [16:31:28] تحذير [16:31:28] warning [16:31:28] you may be watched [16:31:28] do usa&israel use the internet(facebook,youtube,twitter, chat rooms ..ect)to spy?? [16:31:28] do usa&israel use the internet 2 collect informations,,can we call that spying?? [16:31:29] do they record&analyse everything we do on the internet,,can they harm you using these informations?? [16:31:29] warning [17:39:52] Hi, I don't understand why this JSON can't be parsed: https://dpaste.de/oUNO [17:41:20] Did you try the URL in a browser? [17:41:23] Automatik: ^ [17:41:28] yes [17:41:43] http://fr.wiktionary.org/w/api.php?action=query&format=json&titles=Utilisateur:Automatik/langues.json&prop=revisions&rvprop=content [17:43:04] If this is not the right way to do it, thanks for telling me [17:44:00] Do you get data? [17:44:03] What happens? [17:44:59] The error returned is: "SyntaxError: JSON.parse: unexpected character at line 1 column 78084 of the JSON data" [17:45:21] I looked at this position, but no special character [17:45:22] Use console.log() to output the response it's getting from the server? [17:45:41] Sometimes people set up something like... [17:45:41] var api = new mw.Api(); [17:45:47] And then do api.get( ... ) [17:45:53] To use the mw.Api() object, I guess. [17:47:18] yes, it's not good? [17:51:46] the response from the server seems to be normal: https://dpaste.de/6oCW [17:54:30] I don't think you need JSON.parse(). [17:55:14] Automatik: Try https://dpaste.de/AWMd ? [17:56:28] I ever tried (and I retried): tab_langues is a string [17:57:16] Oh. [17:57:22] Because you want to parse the contents of the page... [17:57:50] Right... [17:57:56] It's probably getting escaped as a string. [17:58:04] I guess you'd need to unescape it first? [17:58:31] Or don't access the page contents via the API. [17:59:26] action=raw? [17:59:42] Yeah. [17:59:43] Maybe. [18:14:33] ah, I had a string in '' instead of "" ... [22:20:38] there is no special page to edit namespaces ? [22:20:55] no [22:21:06] only by editing config ? [22:21:10] yes [22:21:28] and you don't happen to know how to get that done for test.wikipedia.org would you ? [22:21:49] need new namespace for script testing .. [22:21:55] https://meta.wikimedia.org/wiki/Requesting_wiki_configuration_changes [22:22:40] should i really do step 2 or can i skip it in this case ? [22:22:55] for testwiki you can skip it [22:25:54] thanks, i filed bug 67573 [22:27:38] Automatik: Really? ' v. "? That's cruel. :-( [22:28:14] yes ;o [22:28:15] JSON standard is " not '