[00:22:30] 03(NEW) create a new list for dispute resolution issues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19414 enhancement; Normal; Wikimedia: Mailing lists; (stvrtg) [00:29:50] 03(mod) create a new list for dispute resolution issues - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19414 (10herd) [00:38:19] hi! is there a way to make text show just if i'm not logged in? [00:39:29] HerrKanin: There's MediaWiki:AnonNotice, are you looking for that? [00:48:25] GreenReaper: It took a while to figure it out, apperently there wasn't a capital N in it... But yes! Exactly that! :D [00:48:30] Thanks! [00:49:58] Ah, my apologies, but cool. [01:21:08] 03demon * r52479 10/branches/maintenance-work/ (12 files in 2 dirs): [01:21:08] * Better names for DB constants [01:21:08] * Tweak batch size to be a default param when needed, constructors need to set it if they'll use it (need to update this in a few places) [01:21:08] * Changes "Memcached" a more generic "cache". Jidanni pointed out that most of these work on _all_ caches, not just memcached. [01:21:09] * Port rebuildmessages, refreshLinks (rebuildall works again!) [01:21:13] * Fix E_STRICT, make init() public static [01:21:15] * Port cool global debug function from refreshLinks to the overall Maintenance stuff [01:28:23] 03(mod) white background in ul item bullet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19413 summary; +comment (10innocentkiller) [01:28:55] 03(mod) white background in ul item bullet - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19413 (10innocentkiller) [02:07:32] Can anyone advise why a default install of mediawiki doesn't seem to allow the use of a user pages css ? [02:07:39] IE: User:Daworm/common.css or /monobook.css ? [02:08:08] I have css coding in there, but nothing shows. Is there a setting I need to set ? [02:08:22] Perhaps it is cached? [02:14:15] hurm - on a default install. How to disable it ? [02:14:30] Other wiki's have been fine I can CTRL + F5 and it updates... [02:14:46] Does it matter if nothing is in the mediawiki:...css? [02:16:28] umm user css has to be enabled iirc [02:16:36] no idea how to do it thou [02:20:15] <^demon> !wg EnableUserCss [02:20:15] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgEnableUserCss [02:20:25] http://www.mediawiki.org/wiki/Manual:$wgAllowUserCss [02:20:38] There's Js too [02:20:49] <^demon> Blah. [02:20:54] <^demon> !wg AllowUserJs [02:20:54] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgAllowUserJs [02:22:22] 03(mod) Allow enabling of "clean URLs" directly from interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19331 summary (10francisdinh) [02:23:55] ah ty! [02:25:06] 03(mod) New pages log doesn't remove/update item after suppression redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17463 +comment (10francisdinh) [02:26:00] ^demon the css link is a dud [02:26:38] 's what you get for guessing with da bot [02:26:44] http://www.mediawiki.org/wiki/Manual:$wgAllowUserCss [02:26:46] it's "allow" [02:27:04] ty :) Will give those to the wiki hoster :P [02:27:10] he also quit [03:24:59] hi, i'm setting up a mediawiki instance with latex math using mimetex. Mimetex itself works, however although i've modified math.php to insert mimetex links in it, i'm simply getting back my tags unparsed [03:25:08] is there any reason why mediawiki would stop parsing math tags? [03:31:51] managed to work it out [03:31:54] thanks anyways :) [03:50:52] greetings [03:51:45] hey wrathgrapes [03:52:55] I was going to ask a question about editing the specialpage contents but I decided it more prudent to use the manual [04:33:20] How do I change the entire interface language for a wiki? (not just for my user) [04:34:22] http://www.mediawiki.org/wiki/Manual:$wgLanguageCode ? [04:34:30] thanks [04:38:10] Well, I changed it to "he"; now everything is aligned to the right, however the message strings are still in English? [04:38:28] sorry pls ignore that [04:44:06] If I want to create various templates, text boxes etc etc, should I add them to monobook's main.css (I will only enable monobook as the only skin); is that the right way to do it, or should I create a new file and put it there? [04:44:31] !css [04:44:31] --mwbot-- To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Monobook.css is for the MonoBook skin (default), etc. For more information, see !skins and [04:44:53] thanks [04:57:59] does wikipedia prevent screen scraping? [04:59:38] fualo: some common screen-scraping non-browser user-agent strings are blocked at the squid level [05:00:01] Splarka: I'm using Rcurl in R and I get about half way through and then it craps out [05:00:02] fualo: please try to use the api functions where possible [05:00:08] blocked not for blocking sake, but blocked for being a default string [05:00:12] p858snake: that's not possible I believe [05:00:16] I need to extract populations [05:00:32] hmm, well, they should return 403 if blocked, so probably not blocked [05:00:42] (or some other 4xx or 5xx error code) [05:01:13] Splarka: it just says Error: 1: failed to load HTTP resource... that could be any type of error I believe [05:01:17] R is pretty cryptic [05:01:37] hmm, well anyway, be sure to set your user agent string to include some contact info and if possible a brief summary of your project... eg Rcurl fualo@somewhere.something SuperDuperBackupProhject [05:01:52] (lame example, but you know what I mean) [05:01:57] Splarka: 403 is bandwidth isn't it? [05:02:00] and why isn't the API possible? [05:02:02] Splarka: alright, thanks so much [05:02:15] maybe I need to learn the API better [05:02:36] your just plugging the text from a page artn't you? [05:02:43] *arn't [05:02:50] *pulling [05:03:17] p858snake: 403 is "Forbidden" [05:03:26] and happens for many reasons [05:03:45] p858snake: yes... how should I do this with API [05:03:50] like on WMF, it can happen if you have & in the URL [05:03:53] I want html, not wikicode [05:04:19] the API can return the html, but the UI (screen scraping) is actually better, as those hit the squid cache [05:04:52] ("better" depending on the application and scope) [05:15:25] I'm not too sure about the structure by which templates for side information windows, for instance, are written; say I want to create a page that on the side has a "quick info" box, with all kinds of data; I'm guessing that in the page I need to add something like [[Template:personal_info]] or so; but, where do I create that personal_info page? That is, where is the place where I actually put in [05:15:41] the "" info and such? also, where can i get samples? [05:17:01] generally those are called "Infoboxes" [05:17:40] en.wp has a few thousand examples, but those are often a bit complex with sub-template and parserfunction dependencies [05:18:11] i see [05:18:13] mostly what you need is a table (html
, or wikicode {| || |-...), float it right, set a width, and give it some parameters [05:18:19] thanks [05:40:54] *GreenReaper sighs - FreeBSD and no root makes the WikiTrust extension a pain. Instead of running an executable, you have to download an entire ocaml user-mode package, build sqlite3 separately, work around assumptions that make == gmake . . . and then find it's looking for a magic word, t, that doesn't exist. :-p [05:49:50] qq more [05:56:10] domas: I would but it's still churning through revisions to generate trust data. [05:56:59] I'm using Semantic Forms, and want to create a thing that calculates a person's age; I am open to taking the date of birth in any format you think is best: three fields (m, d, y), one field, one "DATE" field, anything... how do I go about this? [05:58:34] no idea how to do this in Semantic forms but three fields that put the data into a formatted variable [05:58:58] so you can guantee that people will enter it correctly [05:59:17] no problem, but how do I calculate the age from that? how do I run a mathematical function inside the wiki? [06:00:14] no idea [06:02:04] k [06:04:13] this is how you can do it kind of with a template compared to using forms http://en.wikipedia.org/wiki/Template:Birthdate_and_age thats the closet to your idea i could find [06:11:45] DanielTahar: #time and #expr [06:47:14] *rook2pawn just realized all his comments are spam :( [08:07:57] 03(NEW) option to supress section edit links with action=render - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19415 enhancement; Normal; MediaWiki: Page rendering; (brightbyte) [08:11:36] 03(NEW) Apply consistent borders to GeSHi-generated code blocks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19416 enhancement; Normal; MediaWiki extensions: SyntaxHighlight (GeSHi); (herd) [08:12:48] 03(WONTFIX) Localize auto-summaries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19363 +comment (10siebrand) [08:21:51] Is there a way to add a wysg editor to mediawiki? [08:22:34] !wysiwyg [08:22:34] --mwbot-- What You See Is What You Get editors allow you to create articles and see the text formatting without needing to Show Preview. A list of wysiwyg editor extensions may be found at . For some discussion, see . See also . [08:23:01] Annemarie [08:23:10] You rock. ;) [08:23:15] :-) [08:23:19] <4 [08:23:20] er [08:23:22] <3 [08:25:31] going to try to patch this.. [08:25:36] lets hope I don't blow it all up :D [08:26:50] 03(mod) Apply consistent borders to GeSHi-generated code blocks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19416 (10obsolete.fax) [08:27:16] think I'll try the.. TinyMCE [08:27:17] one [08:27:18] ;x [08:27:37] o [08:27:41] .patch file... [08:27:43] uuuh [08:28:14] nice [08:28:40] <4 is a nice enhancement of <3 :) [08:28:44] how do I apply a patch ;x [08:28:56] Zombie_Will, with "patch" [08:28:57] it's one more better than <3 [08:29:05] ;p [08:29:11] hrm [08:29:14] I dl'd it [08:29:25] do I upload this .patch to a specific dir? :? [08:29:32] it is /potentially/ one more better [08:29:39] http://en.wikipedia.org/wiki/Patch_(Unix) [08:29:39] hehe [08:29:46] it is still less than 4, and possibly less than 3 as well [08:30:05] help :( [08:31:06] hrm [08:31:31] not as easy as dropping the file somewhere or something eh? :( [08:31:42] have you read the Wiki article? [08:31:44] *Zombie_Will is media wiki retarded [08:32:07] 03(mod) Feeds format dates in content language and other messages in user language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19393 +comment (10siebrand) [08:32:26] yes sir [08:32:52] it just basically says "This patch integrates TinyMCE into MediaWiki version 1.5.7" [08:32:57] no install instructions ;( [08:33:03] nor in the .zip [08:33:31] !patch < Zombie_Will [08:33:31] --mwbot-- For information on using *.patch files, see . [08:33:46] oh, you alkready got that, sorry :P [08:33:59] yes but this seems to need a linux, maybe shell access [08:34:00] maybe we should have a pathc howto on mediawiki.org [08:34:02] which I do not have [08:34:06] just web access [08:34:09] Zombie_Will: then you are lost. [08:34:12] and ftp, yada yada [08:34:13] sql [08:34:17] !shell < Zombie_Will [08:34:17] --mwbot-- Shell access (that is, SSH access, see http://en.wikipedia.org/wiki/SSH) is highly recommended if you want to run MediaWiki. You can install without it, and basic operation will work, but even creating backups or upgrading will be painful without it. Some more involved maintenance tasks may even be impossible. MediaWiki is not designed for minimal environments. [08:34:23] have... have I lose the game? ;( [08:34:51] *Zombie_Will cries in a corner [08:35:06] Zombie_Will: there are ports of patch for windows. you can patch the file locally and upload it. but it's a pain. [08:35:16] maybe I can ask my host o.O [08:35:29] media wiki is a bit of a pain lol [08:35:30] From the article: "Originally written for Unix and Unix-like systems, patch has also been ported to Windows and many other platforms. Windows ports of patch are provided by GnuWin32 and UnxUtils." [08:35:33] but I <3 it too [08:35:56] fyi: getting a Wikiwyg installed is only the start of your headache [08:36:00] well, it's a heavy duty tool. it's designed to be run on a server farm. not on shared webspace. [08:36:22] I guess so. [08:36:28] We are just using for a smaller project [08:36:46] well, you can, but no one said it would be easy :) [08:36:51] hehehe ;) [08:36:59] let me ask my host [08:37:00] hi guys, I'm at the setup/install page. What do I put for DB username and password? [08:37:01] i'm amazed why everyone wants to use mediawiki for everything. there are tons of alternatives [08:37:03] !engines [08:37:03] --mwbot-- For a comparison of wiki software, see and [08:37:05] they are nice people [08:37:21] lakotajames: whatever your DB username and password is. [08:37:33] Do I need to make a DB first? [08:37:55] lakotajames: yes. unless you know the root password for the database. in that case, you can supply that in the install form [08:38:04] then the installer will create the db and user, if needed [08:38:16] the root password, is that for the system? [08:38:26] for the database server. [08:38:29] oh. [08:38:34] I should know that. [08:38:36] not identical to the system root [08:38:36] but I don't. [08:38:41] how would I check it? [08:39:01] I set up mysql a really long time ago. [08:39:02] I forget. [08:39:07] lakotajames: http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html [08:39:18] thanks [08:39:24] lakotajames: it's also possible that you never set one. then you should now :) [08:39:31] oh, ok [08:39:32] well. [08:39:34] I think I did. [08:39:44] the username will be root, though, right? [08:39:48] yes [08:40:12] thanks [08:40:14] I knew it [08:40:17] heh :) [08:40:20] :P [08:40:27] I just didn't know to leave it root... [08:40:29] :P [08:40:46] well, don't use root for the database user name [08:40:52] *Zombie_Will asks his host [08:40:53] I didn't [08:40:54] use "mediawiki" or some such [08:41:00] I used lakota. [08:41:00] the root pw is entered in a separate field [08:41:02] oh, well [08:41:41] maybe I'm just SOL [08:41:44] lulz [08:42:14] Zombie_Will, the Wikipedia article lists ports to Windows of "patch" [08:42:25] you could patch the files locally and then upload them like normal [08:42:45] erm [08:42:51] it's a web wiki [08:42:58] I don't have ssh access [08:43:11] but I do have db and ftp access [08:43:25] it's on a shared server meant for a smaller project :) [08:43:45] sweeeeeet [08:43:53] the host says they'll run the command [08:45:01] *Zombie_Will figures out what the command is [08:45:43] you could patch the files locally and then upload them like normal [08:45:52] locally = on your computer [08:45:54] oooh [08:46:00] der [08:46:06] ty [08:53:58] 03(NEW) line number missing by action=parse&prop=sections - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19417 enhancement; Normal; MediaWiki: API; (dr.trigon) [08:54:15] Thanks guys! [08:54:16] bai [09:02:01] 03shinjiman * r52480 10/trunk/phase3/includes/specials/SpecialVersion.php: fix for r52476, include the cases with quotation marks. [09:40:20] 03(NEW) Bengali Wikipedia's LocalSettings.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19418 enhancement; Normal; Wikimedia: General/Unknown; (jayantanth) [09:43:49] 03(mod) Bengali Wikipedia's LocalSettings.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19418 (10p858snake) [09:45:28] 03daniel * r52481 10/trunk/WikiWord/WikiWordIntegrator/pom.xml: dependency fix [09:46:00] 03daniel * r52482 10/trunk/WikiWord/WikiWordIntegrator/src/main/java/de/brightbyte/wikiword/integrator/ (3 files): source spec fix [09:46:04] Duesentrieb: stop working on the weekend :) [09:46:30] *p858snake whips werdna to start working on the weekend [09:46:57] naw, lots to do. gotta finalize the project by tuesday. going to london to start the next on thursday :) [09:47:24] side of my mouth is sore =( [09:50:39] werdna: http://wiki.werdn.us/test/view/Talk:New_page - try to click "Start a new discussion" link [09:51:26] vvv: bah, lame [09:54:58] vvv: can you report it as a bug, I'm going out in a few minutes and I don't want to forget [09:55:08] Duesentrieb: ah yes, will you have time to come say hi? [10:00:40] 03(mod) Bengali Wikipedia's LocalSettings.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19418 (10jayantanth) [10:02:10] 03(NEW) Clicking on "Start a new discussion" link on non-existent pages does not work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19419 enhancement; Normal; MediaWiki extensions: LiquidThreads; (vasilvv) [10:02:12] bah he replied with still no link to any form of community consensus [10:03:58] community shommunity! [10:06:14] werdna: also, LQT doesn't seem to care about page or thread protections at all [10:17:14] 03aaron * r52483 10/trunk/phase3/includes/LogPage.php: Fill in log_user_text column on log save [10:20:12] 03aaron * r52484 10/trunk/phase3/maintenance/populateLogSearch.php: Fixed summary [10:23:54] 03(mod) Feeds format dates in content language and other messages in user language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19393 (10mormegil) [10:33:59] 03aaron * r52485 10/trunk/phase3/maintenance/ (populateLogUsertext.inc populateLogUsertext.php): Added script to populate log_user_text [10:40:28] 03shinjiman * r52486 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialVersion.php): * (bug 14611) Added support showing the version of the diff/diff3 engine. [10:46:52] 03(mod) Special:Version should show all third party software which it depends on - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14611 (10shinjiman) [11:05:18] my MediaWiki installation returns zero results when somebody includes the word "in" in the search terms, I guess that is because of MySQL stop words or something? [11:05:25] how would I turn that "feature" off? [11:09:01] I see that this was addressed in http://www.mediawiki.org/wiki/Search_issues as well [11:09:57] so would I need to filter out the "in" word from the search terms before handing it over to MySQL? [11:34:50] DB Question: If I add columns to a MW table, will an upgrade from version X (eg 1.14) to Y (eg 1.15) remove them? [11:40:39] I tend to think no. [11:40:59] You may need to verify the extension that calls those lines is compatible. [11:41:23] We have a few custom lines because of extensions on ours and that overright has never been a problem. [11:41:37] Alright then, thanks. [11:41:38] *LauraHale doesn't do the tech end much so has no clue really other than looking at the outcome. :) [11:41:42] heh [11:52:39] 03shinjiman * r52487 10/trunk/phase3/includes/specials/SpecialVersion.php: fix regression in r52476, point to the correct GD library home page or PHP GD module page. [11:59:14] Help with a wiki table? http://fanhistory.com/wiki/Template:Actors <-- I can't figure out why there is no table border on the right. How do I get it to appear? [11:59:17] ironic [11:59:28] http://usability.wikimedia.org/wiki/Releases/Acai/Compatibility_Matrix I can't see the difference between green and red easily [11:59:51] usability != accessability? heh [11:59:53] Oh Hai fail. [12:09:13] er [12:09:21] how can one add an image? o.O [12:09:31] hmm [12:10:06] !images | Zombie_Will [12:10:06] --mwbot-- Zombie_Will: For instructions to use images in MediaWiki, see . For more technical details about image uploads, see and . Note that uploads are disabled per default (see !uploads). [12:10:15] !upload | Zombie_Will [12:10:15] --mwbot-- Zombie_Will: File uploads are disabled per default, set $wgEnableUploads=true to enable it. See for configuration details, and for using uploaded images and other files. [12:10:21] ty [12:11:25] no ideas on my "help, the word 'in' ruins my MediaWiki searches" question? :( [12:11:46] *Splarka pokles rainman-sr ^ [12:12:11] !sqlsearch | lch [12:12:11] --mwbot-- lch: http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html [12:12:20] oh, i though there would be more info. [12:12:38] lch: mysql's fulltext index only covers works with more than 3 letters per default (and no numbers) [12:12:53] i think 1.16 will have a workaround built in. [12:12:53] Duesentrieb, that's not the problem [12:13:11] the problem is that if a search includes the word "in" then there are zero results [12:13:27] if one doesn't include "in" in the search terms, the results are good [12:13:34] it should just ignore/omit the word [12:13:59] hm... that'S ture i guess. [12:14:12] but in order to do that, mediawiki would have to know exactly which words mysql ignoires [12:14:20] but there is no good way to know that [12:14:33] you could just start with the default list [12:14:46] maybe make it configurable, too [12:14:49] ...plus everything shorter than 4 letters? [12:14:51] I mean, the problem seems to be an old one [12:15:01] that would suck if you tune mysql to include those [12:15:05] Duesentrieb, I think that's different from stop words, no? [12:15:12] in effect, no. [12:16:01] anyway... it'S a question for domas and maybe rainman. though rainman's expertise is lucene, not mysql... [12:16:06] lch: file a bug? [12:16:20] well, I have no trouble that people won't find anything if they search only for the word "in", but I don't like that this word ruins other search terms as well [12:17:42] yes, i understand [12:17:44] you can't expect that non-technical people know about mysql stop words [12:17:51] i don't see a nice solution though [12:17:57] or understand, even if you explain it to them [12:17:59] which is why i suggest filing a bug, so it can be discussed [12:18:04] perhaps even post to the mailing list also [12:18:09] I'd be surprised there isn't a bug yet [12:18:11] it's actually an interesting problem [12:18:34] and probably one not specific to mediawiki.... did you try search for people with the same issue with mysql's full text search? [12:18:53] lch: well, so much the better. perhaps there's a solution on the bug report? [12:19:06] yeah, I'm looking [12:19:35] Duesentrieb, I found enough other people that have a problem with it for MediaWiki, though MySQL is at fault :P [12:19:40] for example http://www.searchtools.com/analysis/mediawiki-search/2-mw-search-stinks-stopword-hell.html [12:20:03] hehe [12:20:20] since MediaWiki builds a lot on MySQL, it isn't unreasonable that they should be aware of the problems, even though they aren't their own [12:22:01] lch: dunno what'S reasonable. it does make sense to a) look for a solution in mysql's bugtracker/lists and to b) post to mediawiki's bugtracker/lists about it, wether you found something or not [12:22:38] isn't that alredy solved too? doesn't mediawiki pad around the short words? [12:24:04] Nikerabbit: i think i remember somethign like that was added very recently. but that would not help with long stopwords. the problem isn't that words are too shoirt, but how ignored words are handled if they appear in the query phrase. [12:24:41] "that" is an example for a long stopword, btw :) [12:25:36] holy shit, mysql has a lot of them. http://dev.mysql.com/doc/refman/5.1/en/fulltext-stopwords.html [12:26:09] any search containing any of them would fail. that sucks... [12:26:12] is that really the case? [12:26:15] lch: --^ [12:27:23] Duesentrieb, searching for "that" gives zero results for me, searching for "that" and other term gives results for both [12:27:31] not so for "in", as said before [12:27:41] maybe the padding workaround throws things off [12:27:51] so, "that" does not behave like a stopword at all? [12:27:56] that's odd. [12:28:09] well, it acts like one on itself, I guess it is ignored [12:28:14] I don't know what happens [12:28:30] but if it's a stopword, it's impossible to find matches for it... [12:28:35] anyway. [12:28:37] http://dom3.servegame.com/wiki?title=Special%3ASearch&search=that+unit [12:28:39] http://dom3.servegame.com/wiki?title=Special%3ASearch&search=that [12:28:43] versus [12:28:52] yes, it's possible that the passing breaks things. but with padding, you *should* get results even for "in" alone... [12:29:02] http://dom3.servegame.com/wiki?title=Special%3ASearch&search=hidden+in+sand [12:29:04] http://dom3.servegame.com/wiki?title=Special%3ASearch&search=hidden+sand [12:29:52] lch: ah, no - it doesn't find matches for "that". it does however highlight "that" in the matches it finds for "unit". [12:29:58] yeah [12:30:08] but "that" doesn't ruin the "unit" search [12:30:13] "in" does ruin things [12:30:15] see above [12:31:01] yes. what i mean is: "that" does behave like a stopword, and indeed exactly as expected: nho matches if it's alone, ignored if there's another word. [12:31:11] hm, interesting why that shouldn't work for "in"., [12:31:15] file a bug :) [12:31:29] maybe "that" is not a stopword, or maybe it's the padding workaround [12:31:48] yeah, I'll do, will look at the bugtracker a little more for related bugs first [12:36:52] it is a stopword, accourding to the mysql manual. and it does behave like one, i.e. searching for "that unit" gices the same results as searching for "unit" alone [12:47:50] anyone here with interest and/or experience in wikifarming? [12:48:04] I'm gathering info for a solution I'm developing [12:49:27] Saruman: try on a work day at a time convenient for the us west coast to catch the wikimedia folks :) [12:49:50] what's wikifarming? [12:50:01] running multiple independent wikis from one host [12:50:04] a SEO technique? :) [12:50:16] on mediawiki site it's called "wiki family" [12:50:33] Saruman: yes, and it's described inthe manual [12:50:54] I run a similar setup, even for one wiki I have different code base than for others [12:51:09] I use a variation of drupal-like hack [12:51:13] 03ialex * r52488 10/trunk/phase3/includes/specials/SpecialVersion.php: Mark SpecialVersion::execOutput as static to avoid E_STRICT [12:51:22] I've automated most aspects of administering a wiki farm on Linux [12:51:46] I use a single virtualhost rule for example [12:52:07] How do you deal with maintenance scripts? I have modified them to use HTTP_HOST environment variable [12:52:09] "rule"? [12:52:14] for apache [12:52:47] maintenance scripts run fine with --conf --aconf [12:53:36] I do not want to modify anything in the MW code and as little as possible in the LocalSettings.php file [12:53:40] http://www.mediawikifarm.nl/wiki/index.php/Main_Page [12:54:01] of course mediawikifarm.nl/wiki runs on a wikifarm :-) [12:54:24] I'm diving into the extensions problem this weekend :-/ [12:54:25] do you have any specific issue? [12:54:41] GroupPermissions_manager extension has its own configuration file [12:54:51] Havne't figured out how to handle that [12:55:14] my current alpha solution has identical GPM settings over all wiki's - not nice [12:55:22] all other features work like I want them [12:57:02] don't you have LocalSettings split among wikis? [12:58:03] yes I do [12:58:15] every LocalSettings.php is in /etc/mediawikifarm/ [12:58:29] being the "wikilabel" that identifies a wiki instance [12:59:04] every wiki instance also has its own apache.conf file that you include in the virtualhost configuration [13:01:19] saper: have you documented your setup somewhere? [13:02:06] no [13:02:17] :-( [13:02:20] I intended to run a single codebase initially [13:02:34] but then I found I like to experiment with new svn releases [13:03:15] /home/wiki/sites/$HOSTNAME/LocalSettings.php [13:03:28] /home/upload/$HOSTNAME [13:04:08] $MWFCONFDIR/$WIKILABEL/LocalSettings.php [13:04:24] $MWFDATABASEDIR/$WIKILABEL/images [13:04:45] /home/wiki/root/w is a common codebase [13:04:47] where the variables can be read from /etc/mediawikifarm/mediawikifarm.conf [13:04:57] clear [13:05:01] but there is one exception (/home/wiki/root/rcw for experimentali wiki) [13:05:24] hmm i should be able to cater to multiple code bases with relative ease... [13:05:39] I'll put it in my future deveolopment list :-) [13:06:33] saper: perhaps you could find some time to visit http://www.mediawikifarm.nl/wiki/index.php/User_documentation and let me know what you think of it [13:06:33] and my /home/wiki/root/w/LocalSettings.php contains the drupal-like trick with [13:06:51] $server = explode('.', implode('.', array_reverse(explode(':', rtrim($_SERVER['HTTP_HOST'], '.'))))); [13:07:04] and iterating over it to find LocalSettings.php to be included [13:07:16] oooh, that sounds like heavy php trickery [13:07:23] no, it's not heavy [13:07:32] *Saruman doesn't know PHP [13:07:43] $wgDBadminuser and password asre the only globals [13:07:58] so you will need to learn one to proceed with the project [13:08:20] possible, although I can handle most of my tasks with bash scripts [13:09:28] keep in mind that if you want to have separate codebases, the point of the project becomes moot, i.e. the only thing that remains is more oor less a well-thought directory structure [13:10:31] not necessarily... I'm running 6 wiki's on 1 codebase, and perhaps I could use a 2nd codebase for a 7th wiki [13:10:58] well it all boils down to the requirements that you impose on yourself, or which are imposed on you :-) [13:12:44] I don't see a config file for gpm [13:12:58] looks like most of stuff is in localsettings, or not? [13:13:48] ah I see [13:14:23] for GPM you need to change this [13:14:27] $dir = dirname(__FILE__) . '/'; [13:14:39] line 32 of GroupPermissionsManager.php [13:14:52] ah thanks [13:14:56] oh no, it's more than that [13:15:19] 6 wikis in one codebase sounds like a nightmare in my eyes o_o [13:15:33] lines 111-116 [13:16:30] I currently have an alpha setup that has GPM in it; it creates a single GroupPermissions.php which contains all GPM settings [13:16:34] change $dir . 'config/SortPermissions.php' to $your-instance-directory . '/SortPermissions.php' [13:16:57] heh, very handy to find someone that speaks PHP [13:17:06] SortPermissions.php needs to be changed too [13:17:33] I would discuss that issue with the extension author [13:17:42] rook2pawn: no nightmare, just need the right management solution - which is what I'm developing [13:18:08] saper: that's one route, but I'm looking in the other direction [13:18:33] see if I can come up with some symlink-trickery that fools not only GPM, but every extension [13:18:42] I have a $IPplus = "/home/wiki/sites/www.wikimania2010.pl"; [13:18:51] variable in eavery LocalSettings.php [13:19:04] perl within php? [13:19:13] ah wait [13:19:14] :-) [13:19:19] so in my case, I would change the extension to use $IPplus instead, but it's a non-standard variable. [13:19:34] php is almost like perl in case you haven't looked [13:19:45] I haven't... Bash is all I know [13:20:55] anyways, your pointers are most valuable [13:21:10] I'll see if I can tackle this problem this weekend [13:21:31] saper: much obliged [13:22:00] symlink-based code is somewhat tricky cross platforms [13:22:19] synlinks suck and are not needed [13:24:29] Duesentrieb: if all you have is a hammer... [13:24:52] Saruman: well, define instance PHP variable (like mine "$IPplus") and go through SortPermissions.php and GroupPermissionManager.php and see where $dir needs to be changed. Probably you can replace all instances of $dir . '/config/something.php' with $IPPlus . '/something.php' [13:24:58] Saruman: ...then all you do is hit your thumb. [13:25:10] :-D [13:25:21] saper: hacking around core files? wtf for? [13:25:45] Duesentrieb: since when GroupPermissionManager extension is "core"? [13:26:02] the goal is to have a multiple mediawiki instance with the same codebase [13:26:12] instances, even [13:26:24] saper: i don't know, i guess it isn't :) but if the extension can't cope with a changed $IP, then it's broken... [13:27:01] Duesentrieb: it's not $IP, it's my own instance variable where LocalSettings.php live [13:27:08] $IP is just the codebase [13:27:29] saper: i suppose i should read all the back scroll... [13:27:39] but why would an extension need to know about your special var? what is it for? [13:27:57] Duesentrieb: that's the problem, you need to patch it for yourself [13:28:05] why? [13:28:12] because this extension uses and creates its own configuration file [13:28:33] i don't get it. but then, i don't have to, i guess :) [13:28:44] I have an idea [13:28:48] Duesentrieb: I have multiple wiki instances, some of which need extensions like GroupPermissionsManager which creates a config file. I want each wiki instance to have its own configuration, including its own extensions configuration [13:29:02] Saruman: I know how to solve it nicely :) [13:29:10] ooh! do tell! [13:29:40] a $wgGPManagerConfigDirectory global should be introduced [13:29:47] Saruman: usually, you habe one main config file, in which you have comon setting an a check that sees which wiki is requested. based on that check, it loads the wiki-specific config file. [13:29:52] defaulting to __FILE__ . '/config/' [13:30:09] for an extension that creates a config file, i suppose it's true that it needs to be patched so it generates a different file for each wiki. [13:30:24] unless it has a config variable telling it where to put the config file. which it probably should. [13:31:45] Duesentrieb: understood. However, my wikifarm solution works differently. It remains to be seen if my owm method has enough advantages over the method you describe to be viable, but time will tell [13:31:49] Duesentrieb: so I think having an extension-specific $wg variable is fine for now, unless there is a general agreement that we always have something like $IPplus [13:32:11] Saruman: how do you deal with LocalSettings.php files? [13:32:18] hello [13:32:39] saper: i think an expension specific config is better, because its self-contained. [13:32:47] the extension dopesn't have to know about wikifarms, etc [13:33:00] Duesentrieb: no $wgExtensionSpecificDirectory = 'x' [13:33:11] huh? [13:33:15] what would that be for? [13:33:55] Duesentrieb: GPM already has a bunch of $wgGPMvariables; they also use a config file that can override them (the reason is I guess you can edit them from the wiki) [13:33:57] why not just have $wgGroupPermissionsManagerConfigFile = "x" with a sane default? [13:34:13] Is anybody here who has a good knowledge of installing wikipedia in mediawiki? [13:34:15] Duesentrieb: that's what I called "an extension-specific $wg variable" [13:34:17] saper: the location of that config file shouild be configurable. problem selved. [13:34:24] Duesentrieb: except for one thing [13:34:32] !import Nexon [13:34:32] --mwbot-- To import pages a few pages, use Special:Import - you can also import pages directly from another wiki (see !importsources). For mass imports, use importDump.php - see for details. NOTE: when using content from another wiki, follow the LICENSE TERMS, especially, attribute source and authors! [13:34:33] Hey Guys...I have a Problem with an 'DBQuery-Error' who leads to a MySQL "Server has gone away"-Error. (http://www.jedipedia.de/wiki/index.php/Spezial:Version) <- Versions and the fully problems here: http://www.jedipedia.de/wiki/index.php/Jedipedia:Serverprobleme ... [13:34:33] saper: every LocalSettings.php is under /etc/mediawikifarm/, and augmented with define('MW_INSTALL_PATH','$CODEPATH'); [13:34:47] Saruman: I suppose that those config files got written by the extension, don't they? [13:35:08] !import [13:35:08] --mwbot-- To import pages a few pages, use Special:Import - you can also import pages directly from another wiki (see !importsources). For mass imports, use importDump.php - see for details. NOTE: when using content from another wiki, follow the LICENSE TERMS, especially, attribute source and authors! [13:35:17] what do you mean with !import? [13:35:23] P-Smurf: "server has gone aways" could mean a number of things. perhaps check your mysql log. [13:35:27] Saruman: how do you tell mediawiki to use your /etc/mediawikifarm/foo instead of LocalSettings.php ? [13:35:42] Nexon: i told the bot to tell you about imports. [13:36:06] I symlink to /etc/mediawikifarm/foo/LocalSettings.php from the wiki instance's codepath [13:36:28] oh, that sucks [13:36:41] so you have 6 codebases [13:36:45] if MW_INSTALL_PATH is in LocalSettings.php, it works like a charm [13:36:52] no, only one codebase [13:37:10] and 6 symlinked codebases for 6 wikis [13:37:15] duesentrieb: yeah...about nearly 4 month it is the same error, but it seems to be a very envy error [13:37:54] so, have you checked the logs? [13:37:56] Saruman: well, but you can't symlink one file (codebase/LocalSettings.php) to multiple destinations? [13:37:58] no forum or something like that could help...and to follow the standardpath maybe destroys more than it helps... [13:38:03] ah yes, i already importet that all and in general it runs - but it has a few syntaxerrors, but i installed all the parser extensions and in some way it didnt make a difference - for example on the main page, there are things like "30px|link=Portal:Geographie|Portal Geographie Geographie" readable... [13:38:20] yes...3 different logs about that problem. [13:38:25] Nexon: do you import templates too? [13:38:28] about the db error... [13:38:28] saper: do you have a Linux test box available? [13:38:49] Saruman: #define test box, I use FreeBSD and Linux [13:39:16] P-Smurf: this problem is your database server problem, not mediawiki roblem [13:39:18] you can get the stuff I use from my wiki and try it out yourself [13:39:21] what do you eman with templates, the templatelinks.sql? [13:39:34] saper: http://www.mediawikifarm.nl/wiki/index.php/User_documentation [13:39:37] the articles with templates are already inside, because of the pages-articles.sql [13:39:40] Nexon: no, Mediawiki templates [13:39:48] saper: it is a mediawiki internal error [13:39:49] i think i didnt [13:39:54] how to do that? [13:39:58] Saruman: hmm what about getting rid of index.php :) [13:40:27] P-Smurf: yes, but it says Server has gone away that means a connection to the database server has been closed from the server? [13:41:41] Saruman: there is no link to that fr005 thing [13:42:16] how to import the templates then, saper? [13:42:24] nah, cannot upload .gz files [13:42:30] http://www.jedipedia.de/wiki/index.php/Jedipedia:Serverprobleme there are three different errors who lead to the database error...or how does the database crash the mediawiki? [13:42:31] but every command and template can be cut&past [13:42:56] P-Smurf: what you say there is not enough,. enable logging within your mysql and check why it "goes away" [13:43:18] okay...thanks [13:43:24] ./db1121766-1/wiki_pagelinks this problem needs to be fixed with MySQL tools [13:43:40] this makes pagelinks table unavailable [13:44:08] Saruman: I assume that you have a stub mediawiki instance for every virtual host? [13:45:06] define "stub" [13:45:34] saper: so mediawiki does not lead to that error? or could it be so, if the logginglevel is higher? [13:45:42] something that is put in the user directory to use a shared codebase? [13:45:49] P-Smurf: no, this is a mysql problem [13:46:00] ok...thanks [13:46:08] you are using MyISAM tables, and they can crash if for example the server was not shut down properly. [13:46:26] saper: no I don't. If a virtual host gets a wiki instance, then it simply Includes an apache.conf file [13:46:30] so shutdown your web server and mysql [13:46:46] Saruman: so where is a shared codebase? [13:46:52] okay...thanks [13:47:02] P-Smurf: and run mysql tools to fix your table, it can take a while [13:47:21] yeah...probably :( [13:47:40] P-Smurf: the tool is "myisamchk" check MySQL docs how to use it [13:48:11] thanks [13:48:20] Saruman: I still don't get how those instances get their own database names or where LocalSettings is symlinked from [13:49:03] saper: no worries, it's all documented. But maybe me explaining all here is a bit too verbose [13:51:40] Saruman: what's in /var/lib/mediawikifarm/$INSTANCE ? [13:51:47] do you have now time for explaining me how ti import the wikipedia mediawiki templates on an local media wiki installation? [13:51:58] symlinks to /var/lib/mediawiki/ [13:52:14] Nexon: first, you have to export them. Then they will get automatically imported. [13:52:17] got to go help my wife now [13:52:22] *Saruman goes to lurker mode [13:52:45] Saruman: so this is a stub, you have a much of symplinks like "include" "maintenance" in /var/lib/mediawikifarm/$INSTANCE ? [13:53:15] so using a PHP $IP variable will simplify your setup a lot [13:53:19] what exactly do you mean with this templates? articles like "mediawiki:common.css"? [13:53:43] thanks for your help saper and duesentrieb...bye [13:53:45] no, articles like "Template:XXX" they get included with {{XXX}} [13:54:30] but i have imported a mysql file named -pages-articles.sql, shouldn they be included in that? [13:55:31] Nexon: yes. [13:55:35] bad [13:55:40] pages-articles includes templates. [13:55:55] well, pages without templates wouldn't make much sense. they would be broken. [13:56:05] mmh [13:56:20] !templates [13:56:20] --mwbot-- For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and enabling HTML Tidy [13:56:49] but how can it then be that i can read on my mainpages things like 30px|link=Portal:Geographie|? for my opinion, thats code, and code shouldnt be shown in that way [13:56:49] Nexon: no idea where your "30px|link=Portal:Geographie|Portal Geographie Geographie [13:56:54] comes from [13:57:11] maybe use pastebin for a larger piece of html [13:57:47] the original wikipedia has it too in his mainpage, but unless you dont press the button for changing the article you dont see it [13:58:14] Perhapts there are some from the parser plugins wrong configurated? [13:59:20] Nexon: can you put a piece of your html? is it frwiki? [13:59:40] Nexon: did you read the bit i just posted for you via mwbot?... [13:59:47] about parserfunctiosn and wgTidy? [13:59:49] do it. [13:59:54] its dewiki, sorry :-) what html do you mean? [14:00:19] Duesentrieb: No i didnt, what is mwbot? [14:00:26] saper: very likely, he's just missing parserfunctions [14:00:33] Nexon: a bot that saves me typing. [14:00:38] !templates | Nexon [14:00:38] --mwbot-- Nexon: For more information about templates, see . The most common issues with templates copied from Wikipedia can be fixed by installing ParserFunctions and enabling HTML Tidy [14:00:48] like that. [14:01:00] Duesentrieb: I think he said he installed PF [14:01:07] i did [14:01:23] i installed all perser plugins that are listed on the dewikipedia versions site [14:01:28] Nexon: how did you check they work? [14:01:39] looking on the version site [14:01:43] and did you enable tidy?... [14:01:48] wtf how to open that links? [14:02:00] depends on your irc client. [14:02:04] i can just click on them :) [14:02:14] website empedded sh*t [14:02:14] I snarf them and paste into my browser [14:03:59] no id didnt enable tidy, and the site doesnt make it clear for me how to do that? [14:04:23] oh [14:04:25] $wgUseTidy = true; [14:04:33] $wgUseTidy = ture?" [14:07:23] still no difference [14:08:04] You Are Doing Something Wrong Then (tm) [14:08:07] can you post html of your page to pastebin? [14:08:31] one second [14:08:40] of the page or of the article? [14:11:01] http://pastebin.com/d12e64dda [14:12:55] Nexon: of the mediawiki web page you have problem with [14:13:35] that shouldt be the link above, isnt it? [14:15:48] and the wikitext? can you paste? [14:15:57] [[Datei:P countries-lightblue.png|30px|link=Portal:Geographie|Portal Geographie]] [[Portal:Geographie|Geographie]] [14:16:09] yes [14:16:22] I suppose you have a namespaces problem [14:16:30] that means? [14:17:40] you check if [[File:P countries-lightblue.png]] works? [14:18:20] 03daniel * r52489 10/trunk/WikiWord/WikiWord/src/main/java/de/brightbyte/wikiword/schema/WikiWordStoreSchema.java: database wrapper initialization sequence [14:18:59] how "works" what shall that do? [14:19:37] 03daniel * r52490 10/trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/builder/InputFileHelper.java: getURL [14:20:00] Nexon: include a picture if you have loaded one [14:20:08] and the wikitext should be sane [14:20:11] 03daniel * r52491 10/trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/builder/ConceptImporter.java: avoid self-redirects [14:20:46] you know that i dont have that picture? [14:21:09] 03daniel * r52492 10/trunk/WikiWord/WikiWordBuilder/src/main/java/de/brightbyte/wikiword/builder/ (ImportApp.java ImportProperties.java): don't purge concept when attaching properties\! [14:21:39] Nexon: did you set the size language to german when installing? [14:21:59] err, site language. "content language", actually [14:22:08] also, are you using 1.15? [14:22:13] yes i did [14:22:47] when i paste [[File:P countries-lightblue.png]] i can read on the page File:P countries-lightblue.png (it is a link) [14:22:56] no, i use 1.13 [14:22:56] but "Datei:" doesn't work? [14:23:11] that's very likely not to work. [14:23:19] how shall i work or how can i test it? [14:23:22] *it [14:23:24] "File" and "Datei" only recently replaced "Image" resp. "Bild" [14:23:42] yes [14:23:51] so they are not going to work in 1.13 i think [14:23:55] but it links to an article, not to a file [14:23:59] but you can set them up as aliases manually [14:24:07] ah [14:24:08] how? [14:24:18] !namespaces [14:24:18] --mwbot-- For help with understanding and manipulating namespaces, please consult . See also !extranamespace [14:24:29] should be in ther esomewhere [14:24:41] make sure you don#t set up custom namespaces, but namespace aliases [14:25:15] hm, that link sucks. [14:25:30] think so theres nothing about namespace aliases [14:25:53] Nexon: http://www.mediawiki.org/wiki/Manual:Namespace [14:26:01] !namespaces del [14:26:01] --mwbot-- Successfully removed keyword: namespaces [14:26:21] Nexon: I would recommend upgrading to a more recent wiki, if you intend to import wikipedia dump [14:26:55] !namespaces is See http://www.mediawiki.org/wiki/Help:Namespaces for user help and documentation, and http://www.mediawiki.org/wiki/Manual:Namespace for administration. For adding namespaces, see !extranamespace [14:26:55] --mwbot-- Successfully added keyword: namespaces [14:27:06] lots of other suble things can be probken [14:27:20] i started wirking with an 1.15 mediawiki, but it said "sql error" after importing the dumb, v 1.13 (which is in the ubuntu rep) works [14:27:46] if i dont have to import all this mega dbs again, and you can tell me how to make 1.15 working, i can do that [14:28:34] I have no idea what a n sql error might b, probably you've had some old db sftructure [14:30:22] the "gag" was, that i had installed the basic dbs with 1.15, then importet "page" revision" and "text" and it said something about an error..then i installed 1.13 from the repository, installed it with a new db and after that i manually changed the db data in the localsettings to the databse from 1.15 and now it works in general [14:30:55] and it is an actual dumb (05.06.09) it cant have an old db structure, can it? [14:30:58] eeeewwww.... [14:31:13] lots of subtle breakage can happen that way. [14:32:02] i dont think that the error come from that, i already had the same problem with an 1.12 mediawiki, where i made all [14:32:25] the problem is, that the import need ~15 hours, i dont have that much time... [14:32:44] 15 hours is pretty fast for a full import [14:33:18] not full [14:33:50] without the old articles and all that, (the mysql file was in the end 5,5 gb big) [14:37:44] and isnt there any possibilitie to make the wikimedia clear that file should not be an article but a file? [14:37:49] Nexon: sorry to say that, but your setup can be rboken byond our ability to repair [14:38:06] why should it? [14:38:22] wikipedia in general works, i can search, view articles and all that [14:38:30] only this syntax errors --.- [14:39:22] there were certainly some chema changes between 1.13 and 1.1.5 [14:39:47] sorry. medaiwiki is not an easy toy, it has lots of subtle stuff [14:39:58] hm [14:40:28] and when i do again a 1,15 in the webserver and change the db in the same way back to it? [14:40:38] because it is a 1.15 made db [14:40:43] so go review changelog and check every change mbetween 1.13 and 1.1.15 [14:40:50] ~. [14:41:06] -.- [14:41:49] 1.15 might work with your database [14:41:58] if you haven't changed anything [14:42:04] no [14:42:12] but it didnt after installation [14:42:14] 1.13 did [14:42:14] Nexon: if your just updating to .15 from a older version, run the update script [14:42:35] p858snake|sleep: yeah but it's an "update" from .13 running on a .15 mediawiki dump [14:42:55] bad idea, i dont want to update the 1.13 from the repos to something that i get from the web and not as a packet [14:43:08] what? [14:43:14] change the operating system then :) [14:43:15] you missunderstood me [14:43:17] haha [14:43:35] (its a virtual ubuntu server) [14:43:41] for explaining what i did: [14:45:30] maybe, you are out of luck then :) [14:46:06] 1. installed mediawiki 1.15, 2. dumb the mysql file in (with the mysql "source" command" 3. after that, i got a sql error from mediawiki 4. installed mediawiki 1.13 (in another location) and made the setup 5. manually changed the databses in the localsettings.php to that on i used with 1.15 and that was already dumped 6. it runned [14:46:18] so i acoided another read in of the source file [14:46:22] *avoided [14:49:52] ha" [14:49:53] ! [14:49:55] im godlike" [14:49:57] ! [14:49:59] 1.15 runs [14:50:00] xD [14:50:53] and now there isnt this shit, theres only datei (german word for file) and it links to a nonexistant file [14:51:45] thank you all, then [15:01:52] another questions [15:02:38] when i click on a image link that has no image and i upload the image then, it wont be shown there...how to change that? [15:03:56] Is there a way for my mediawiki extension to do any processing every time someone visits a page, even when that page is in cache? [15:06:06] pro-rsoft: depends at which level the page is cached [15:06:40] !hook MediaWikiPerformAction [15:06:40] --mwbot-- http://www.mediawiki.org/wiki/Manual:Hooks/MediaWikiPerformAction [15:10:03] 03daniel * r52493 10/trunk/WikiWord/ (2 files in 2 dirs): getConceptIdCursor: use big query, use asString [15:15:23] 03(NEW) Spanish wikipedia XML dump errors - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19420 blocker; Normal; Wikimedia: Downloads; (capellan2000) [15:26:37] is there a possibility to download and use the wikipedia images on a local wikimedia installation= [15:26:39] ? [15:27:42] @search remote [15:27:42] --mwbot-- Results: [fileurl] [15:27:45] hm... [15:27:56] @search foreign [15:27:56] --mwbot-- Results: [instantcommons] [15:28:01] !instantcommons [15:28:01] --mwbot-- InstantCommons was a proposed feature for MediaWiki to allow any MediaWiki installation to use media on the Wikimedia Commons. This has basically been realized via $wgForeignFileRepos. See . [15:29:49] !foreignfilerepos is see http://www.mediawiki.org/wiki/Manual:$wgForeignFileRepos [15:29:49] --mwbot-- Successfully added keyword: foreignfilerepos [15:30:01] !remotefiles alias foreignfilerepos [15:30:01] --mwbot-- Successfully added alias: remotefiles [15:30:09] Nexon: see there ---^ [15:30:34] yes i have that but it only load them when i am onine, it shall save them (forever) so that i can use them when i am offline, too [15:31:16] Nexon: how many terabyte disk space to you have to spare? [15:31:47] Hi guys, is there an easy way to hide all interwiki links? I can hide a single language with ".interwiki-fr {display:none;}", but how to hide all languages? [15:32:10] well, if you'd only store the small thumbnails, it wouldn't be *that* much. but that's not possible currently. [15:32:36] hm okay [15:32:51] Multichil: the section that holds the interwiki links probably has an id attribute. you can use that to hide it via css. [15:33:13] Multichil: id="p-lang" [15:33:25] so it's #p-lang { display:none; } [15:34:06] Duesentrieb, Multichil [[MediaWiki:Sidebar]] works too, doesn't it ? [15:34:22] just remove * LANGUAGES from it ;) [15:34:45] no i think if you remove that, it appears at the bottom [15:34:48] but i could be wrong. [15:40:51] q: images dump: can i just put images folder (as images.tar) to the public? will it work on a new mediawiki imported from a xml dump? [15:41:03] Duesentrieb : Ok. That worked. Now I just have to figure out how to get indivual languages to show again. [15:46:43] Multichil: that'S not possible. if you hide the block, it's gone. [15:47:01] Multichil: hmm, wait. [15:47:59] Multichil: #p-lang li { display:none; } #p-lang li.interwiki-de { display:block; } [15:48:08] that should do [15:48:21] note that the hiding is silightly different [15:59:49] Duesentrieb : Hmm, that doesn't seem to work [16:00:52] Right, now it does :P [16:07:53] thanks Duesentrieb, list-item makes it look even better [16:08:11] yea, right, sorry about that :) [16:53:42] 03demon * r52494 10/trunk/phase3/ (7 files in 7 dirs): [16:53:42] (bug 19157) createAndPromote error on bad password [16:53:42] * Tweak User::isValidPassword() and hook. Return a STRING msg key on failure, not false. Updated all callers to handle this [16:53:42] * Split too-short/match username errors for clarity [16:53:42] * Update docs, messages. [16:53:46] * Merge fix for bug from maintenance-work branch [16:54:05] 03(FIXED) createAndPromote error on bad password - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19157 +comment (10innocentkiller) [16:54:47] 03demon * r52495 10/trunk/extensions/SecurePasswords/SecurePasswords.php: Followup to r52494: Update only extension using isValidPassword in SVN or listed on MW.org. Return string messages instead of false. Still keep custom message thing in place though. [17:50:46] where can i look at the code that does the image thumbnail creation? [17:53:26] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/media/Bitmap.php?view=markup [17:59:31] ugh! that is so bad. that couldve been at least a proc open with a real error pipe [18:08:07] where can i find the wfDebug file ? [18:22:59] rook2pawn: wfDebug is a function [18:23:15] (and it writes to the file defined in $wgDebugLogFile) [18:23:59] i set the $wgDebugLogFile to "debug.txt" but its not logging [18:24:34] i echoed the cmd and exit'd in Bitmap.php and it sucessfully created the thumbnail in the right location [18:25:08] you may need to use the full path to debug.txt [18:26:24] wow that worked :-) [18:30:20] at the end of the command is 2>&1 what does that mean? [18:31:57] 03(mod) The feed on Special:RecentChanges is cached in random language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19391 (10mormegil) [18:33:23] 03(mod) The feed on Special:RecentChanges is cached in random language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19391 (10mormegil) [18:34:38] it redirects stderr to stdout [18:42:04] i echoed the $cmd from Bitmap.php, ran it, and it made the thumb just fine. there is no error, and the logs say thumbnail failed on COMPUTER: error 1 "" [18:42:23] when mw tries to build it [18:49:19] What are you creating a thumbnail of? [18:50:59] I've had problems with SVG conversion in the past, I had to set the path directly: [18:50:59] $wgSVGConverters['batik'] = '/usr/local/bin/java -Djava.awt.headless=true -jar $path/batik-rasterizer.jar -w $width -d $output $input'; [18:51:12] I believe in that case it couldn't find java [18:54:13] i am converting a jpg, converting a png [18:54:23] s/converting/creating [18:54:30] 03thomasv * r52496 10/trunk/extensions/ProofreadPage/ProofreadPage.php: call the parser outside loop [19:17:47] I have page A with heading level 2 (==), I want to include this page on page B under section of level 3 (===) with {{A}}, but I need that the level 2 of A will change to level 4 when included on B. is there solution for this ? [19:18:39] You could have two headings, one with and the other with [19:19:03] The first one you would make level 4, the second level 2. [19:19:21] You could wrap that up in a template to make it look cleaner. [19:21:08] GreenReaper: could this be done somehow by parameter ? so the starting heading level would be defined as parameter ? [19:21:45] I am sure it is possible. If nothing else you could have a long list of "if" statements. :-) [19:22:07] Or better . . . you could have that *be* the parameter [19:22:14] so {{vh|==|====}} [19:22:38] or {{vh|header name|==|====}} [19:34:47] hmm, is this valid in templates ? {{{1}}}== [19:45:42] Good question! [19:45:46] Try it and see. [19:47:32] GreenReaper: it does not work as expected. I am asking, because it is first time I work with template parameters and dont trust myself ;) [19:48:25] Well, I was thinking you could specify the header inside the template itself and then insert the same parameter twice, around the first (name) parameter [19:50:54] 03thomasv * r52497 10/trunk/extensions/ProofreadPage/ProofreadPage.php: create a separate hook function, that aborts if the index is a djvu index. remove unused counters [19:57:59] I found similar question here http://www.mediawiki.org/wiki/Help_talk:Templates#Heading_level_and_templates, but without answer :-( [19:58:50] Well, when you manage to get it working then you can put the answer there. [20:07:13] using 1.15.0... what is likely to cause index.php to display as 0 bytes immediately after an install and config that appeared to work correctly ? [20:10:47] Lardarse: You can insert debugging into the top of LocalSettings.php to help you diagnose that. [20:10:57] hmm? [20:11:17] error_reporting(E_ALL); [20:11:17] ini_set('display_errors', 1); [20:11:17] $wgShowExceptionDetails = true; [20:11:33] Try plonking those into LocalSettings.php after the You might want to comment them out after you find the problem if you are running a public wiki. [20:14:24] once it goes public, yeah... [20:14:29] still getting a 0 byte file... [20:14:37] Curious. [20:15:22] i might need to poke the server admin about this when he gets back online [20:16:17] Did you move the LocalSettings.php file to the main directory, set chmod 600, and delete the config directory? [20:16:46] i copied it in (saved fiddling about with chown), and did the other 2 [20:17:34] Well, you could try putting those debug commands at the top of index.php instead. [20:17:48] Hard to die before then. [20:18:08] If it still doesn't give any output perhaps php is not properly setup. [20:18:25] php is set up... something else is using php in the same webspace [20:19:12] ok [20:19:24] in index.php worked [20:20:55] looks like it's failing to open LocalSettings.php [20:24:26] GreenReaper: i can understand why the file should be 600 (because it has a plaintext password in it)... but doesn't that stop it being read by whatever needs to be reading it? [20:24:50] That depends on who is reading it. It is why it is suggested that it be chowned to the webserver account. [20:25:01] Of course if you are not root it may not be a good idea to do that. [20:25:14] i am not root [20:25:15] ok [20:25:15] In that case it may be better to do chgrp to a group that the server is in and use chmod 660 [20:25:31] i think my paranoia may ahve got the better of me... [20:25:50] is it possible to run the config again? [20:26:40] I would have thought so, you just need the right files there. Though why not salvage the existing LocalSettings? [20:27:14] because i may have clobbered its permissions.. because i copied it instead of moving it out of the config folder [20:27:29] and i want to see if that makes a difference [20:27:30] So change 'em. You have the powah! [20:28:11] What you need to set them to would depend on the server but often there is a group www [20:28:17] ls -a will give details of current permissions. [20:28:29] -a ? you mean -l ? [20:28:30] ls -la rather [20:28:33] ok [20:28:33] yeah. [20:29:11] everything is set to foo foo... where foo is the username [20:29:15] (which isn't foo) [20:29:38] OK, so you want chgrp bar LocalSettings.php [20:29:46] and then chmod 660 LocalSettings.php [20:29:47] probably [20:29:50] where bar is? [20:30:00] Whatever group your www account is in, if any [20:30:11] how would i know that? [20:30:34] also.. chown just failed, citing permission denied... so would that work? [20:30:57] Hmm. You may need root's help if you don't have permission to change ownership of the file anymore. [20:31:15] you can find out the groups an account is in with "groups x" where x is the user [20:31:19] Set chmod 600 and chown [20:31:43] Yes, unfortunately those instructions appear to assume you are root and so can get the file back. [20:31:48] hah [20:31:49] ok [20:31:50] hang on [20:39:37] GreenReaper: i juat ran config again... LocalSettings.php has owner and group set to apache [20:39:56] OK. [20:40:06] that might ahve made a difference... [20:40:11] Quite possibly! [20:40:48] If you are part of group apache as well you would still have access to that file if set 660 [20:40:57] (you can see with groups yourname) [20:41:36] well... i can't chmod the file because i'm not the owner... [20:42:17] but the wiki is now working [20:42:24] Good enough for now. [20:44:04] sounds like i'll have to poke the admin when he gets back [21:00:56] 03rotem * r52498 10/trunk/ (2 files in 2 dirs): Localization update for he. [21:10:54] 03(NEW) UserBoard login redirect broken (patch proposed) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19421 normal; Normal; MediaWiki extensions: SocialProfile; (ivolucien) [21:24:31] 03ashley * r52499 10/trunk/extensions/SocialProfile/UserBoard/SpecialUserBoard.php: bug #19421: UserBoard login redirect broken. patch by Ivo Roper [21:24:55] 03(FIXED) UserBoard login redirect broken (patch proposed) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19421 +comment (10jack) [21:34:12] moin [21:41:53] 03(NEW) Add a substitution parameter to Ipbreason-dropdown - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19422 enhancement; Normal; MediaWiki: User interface; (Platonides) [22:12:11] having issues with the import function... my session died while uploading the XML file [22:12:51] is it a big file? [22:13:03] if so, try mwdumper or the import script [22:13:12] 48mb [22:13:21] way too big for Special:Import [22:13:38] either use one of the things i suggested or export it in smaller portions [22:13:50] import script? [22:14:01] in maintenance/ [22:14:05] thanks [22:14:11] don't remember the exact name, should be obvious [22:29:20] 14(INVALID) Unable to upload particular file to Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13551 +comment (10mike.lifeguard) [22:33:28] 14(DUP) Usernames with initial-lowercase letters need to be cleaned up across Wikimedia projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5230 +comment (10mike.lifeguard) [22:33:31] 03(mod) Invalid usernames on Wikimedia web sites - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3507 +comment (10mike.lifeguard) [22:37:20] hey guys just a quick question has anyone intergrated media wiki into there own php website, im designing a huge website and i would like to use the media wiki inside my webpage as one of the sections, is this possible(basically will this be easy) and if it is possible then is there a link to a tutorial or something ? [22:38:01] 03(mod) SVG renderer does not support the tag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8552 +comment (10mike.lifeguard) [22:38:55] 03(mod) Enable captcha for anonymous page creation on Spanish Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8668 +comment (10mike.lifeguard) [22:39:37] 03siebrand * r52500 10/trunk/phase3/languages/messages/ (18 files): Localisation updates for core messages from translatewiki.net (2009-06-27 22:23 UTC) [22:40:53] Ludjer, it's possible, but I don't know of any tutorials [22:41:01] Ludjer, you could just use a frame? [22:42:32] that is an idea actually thanks for suggesting that kim_bruning, im gona look at the API and see if i can dig up anything manualy, also ACL, does media wiki come with a standard one or is there addons [22:43:19] 03(mod) CentralAuth global session doesn't include incubator - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14407 summary; +comment (10mike.lifeguard) [22:43:41] 03siebrand * r52501 10/trunk/extensions/ (42 files in 38 dirs): Localisation updates for extension messages from translatewiki.net (2009-06-27 22:23 UTC) [22:43:55] Ludjer, mediawiki has ACLs built in (a tad tricky to use), and there's several plugins too [22:44:05] (some of which are more user-friendly) [22:44:42] 03(mod) Grant noratelimit right to the editor group in the Hungarian Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14716 +comment (10mike.lifeguard) [22:45:11] ahh ok thanks for the information [22:45:47] mike: don't let the bed bugzillas bite [22:46:33] 03(mod) Upgrade to Ploticus 2.41 to fix non-conformant XHTML in EasyTimeline - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14727 summary (10mike.lifeguard) [22:47:18] 03(mod) Upgrade to Ploticus 2.41 to fix non-conformant XHTML in EasyTimeline - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14727 (10mike.lifeguard) [22:47:37] 03(mod) Upgrade to Ploticus 2.41 to fix non-conformant XHTML in EasyTimeline - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14727 (10mike.lifeguard) [22:51:02] 03(mod) Redirect dk.wiktionary and dk.wikibooks to da.wiktionary and da.wikibooks respectively. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15357 summary; +comment (10mike.lifeguard) [22:53:57] Does anyone remember when the "disallow talk page editing" block option was added? The way it handled defaults meant that old blocks didn't allow talk page editing... did that ever get resolved? [22:54:16] I thought the default was changed to old blocks would allow talk page editing - so a maintenance script didn't have to be run. [22:58:50] 03(mod) Request for a Dutch version of labs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16812 +comment (10mike.lifeguard) [22:59:00] Mike_lifeguard: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=41248 [22:59:38] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/41248 even [23:00:50] 03(FIXED) Disable the prevent talk page editing feature on blocked editors - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15828 +comment (10mike.lifeguard) [23:00:51] mwahaha, I love pretending I fixed things :P [23:05:00] 03(mod) Default our search box to "Search" instead of "Go" on Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17471 (10mike.lifeguard) [23:09:53] 03(mod) Request for a Dutch version of labs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16812 (10siebrand) [23:09:53] 03(mod) mail password per user rate limit should be global for SUL accounts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 (10mike.lifeguard) [23:11:42] 03(mod) Search suggest broken for an exist article on de.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17909 +comment (10mike.lifeguard) [23:12:36] Mike_lifeguard, it only becomes a problem when you're the top bug fixer in the weekly statistics ;) [23:13:48] Hi, does anyone know a script / bot to rename images without re-uploading? I found this (http://commons.wikimedia.org/wiki/Commons:MediaMoveBot) but it's not released yet. [23:14:08] MW is/was able to do it.. But it was bugged [23:14:21] mangel: file moving is currently experimental - you can try it out, not sure if the issues were resolved though [23:14:58] I know, but I need to work on 1.12 mediawiki [23:15:05] tough [23:15:06] ouch [23:15:08] its well out of date [23:15:26] yeah :( [23:15:46] Reedy/Mike: the issues mostly were in relation to missing physical files (old or current), as is the case for many images on WMF [23:15:53] 03(mod) Set $wgUseDynamicDates = false for the English Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18479 +comment (10mike.lifeguard) [23:15:54] hmm [23:15:59] I think vvv fixed them all up, image moving should be reenabled this week [23:16:31] 03(mod) Set $wgUseDynamicDates = false for the English Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18479 (10mike.lifeguard) [23:17:04] exciting :) [23:17:21] Splarka: brion said he would consider doing it this week [23:17:32] yah, that [23:17:35] Means we may get it before Wikimania :) [23:17:52] I couldn't find any of the problems with it on test.wp that existed when it was disabled [23:19:10] 03(mod) Wikimedia error message is unclear when url contains & - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16053 +comment (10mike.lifeguard) [23:19:45] https://bugzilla.wikimedia.org/show_bug.cgi?id=18420 [23:32:41] 03(mod) mail password per user rate limit should be global for SUL accounts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17487 -shell ; +comment (10Platonides) [23:36:58] 03(NEW) The initial file description page uses caption in the user's language instead of content language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=19423 normal; Normal; MediaWiki: Uploading; (mormegil)