[07:44:52] legoktm: any recent change that could have affected https://www.mediawiki.org/wiki/Thread:Extension_talk:UserMerge/Internal_error_when_navigating_to_Special:UserMerge ? [08:45:18] hi all ! [08:45:40] i need help, im going insane with this stupid bug [08:45:46] im adding a category to a file page [08:45:52] via the doEdit method [08:45:57] but after doing the edit [08:46:05] i cannot update the category links table [08:46:12] i've tried with doEditUpdates [08:46:20] with updateCategoryCounts [08:46:32] with doPurge [08:46:42] and everything i could think of [08:46:43] but nothing works [08:46:48] the code is simple: [08:47:01] $title = Title::newFromText( $filename, NS_FILE ); [08:47:08] $page = new WikiPage( $title ); [08:47:13] $text = $page->getText(); [08:47:31] $text .= "\n\n[[" . $category . "]]"; [08:47:47] $page->doEdit( $text, 'Category added' ); [08:47:54] and then i tried [08:48:01] $revision = Revision::newFromTitle( $title ); [08:48:09] $page->doEditUpdates( $revision, $revision->getUser() ); [08:48:13] and i also tried [08:48:24] $categoryTitle = Title::newFromText( $category ); [08:48:31] $categoryName = $categoryTitle->getBaseText(); [08:48:38] $page->updateCategoryCounts( array( $categoryName ), array() ); [08:48:46] but nothing seems to workkk [08:48:56] anyone can tell what's wrong ?? [09:02:47] fixed, thx [12:08:08] which modifications are possible within mediawiki? [12:09:13] Everything! [12:22:42] ik neuk jullie allemaal de moeder [12:23:12] $ WgReadOnly = "faggots be faggs" [16:00:57] Nemo_bis: there's a good chance that I broke something, I re-wrote most of it..I'll ask for a full traceback [16:13:02] hi [16:13:05] thanks [16:57:29] Hi all, short question: is it possible to make a search query via API and look for wiki syntax,code instead of rendered text (e.g. find
in pages) [17:00:30] Achajour, insource: [17:05:51] I need some AbuseFilter help, and Reedy are you here [17:05:55] and avaible to hel with AWB [17:08:19] hello [17:08:26] may I have some AbuseFilter assitaince [17:08:29] and or some AWB [17:10:24] hello? [17:10:30] well I guess I will go then [17:10:34] and try again later [17:17:28] aharoni: I will start doing the microtask from the 'Wikipedia article translation metrics' project for opw (I already submitted some patches that are currently being reviewed) but before that I want to know if the current estimation of the translated articles is the one based on this paper http://arxiv.org/abs/1312.0976 or is it documented in much more detail somewhere else? [17:22:21] {{Finished}} expands into "Analyzing of information presented on this page is complete...". I need also: "Analyzing... is complete and even the conjecture XXX is tested". Should I have just {{FinalizedXXX}} or both {{Finalized}} and {{FinalizedXXX}} at a page? Take into account that the conjecture may turn false and then I need to replace all {{FinalizedXXX}} back into {{Finalized}} [17:23:03] *Finalized -> Finished [18:21:40] I'm trying to install mediawiki on my PC using xampp and I keep getting DB connection error: Access denied for user [18:21:45] Check the host, username and password and try again. [18:22:01] I'm following this guide: https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki_on_XAMPP [18:24:46] the host is localhost, and the database username/password is the same one from phpMyAdmin [18:25:25] I've even tried using 127.0.0.1 as the host, and root as the username/password [18:44:29] minip: have you tried localhost? [19:05:47] yeah, I tried localhost; I figured out the problem too, there were a few things going wrong [19:06:15] as for now I've installed mediawiki, and I'm curious as to why index.php is showing up everywhere [19:06:35] wouldn't the destination just be localhost/wikifolder/Main_Page [19:06:44] and not localhost/wikifolder/index.php/Main_Page [19:07:09] It wouldn't be the first one unless you had rewrites setup [19:07:31] is that possible or necessary with xampp on my pc [19:07:44] not really sure what rewrites are, is that just a way of rewriting the destination? [19:07:48] when it's really always index.php ? [19:08:25] we all call it pretty urls [19:08:36] yeah [19:08:38] so on wikipedia it's en.wikipedia.org/wiki/Page [19:09:04] do u have a link for help on enabling rewrites [19:09:14] !rewrite [19:09:15] 1) Try as a fail-safe method; 2) Do not put the files into the document root; 3) Do not map the pages into the document root (see !nullpath); 4) Use different, non-overlapping paths for real files and virtual pages; 5) Do not set a RewriteBase; 6) Put all rules into the .htaccess file in the document root. See also !shorturls [19:09:34] !nullpath [19:09:34] Don't use the example.com/Page_title URL scheme. It isn't supported by developers and WILL break in ways you can't foresee (and if it doesn't, it might break in the future). Some examples can be found at http://www.mediawiki.org/wiki/Manual:Wiki_in_site_root_directory#Reasons_why_putting_wiki_pages_in_the_root_directory_of_the_web_site_is_bad [19:10:41] thanks :-o [19:17:30] !shorturls [19:17:30] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at or try the new beta tool at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [19:19:18] Hi, who is responsible for the new PDF creation feature? I need help with a few questions from users we got via OTRS. [19:19:50] pajz: you could probably ask cscott [19:20:02] pajz: It's not new ;) [19:20:11] well, it's rather new [19:20:22] newer than the old one, at least [19:20:23] the basic feature isn't new (PDFs from pages) [19:20:28] pajz: Krenair has been handling OTRS requests related to PDFs. [19:21:44] They are in German, though I can check back with him of course if that's the preferred workflow. Krenair, you around? [19:26:00] Reedy: Hi, do you have time for a quick root / Commons question? [19:26:13] root-80686: You can ask... ;) [19:26:41] Reedy: I am wondering whether I am doing something wrong or if upload_by_url on Commons is not active for Special:Upload [19:27:04] I think it works via UW [19:27:19] (they use it for flickr etc) [19:27:21] You might need some specific rights [19:28:19] yes, I saw the Flickr button in UW [19:28:44] in my case I want to use another URL from a server which is in the whitelist [19:31:20] root-80686: Are you in a group that has the upload_by_url right? [19:31:23] https://commons.wikimedia.org/wiki/Special:ListGroupRights [19:31:47] Reedy: yep, Image-Reviewer [19:32:20] Reedy: to allow URL upload via Special:Upload $wgCopyUploadsFromSpecialUpload needs to be set true [19:32:28] Ah [19:32:30] I wonder if that's done purposely [19:32:34] Reedy: default is false [19:32:35] (ie it not being set) [19:33:01] Reedy: can you confirm that it is not set? [19:33:39] reedy@tin:/srv/mediawiki-staging$ mwscript eval.php commonswiki [19:33:39] var_> var_dump( $wgCopyUploadsFromSpecialUpload ); [19:33:40] bool(false) [19:33:58] Reedy: cool, thanks! [19:34:16] Reedy: do you think there is a chance to ask for it to be activated? [19:34:46] root-80686: I can't see why it couldn't be... It's there via UW and GWToolset, and upload_by_url is limited to specific domains and users [19:35:04] hello, the smtp settings of my wiki was being done corectly. it was working till yesterday, but from the yesterday, i have error 500 internal server error [19:35:19] now, i shoud check my wiki folder error log [19:35:23] !debug | sasan [19:35:23] sasan: For information on debugging (including viewing errors), see http://www.mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://www.mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging [19:35:26] !500 [19:35:26] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [19:35:27] Reedy: ok, will file a bug. Thanks a lot! [19:35:31] or my host error log [19:37:54] : i have added this to local setting: error_reporting( -1 ); ini_set( 'display_errors', 1 ); [19:38:10] but nothing shown except 500 inetrnal server error 500 [19:38:41] sasan: Have you checked your webserver error logs? [19:39:17] i should check my wiki folder error log or my host error log? [19:39:37] Check both [19:39:46] I don't know what goes where with your config [19:40:23] this is the last one: [08-Oct-2014 12:36:43 Asia/Tehran] PHP Fatal error: Out of memory (allocated 9175040) (tried to allocate 12288 bytes) in /home/parsinte/public_html/wiki/includes/WikiPage.php on line 1714 [19:41:40] !memorylimit [19:41:40] If you're getting out-of-memory errors or internal server errors, raise PHP's memory limit to 50M or more. The memory limit is set in php.ini (as memory_limit) and possibly overridden in LocalSettings.php with ini_set('memory_limit', '20M'); [19:42:10] you mean i add ini_set('memory_limit', '50M'); [19:42:18] to my local setting [19:42:19] ? [19:43:01] yeahh [19:43:07] 9175040 would look to be 9MB? :/ [19:46:07] i have add this ini_set('memory_limit', '50M'); [19:46:10] but same [19:46:12] problem [19:46:14] Reedy: https://bugzilla.wikimedia.org/show_bug.cgi?id=71897 [19:47:14] please see the log [19:47:15] [08-Oct-2014 12:36:43 Asia/Tehran] PHP Fatal error: Out of memory (allocated 9175040) (tried to allocate 12288 bytes) in /home/parsinte/public_html/wiki/includes/WikiPage.php on line 1714 [19:47:50] sounds lik the memory limit change hasn't taken hold [19:49:02] you mean i add in php,ini [19:49:02] ? [19:52:28] in my php.ini i have just these code: [19:52:37] register_globals=Off safe_mode=Off allow_url_fopen=Off allow_url_include=Off disable_functions=show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open [19:52:40] no memeory limit [19:55:08] I doubt that not setting it will give you a "no limit", specially if you're on a shared host [19:55:33] so what do you think about it? [19:56:12] if your setting of memory_limit doesn't seem to work, it may be limited by your host [19:56:50] !rewriteproblem [19:56:50] 1) Try as a fail-safe method; 2) Do not put the files into the document root; 3) Do not map the pages into the document root (see !nullpath); 4) Use different, non-overlapping paths for real files and virtual pages; 5) Do not set a RewriteBase; 6) Put all rules into the .htaccess file in the document root. See also !shorturls [20:01:41] this is instruction for me? [20:01:48] no idea? [20:05:18] can't get this shorturl stuff to work on apache ;( [20:16:52] what happened?? [20:31:02] no body can answer my question???? [20:35:40] sasan: Did you restart your webserver after raising the memory limits? [20:36:17] you mean after adding those commands in local setting?? [20:37:07] : you mean after adding those commands in local setting?? [20:37:47] sasan: Yes [20:38:22] i am in cpanel, how could i restat?? [20:38:35] ...I have no idea [20:38:47] it's a shared host, you can't just restart the webserver ;) [20:39:25] you mean i ca not do anything??:( [20:42:01] no idea?? [20:45:35] sasan: create a PHP file with this contents, and access it from your browser: https://dpaste.de/XVXq/raw [20:45:57] if it doesn't print 50M, then your host has limited your ability to increase that value [20:46:37] no important which name? [20:47:29] the name needs to end in ".php", apart from that, it doesn't matter [20:48:24] the file is 1,php and was genetated [20:48:31] now what should i do? [20:49:09] i followed [20:49:16] http://parsintelligent.com/1.php [20:49:25] it show me 512N [20:49:28] M [20:50:08] well, 512M is more than 50M, so MediaWiki shouldn't have memory problems [20:50:42] could you please remote [20:50:43] ? [20:51:28] could? [20:51:32] no [20:53:33] Vulpix> just 4 min [20:54:04] I don't have 4 minutes ;) [21:37:31] hello [21:37:35] reedy are you here?