[00:01:02] compwhizii_: depends... do you want a central image repository like commons on your site, for use of several of your wikis? [00:01:08] or do you want to use commons itself? [00:01:16] Hi, is it possible to use pictures from Commons on an other Wiki without uploading it there? [00:01:17] or do you want to be able to use some external images from somewhere? [00:01:35] using images that are on the commons [00:01:48] ok then [00:01:53] yes [00:02:00] the anser is "no, but"... [00:02:04] !instantcommons [00:02:04] --mwbot-- InstantCommons is a proposed feature for MediaWiki to allow any MediaWiki installation to use media on the Wikimedia Commons. However, several issues (some legal) need to be worked out, and it is only a proposal. See < http://www.mediawiki.org/wiki/InstantCommons >. [00:02:19] awwwww [00:02:22] :( [00:02:23] there's a working demo afaik [00:02:29] but the legal aspects are a real problem imho [00:02:39] getting the image to show isn't such a big problem [00:02:44] dealing with image deletion is [00:03:03] what if it's a copyright violation? who is responsibel? [00:03:07] etc... [00:03:35] okay then [00:03:54] ok, Thanks Duesentrieb [00:28:48] 03siebrand * r31698 10/trunk/extensions/ (7 files in 3 dirs): [00:28:48] * fix svn props for CategoryIntersection [00:28:48] * add extension credits for Gnuplot [00:28:48] * add support for FixedImage, and Gnuplot to Translate [00:33:53] 03siebrand * r31699 10/trunk/extensions/CategoryIntersection/CategoryIntersection.i18n.php: title(s)->result(s) [00:41:53] 03(mod) Magic word to add noindex to a page's header - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8068 (10danny_b) [00:58:11] Where to find a list of all Special:command? [00:59:13] [[Special:Specialpages]] ? [00:59:25] Ok. [01:01:59] Charitwo, nop, not that I mena, as "special:blockip". [01:02:31] im not sure I understand, that's the only list of special pages I know, you didn't specify blocks [01:02:54] but Special:Blockip is one of them, restricted to sysops [01:03:15] Yes, it was so. [01:25:10] could the next MW update have a bigger search box? :P [02:12:34] 03aaron * r31700 10/trunk/extensions/ConfirmAccount/ (ConfirmAccount_body.php SpecialConfirmAccount.php): PG fix [02:20:21] 03(NEW) special: namespace issue - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13289 04BLOCKER; normal; Wikimedia: wikibugs; (lilewyn) [02:21:04] 03aaron * r31701 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: Use $wgConfirmAccountRejectAge for token expiration [02:29:20] 03(NEW) enwiki arbcom private wiki has gone missing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13290 04BLOCKER; normal; Wikimedia: wikibugs; (lilewyn) [02:30:30] 03(mod) enwiki arbcom private wiki has gone missing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13290 (10lilewyn) [02:31:01] 03(mod) special: namespace issue - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13289 (10lilewyn) [02:47:54] 03(mod) blank edit summary message is displayed when an auto summary is put in - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8912 (10pink-ink) [03:34:38] Is there a feature/extension of MediaWiki that automatically uses a different skin for different browsers? I've been searching for a while but I can't find anything [03:35:49] not that I'm aware of [03:36:12] !extensions [03:36:12] --mwbot-- MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [04:24:46] 04(REOPENED) enwikibooks: let sysops grant patroller and rollbacker permissions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12676 +comment (10mike.lifeguard) [04:36:09] 03(mod) special: namespace issue - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13289 (10lilewyn) [06:00:19] greetings [06:00:26] (comingo from #wikimedia-tech) [06:00:46] I was wondering... is it possible to *not* capitalize the first letter from usernames? [06:00:50] Panora: usernames are case sensitive on wiktionary... [06:00:54] http://en.wiktionary.org/wiki/Special:Contributions/Splarka [06:00:55] http://en.wiktionary.org/wiki/Special:Contributions/splarka [06:01:05] as are page names [06:01:15] Splarka: AFAIK, everything in wiktionary is case sensitive [06:01:16] Panora200: It should be dependent on the settings of the wiki in question [06:01:23] exactly... [06:01:29] not *everything*, but lots of things [06:01:32] I just wanted the usernames, if possible [06:01:56] *just* the usernames? that might be hard [06:02:38] hmm [06:02:49] I tried to create 'splarka' and it failed [06:03:07] so usernames are still first-letter case sensitive in that respect, even if they are not in other respects [06:03:32] (well, it probably would have failed for a spoofing name, but it failed in this case because the name already existed) [06:07:36] this is what I want to achieve: [06:08:12] have the edits bound to the username (case sensitive, which means having the first letter lowercase, if the user wants), but display "real name" in history, recentchanges, etc [06:08:36] if I have to hammer something, I'd like to do it the right way... like an extension, if at all possible... [06:08:50] is anyone able to point me to any valuable direction? [06:09:02] (I was reading LDAP auth, but doesn't seem to help..) [06:09:58] Hey guys. I just migrated to a new server and upgraded my wiki, all images are working fine, however the main page (index) is giving me errors: Error creating thumbnail: convert: unable to open image and this onvert: missing an image filename. Can anyone point me in the right direction please? (http://www.hapes.org/library_1_11/index.php?title=Main_Page) [06:10:17] oh boy, after so many years, gaim/pidgin still childishly crashes [06:10:45] King_James: permissions? [06:11:01] I haven't edited any CHMOD settings, which would I need to set? [06:11:28] King_James: chmod 777 /home/hapes/public_html/library_1_11/images/ -ARE (hammer-lway) [06:11:36] 777 ? [06:11:43] sorry, text substitutions... last parameter is -R . [06:11:48] 777 would solve it [06:12:02] but it's best to chown to the running apache user [06:12:13] ah, lemme log in via SSH then [06:12:26] and set it chmod ug+rwx [06:12:35] perhaps it's good to setgid as well [06:12:39] so: chmod 777 /home/hapes/public_html/library_1_11/images/ -R [06:13:26] it's easier, though :-( [06:13:28] :-) [06:13:58] ok, so -R or just the ug+rwx ? [06:14:40] ok, the CHMOD cmd is done, but error still there [06:14:46] what is the setgid? [06:14:51] King_James: what's the current ownership? [06:15:08] King_James: you should understand how permissions work... [06:15:15] man chmod [06:16:05] is there some sort of plugin that is suppose to create these thumbnails? [06:18:43] Panora200 the ownership is my me (my user) [06:18:45] not quite, I think [06:18:56] King_James: what about the user? is the same as apache is running ? [06:18:56] and the chmod didn't fix it :( [06:19:02] checking [06:19:12] chmod 777 didn't fix it? [06:19:17] nope :( [06:19:37] wait [06:19:43] read: /home/hapes/public_html/library_1_11/images/c/c6/Branch-MoCulture.JPG': No such file or directory. [06:19:57] no such file... [06:20:00] pan: possibly you could grab the 'real name' field instead of username for displaying in history/rc, etc [06:20:05] hmm [06:20:11] i wonder if i can make a page totally inaccessible [06:20:17] by naming it to something with an & in it [06:20:54] however, if you remove the /home/hapes/public_html/ and put the domain www.hapes.org/ you will see the file IS there [06:21:11] ah, it changes it to & [06:21:32] Error creating thumbnail: convert: unable to open image & convert: missing an image filename [06:21:51] Splarka: that's hacking the code! I wonder if it's possible to do it as an extension...? [06:22:15] Random: that was one reason it was blocked, pages with & in the title couldn't easily be moved [06:22:16] Random832: there was a bug like that... [06:22:37] Random832: I tried creating "Tips & Tricks", and never got to the page anymore :-) [06:22:59] Splarka: it seems now if i move a page _to_ something with & in the title, it becomes an & [06:23:05] so why not turn the & in the request into an &? [06:23:11] right, but it didn't, a few weeks ago [06:23:16] *Splarka shrugs [06:23:17] ask domas! [06:23:21] he didn't wanna do anything about it [06:23:26] bah [06:23:31] what if someone searches for &? [06:23:40] even after I proved to him that url encoded amp (percent) was hampering my ability to send examples of buggy parser diffs to Tim [06:24:01] King_James: did you change the location of the website? [06:24:08] well then someone else fix it [06:24:26] King_James: it's a fact that apache (nor anyone on the system) can find /home/hapes/public_html/library_1_11/images/c/c6/Branch-MoCulture.JPG [06:24:30] *Splarka shrugs [06:24:40] King_James: so you should be wondering why is mediawiki looking for the image in there.. [06:25:49] well, enough for tonight, need rest, thanks for now [06:28:10] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13264 (10alexsh) [06:29:24] Panora200: http://www.mediawiki.org/wiki/Manual:Hooks/PageHistoryLineEnding [06:29:29] that might be able to edit the link [06:35:17] I deleted the page the hard way [06:35:17] eheh [06:54:00] why is the sitenotice output via javascript document.writeln? [06:54:14] because brion [06:54:34] ? [06:55:54] if ya wanna review the history, see http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/DismissableSiteNotice/DismissableSiteNotice.php?view=log [06:56:09] I mean [06:56:23] we have code to dismiss our watchlist notice on en without using docment.write to create it [06:57:00] and why doesn't it do it for users who aren't logged in? [07:00:18] because brion [07:00:38] and part of the watchlist notice code on en is mine ^_^ [07:01:19] well one of them anyways (the geonotice one is funky, it uses visibility:hidden, which makes it take up space after dismissal) [07:02:16] one reason you don't want your sitenotice in plaintext, is it pollutes the top of google summaries (for a site: with no text) [07:02:49] monobook is specially designed to have the firstHeading, the contentsub, the sitesub, and first paragraph at the top of every page [07:03:05] the watchlist notice method wouldn't fool google [07:03:20] 03(mod) Display message on user registration form if database locked - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11771 (10N/A) [07:03:24] although document.writeln is not the best solution (ick), should use dom [07:08:50] eh [07:08:55] you'd have to user innerHTML in that case [07:09:32] since in order to let people use wikimarkup in Mediawiki:Sitenotice, you have to, if you're _not_ rendering it directly onto the page, have a string that consists of the html output of rendering the sitenotice [07:10:03] that's doable with a to the api with action=parse [07:10:09] but [07:10:20] you could also simply pre-parse it in a way the dom could utilize [07:10:43] ... [07:10:45] ick. [07:10:48] whine whine [07:10:56] well then [07:11:06] the sitenotice could be rendered at the end of the page content, and cloned [07:11:11] you could render it at the bottom of the page and MOVE it with dom [07:11:13] or with CSS [07:11:18] ... [07:11:29] ...our messages on a similar topic seem to have crossed [07:11:36] great minds think two seconds apart and all that i guess ;) [07:11:43] *Splarka dismisses yours [07:11:47] [hah] [07:12:10] the problem with doing it with CSS is, of course, height. [07:30:36] hi there.. i have a question regarding namespace ids. [07:31:44] if you look at the database layout documentation (http://www.mediawiki.org/wiki/Page_table) the namespace ids are defined as ranging from 0-15 and 100-255 [07:31:58] you know what would be nice? [07:32:04] a way to get the move log for a _page_ rather than a title [07:32:41] however, if you have a look at the dump files (did not have a look at the db yet) there are namespaces with ids -1 and -2 (Special and Media) [07:33:00] babilen: yeah, but those namespaces aren't for pages that appear in the page table [07:33:37] so they can't appear on page [07:33:57] ok, so the cited documentation is correct, although that does not mean there are no namespace ids less than zero [07:34:45] they just do not belong to pages but to media files.. [07:34:51] where are they saved? [07:35:39] (media files that is) [07:40:26] 03aaron * r31702 10/trunk/extensions/ConfirmAccount/ (3 files): [07:40:26] * Consistency cleanup, just in case [07:40:26] * Add message [07:41:14] 03aaron * r31703 10/trunk/extensions/ConfirmAccount/ConfirmAccount_body.php: Opps, wrong place [07:41:45] does the user table actually contain entries for every single possible IP and range? [07:41:56] ok, not range, nevermind [07:42:11] but, how is a block on an IP represented in the database? just range start = range end? [07:49:20] Random832: http://www.mediawiki.org/wiki/Ipblocks_table [08:04:04] where in the database are media files saved? [08:05:25] nowhere [08:05:31] they are stored in a directory [08:05:45] hmm [08:05:47] just over NFS [08:06:05] is it possible for ipb_address and ipb_user to get out of sync, if _address contains a username? which one is used for actually checking if you can edit? [08:06:41] eh, don't answer that, i'm going to bed [08:31:08] hi, where can i find the mapping from the numerical namespace id to the NS_xxx used in languages/MessagesXx.php ? And why are there two different IDs for one single namespace? [08:36:33] there is only one string for namespace, other are aliases [08:37:53] I think he means NS_MEDIA ~ -2, NS_SPECIAL ~ -1, NS_TALK ~ 1, etc [08:38:21] but there isn't two [08:38:43] doesn't answer his first question ^_^ [08:39:01] found that already.. (Defines.php) [08:39:19] but they aren't all in there, so I wonder what are you doing [08:39:33] oh, where can if find the rest? [08:40:17] i am writing an API in Python because i want to use WP for NLP [08:40:37] custom namespaces can be defined almost anywhere [08:41:42] and right now i am dealing with namespaces, namespace aliases, numerical IDs, namespaces in page titles ("Image:") found in the XML dump, but not in the database... [08:42:30] and so on.. so i just like to figure out what i am dealing with. it seems like everything related to namespaces eventually maps to an unique integer [08:42:35] ugh [08:43:10] export puts namespaces with it [08:43:28] babilen: yes, it maps to a unique integer. but any installation is free to define more namepaces. they are listed in the xml dump, at the very beginning. [08:43:55] if you are looking at traw wikitext without the xml prefix, there's no way to know them. [08:43:55] but not in the database dump, because they are not stored there [08:44:20] Duesentrieb: also, export doesn't list aliases.. so it's kinda a broken [08:44:33] Nikerabbit: btw, any idea what brions change to dumpBackup wrt "uploads" is about? [08:44:38] i just saw the commit yesterday [08:44:49] Nikerabbit: huh, true, i guess [08:44:54] it really should [08:45:06] it seems to me to be the right decision to use the numerical ids as namespace and provide a bunch of dictionaries to translate between the different strings found in the titles to the numeric id... [08:45:24] babilen: which is exactly how it works internlly, yes [08:45:33] babilen: but that dictionary is per-wiki [08:45:45] are you parsing the wikitext? [08:46:23] right now i am working with the XML dump files, so it is OK if all namespaces are defined in the beginning. What gives me a bit of a headache are the namespaceAliases (we talked about that yesterday) [08:47:12] i plan to start using the database in maybe two weeks, and will find the article namespace in the page table, correct? [08:48:04] babilen: the numeric namespace, yes [08:48:22] babilen: but if you only have the database, there's no way to know what namespace names are defined for use in links [08:48:24] Nikerabbit: i am handling a subset of the defined markup with regular expressions right now. will try to write a tokenizer or something using flex/yacc later.. [08:48:45] !parser | babilen [08:48:45] --mwbot-- babilen: For alternative parsers, see . A new formalization and parser for mediawiki syntax is being discussed on wikitext-l, see [08:49:06] Nikerabbit: that stuff about aliases should *really* be fixed. [08:49:18] Duesentrieb: what do i do then (in case i just have the database?) do i have to require my users to have the xml dumps as well? [08:49:47] babilen: you have to have the namespacename -> id mapping asan additional configuration resource. [08:50:25] babilen: you should load the canionical namespaces always, and maybe also know of their translations, but users are required to explicitly define any additional namespaces. there's no way around that right now. [08:50:44] *Duesentrieb uses per-wiki property files for this in his java app. [08:50:51] the parsers listed on that webpage are not really parsers, but programs to transform mediawiki markup to html/latex... that was my impression at least [08:51:08] babilen: some so, some so. [08:51:24] babilen: the thing mediawiki proper contains is not a real parser, but only a to-html-munger [08:51:35] babilen: there's at least one yacc based version. [08:51:39] and the new antlr onw [08:52:08] Duesentrieb: so i have to write and distribute something like languages/MessagesXx.php as well, because there will be no other way to get that information from the database [08:52:12] babilen: ah, no, not yacc, but flex/bison [08:52:16] http://svn.wikimedia.org/viewvc/mediawiki/trunk/flexbisonparse/ [08:52:59] babilen: yes you can do that, but as i said, users would still be required to define any custom namespaces used in the wiki by hand [08:53:13] most wikipedias for example have a custom "Portal" namespace [08:53:24] Duesentrieb: i will deal with better markup handling until later. (1-2 months) [08:54:38] Duesentrieb: i do not care, i want to use wikipedia dumps for natural language processing. so it is fine to use the "standard" WP namespaces... and if some users want to do something else, they can edit languages/langCode.py by themselves ;-) [08:54:51] babilen: all of the mentioned parsers should have at least some namespace handling btw - they need to know all names of the image namespace in order to parse, because image links *have* to be treated differently [08:55:08] (they may contain nested links in the caption. even nested images) [08:55:43] (which is one reason why there can't be a simple grammar fopr wikitext) [08:56:32] yes, nested links are great! fell in love with them two months ago... [08:57:39] don't forget categories ^_^ [08:58:06] Splarka: i already have them. great way to automatically induce an ontology from wikipedia... [09:08:04] babilen: http://brightbyte.de/page/WikiWord [09:08:48] babilen: http://www.bibsonomy.org/user/brightbyte/wikipedia+thesaurus [09:09:15] babilen: http://www.bibsonomy.org/user/brightbyte/wikipedia+ontology [09:14:05] http://www.ukp.tu-darmstadt.de/software/WikipediaAPI [09:14:09] there'S more :) [09:30:18] <_wooz> lo [09:52:24] Duesentrieb: i know about the API's you mentioned. especially the API form darmstadt is not usable, because it is closed source and requires you to install *their* wikipedia db dumps... [09:53:03] i need functionality not available in JWPL and there is no way to fork the project... [09:53:22] (or contribute to it) [09:53:37] babilen: hm... said *said* they would realeas all code (though not under a Free license). I didn't check if they did. [09:54:06] babilen: i'm writing my own api for my thesis. it's due at the end of april, so i have to have it finished by then - and i'll release under GPL :) [09:54:29] Duesentrieb: what are you writing about? [09:54:56] babilen: extracting a multilingual thesaurus from wikipedia. read the first link (WikiWord). [09:55:41] Duesentrieb: i am currently working on a paper for this years LREC conference on multilingual named entity recognition and disambiguation... [09:56:05] Duesentrieb: what is your major? [09:56:12] informatics [09:56:27] i study computational linguistics/comp.sci [09:56:31] disambiguation will be part of the experiments i'll be runing [09:56:35] though it's not a focus point. [09:57:27] yes, the department i do it at is for computational linguistics (though i came to that field rather late in my studies, and i avoid linguistics as such) [09:57:42] i do disambiguation, semantic relatedness, retrieval(indexing). [10:26:52] 03(NEW) Allow image description pages from Commons to translate content - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13291 15enhancement; normal; MediaWiki: Images; (brianna.laugher) [10:47:16] 03rotem * r31704 10/trunk/phase3/ (6 files in 6 dirs): Adding the fix for lists in RTL wikis to more skins, and fixing the image toc. [10:48:09] 03brion * r31705 10/trunk/wap/hawhaw/hawhaw.inc: Support iPhone OS SDK simulator app as if it were an iPhone/iPod Touch [10:48:46] tsk, why is brion on svn at 3am... [10:50:13] 03rotem * r31706 10/trunk/phase3/languages/messages/MessagesHe.php: Fixes. [10:58:44] iPhone is the shit [10:59:05] 03brion * r31707 10/trunk/wap/hawhaw/hawhaw.inc: [10:59:05] Hack for iPhone SDK simulator... its Mobile Safari doesn't seem to like application/vnd.wap.xhtml+xml, so send it text/html mime type instead. [10:59:05] This may or may not mean the iPhone OS 2.0 update will break on real iPhones too, so don't forget this hack. :) [11:37:42] 03(mod) Create the Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13264 +comment (10joseluislikebetter) [11:43:44] 03(mod) special: namespace issue - special pages (including login) broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13289 normal->high; summary (10FT2.wiki) [11:48:28] Hi, I want smaller 'edit-buttons' on my wiki, is that possible? [12:43:55] 03(mod) Pressing Enter in edit summary should not save the page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13065 (103tx38k) [13:15:29] 03(mod) Pressing Enter in edit summary should not save the page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13065 (103tx38k) [13:30:02] hi, i haveinstall the wikimedia script. stupid questions, how a user can add an article? [13:33:14] only find a button to edit the main page or the portal, now button for add a page [13:36:58] all away? :( [13:41:47] Hi, I want smaller 'edit-buttons' on my wiki, is that possible? [13:48:17] sure [13:49:38] how, dungodung? ;-) [13:49:47] custom css [13:54:43] we need a syntax for multi-line list items [13:54:46] something like this: [13:54:48] *{ Line one [13:54:50] line two [13:54:52] line three } [13:55:14] hasn't there been like hundreds of conversations about that? [13:56:43] probably [13:56:47] but nothing seems to have happened [13:57:05] true enough. I agree, the curly bracket container makes sense [13:57:14] to programmers anyway. ;-) [13:57:37] alternatively, just make consecutive lists be part of the same one [13:57:44] so you can have as many blank lines as you want [13:57:56] Can the distance between the text above a title be changed ? [13:58:06] GNU_1: for all titles, or just one? [13:58:45] one, i.e: [13:58:45] tekst [13:58:45] =title= [13:58:54] write some blank lines [13:58:59] I did [13:59:11] and it didn't work? [13:59:20] ups
's I need to add [14:00:00] Now it's better, I think:D] [14:02:48] how to delete logs of a edited page ? [14:03:02] you don't [14:03:38] But It's on my site [14:03:46] there's a maintenence script to do it deleteOldRevisions.php [14:03:56] ok [14:41:17] hey, how do i hide the edit history and previous versions of pages from unregistered users? [14:41:36] is that possible? :( [14:42:02] i don't think so no. [14:42:41] depending on your license scheme, it may even be a legel necessity to have all revisions visible [14:42:52] and anyway, it's a wiki, no? [14:42:58] not really, as i've written everything on the wiki myself [14:43:06] if you want a cms, install a cms [14:43:12] cms? [14:43:21] content management system. [14:43:43] "web authoring tool" [14:44:08] i.e. a system to procude and publish content. as opposed to a wiki, which is desigend to collaboratively edit content [14:44:34] mediawiki works perfectly well for my needs [14:44:44] if it worked you wouldn't be here asking that ;) [14:45:15] it does work, for everything except that :P [14:45:53] i may play around with alternative systems this easter or summer [14:46:01] but i don't have the time at the moment to sort out anything new [14:51:24] i don't think we have a "view history" permission. if would probably be simple enough to add that, but it would require a patch. [14:51:38] and it's quite contrary to the idea of a wiki, so i'm not sure it would go through [14:52:15] you can easily enough hide the link to the history from the skin, etc (though that also requires some hacking) [14:52:23] Maybe could be done with an extension? [14:52:24] but that does not *prevent* access [14:53:12] MinuteElectron: preventing access to the history? well, probably, using some pretty heavy tool like PageFromTitle or some such [14:53:50] the obvious way would be to have a permission for that [14:53:57] though i really donÄt understand why pople want that. [14:54:01] if( $wgRequest->getTExt('action')=='history' ) die; [14:54:17] MinuteElectron: bwahaha [15:06:00] hi is there any one can tell me how can i take my irc password back? [15:07:50] whois davidmccabe [15:08:50] alecliu: http://freenode.net/faq.shtml maybe [15:09:21] alecliu: ask in #freenode - basically, if you supplied your email address when registering your nick, you should be able to get someone to reset your passwor [15:10:10] Duesentrieb: thank you [15:10:27] Duesentrieb: i will take a shoot [15:15:34] is there any one here have been read the code of Liquid Threads Extension [15:16:20] "$wgHooks['TitleGetRestrictions'][] = 'Thread::getRestrictionsForTitle';" [15:16:31] what is it use for, the code [15:16:55] i could not find anything about the hook 'TitleGetRestrictions' [15:20:20] alecliu: i donÄt see that hook in the code. maybe something similar to UserCan? [15:22:57] i can not find the hook in the core code either. but it did show up in the extension of liquid threads [15:23:29] it is confusing me [15:54:08] 03(mod) Namespace Request for trwikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13176 (10N/A) [15:54:19] what do i need to do in order to get fulltext search capabilities in my non-public mediawiki? [15:54:24] it's running on mysql4 [15:54:30] latest mediawiki [15:54:44] apparently it's not enabled by default [15:55:00] or maybe the index takes quite some time to catch up with a rather small import [16:01:42] okay, the index table does not contain the keywords i've searched for. is there a command to refresh the index? [16:02:59] maintenance/rebuildtextindex.php [16:05:44] i see [16:05:56] this is called periodically by the wiki? [16:06:02] called never [16:06:06] it's a manual update [16:06:11] check your jobqueue [16:06:34] jobqueue is mediawiki specific or do i put this into my crontab equivalent? [16:06:36] yawn: note that the index does not contain any words shorter than four characters. [16:06:54] lol, good point. [16:06:58] yawn: it also does not index numbers. and it doesn't handle most non-english characters well [16:07:18] rebuilding the search index is unrelated to the jobqueue, afaik [16:07:23] Duesentrieb: better than nothing though [16:07:40] yawn: your search index should be updated automatically per default. [16:07:48] unless you use something fancy, like lucense search [16:08:01] i have heard people complain that it doesn't work before - no idea why. [16:08:10] Duesentrieb: nothing fancy, the complexity of the whole mediawiki alone is enough for the moment [16:08:12] *TimLaqua thinks the jobqueue is a mystical land where magical faeries update indexes and stuch [16:08:24] TimLaqua: you're right actually [16:08:46] TimLaqua: the problems starts when the faeries are on strike [16:09:32] TimLaqua: it's maily for cases when a single edit causes a lot of pages to be reparsed. [16:09:48] afaik it doesn't have anything to do with the search index as such. [16:10:52] i figured part of the import process might involve the jobqueue [16:11:03] hmm. the manual seems outdated as i get a syntax error when starting the script using cmdline php [16:11:15] ah [16:11:23] sry, different php versions installed [16:13:05] works [16:13:20] Duesentrieb: is there an easy fix for "foreign characters", e.g. umlauts? [16:13:55] yawn: check your mysql manual. mediawiki uses a myisam fulltext index. [16:14:11] you canprobably get soemthing to work with the right server config. [16:14:43] maybe you can also fidlde eith the encoding setting used in the search index table - but beware that mediawiki uses utf-8, and mysql only nominally supports that.- [16:15:32] Duesentrieb: jeez. this whole encoding mess is a ... mess. had quite an adventure with mssql & ucs2 recently. [16:15:34] bah [16:15:52] yep :( [16:15:55] Duesentrieb: i'll check on that later. right now it's 50% ok [16:16:48] is someone on channel interested in skel for editing mediawiki pages with ruby? i don't know any python so i couldn't use the bot framework and the api involved too much work. [16:18:02] *Hojjat wonders why people would like to use precious stones to edit pages?! [16:18:36] Hojjat: perl knowledge is too rusty, python is non-existant. i had to use something ... :) [16:19:03] yawn: I've never worked with perl at all! I know a little python :) [16:20:20] Hojjat: perl is very useful! for any problem x that has occured to p>=10 people there is a 99% chance there is a library that does 100% of the job [16:20:21] true fact! [16:20:22] :) [16:21:28] *yawn wonders why on earth swedish is the freakin default ordering for mysql ... [16:21:50] it was written by swedes [16:21:54] guess the wrong item in the following set: china, india, sweden [16:22:18] 03ialex * r31708 10/trunk/phase3/includes/ProxyTools.php: Withespaces fixes. [16:22:56] yawn: It lets fancy letters like ä be sorted sensibly [16:23:20] Dashiva: ä is fancy? :) [16:24:07] For the English it is ;) [16:24:27] I think the Swedish way to sort "ä" is quite unintuitive. [16:24:38] Dashiva: wait until you meet "ß" [16:24:53] + I heard ä seems EVIL/cool to the English: Motörhead [16:24:59] I've been mates with ß for years [16:27:14] das ist nein stakenbloken! [16:28:08] http://youtube.com/watch?v=I5gpvHgfeLU [16:28:20] all the ß you want [16:29:13] oh my oh my [16:31:39] 03huji * r31709 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: * Adding/updating Persian translations [16:31:39] I'm just starting to use MediaWiki, can someone tell me whether it is feasible to use the MediaWiki-Syntax Parser outside the Wiki itself? Feasible as in feasible for someone completely new to MediaWiki, but not to PHP. Has it been done? I thought it must have until I stumbled upon a project of someone trying to construct a PHP MediaWiki Syntax Parser and I wondered: Why is he rewriting it? [16:31:58] hmm. is there also a mediawiki specific stopwordfilter or does everything ft related depend on the database? [16:32:20] 03huji * r31710 10/trunk/phase3/languages/messages/MessagesFa.php: * Adding/updating Persian translations [16:33:10] scornflakes: as far as i understood it (not very) most wikis use a mix of markups with different syntax, depending on the extensions installed [16:33:34] scornflakes: so you might be better of with something more accustomed to your needs [16:33:35] yawn: yes, I grasped that bit. [16:34:13] yawn: it might save me the effort of creating a context-sensitive parser whose syntax is well-known and widespread [16:34:28] scornflakes: also there is no real grammar/structure - e.g. the ambiguity produced by using conditionals with tables [16:35:18] yawn: ok, but still, could the parser be "transplanted" to another project? [16:36:01] scronflakes: beats me. from my point of view the whole thing looks so random/organic it wouldn't make sense to use it outside its habitat. [16:36:33] scornflakes: what are you trying to achive btw? [16:36:50] 03siebrand * r31711 10/trunk/phase3/languages/messages/ (74 files): Localisation updates for core messages from Betawiki (2008-03-08 17:03 CET) [16:36:52] yawn: you're probably right about that, but I'm still quite horrified by the prospect of having to write a good parser. [16:37:20] scornflakes: why? it's not introduction to formal languages 101 anymore, you can use antlr :) [16:38:01] antlr looks good [16:38:20] scornflakes: but i still don't get what you want to _do_ with a subset of the mediawiki markup's grammar [16:38:34] yawn: that's the problem, I do not really know yet. I'm building an online learning app based on flash cards, which must of course recognise images and the likes, but lists/tables are far from useful [16:38:35] scornflakes: it's pretty much unstructured as it is [16:39:07] scornflakes: maybe you're better off with a tool that processes the resulting html? [16:39:27] yawn: the main reason why I started asking myself the question whether it was possible to transplant it, is that I want to integrate the images uploaded to the Wiki inside the app. [16:39:49] link to it? grab the image links from the html? [16:40:22] try ruby + hpricot. it's a bit buggy but if it's not it works [16:40:26] yawn: I'll try to boil the issue down to something comprehensible, sorry. [16:40:27] well [16:40:33] that was some kind of sentence :=) [16:40:45] ^^ [16:41:10] scornflakes: well. my .2 eurocents - i would use some lib to parse the resulting html, do something with that [16:41:14] yawn: I want to use the wiki to exchange lists of vocabulary / learnable material. [16:41:47] yawn: so the images would necessarily be uploaded to the wiki, since I don't plan on letting users upload images for their private use of the app. [16:41:51] scornflakes: use the wiki as database, query it for your flash app? [16:42:13] yawn: Since these images are already in the Wiki, I want to be able to include them in the app. [16:42:29] yawn: But, and this is the "transplant" question reason [16:43:17] yawn: In the wiki an image will be included like this [[Image:imagename.png]], because the parser will find out the path to that image. [16:44:02] scornflakes: you spare youself all these details if you use the generated html [16:44:03] yawn: but in the app, if I want to include an image, I don't know what the apparently random path to the image will be (e.g. something like 8/8e/imagename.jpg [16:44:29] scornflakes: then you know [16:45:09] yawn: I simply want to simplify [[Image:http://teilen.dyden.de/images/8/8e/Luca_staunt.jpg]] to [[Image:Luca_staunt.jpg]] [16:45:49] scornflakes: now i lost you - you want to write some kind of extension _for_ the mediawiki? [16:45:56] yawn: If I have to parse the generated HTML for that, I will simply abandon that simplification. [16:46:04] yawn: No, not at all. [16:46:31] yawn: I'm writing a completely separate app. The Wiki functions as an exchange platform for content for that app. [16:46:42] read-only? [16:46:47] yawn: the wiki? no [16:47:05] scornflakes: okay, i was mistaken [16:47:20] scornflakes: is the markup structurally complex? [16:47:26] yawn: the wiki provides content in the form of images/media for the app as well, that's where the simplification comes into play. [16:48:01] yawn: are you German? I'm thinking this would be a lot easier to explain if I could simply show it. [16:48:04] scornflakes: if you only want some kind of image/media storage you should use a filesystem, not a wiki [16:48:13] scornflakes: ich fürchte schon :) [16:48:16] yawn: Yes, I know, but I don't want that. [16:48:23] just msg me [16:48:24] yawn: jetzt isses raus. [16:50:22] 03(mod) Background incorrectly extended in RTL wikis when using IE - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13285 (10gangleri) [16:57:18] 03siebrand * r31712 10/trunk/extensions/ (106 files in 103 dirs): Localisation updates for extension messages from Betawiki (2008-03-08 17:03 CET) [17:02:25] hello [17:05:08] 03siebrand * r31713 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: Fix syntax error [17:11:27] What solution would you suggest for someone searching the absolute path of an image in a wiki (i.e. http://wiki.bla/images/8/8e/Imagename.jpg) having 1. the imagename 2. database access 3. but outside the wiki and ergo not able to use the parser to make [[Imagename.jpg]] go full path..? [17:25:31] I can simply turn off HashedUploadDirectory, does that have bad side effects? [17:32:38] Hi all, does anyone know of any extensions or ways of making the file attach procedure more streamlined? My users are looking for something where they can upload files, perhaps from the edit page, making the upload-and-link a 1 step process? Anyone have any tips on streamlining file uploads? [17:33:15] so far I've used multiUpload extension, but that's not exactly what I need, since it's still upload.. then edit, then add link. They just want to upload and have the link, something that easy. [17:36:09] tome: uploads often fail or are quit because they take so long, wouldn't it be bad if the edited changes were then lost as well? [17:36:28] Yes, but a nice ajax interface solves that [17:36:36] oops [17:37:26] i think it was posted on mediawiki-l a code someone did to upload and produce the embedding code [17:38:05] oops = sorry thought it was a private message to which I replied to the room, but it was not, so my ajax comment is ok. But still the problem is the separation between the upload and the link, users woh are new odnt always want to manually add the link, they just told you which file to upload, why isnt the link autocreated, they ask. [17:38:58] tome: yeah, I get it, but I don't know how to do it and therefore tried to provide you with counter-arguments/cons for your users ^^. [17:39:33] scornflakes: agreed that a failed upload should not ruin the edit. Looking at the mediawiki-l reference, perhaps that problem has been solved [17:40:49] tome: then it's just great. [17:40:59] er, I'm trying to put mw on os x and I have mysql installed in /sw/bin, when I try to set it up, it spits out: empting to connect to database server as root...failed with error [2002] Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2). [17:40:59] well, still looking for that reference : ) [17:41:11] *attempting [17:41:55] is mysql running? [17:41:58] yeah [17:42:02] maybe that socket wasn't created? [17:42:03] I can log in via cli [17:42:14] er, well how do I create it? [17:42:24] Platonides: I saw a link to wikia which has an upload button on the edit box. Is that code I could use in my mediawiki you think? [17:42:35] Platonides: http://www.wikia.com/index.php?title=Wikia:Sandbox&action=edit [17:42:37] Need Help : Hi, i need help from someone who has experience with mediawiki... I need to make my wiki create new pages in a manner that i can't find help for. What i mean is i wanna make a kind of boilerplate, but not for loading predefined text, but to redirect to a form based page that has redirects to other pages...i hope i make any sense... [17:42:45] wikia miniupload code is not public AFAIK [17:43:12] Platonides, wikia code is generally not public...but you can request them to release their code and perhaps they'll do so :-) [17:43:17] does it have anything to do w/ the fact that mysql is installed to /sw/bin (and not /usr/bin, etc.) [17:43:47] Pinky, i don't think so [17:43:54] but i'm not a mysql expert [17:43:57] ok [17:44:05] the socket location should be on some config file [17:44:18] heh [17:45:30] any ideeas anyone? [17:45:58] it's funky that no one would have written a streamlined upload-during-edit extension or patch for mediawiki and made it public... still looking on mediawiki-l but no luck so far [17:49:06] Special:Allpages can be used as a template, but how do i make it list other namespaces? [17:50:14] tome: report back if you find something or write something ^^ it is definitely a must-have. I also would have expected that someone has done a Wysiwig Textarea Editing extension, but couldn't find one. [17:50:57] Actually the cost of confluence is significantly less than the cost of writing it myself : ( [17:51:03] haha [17:52:34] For wysiwyg I used FCKeditor [17:52:36] fyi [17:53:03] seems to work nicely, although I don't know if there are issues with the format in which it stores the data, in terms of migrating to a different wiki,etc. [17:55:53] Here is one rough but nice implementation, alas I do not see the source: http://www.message-archive.com/post-83029.html [17:57:15] 03(NEW) Enable subpages for Malayalam Wikisource - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13292 15enhancement; normal; Wikimedia: Site requests; (shijualex) [18:00:08] i don't wanna be a nusance, but can ia please get some help on creaing a new page "boilerplate" that redirects the Create new page to a form based page? i can't figure it uot and can't find any support for this... [18:00:09] 03(mod) Enable subpages for Malayalam Wikisource - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13292 +shell (10raimond.spekking) [18:01:50] i want users who wanna create a new page, either by "search" or address, to be redirected to a form page i create and create the new page using that [18:02:20] boilerplate doesn't help as it is... [18:02:46] because it redirects to a prefilled edit page... [18:07:40] in the you get what you pay for department, confluence has webDAV support that lets you upload files attached to specific pages and edit pages. Looks like mediawiki support only for text is still fairly beta... bummer [18:08:08] thanks for the help folks! i'm off to see what I can for mediawiki! [18:16:00] 03(mod) Correct linking in Special:Log/rights for crosswiki changes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13236 (10dungodung) [18:18:20] 03(mod) Pressing Enter in edit summary should not save the page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13065 (103tx38k) [18:21:25] 03(mod) Users should be able to use customized edittools - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13284 (10raimond.spekking) [18:22:42] 03(mod) Users should be able to use customized edittools - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13284 (10raimond.spekking) [18:23:58] 03(mod) special: namespace issue - special pages (including login) broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13289 +shell (10raimond.spekking) [18:33:06] hello. [18:39:06] wow. one stupid move after another over here. [18:39:08] 03(mod) Users should be able to use customized edittools - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13284 +comment (10guillom.pom) [18:50:39] [[link]] [18:50:59] fail [18:56:48] 03(NEW) Making creation of the Oversight group automatic - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13293 15enhancement; normal; MediaWiki extensions: Oversight; (huji.huji) [18:57:30] 03huji * r31714 10/trunk/extensions/Oversight/HideRevision.i18n.php: [18:57:30] * Making localization of oversight group names possible (just like how Check User does this). [18:57:30] * Adding Persian translations of the messages introduced in the previous step. [19:00:46] 03(mod) blows up small images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13214 (10huji.huji) [19:02:49] kirby, that was no fail, that was intent :) [19:03:00] oh, disabling [19:03:35] HardDisk_WP: can you change it so it doesn't parse multiple links on seperate lines? [19:04:31] like [[Foo]] [[Bar]] [[Foobar]] would all be on seperate lines, change to something like 1) http://www.mediawiki.org/wiki/Foo 2) http://www.mediawiki.org/wiki/Bar 3) http://www.mediawiki.org/wiki/Foobar [19:08:38] kirby, ah... no, I'm sorry [19:08:47] why, exactly? [19:08:54] because an IRC message must not exceed 255 chars [19:09:05] When I get over-long URLs, I short them via tinyurl [19:09:12] but I can't short whole texts [19:09:48] 03(mod) New parser function / magic word, for "pretty-printed" numbers - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13025 (10Greg_L_at_Wikipedia) [19:10:10] kirby, btw, there is a limit of 5 links per message, if you fear spamming [19:10:20] can't you make it so once it goes over 255 it moves to the next line ? [19:11:43] 03ialex * r31715 10/trunk/phase3/ (4 files in 2 dirs): [19:11:43] Some cleanup : [19:11:43] * DB_READ -> DB_SLAVE [19:11:43] * DB_WRITE -> DB_MASTER [19:12:37] kirby, hmm...maybe I make a switch for that [19:12:45] some people like you like it on one line [19:13:02] cool, thanks [19:13:03] some people like each link on one line [19:13:36] but first i want to see if the codebase of unilinky is stable enough to survive more than two hours... [19:13:44] it's a full rewrite [19:19:33] 03(mod) Default group for Oversight extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11923 +comment (10raimond.spekking) [19:19:34] 14(DUP) Making creation of the Oversight group automatic - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13293 +comment (10raimond.spekking) [19:26:06] tome: did you implement FCKeditor in your wiki? how? [19:29:30] 03(NEW) Add namespaces to $wgNamespacesToBeSearchedDefault for de. ws - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13294 15enhancement; normal; Wikimedia: Site requests; (raimond.spekking) [19:32:00] I'm trying to link to files on a samba share from a wiki using file:// links...they work with windows clients but not mac clients...if i change it to smb:// instead it works on mac clients (but only hilights the file in finder, doesn't open it) and not in windows. any suggestions on hwo to get this working on both sides to open the file? (this is all within an intranet so file:// links can be relied upon) [19:33:34] on what OS is the share ? [19:34:27] windows server 2003 [20:07:34] is there any database api for mediawiki extensions? some tutorial or manual? [20:09:31] !extensions [20:09:31] --mwbot-- MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [20:18:05] 03(NEW) Add a button in the edit history to jump to that time in a user' s contributions, so you can see the other edits they were making around the time that the edit was made . - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13295 15enhancement; normal; MediaWiki: History/Diffs; (nathanlarson3141) [20:24:40] Hi, I am trying to install (not upgrade) MediaWiki 1.11.2. I made the config directory writeable, browsed to /wiki/, clicked on the link "set up the wiki" and got a Server Error 500 with the message: "Premature end of script headers: index.php". Anyone has an idea how to fix this problem? [20:25:30] hi, does anyone know a way to share an interwiki table between multiple wikis [20:26:38] 03(mod) Can't localize some user groups in Special:Listusers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12996 (10robin_1273) [20:28:17] no one knows? [20:28:24] i've got a wikifarm and i really want to get interwikis [20:29:15] ask Wikia how they do it [20:40:43] ah sh*t, i just ran svn update and i think it added things to the database schema [20:40:49] can anyone tell me what was added please [20:41:51] Check the history of tables.sql? [20:42:00] k [20:44:35] chuck: that's why after running svn up, you also run maintenance/update.php [20:46:12] Duesentrieb: hmm i'm using a setup where LocalSettings includes CommonSettings, and CommonSettings determines the database name via the URL that the person uses.. [20:46:20] how should i use update.php with that [20:47:31] Duesentrieb: perhaps i can make update.php read the database name from the command line, and write a php script to read the wikilist file and then execute update.php for every database? [20:47:38] chuck: You have to hack it. [20:47:48] Duesentrieb: i want write extension with need access to wiki database.. i cannot find how to access DB. Some suggest? [20:48:12] MinuteElectron: i was afraid of that lol [20:48:24] chuck: You could hack it to accept a database name parameter then do a shell script than cycles through all your mediawiki database names. [20:48:27] chuck: not sure if there's a nice trick, bit one way would be this: create a similar setup for AdminSettings.php, which includes CommonAdminSettings.php which determins the database name from some command line parameter. not sure if the nicely prepared $args array or whatever it's called is already available at that point - though i think it is. [20:48:39] Gali: http://www.mediawiki.org/wiki/Manual:Database_access [20:49:03] Jack_Phoenix: how's that relevant? [20:49:23] it shows how to access the database, doesn't it? [20:49:33] Duesentrieb: it tells you how to access teh database, i learnt from it [20:49:40] Jack_Phoenix: but he doesn't want to write new code that uses the database [20:49:53] Jack_Phoenix: he only needs to set the right database name, based on a command line arg [20:50:01] ah, ok [20:50:05] Duesentrieb: Gali not chuck. [20:50:14] MinuteElectron: good if you want to write an extension that uses the db. [20:50:23] 15:47:48 < Gali> Duesentrieb: i want write extension with need access to wiki database.. [20:50:25] no good for selecting the db name from a command line arg [20:50:28] yeah [20:50:29] well [20:50:34] you missed a line [20:50:48] MinuteElectron: oh, you where talking to Gali. I was thinking of chuck's problem :P [20:50:51] sorry about the confusion [20:50:52] lol [20:50:59] okay i'm going to hack up update.php then [20:50:59] Duesentrieb: yeah :P np [20:51:09] :) [20:51:22] is there any special admin actions that is needed to setup a multilingual wiki? [20:51:23] thx all for your help anyway :) [20:51:31] chuck: imho hacking AdminSettigns.php in a way similar to how you hacked LocalSettingsphp would be esiest, cleanest and most consistent [20:52:03] henke37: the same that is needed to set up any wiki. shell access is highly recommended though [20:53:16] you sure that there is nothing special that is needed? [20:53:32] chuck: something like this: $wgDBname = $args["db"]; [20:53:58] chuck: then use --db=whatever as an argument to update.php (the = is important) [20:54:17] henke37: what *could* be needed? [20:54:35] adding the languages in a config file/db table [20:54:42] henke37: *a* multilingual wiki is just a wiki. a wiki family is just multiple wikis with some additional setup for interwiki links [20:54:51] right [20:55:14] henke37: yes, interwiki setup is done in a db table. but that requires no "special" access. just the same level of access you need to set up a wiki in the first place [20:55:47] but still more than the averenge editor, right? [20:56:09] huh? to set up a wiki, you need access to the server as such, for one thing. [20:56:26] like, changing files, configuration, databases... [20:56:39] just as you would to set up a wiki. [20:56:49] any wiki, that is [20:57:52] Duesentrieb, I am not the admin [20:57:59] oh... yurikny... long time no see :) [20:58:00] I am the guy who knows more than the admin [20:58:21] whatever "admin" means in this context [20:58:22] Duesentrieb: blah, this isn't quite working lol [20:58:47] php and mysql access, has max mediawiki priviledges [20:58:57] and usualy owns the domain [20:59:09] that is my defenition of an admin [20:59:16] Duesentrieb: i made update.php choose the database from the command line, but it doesn't really give any errors or anything when i try to just run the script.. [20:59:25] henke37: yes, that'S about the level you need to set up more wikis. and thus, to make a family. [20:59:59] chuck: what *does* it give? [21:00:17] Duesentrieb: nothing, except for "testing" (i added that myself for debugging.) [21:00:55] Duesentrieb, well, in case I didn't make it clear yet, I am trying to keep yet another new wiki install sane while the admin hardly knows anything [21:01:41] hmm, it's a possibility that CommonSettings.php might be running die() at some point.. [21:01:43] chuck: o_O enable full error reporting at the top of the script. [21:02:15] k [21:02:33] chuck: add echos for every line until you get to the one saying install_version_checks() [21:03:00] so you see when it dies. it might well be that it chockes on your custom config hack, because that expects a web environment which is not present. [21:03:24] henke37: i have no idea how to help you with that. [21:03:31] I got one [21:03:32] Duesentrieb: yeah, it's the config hack i think, iirc i made it die() if the subdomain was not present/valid [21:03:37] henke37: you could run in circles and scream, i guess :P [21:03:49] I got an effective method [21:03:55] chuck: to find out, make it die("ugha!"). [21:04:05] it is called throwing people's heads together [21:04:09] okay, now i got it [21:04:15] No superuser credentials could be found. Please provide the details [21:04:15] of a user with appropriate permissions to update the database. See [21:04:15] AdminSettings.sample for more details. [21:04:29] yes. that's normal [21:04:31] !adminsettings [21:04:31] --mwbot-- AdminSettings.php is an additional configuration file for use with command line maintenance scripts. See AdminSettings.sample in your installation directory for details. [21:04:42] i'll create that adminsettings file then [21:04:45] and that would be the place to pick the db name from the command line args, as i suggested [21:05:37] okay now, it should be better [21:05:37] yurikny: connection trouble? [21:07:52] Duesentrieb: how would you check to see if an argument was set or not [21:08:33] $args["db"] isn't being set i don't think [21:08:45] that's an array member, not an argument [21:08:49] use isset() to see if it's set [21:09:08] i tried that, didn't work [21:09:25] huh? [21:09:40] i don't think it's being set at all [21:10:00] if(empty($args["db"]) || !isset($args["db"])) { die("No database chosen.\nDEBUG: ".$args["db"]."\n"); } [21:10:16] it dies with that No database chosen error even when i do specify a database with argument --db=blah [21:14:27] flyingparchment or Duesentrieb- do either of you know what's wrong with it? [21:14:56] var_dump( $args); [21:14:58] what do you get? [21:15:39] is it required to setup subdomains if you want to use the builtin interlanguage link box in the sidebar? [21:15:49] no [21:16:33] MinuteElectron: [21:16:33] array(0) { [21:16:35] } [21:16:51] there's your problem then [21:16:55] well [21:17:00] that means that the array is being set [21:17:03] but not populated [21:17:14] 03(mod) Default group for Oversight extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11923 (10huji.huji) [21:17:32] you'd need to read the source a lot to work out exactly why [21:18:46] grr this is hard.. [21:21:32] Duesentrieb: do you know what's wrong by chance? [21:23:09] ok, I am getting broken interlanguage links, what does the admin need to do to fix them for me? [21:23:18] live example: http://wiibrew.org/index.php?title=It:Current_events [21:26:12] 03(mod) An article with only hiddencats show an empy category box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13234 (10herman) [21:26:53] 03(mod) Default group for Oversight extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11923 +comment (10minuteelectron) [21:27:27] chuck: how do you set the option on the command line? and when do you try to access $args? [21:27:33] 03dale * r31716 10/trunk/extensions/MetavidWiki/ (4 files in 2 dirs): updates for ajax page editor compatibility with reCaptcha [21:27:49] i'm running this: php maintenance/update.php --db=testingdb --quick [21:28:12] i try to access $args (for var_dump and the isset checking) after the inclusion of commandLine.inc [21:28:20] ) [21:28:38] that should work... add. try to dump the content of that array from inside adminsettings, maybe. [21:28:48] but it *should* work. [21:28:56] have oyuenabled full error reporting? [21:29:38] not yet, i'll try that now [21:30:36] Duesentrieb: i already have error reporting on cli to E_ALL & ~E_NOTICE [21:30:44] display_errors is On also [21:30:54] you have that where? [21:30:58] in localsettings? [21:31:04] put it at the top of update.php [21:31:49] i have that in php.ini for the cli [21:33:23] chuck: then you should see a warning about using an uninitialized valiable when you try to output your debug message (because $args["db"] is not set). do you? [21:33:48] no :S [21:33:51] i'll try ini_set [21:34:26] *cough*question still not answered*cough* [21:34:56] still nothing Duesentrieb [21:35:34] 03(mod) An article with only hiddencats show an empy category box - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13234 (10post) [21:35:45] henke37: broken where, broken how? and it looks like you are trying to use on.wiki internationalization. mixing that with interwiki-links to per-language wikis seems an odd idea. wouldn't that be extremly confusing? [21:36:07] what? [21:36:54] henke37: you have pages that start with it:, en:, fr: etc on you wiki. on *one* wiki. interlanguage-links go *between* wikis. [21:37:05] uh huh? [21:37:27] if you enabled these prefixes as interwiki prefixes, those pages becopme inacessible, and links using those prefixes will start pointing to other wikis [21:37:39] that doesn't sound like something you would want. [21:37:51] Duesentrieb: okay i might have something, when i choose an argument without "--", it shows up in the $args array :S [21:38:21] Duesentrieb, well, how do I get the pages to work properly with the link box? [21:38:29] henke37: on-wiki internationalization is possible, though a bit akward, using templates/conventions and/or the appropriate extensions. but that would be done *without* interlanguage links. [21:39:38] henke37: an "in other languages" link box for on-wiki internationalization links? that's not supported, really. the polyglot extension can be used to do this, pretty much, though the naming convention it uses is different, and it also dues not support explicit interlanguage links [21:39:42] !e Polyglot [21:39:42] --mwbot-- http://www.mediawiki.org/wiki/Extension:Polyglot [21:39:50] Duesentrieb: do you know why arguments starting with -- aren't working? [21:40:01] henke37: the intended way is to have one wiki per langugae [21:40:28] chuck: err, wait, i' afraid i send you on the wrong track here. [21:40:28] uh huh [21:40:49] Duesentrieb: ? [21:41:14] chuck: GAH! use $options['db'] [21:41:19] chuck: sorry about that. [21:41:29] it has been a while :/ [21:41:35] Duesentrieb: haha no worries [21:41:40] i just want to get it updated and working [21:44:50] wow, lots of output [21:44:52] that is good [21:45:43] chuck: \o/ [21:46:25] Duesentrieb: it seems to be working, thanks for the help! [21:47:02] now i won't be scared to run svn update lol [21:48:12] chuck: if you can restrict all magic hackery to inside AdminsSettings.php, you need not be. otherwise, svn up might override the changes you made to update.php :) [21:48:29] well, svn is pretty good at merging, but still... [21:49:07] oh yeah, svn did try to deface my new addwiki.php script, what changes would need to be made to AdminSettings.php? [21:49:17] just add $wgDBname = $options['db']; to it? [21:49:46] yes, that should do. [21:58:25] 03(NEW) change logo in spanish wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13296 trivial; normal; Wikimedia: General/Unknown; (rockr.fan) [21:59:26] when's the next mediawiki release due? [21:59:50] soon [22:00:00] a week or two probably [22:09:30] 03(mod) change logo in spanish wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13296 +shell (10raimond.spekking) [22:12:21] 03laner * r31717 10/trunk/extensions/SmoothGallery/SmoothGalleryClass.php: Seems the fallback images weren't being outputted correctly. I wrapped the proper HTML around them, so now they are. [22:40:37] hi all. I do an api query to get an edittoken [22:41:21] i have problems to parse the xml (using simplexml) [22:42:03] which is IMO because the token (the value of the attribute edittoken) is: "+\" [22:43:00] the attr val itself is a simplexml object, but i cant access it [22:44:18] *Charitwo snickers. [22:45:35] what's wrong with unilinky [22:45:47] who's flooding it [22:46:23] got a log? [22:55:08] kylu, it's a code bug [22:55:17] oic [22:55:21] yet I dunno WHERE [23:10:57] kylu, ok, the bug should be gone^^ [23:11:15] for unlinky? [23:11:20] yap [23:11:24] okie, gracias. [23:11:52] now one restart and it's back to normal [23:19:40] does someone know extension which use database API of wiki, (and has some DB structures associated to wikiDB). for educational purposes :) [23:25:21] i'd search at mw: for that [23:26:11] actually, if you searched Extensions on SVN for "SELECT" you'd find a few. [23:27:42] thx [23:28:17] 03aaron * r31718 10/trunk/extensions/ConfirmAccount/ (3 files): [23:28:17] * UI and code cleanup [23:28:17] * XHTML [23:32:46] kylu: nice [23:33:01] hm? [23:33:15] what you said to Gali [23:34:14] I did that a bit ago to try to find a way to limit returns to pages with a certain limit to revisions... preferably without a subquery [23:34:28] sadly, I failed at finding a nice way to do it. [23:34:53] but a sql wiz was kind enough to point out a couple alternatives. :) [23:35:18] nice :) [23:48:20] 03aaron * r31719 10/trunk/extensions/ConfirmAccount/ (ConfirmAccount.i18n.php ConfirmAccount_body.php): Add confirmaccount-none-e message [23:50:50] <[9th]Duilio> Hi people, I am having an issue with MediaWiki. I'd like to get some help. Anyone alive? [23:51:19] What's your question? [23:51:26] <[9th]Duilio> Ok [23:52:36] <[9th]Duilio> I installed mediawiki and it goes on my server ok. I log into and it works ok in "www.example.com/wiki", but when I do something [like editing] it redirects me to "http://example.com/wiki". And it looks like it's another server and I am not logged on it. [23:52:47] <[9th]Duilio> i'd like to be always redirect to 'www' one. [23:52:58] <[9th]Duilio> Sorry my english, i hope you understand me [23:55:37] It may be a bit before someone replies, [9th]Duilio. That's not my area of expertise. [23:55:59] <[9th]Duilio> No problem, but you got my question? [23:56:56] what PHP opcode cache is included in debian? [23:57:07] <[9th]Duilio> It's just something weird. When I go to 'www.example.com/wiki' it recognizes I am logged. But when I go to 'http://example.com/wiki' it doesn't recognize... [23:57:18] <[9th]Duilio> I'd like both of them to be the same and redirects to the 'www' one [23:58:07] :/ [23:58:18] looks like a hosting problem [23:58:31] [9th]Duilio: i think that it can be done with htaccess but not sure.. (its one way to do that but not as you wish..) [23:59:04] <[9th]Duilio> Can you teach me please how I fix it? [23:59:16] <[9th]Duilio> I am kinda noob but it's a dedicated server and I have root access [23:59:33] <[9th]Duilio> I am able to edit even php.ini if necessary :) [23:59:40] rly? [23:59:41] cool [23:59:43] but it only redirect internally in server all www.example.com to http://example.com.. [23:59:56] <[9th]Duilio> I really want to install wiki, but I am getting this issue :(