[00:08:15] I know MediaWiki intended to be a public site. I have it on my laptop, sometimes, it's a server but I don't want anyone look into my MediaWiki. Let me know URL where there have more info how to do that? [00:09:41] you could try taking the view right away from the * group [00:09:43] !access [00:09:43] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [00:10:06] or you could play with htaccess and password protect the folder [00:57:30] 03(mod) Personal javascript preview not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20631 +comment (10heldergeovane) [03:17:12] 03(mod) wikEd compatibility: toolbar focuses on hidden textarea - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20498 (10oq9pscb02) [03:48:22] < http://meta.wikimedia.org/wiki/Special:GlobalBlockWhitelist > seems to be blank. [04:31:08] so let's say i've got a shortcut "SC"...and that actual article has a bunch of subpages. is the only way to make SC/subpage work to create each new subpage and redirect? :| [04:31:12] oy [04:31:43] like, make it evaluate the shortcut first, and then evaluate the subpage? [04:32:58] afaik, you shouldn't need to be don't quote me on that [04:34:17] "shouldn't need to be"? [04:35:19] 03(mod) bug in uploading new version on commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20677 normal->major (10mbzmbz77) [04:35:47] i don't understand what you mean [04:36:17] I'm seeing in the installation process, errors looking for a file called: StartProfiler.php [04:36:42] at: includes/WebStart.php on line 69 [04:37:54] I'm not sure what the value of $IP is, in its directory path. Can someone point me to this file, so I can symlink it and make this installation work? [04:39:39] where mw was installed, like w/ or mw/ or wherever you installed it... [04:40:47] I should add, I installed an instance of the mw code, and three sets of configuration files and symlinks for three related projects. [04:42:28] hesco: that sounds likely to cause problems. [04:42:37] It'd be a lot easier to help you if you told us exactly what the errors were, though. [04:45:04] my setup was 3 separate dirs, with symlinked dirs, like images/ extensions/ includes/ etc. and 3 different confs, plus a shared conf. worked fine, plus i set up a shared db for user and other info. was going to do centralauth, but time always short, and i was the only person working on this. [04:45:14] I just found the missing file, in the root install directory. I was rooting around everywhere but there. [04:45:17] never mind. [04:46:29] simonrvn: such things work fine if you know what you're doing. :) [04:46:41] 03(NEW) Language converter has no effect on MediaWiki:Sitenotice - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20734 normal; Normal; MediaWiki: Internationalization; (xu.jimmy.wrk) [04:47:01] so...about the shortcut + subpage (: [04:48:23] rchern: https://bugzilla.wikimedia.org/show_bug.cgi?id=9933 [04:48:29] which I've been meaning to reopen for quiet a while [04:49:39] great |: [04:50:06] that means i need to create something over 1500 redirects so that it seems like that works [04:50:21] or just use the shortened name [04:50:32] ^_^ [04:50:42] Emufarmers: well, yeh =) [04:50:54] nah, that's not desirable [04:51:19] or make a big template #switch (or use StringFunctions) [04:51:20] [04:51:50] {{SC|F}} ... {{#switch:{{{1}}}| ...}} [04:52:57] or add some javascript trigger to MediaWiki:Newarticletext [04:53:27] {{#ifexist:Expandedtitle/{{SUBPAGENAME}}|
Expandedtitle/{{SUBPAGENAME}}
}} [04:55:00] addOnloadHook(function() { var r = document.getElementById('redirect'); if(r && wgAction == 'edit' && wgNamespaceNumber==0 && wgCurRevisionId == 0) document.location.href = wgScript + r.innerHTML}) [04:55:14] or something [04:55:20] heh, you're way over my head >_> [04:55:53] *Annemarie gets the leash. [05:01:02] 03(mod) Change script loading order back - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20720 summary; +comment (10liangent) [05:01:15] hrm |: [05:08:35] hrm, it seems like modifying MediaWiki:Newarticletext would be the best option? [05:08:38] what is liangent saying now, that site JS should come before wikibits? [05:08:53] if i'm able to get the expanded article title [05:34:45] 03(mod) Create Author, Portal, Page and Index namespaces for vi.wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20334 (10vinhtantran) [06:32:05] 03(mod) {{int:Conversionname}} cannot be always rendered correctly in Sitenotice - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19846 +comment (10alex.emsenhuber) [06:32:08] 14(DUP) Language converter has no effect on MediaWiki:Sitenotice - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20734 +comment (10alex.emsenhuber) [06:49:53] hi.. [06:50:08] how can i prevent the other to create new page in my wiki site?? [06:50:41] i know wiki is made for open.. but i just want to make a little security for my wiki site.. [06:50:59] i want only selected user can create or edit page in my wiki site.. [06:51:51] !access [06:51:51] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [06:57:47] i want to use this: $wgGroupPermissions['*']['createpage'] = false; [06:57:51] but where can i place that ?? [06:57:54] what file name? [06:58:49] !localsettings [06:58:49] --mwbot-- All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , , and [06:59:17] thank u [06:59:28] !localsettings [06:59:28] --mwbot-- All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , , and [06:59:53] *slap* [07:00:00] it didn't change a minute later [07:00:16] !localsettings [07:00:16] --mwbot-- All configuration is done in LocalSettings.php (near the end of the file). Editing other files means modifying the software. Default settings are not in LocalSettings.php, you can look in DefaultSettings.php. See , , , and [07:01:06] inb4!localsettings [07:04:54] how to use that sysop ?? [07:08:35] if i use this: $wgGroupPermissions['sysop']['edit'] = true; [07:08:44] what is the purpose of that??? [07:08:56] in case editing is restricted [07:10:01] yeah i know [07:10:08] but what is that SYSOP ?? [07:10:35] the admin user group [07:10:49] that is the secret group, you have to subscribe to MediaWiki premium, $150 a year [07:10:59] see Special:ListGroupRights, they can delete and protect pages, block users, edit the interface, whatever [07:11:52] oh i see [07:12:13] example i want you to be in sysop, how can you login to my wiki site? [07:12:40] Margz: by default anyone can create an account, you can make new sysops via Special:UserRights [07:12:47] because i will assign my friend as an editor of our wiki site.. how can he login? what username will he going to put?? [07:13:15] i already put $wgGroupPermissions['*']['createaccount'] = false; in my wiki.. [07:13:28] Margz: you'd have to make an account for him then [07:13:35] so that no one can create account anymore.. [07:13:40] oh i see.. [07:14:23] you'll want whatever/index.php?title=Special:UserLogin&type=signup [07:15:06] do i have a permission to create a new account?? [07:15:26] as a sysop, yes [07:15:34] i see. [07:15:51] and how can i put other account to the sysop group ?? [07:16:17] via Special:UserRights [07:16:56] ok ill try [07:17:58] can i make new group for my wiki ?? [07:18:24] yes, just add rights via $wgGroupPermissions in LocalSettings.php [07:18:39] once at least one right occupies a new group, it will exist [07:19:11] $wgGroupPermissions['somenewgroup']['someright'] = true; [07:19:43] is it correct? $wgGroupPermissions['editors']['edit'] = false; [07:19:55] i mean $wgGroupPermissions['editors']['edit'] = true; [07:20:04] it is, if you don't want them to have the edit right [07:20:14] Margz: yes, the 2nd one [07:20:15] second one would be correct [07:20:49] be sure to remove edit from both '*' and 'user' or else it won't do much [07:20:51] is it ok ?? $wgGroupPermissions['JPLEEditors']['edit'] = true; [07:21:04] use all lowercase [07:21:09] and then change case via the interface [07:21:12] $wgGroupPermissions['*']['edit'] = false; and $wgGroupPermissions['user']['edit'] = false; [07:21:12] as needed [07:21:45] probably you want $wgGroupPermissions['sysop']['edit'] = true; too as it isn't implicit [07:23:20] look at mine: http://pastebin.com/d557b92ad [07:23:45] i wanna know if i have error with the code i put in localsettings.php [07:25:51] 03(NEW) ajaxcategories.js failed when deleting [[Category:C++]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20735 normal; Normal; mwEmbed: General/Unknown; (xu.jimmy.wrk) [07:27:04] can i post my little code here?? [07:27:07] # Anonymous users can't create pages [07:27:07] $wgGroupPermissions['*']['createpage'] = false; [07:27:07] # Restrict anonymous and users editing [07:27:07] $wgGroupPermissions['*']['edit'] = false; [07:27:07] $wgGroupPermissions['user']['edit'] = false; [07:27:08] # Prevent new user registrations by anyone [07:27:10] $wgGroupPermissions['*']['createaccount'] = false; [07:27:12] # hide user tools for anonymous (IP) visitors: [07:27:14] $wgShowIPinHeader = false; [07:27:16] # JPL Encyclopedia Editors Group [07:27:18] $wgGroupPermissions['JPLEEditors']['edit'] = true; [07:29:14] how can i make new account via specialpage?? [07:29:20] 03(mod) ajaxcategories.js failed when deleting [[Category:C++]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20735 (10liangent) [07:29:53] !pastebin | Margz [07:29:53] --mwbot-- Margz: Please do not paste more than 2-3 lines of text into the channel as it disrupts the flow of conversation. Instead please use a pastebin such as and post a link to your paste in the channel. [07:30:11] ops.. sorry about that.. [07:30:14] my fault.. [07:30:17] how can i make new account via specialpage?? [07:30:53] [[Special:UserLogin]] should do it [07:32:09] ops.. [07:32:11] why is it? [07:32:27] You do not have permission to edit this page, for the following reason: The action you have requested is limited to users in the group: JPLEEditors. [07:32:38] but i am a Administrator.. [07:33:18] because you didn't give it to admins [07:33:36] [17:21] probably you want $wgGroupPermissions['sysop']['edit'] = true; too as it isn't implicit [07:33:44] i see [07:33:57] sorry, i disregard that earlier.. thank you.. [07:34:10] it's like NTFS permissions, any denies override a allow [08:03:32] why does Mediawiki think these pages are redirects when they are not? http://bahaikipedia.org/Special:BrokenRedirects [08:17:15] 03nikerabbit * r56629 10/trunk/extensions/Translate/utils/TranslationEditPage.php: Use three rows as the minimum, which seems to be the minimum size in some browsers anyway [08:25:04] 03(mod) bug in uploading new version on commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20677 (10Bryan.TongMinh) [08:27:01] 03nikerabbit * r56630 10/trunk/extensions/Translate/FFS.php: Flattening and unflattening for multi-dimensional arrays [09:01:53] 03btongminh * r56631 10/trunk/phase3/includes/upload/UploadBase.php: Fix overwrite permission checking for users without reupload-shared right. [09:05:28] 03(ASSIGNED) bug in uploading new version on commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20677 +comment (10Bryan.TongMinh) [09:13:54] i have php.ini configured to allow up to 4mb uploads but it seems to timeout around the 1mb mark [09:13:59] does anyone know what could be causing this? [09:14:23] how long does that 1mb take? [09:15:17] maybe 30-40 seconds [09:16:30] hmm, well you can increase upload_max_filesize and post_max_size all you want, but I think your web server (or php) will simply timeout if it takes /too/ long... [09:16:51] that timeout should be configurable [09:17:12] ok, i'll look for that [09:17:12] :) [09:17:17] thank you [09:19:24] set_time_limit() [09:19:34] in php.ini? [09:19:41] maybe, dunno [09:19:54] or max_execution_time [09:20:12] i had doubled max_execution_time already [09:21:18] i'll continue to play with these settings and search :) [09:21:21] thank you for your help :D [09:21:43] "help" in quotes [09:21:57] let us know if you figure it out, can add the info to !filesize [09:22:17] i'm running nginx [09:22:21] so will do [09:22:46] brion enabled 100 megabyte uploads a few months ago on wmf, but the first problem was the encoding overhead, the max people could upload was 75, after he fixed it a few people with very high bandwidth were able to upload 99 megabyte files [09:23:02] wow [09:23:02] lol [09:23:03] (the main stopgap being timeouts) [09:23:37] but now the upload api and upload UI have some new features (in 1.16alpha), like a working upload by url, and the ability to upload in chunks [09:24:04] now if they can just get the API to do multiple uploads... heh [09:24:56] it would be nice if you could call an image from the server it's on [09:24:57] somehow [09:24:58] :p [09:25:07] 03(NEW) Commons' "Upload new version" acts as "Upload file" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20736 major; Normal; MediaWiki: Uploading; (jarry1250) [09:25:12] upload it to the server then the server just has to remake the paths or something [09:25:29] !externalimages [09:25:29] --mwbot-- To allow images from elsewhere to be included in your wiki, see . To limit this to some specific sources, see . [09:26:22] well, that doesn't allow scaling [09:27:08] t0lk: one thing you can do is stick them on the server and run the /maintenance/importImages.php script [09:27:18] that acts as an internal "upload", sort of [09:27:24] ahh [09:27:24] ok [09:27:26] interesting [09:27:36] if i can't get the regular upload to work i'll go with that [09:27:37] thanks [09:27:41] rar [09:31:24] Does anyone know if there is simpler way of getting LaTeX support in MediaWiki without following the documentation? [09:31:38] s/without/than/ [09:35:08] hello [09:35:38] is the 'beta' of wikipedia related to MW? Or should I not complain about it here? [09:35:49] (rather: report bugs) [09:37:13] this is a proper place to discuss it before submitting bugs [09:37:40] (well, when the usability team is on, rather than sleeping, and on a weekend) [09:38:32] Splarka, what do you do with MW? [09:38:49] I point and laugh at it [09:38:53] In the 'beta' there is no font color defined for text content, it uses my browser's color [09:38:53] :p [09:39:13] heh [09:39:37] *Splarka checks the bugs [09:39:45] splarka is just the one that shows the most knowledge so we just redirect all questions to him [09:40:01] https://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&component=UsabilityInitiative&component=Vector+Skin [09:40:35] this is all bugs associated with the new skin and the usability extension that is being tested with it (most have been closed by now though) [09:41:16] don't see any related to font/text color [09:42:06] monobook defines: #content { ... color: black; ... } [09:42:55] quite a few elements and menus define color in main-ltr.css, but not any general color [09:43:08] Splarka: according to firebug, there is no color defined [09:43:28] (If I inspect text in #content) [09:43:46] indeed [09:43:58] nor on html, body, or #page-base [09:44:10] https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki [09:44:13] Splarka: hm, #content has no color defined according to firebug, only background color [09:44:17] the Component would be "Vector Skin" [09:44:27] I was agreeing with you, that it is a bug [09:44:44] oh [09:44:44] I thought it was still named monobook [09:44:44] qubodup: that #content example above is from monobook, the default skin [09:44:50] k, will submmit [09:44:53] beta is a new skin called Vector [09:48:05] when browsing with Chrome (on every mediawiki site except Wikipedia of course) the sidebar shows up below all the content on every page [09:48:12] does anyone else notice this? [09:48:39] t0lk: o_O [09:48:47] heh [09:48:50] long story behind that t0lk [09:49:15] lol [09:49:16] ok [09:49:17] 03(NEW) No font color in Vector skin - defaults can look bad - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20737 normal; Normal; MediaWiki: Vector Skin; (qubodup) [09:49:27] i browsed around but didn't find any bugs filed for it [09:49:30] ta qubodup [09:49:31] Splarka: https://bugzilla.wikimedia.org/show_bug.cgi?id=20737 [09:49:34] so i'm assuming someone knows [09:49:40] oh whops [09:49:48] t0lk: bug is filed with webkit or something [09:49:59] ic [09:50:05] *Splarka looks for it [09:50:15] it's not too important [09:50:21] i was more curious then anything [09:50:35] and found it amusing that Wikipedia had it fixed the same day i think :P [09:50:37] https://bugs.webkit.org/show_bug.cgi?id=28350 [09:50:56] it was some bad browser sniffing javascript in mediawiki since forever [09:51:20] and 1.16 fixed it, but webkit hacked in a fix in perpetuity for all the old installations [09:51:28] http://trac.webkit.org/changeset/47383 [09:51:29] ic [09:52:29] http://svn.wikimedia.org/viewvc/mediawiki/?view=rev&revision=55187 [09:52:43] "fixed" the same day it was reported [09:52:54] (on WMF) [09:54:13] DEFINE_STATIC_LOCAL(const String, slashKHTMLFixesDotCss, ("/KHTMLFixes.css")); DEFINE_STATIC_LOCAL(const String, mediaWikiKHTMLFixesStyleSheet, ("/* KHTML fix stylesheet */\n/* work around the horizontal scrollbars */\n#column-content { margin-left: 0; }\n\n")); if (url.endsWith(slashKHTMLFixesDotCss) && sheetText == mediaWikiKHTMLFixesStyleSheet) { KILL_WITH_FIRE [09:54:14] heh [09:54:15] hacky [09:54:17] nice [09:54:43] 03(mod) Commons' "Upload new version" acts as "Upload file" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20736 (10Bryan.TongMinh) [10:02:43] 03(mod) Commons' "Upload new version" acts as "Upload file" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20736 (10Bryan.TongMinh) [10:04:30] ah, Splarka i got the image uploads to work [10:05:03] nginx defaults to 1mb limits [10:05:11] http://wiki.nginx.org/NginxHttpCoreModule#client_max_body_size [10:05:51] have to set client_max_body_size 4m for example in the conf file [10:06:04] evil [10:06:47] hmm [10:09:49] LimitRequestBody in apache [10:10:18] !filesize [10:10:18] --mwbot-- The size of files you can upload to PHP is limited by the upload_max_filesize and post_max_size directives in your php.ini. Your web server may also have a configurable limit (LimitRequestBody in apache, client_max_body_size in nginx, etc) MediaWiki itself only limits direct (copy) uploads from a URL, this is configured via $wgMaxUploadSize. [10:10:49] cool [10:11:25] want to see something strange? http://bahaikipedia.org/Special:BrokenRedirects [10:11:46] looks like ya moved them, tis ya own fault ^_^ [10:12:07] probably a maintenance script you can run, like RefreshLinks or UnscrewupShit [10:12:56] lol [10:12:57] thanks [10:13:34] that is odd [10:13:45] maybe try deleting and undeleting one, null edit and purge don't work [10:13:49] and your special pages aren't cached [10:13:55] you might try maintenance/updateSpecialPages.php too [10:14:01] though you don't seem to have miser mode [10:14:57] i deleted one of the pages but it still shows up there [10:15:09] i'm guessing those are all somehow ghosted there [10:15:53] possibly they are referring to the pageid of the overwritten redirect [10:23:37] ran updateSpeical [10:30:01] running refreshlinks now [10:40:10] fixed it by creating redirects back to the actual pages but that just migrated the problem to http://bahaikipedia.org/Special:DoubleRedirects [10:40:11] lol [10:40:56] heh [10:44:21] is it a 'what links here' problem? [10:45:27] oh well, i don't care [10:45:28] lol [10:45:44] well, I'm thinking that the redirect table has entries from those titles to those missing pages [10:46:29] but I think the 'redirect from' is the page id [10:46:37] while the 'redirect to' is a string [10:47:02] so the id in that case might be originating in the redirect that was deleted when you moved the pages back [10:48:07] i wish i could remember what caused me to have to move them in the first place [10:48:22] i think i created the pages without a [Portal] defined in LocalSettings [10:48:29] namespace* [10:48:41] so Portal/Something didn't show me "Portal" as the partent [10:48:44] parent [10:48:54] even after adding it as a namespace and namespaces with subpages [10:49:08] ya like doing database manipulation? [10:49:14] lol [10:49:34] http://bahaikipedia.org/index.php?title=Special:Log/move&page=Portal2%3AContents [10:49:40] so after moving everything to Portal2, defining the portal namespace in Localsettings it worked [10:49:48] when ya did that move, was there a redirect at Portal:Contents? [10:50:03] yes [10:50:09] i moved everything from Portal to Portal2 [10:50:12] okay [10:50:13] http://www.mediawiki.org/wiki/Manual:Redirect_table [10:50:29] ya might dump that, checking for matches in rd_title to 'Contents' [10:50:38] it could also be you have phantom pages [10:50:56] hmm [10:51:06] the first page you linked me to [10:51:11] i can "revert" the change [10:51:13] should i do that? [10:51:20] try maintenance/namespaceDupes.php maybe [10:51:32] also maintenance/cleanupTitles.php [10:51:43] that one will find bad titles [10:52:10] like if you have Portal:Foo in main namespace , and later create a Portal: namespace, Portal:Foo won't be accessable, it'll be an invalid title in NS_MAIN [10:52:52] ahhh [10:52:55] yes, that is the problem [10:52:58] http://bahaikipedia.org/Special:PrefixIndex/Portal [10:53:06] heh [10:53:13] you moved them to Portal2 to create the namespace I am guessing [10:53:17] which is the proper method [10:53:27] http://pastebin.com/mac3a90d [10:53:30] except you left redirects in Main namespace starting with "Portal", and then created the namespace [10:53:39] so now you have name conflicts [10:53:40] yeah [10:53:43] ic [10:53:45] you have redirects called "Portal:" [10:53:50] but not in the portal namespace [10:54:00] okay [10:54:03] so those page IDs [10:54:16] do you have writeapi enabled? [10:54:27] not sure [10:54:27] :P [10:54:41] shall i run maintenance/cleanupTitles.php first [10:54:52] yah, see if that does it [10:55:19] sounds like if i disable the portal namespace in localsettings [10:55:21] delete everything [10:55:25] re enable it [10:55:27] that will solve it/ [10:55:31] and then recreate the pages? [10:55:34] eh, might break more shit [10:55:41] you shouldn't have to delete the existing pages [10:55:45] you can delete by pageID via the api [10:55:46] sec [10:56:18] http://pastebin.com/m172bd66f [10:56:39] ok so cleanupTitles skipped right over the problem ones [10:56:42] :p [10:56:53]
[10:57:10] for each pageid conflict... [10:57:23] 03shinjiman * r56632 10/trunk/phase3/languages/messages/ (4 files): Localisation updates Cantonese, Chinese and Literary Chinese [10:57:46] 7953 7951 7949 7950 7955 7954 7952 7956 [10:58:01] where to i put what you gave me? [10:58:50] http://bahaikipedia.org/api.php?action=query&prop=info&titles=Foo&intoken=delete [10:59:04] stick it in a web page, or local .htm file [10:59:10] put in the token for token="" [10:59:18] and then load the web form (if local via file://) [10:59:24] and submit it for each pageID one at a time [10:59:29] fun eh [10:59:59] anyway, the proper way to create a namespace, when you have pages starting with the prefix, is to create the namespace without moving them, and then run namespaceDupes [11:00:09] which will re-title them [11:00:26] it'll do 0,Portal:Contents -> 100,Contents [11:00:28] yeah, i think i won't be trying this again anytime soon [11:00:28] :P [11:13:56] how can I add few more tabs beside page|discussion|edit|history ? [11:14:29] depends on what/how [11:14:42] you can do it via extension (PHP using hooks), or via javascript [11:16:06] http://www.mediawiki.org/wiki/Extension:DynamicTabs [11:16:28] splarka: I want to add something like Todo:pagename , Contributions:pagename as tab to each page I create [11:17:42] well, the first problem I can forsee is that such pages will also have such buttons, so you get Todo:Todo:pagename and Todo:Todo:Todo:pagename [11:18:22] but if you limit the tabs to NS_MAIN, and create a Todo: namespace, then it won't get the tab [11:21:40] eh ,maybe its bad design , I have a wiki for projects , each project has multiple pages and multiple categories , each page should have todo list and contributionslist , what I have in mine is to create separate category for each project plus adding this tab based feature [11:22:30] and it will be good if I can point projectname.mywebsite.com to category page of project [11:22:43] well, you can use namespaces, subpages... javascript or php... [11:22:55] hmm, separate wiki for each project? [11:24:05] I want same users,code-base, and database , is it possible with separate wikies ? [11:24:41] !farm [11:24:41] --mwbot-- To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: [11:25:08] they could share some databases.... [11:25:29] dunno, you'll have to ask someone who knows how to set such crazy stuff up (and not at saturday at 4-7am, heh) [11:25:33] yeah , what about same same 1-users 2-code-base 3-database ? [11:26:10] :) sure [11:27:00] 1,2 yes, 3... some, like user prefs and passwords, but I don't think articles... unless you just wanted the same wiki on multiple domains [11:30:01] thanks mate [11:45:49] Can anyone help with a upload feature issue I have... My server is non-suphp with the short-url config, but anyway, I added "$IP/uploads" to both $wgUploadDirectory & $wgUploadPath. files upload but when I try to view them (images), the $IP variable is (which is the linux path) added to the URL... Is this because of the use of the short-url? or if not, what could be the problem [11:48:45] http://www.mediawiki.org/wiki/Manual:$wgUploadDirectory [11:48:49] http://www.mediawiki.org/wiki/Manual:$wgUploadPath [11:48:59] one is the system path, one is the URL path [11:49:18] you don't want $IP in the latter, probably [11:49:40] 03(mod) Hierarchical category system is urgently needed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1497 high->normal (10unrealtech) [11:52:00] well blow me down....... i fail to read :/ my appologies [11:53:12] and ty for clearing that up [11:53:24] rar [11:54:32] rar! [11:55:03] My wiki isn't working [11:55:09] splarka , may I have your help on installing dynamic tabs extension , I have copied the extension files and added the require_once in localsetting.php , but according to http://www.mediawiki.org/wiki/Extension:DynamicTabs#Configuration I have to be able to config it through Mediawiki:DynamicTabs , but I get 404 error everytime I try to access [11:55:13] When I tried to install the IRC Chat extension [11:55:46] dira: that's a page with that title, you just go to index.php?title=Mediawiki:DynamicTabs&action=edit [11:56:04] same error :( [11:56:36] Fatal error: Call to undefine method User::getTouched() in /home/nboardsn/public_html/w/includes/OutputPage.php on line 188 [11:56:58] What should I do? [11:57:48] eh got fixed ! thanks [11:58:12] shellyell: it might not be the proper version of the extension for your version of mediawiki (or it might just be outdated) [11:58:25] so how would I fix that [11:58:33] I already ran the SQL query [11:58:36] I want to uninstall it [12:00:36] dunno, did you try doing the reverse of what you did to install it? [12:02:10] I guess [12:02:18] I'll try that [12:02:24] I only really added the patch files [12:02:28] add localsettings [12:03:58] the require_once thing [12:09:26] So [12:09:29] It's still not working [12:09:31] :{ [12:11:50] I didn't even modify OutputPage.php, I don't believe [12:12:25] when you say "not working" what does that entail? [12:14:40] Uh [12:14:47] I downloaded IRC Chat extension [12:14:57] But then I got an error [12:15:03] [07:56] Fatal error: Call to undefine method User::getTouched() in /home/nboardsn/public_html/w/includes/OutputPage.php on line 188 [12:16:20] my verrsion of User has a getTouched method - is the version of mediawiki you have compatible with the extension? [12:16:46] I have 1.15.1 [12:16:58] This extension is 1.13x [12:19:10] So, it /should/ work, right? [12:19:33] not necessarily, mediawiki is not completely backwards compatible - though I'd agree, it /should/ [12:19:56] as that method is not called by the extension [12:20:07] it might be that the problem lies else where [12:20:29] it only started when I installed it [12:20:35] ok [12:22:53] I can't see what the issue would be, sorry [12:23:05] presumably the problem goes away when you remove the extension from LocalSettings.php ? [12:23:12] I tried that [12:23:14] Didn't work [12:23:22] but thanks [12:23:22] :) [12:23:32] ok, in that case you have broken something else ;) [12:27:24] maybe it was something with sql [12:28:44] would that be possible? [12:28:56] more likely the problem is with the patch file [12:29:08] now I notice that it asks you to patch mediawiki as well [12:30:31] but again, I can't see anything that would obviously cause that error message [12:30:46] it works now [12:30:52] heh :) [12:31:09] but the extension is not installed [12:31:19] ok [12:31:39] gah, I suck at patch stuff [12:31:42] D: [12:33:25] so is the IRC Chat extension [12:33:32] even possible to install on 1.15.1 [12:33:43] http://www.mediawiki.org/wiki/User_talk:Qsheets#MediaWiki_1.15alpha_.28r48811.29 [12:34:34] How would I go about installing the patch? [12:34:38] Sorry I'm a noob [12:34:39] :P [12:34:54] well, either just do it manually [12:35:01] go to the files and edit the lines like it says [12:35:15] or try to fathom the "patch" util [12:40:09] 03rotem * r56633 10/trunk/phase3/languages/messages/MessagesHe.php: Localization update. [12:45:02] how would I do that [12:45:07] from the command lin [12:45:09] *liune [12:45:12] **line [12:46:10] editing files can be done with nano, or vim, or emacs, etc. The patch util is something like ""patch -p0 < file_containing_patch.diff"" [12:47:04] 03happy-melon * r56634 10/trunk/phase3/includes/User.php: Fix User::idFromName to actually return null on failure, as the doc suggests. [12:48:27] meg, the IRC extension isn't that good anyway [12:48:32] *meh [12:48:36] you could always use addhtml [12:50:13] 03happy-melon * r56635 10/trunk/phase3/ (5 files in 4 dirs): Implement a 'root' permission, which grants all other permissions. Useful for debugging and administration. [12:50:49] I wonder [12:51:00] if there is a specifi IRC network for wikis [12:51:21] not that I know of, most of wikimedia uses freenode, so that would be the sensible place to stay [12:52:59] Yeah but freenode has disadvantages [12:53:07] like? [12:53:43] no mibbit [12:53:53] oh, when did that happen? [12:53:57] a while ago [12:54:07] in fact that's why I am using freenode's webchat [12:54:14] they have their own webchat which the address is showen to those that try mibbit [12:54:38] mibbit is better IMO [12:54:41] 03happy-melon * r56636 10/trunk/phase3/languages/messages/MessagesEn.php: Follow-up to r56635 - remove messages associated with Login rewrite that crept into other commit... they'll be back :D [12:54:44] Happy-melon: was userlogin message changed on purpose>? [12:54:58] apparently not :P [12:55:00] does that answer your question? [12:55:02] :D [12:55:11] well tell people not to abise mibbit then :p [12:55:16] *abuse [12:57:29] qsheets? [12:58:37] BotServ is fun. I wonder why Freenode doesn't have it [12:58:37] D: [13:00:18] well bye [13:04:25] http://thewikiz.com/wiki/Special:Version something fails, they say "more than 20 extensions enabled, semantic enabled" but where is all that? and there are lots of red links... [13:08:23] 03siebrand * r56637 10/trunk/phase3/languages/messages/MessagesQqq.php: Update formatting [13:16:15] uhm... 200k page * 10.000 hits = 1,9GB month, a 3GB month free host should be enough for a wiki I think [13:17:40] 03vasilievvv * r56638 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php api/ApiStabilize.php): Add an API module for stabilization. [14:18:18] skipcaptcha right does not appear to be recognised by the API. Is there someone that can confirm that? [14:18:45] skipcaptcha comes from Extension:ConfirmEdit [14:20:40] Finally! Got 200mb and 5gb/month for free, do I need to download mediawiki to install it now? or can I do a remote install? [14:21:09] how do you get the thing on the edit toolbar so you can do a html comment? [14:32:48] hmm, siebrand: seems to work for me [14:35:22] is the importScript() javascript function something in MW? or does it need adding? i canne remember [14:36:02] siebrand: api sysop edits on test.wp let me add URLs, but api anon edits give... Reedy: core since a few versions ago [14:36:41] is in wikibits.js [14:36:56] importScript, importScriptURI, importStylesheet, importStylesheetURI, appendCSS [14:37:35] hmm [14:37:41] just trying to expand the edit toolbar for a mates wiki [14:37:52] Can anybody help me with a PCRE Regex please ? [14:37:55] oh, use mwCustomEditButtons [14:37:59] ahhh [14:38:05] in localsettings i presume? [14:38:12] http://www.mediawiki.org/wiki/Manual:Custom_edit_buttons [14:38:19] no, in MediaWiki:Common.js [14:38:29] the buttons are JS so it is okay to mod them in JS [14:38:29] heh [14:39:02] hmm [14:41:08] i'd done that... [14:41:20] apart from hotlinking from wikimedia, which i will change [14:41:47] wiki.inganokusari.com/wiki/MediaWiki:Common.js and Common.js/edit [14:41:56] .js [14:51:45] what is difference between namespace and category ? [14:52:07] namespace is pages with a common prefix [14:52:18] i.e. Wikipedia: are all in teh Wikipedia namespace [14:52:22] do I need to download mediawiki and then upload it to the free host to install or is there a way to install without downloading? [14:52:32] any page can be put into any category [14:52:42] by using [[Category:]] [14:52:59] nononono: if you have shell access to the host, just use wget [14:53:04] if you don't then good luck! [14:53:22] [[Name1:Name2]] what is name1 here? [14:53:33] the namespace [14:53:48] but it may not be a real namespace, if it is not in your configuration [14:53:55] I saw a php script to install dokuwiki, you install run the script and it installs the wiki [14:54:12] cirwin: what do you mean of real namespace [14:54:16] 03(NEW) Titles containing NBSP are inaccessible - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20738 critical; Normal; MediaWiki: General/Unknown; (vasilvv) [14:54:43] dira: if you look at Special:Search you can see a list of all the namespaces installed on the wiki (maybe under Advanced) [14:54:54] other pages with : in the title are assumed to be in the (main) namepsace [14:55:57] so in [[ Name1:Name2]] if Name1 is not installed as namespace before then it name of page is Name1:Name2 and namespace is root? [14:56:07] yup [14:56:23] is it in general a bad idea to change messages from html to wikitext? [14:56:39] i think it is positively encouraged [14:56:41] hmm [14:56:54] its html encoded the javascript seemingly [14:57:01] "e; etc... [14:57:35] Namespaces accept sub namespace? [14:57:36] whatever, I'm breaking backwards compat anyway; better do it good [14:57:47] heh, I consider that a bug in firefox - IE understands :) [14:58:20] dira: there is no way of creating sub-namespaces, though you could make it look like they existed by sing [[Namespace:Name1:Name2]] [14:58:48] what about categories ? [14:59:03] you can put categories inside categories [14:59:05] Mo�e mi kto� pom�c? [14:59:50] but that doesn't change the URL right ? [15:00:56] Can you a help me? [15:02:02] Can someone help me? [15:02:49] nope, you have tell your problem [15:03:15] Syria, ask your question [15:03:35] Bryan: people usually want to do some kind of formatting if it was previously allowed [15:03:40] but it is case by case basis [15:04:16] LocalSettings.php [15:04:21] I have a problem. I want to set for my administrators edited a wiki, but the file LocalSettings.php is defective oO [15:04:39] hmm [15:04:45] Excuse me, do not speak English well [15:04:58] the message originally was something like "The file already exists as $1" [15:05:19] where $1 would be a [15:05:22] 03(mod) Changing SITENAME of ckbWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20295 (10aso.mehmudi) [15:05:26] dira: correct [15:05:26] you can turn on sub-pages within a namespace, but that doesn't sound like what you want [15:05:26] though maybe you could do that in the category namespace [15:05:26] so [[Category:Super-cat/Sub-cat]] [15:05:43] I'm now changing $1 to simply the file name [15:07:07] Bryan: shouldn't it link to the file page instead? [15:07:25] yes. I will change that in the message files [15:07:43] but for people who have customized the message it will show a simple text instead of a link [15:08:49] they can re-customise [15:08:56] we're used to mediawiki updates breaking everythin :p [15:09:11] or rename the message, or use new parameter [15:09:26] but is that message actually customised anywhere? [15:14:17] Bryan: what message? [15:14:19] cirwin: all I want is to host some projects in one wiki , so I need separating them in different groups , ex: mywebsite.com/projectA/main_page mywebsite.com/projectA/tools/main_page - mywebsite.com/projectA/members/main_page and for projectB mywebsite.com/projectB/page1 [15:14:33] a lot of fileexists related messages [15:14:58] are they core in /languages ? [15:15:25] dira: it sounds like namespaces are the right idea [15:15:44] 'fileexists' => "A file with this name exists already, please check '''$1''' if you are not sure if you want to change it.", [15:15:46] heh, tt [15:18:24] cirwin: since namespaces doesn't accept subnamespace , how can I model sub-groups ex: in projectA we have some pages related to members , some related to tools and some pages in general , how can I can sort them logically ? [15:18:28] Bryan: MediaWiki:Illegalfilename|MediaWiki:Badfilename|MediaWiki:Fileexists|MediaWiki:Filepageexists|MediaWiki:Fileexists-extension|MediaWiki:Fileexists-thumbnail-yes|MediaWiki:File-thumbnail-no and such? [15:18:43] things like that [15:18:52] and now take a look at SpecialUpload::getExistsWarning [15:18:53] dira: Namespaces in MediaWiki aren't really for sorting... [15:19:23] they represent different spectrums of pages, not delimiters of content, really.. [15:19:45] splarka: then what is the tool for sorting pages ? [15:19:57] there is the User namespace, this represents a personal workspace for users, as well as a target for log-type actions that involve a user, such as bans, promotions, etc [15:20:07] then there is the meta namespace.. for pages about the site [15:20:12] dira: categories [15:25:42] Splarka: btw thanks for the "dynamic tabs" suggestion , works fine for me , although as you foreseen there is help:help:help:... problem [15:28:38] *Splarka tosses mace windu out a window, as he forseens [15:29:02] 03(NEW) RevDelete does not work for filearchives - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20739 major; Normal; MediaWiki: Revision deletion; (happy-melon) [15:29:51] any solutions :D ? [15:31:01] *Splarka shrugs [15:31:09] subpages maybe... [15:31:09] finished downloading, I'll try this http://www.wikihow.com/Install-MediaWiki [15:32:30] err... upload the tar itself or upload the uncompressed mediawiki folder? [15:33:55] nononono, either upload the archive [15:34:02] or uncompress locally and upload the folder [15:34:38] ah [15:34:45] cpanel as uncompress server side [15:36:57] I'm uploading to home/mysubdomainname [15:40:18] that last post on mediawiki-l (Job Queue Never Decreasing) is only to be read as terrible, isn't it? [15:42:22] 03btongminh * r56639 10/trunk/phase3/ (3 files in 3 dirs): Fix several messages generated by SpecialUpload::getExistsWarning which were malformatted. Also removed all HTML generation from that function. [15:43:14] 03(NEW) order of (diff) (hist) links is inverted on special:contributions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20740 trivial; Normal; MediaWiki: User interface; (charlottethewebb) [15:47:40] Bryan: http://p.defau.lt/?2LbdJ0EtFVcYkGsG96ua7w all customized versions of those example messages on WMF, that contain a '<' [15:47:49] I don't see any unwhitelisted HTML offhand [15:48:21] 03(mod) translating English words into Aramaic - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20709 (10bashar.hanna) [15:48:28] me neither [15:50:08] 03btongminh * r56640 10/trunk/phase3/includes/ (3 files in 3 dirs): Follow up to r56639: Remove some existence check duplication and fix ApiUpload for changed return format of getExistsWarning. [15:51:04] well, that should be it for today I hope [15:51:40] wassup [15:53:09] Bryan: + $this->mainUploadForm ( wfMsg( 'session_fail_preview', 'parseinline' ) ); ? [15:53:36] should that have been wfMsgExt? [15:54:02] at least [15:54:14] !farm [15:54:14] --mwbot-- To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: [15:54:16] isn't session_fail_preview multiparagraph message? [15:55:21] no [15:55:51] $warnings[$warning['warning']] O_o [15:56:29] Bryan: but why did you change that anyway? [15:57:21] bada-bug [15:57:24] 03(NEW) Run cleanupTitles.php and cleanupImages.php on any wikis with unicode whitespace in page/file names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20741 major; Normal; Wikimedia: Site requests; (herd) [15:57:26] because it was broken... it was added as raw html [15:57:40] + } elseif ( $exists['warning'] == 'exists-normalized' ) { [15:58:01] I wonder why people compare strings with == :o [15:58:11] why not? [16:01:35] Bryan: eh? because weak typing *sucks* [16:02:10] $exists['warning'] will always be a string [16:02:30] so I should not bother to check its data type [16:02:57] > var_dump( true == 'foo' ); [16:02:57] bool(true) [16:05:17] 03(mod) Run cleanupTitles.php and cleanupImages.php on any wikis with unicode whitespace in page/file names - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20741 (10herd) [16:05:43] bah, bugzilla needs a "this bug causes bug #" method [16:06:14] would https://bugzilla.wikimedia.org/show_bug.cgi?id=15248 block or depend on https://bugzilla.wikimedia.org/show_bug.cgi?id=20741 ? [16:11:14] ? myname.chimehost.net/mymediawikifolder didnt work, returned a 404 error [16:13:42] ~/j wikihow [16:19:15] AryehGregor: evening [16:21:24] hello [16:21:35] is it possible to use