[00:00:06] Vyznev, it does, but you can omit closing tags a lot of the time, making the point moot. [00:00:10] Like in HTML 4. [00:00:11] No bad nesting of paragraphs if you just don't emit the closing tag. [00:00:39] (hypothetically you might actually need to omit the closing tag of a

, like

Foo

Bar
, but rare) [00:00:40] HTML 6 will have one tag... [00:00:42] werdnum: Am I just too stupid to pass some data using $_SESSION? I won't exclude this :-) [00:00:42] This doesn't seem to allow omitting the from
    ...
, though. [00:01:03] Mazi: I think it will work if you get rid of session_start() [00:01:13] k, will try this [00:01:14] Mazi: why not write a couple of simple PHP pages with no MediaWiki stuff cluttering them up and see if it works then? [00:01:17] but yeah, try werdnum's suggestion first [00:06:16] re r43786: we really should start tagging files with maintainers... not as in "this person controls this file", but as in "ask this person if you don't know what it does" [00:06:17] and also "this person is supposed to understand what this file does, and if you change it significantly please tell them, because they're allowed to summarily revert you if you don't" [00:06:17] 03(mod) Change favicon on de, fr, pl, nl Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16315 (10brion) [00:06:17] 03siebrand * r43787 10/trunk/phase3/ (212 files in 3 dirs): [00:06:17] Remove fixed characters (spaces and comma) from listToText(). [00:06:17] * Updated message 'and' for all languages to keep behaviour the same, no change for 'ksh' (wanted behaviour), changed 'en' (trailing comma). [00:06:17] * Added message 'word-separator' as optional message. Just a space for all languages at the moment. [00:06:29] or maybe do it on a function level where that makes more sense [00:06:36] can someone please shoot me? I think I should better have some sleep now. Thanks a lot for your help everyone! [00:07:45] I will be back tomorrow with more stupid questions ;-) Sorry for wasting your time [00:08:01] okay, see ya :) [00:08:21] ...anyway, of course, ideally everything would be documented, but in practice _everything_ will never be entirely documented [00:12:06] 03(mod) create portal: namespace for dv.wikipedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16403 +comment (10brion) [00:13:31] Ah, the ambiguity of English. [00:13:52] "everything will never be documented" could mean "for all x, not (x will be documented)" or "not (for all x, x will be documented)". [00:13:57] *Simetrical votes for option #1 [00:16:31] ...and of course nobody bothered to document which meaning was the intended one :) [00:18:27] Vyznev: even better, if it gets committed and ends up on beta wiki, translated as meaning A for half the languages and meaning B for the other half [00:18:32] siebrand enjoys unravelling that [00:18:56] *siebrand raises an eyebrow. [00:19:03] 03demon * r43788 10/trunk/phase3/includes/filerepo/ForeignAPIRepo.php: Add experimental findBySha1 functionality for ForeignAPIRepo. [00:19:03] 03(mod) Change favicon on de, fr, pl, nl Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16315 (10Wiki.Melancholie) [00:19:04] <^demon> \o/ [00:19:55] I kick devs that change messages too often... [00:20:22] And if I have the time, I read (and update) messages before I give them to the translators. That helps a bit sometimes, although Aaron and Johannes are still quite unreliable... [00:21:20] *Splarka giggles [00:23:14] 03demon * r43789 10/trunk/phase3/includes/filerepo/ForeignAPIRepo.php: Typo (and incidentally, it works 100% now :) [00:25:42] 04(REOPENED) Paragraph due to tag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14910 (10ssanbeg) [00:27:17] 03(NEW) Userrights-interwiki makes pages in ns 2 or 3 "interwiki" links when pagename contains @ - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16405 normal; normal; MediaWiki: General/Unknown; (mikelifeguard) [00:29:52] 03(mod) Interwiki links in the user rights log where appropriate - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16405 summary; +comment (10mikelifeguard) [00:31:20] 14(DUP) Interwiki links in the user rights log where appropriate - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16405 +comment (10mikelifeguard) [00:31:21] 03(mod) Meta rights log should link to user page on affected wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9794 +comment (10mikelifeguard) [00:32:17] 03aaron * r43790 10/trunk/phase3/includes/HTMLFileCache.php: (bug 16388) 'HTMLFileCache's $mFileCache is initialized too late' [00:32:18] 03(FIXED) HTMLFileCache's $mFileCache is initialized too late - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16388 +comment (10JSchulz_4587) [00:36:36] 03siebrand * r43791 10/trunk/phase3/languages/messages/ (22 files): Localisation updates for core messages from Betawiki (2008-11-21 01:16 CET) [00:41:37] 03siebrand * r43792 10/trunk/extensions/ (55 files in 50 dirs): Localisation updates for extension messages from Betawiki (2008-11-21 01:16 CET) [00:47:20] 03aaron * r43793 10/trunk/phase3/includes/User.php: Remove duplicate group rights [00:52:01] 03(mod) Change favicon on de, fr, pl, nl Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16315 +comment (10conrad.irwin) [01:07:55] okay... so to test if a file exists, the parser calls wfFindFile() which calls RepoGroup::findFile() which calls (by default) LocalRepo::findFile() which is inherited (via FSRepo) from FileRepo::findFile(), which calls LocalRepo::newFile() (again inherited from FileRepo via FSRepo), which calls the member function $this->fileFactory, which LocalFile sets to LocalFile::newFromTitle(), which just creates a LocalFile object, on which File [01:08:31] which still doesn't explain why it apparently sometimes returns false for files which I _know_ are in the image table [01:08:33] fsck [01:08:54] :PP [01:09:12] is it at least consistent? [01:09:21] yes, that it fortunately is [01:09:48] actually... I think I have an idea. a lot of those functions (redundantly) call Title::makeTitleSafe() [01:10:01] <^demon> I think there's some unecessary recursion in there somewhere. I came across it when looking at redirects. It appears image objects are being loaded more-than-once in some instances. [01:10:07] <^demon> File objects, rather. [01:10:16] so if the file name in the table isn't normalized the way Title thinks they should be, fun ensues [01:10:30] 03(mod) Change favicon on de, fr, pl, nl Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16315 (10brion) [01:11:55] ^demon: could be. fun thing is, LocalFile has a custom findFiles() method, which seems to avoid a lot of the complexity, but looking for only one file still uses the convoluted path [01:12:19] s/LocalFile/LocalRepo/ above [01:15:04] anyway, if the image table has files with misnormalized names (which I know it does, since it even has invalid titles), that also means those entries can't be deleted through the wiki either [01:15:08] (because I assume the deletion code also normalizes the title) [01:15:08] fun :) [01:18:29] *Splarka finally figgers out nice js for 16402 [01:26:02] hey guys i have created a few folders on my mediawiki server and im trying to access a few weblinks via url that point to the folder... im interested to list the directory contents but i get an 404 error [01:26:09] is there a way to list contents of a folder via a wiki? [01:32:19] Vyznev: hmm, if the name's not normalized you shouldn't be able to see the image through the wiki either [01:37:10] hmm [01:37:21] if I query 500 of 3 users' contribs... and then limit to displaying only 500 total sorted by date... that shouldn't miss any should it.. [01:37:28] *Splarka thinks to self [01:41:40] brion: exactly [01:41:59] okay, I have a list now... http://commons.wikimedia.org/wiki/User:Ilmari_Karonen/Zombie_images/test [01:42:14] now, can anyone figure out what's wrong with each of those file names [01:42:24] Nl-vitale capaciteit.ogg ? [01:42:37] that... should be fine [01:42:59] except the ones that have "'" in them, those I could kind of figure out myself :) [01:44:48] http://commons.wikimedia.org/wiki/Image:Nl-vitale_capaciteit.ogg <- has a record but the file appears to be missing? [01:47:00] hey krimpet :) [01:47:32] 'evening. :) [01:47:52] brion: as far as I can tell the repo isn't checking the file on the disk at all [01:48:35] so if the title isn't bad, I don't know _what's_ happening [01:49:33] (in fact, thanks to the image loss in September, I have a list of files who _are_ missing from the disk, and those show up as bluelinks just fine) [01:50:18] (although they do have descriptions, so it's not really the same situation... hmmm) [02:01:21] bleah funky [02:01:25] ok i'm gonna head out [02:01:25] 03(NEW) Search unwated pages like deleted pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16406 15enhancement; normal; MediaWiki: Special pages; (oysterguitarist) [02:01:25] getting towards dinnertime [02:01:25] *Splarka scares brion with: http://en.wikipedia.org/wiki/User:Splarka/contribsmulti.js [02:02:16] oh god the terror! [02:02:33] yknow, my main motivation for such atrocities [02:02:34] is to scare you into making the feature server-side so they can be deleted [02:02:35] hehehe [02:02:56] 03(mod) Search unwatched pages like deleted pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16406 (10N/A) [02:04:10] sweet [02:05:22] ok byeee [02:05:22] shall I point to it from the bug as a stopgap? (not changing status of bug) [02:05:22] damn, quitter! [02:07:30] "if you fetch X contribs for each user, mix and sort by date, and show X total, you don't lose any" [02:07:31] ouchie :) [02:08:27] *Vyznev can just imagine someone trying to use this on a full /16 range... [02:08:45] 03(mod) Contribution list for multiple users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16402 +comment (10herd) [02:09:23] Vyznev: heh.. I have another gadget for that [02:10:07] and it works.. you can even do an /8... of course, your browser and domas will kill you if you do it [02:12:24] Vyznev: http://en.wikipedia.org/wiki/MediaWiki:Gadget-contribsrange.js [02:14:58] anyway, doesn't work for me: "wgCanonicalSpecialPageName.toLowerCase is not a function" [02:15:16] FF 3.0.4 [02:16:08] that isn't anything of mine [02:16:08] sounds like another script [02:16:34] ah, yes, it's one of mine ;( [02:16:39] in which case, yours simply fails silently :/ [02:23:02] *Splarka patpats his poor silent script [02:24:03] Vyznev: have yours if(wgCanonicalSpecialPageName) before trying to lowercase nullness [02:26:05] what format does/would wikipedia use for uploaded video files? [02:26:14] p858snake, Ogg Theora. [02:47:22] Splarka: anyway, mine check for wgCanonicalNamespace == "Special" first [02:47:31] odd [02:47:40] I'm not sure how that managed to pass while wgCanonicalSpecialPageName was null that one time, and I can't replicate it either [02:47:45] heh, voodoo [03:06:22] can someone point me to the docs on the {{int: }} internal linking ? [03:09:04] tomaszf: that's not linking... [03:09:22] it's an old-fashioned syntax for including a system message. [03:09:46] that's fine for this job [03:09:46] also how templates worked before there was a Template namespace [03:10:24] 03erik * r43794 10/trunk/tools/planet/en/config.ini: +3 [03:11:51] brion and i were chatting about how to start sharing messages between notices for the fundraiser. right now they get written to their own named space which is all sorts of silly [03:12:44] and docs left about it? [03:12:44] 03(mod) Increase Commons file size upload limit to 40MB - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12595 (10http://news.cnet.com/8301-17939_109-10103177-2.html> [03:12:44] -- [03:12:44] Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email [03:12:45] ------- You are receiving this mail because: ------- [03:12:45] You are the assignee for the bug. [03:12:45] You are watching all bug changes. [03:12:45] _______________________________________________ [03:12:45] Wikibugs-l mailing list [03:12:45] Wikibugs-l) [03:13:10] *Charitwo kicks wikibugs [03:13:11] haha .. people are appending cnet articles to bugzilla .. sigh [03:13:39] *tomaszf thanks Charitwo for keeping wikibugs in line [04:17:51] anyone here have an idea as how to point a form at a special:page without the browser reporting an error? [04:20:29] what browser error? [04:21:23] well if I point the submit button to special:pagename the browser says it doesn't know how to open the page because it doesn't recognize the protocol [04:21:37] http://www.example.com/wiki/Special:Whatever [04:22:21] heh [04:22:37] indeed, specify a full path [04:23:07] then I end up with the wiki trying to go to wikipath/index.php/path/special:whatever [04:23:30] can you try using real URLs in your example? it's hard to work out what you mean [04:23:52] well, you could specify a server-relative (web root) path, anything that starts with '/' [04:26:01] which is a good idea anyway, any slash in a page title using short URLs will change your relative location [04:26:10]
[04:55:00] 03vyznev * r43795 10/trunk/phase3/maintenance/cleanupImages.php: Clean up image titles with HTML entities (made invalid in r28968). Also misc. improvements: fail gracefully if buildSafeTitle() fails, move description page and old image revisions too. [05:07:56] Hi [05:12:03] Anyone know how to integrate wordpress + mediawiki, I would like users to access both logins with one account and not having to create 1 for each. I also want to show a post or 2 on the wikis front page without having to fetch through RSS, anyone know of a way? [05:12:55] Or is anyone familiar with http://www.mediawiki.org/wiki/Extension:RSS ? [05:27:12] $wgSharedDB for the wordpress/mediawiki usernames possibly [05:34:01] I'm having a bit of a problem here.. It seems that every user (even anon ones) can edit the wiki.. What am I missing here? [05:34:24] I'm having a bit of a problem here.. It seems that every user (even anon ones) can edit the wiki.. What am I missing here? [05:34:41] that's how wikis are meant to work [05:34:49] if you want to restrict access, see the FAQ (it's in the topic) [05:34:52] $wgGroupPermissions['*']['edit'] = false; ? [05:35:30] since I've updated it, it's accepting that. and it was locked before.. [05:35:39] so I need to close it again? [05:44:22] 03(FIXED) 125M memory limit exhausted when editing nearly empty page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13233 +comment (10mel) [05:46:44] where's that info on 1.6.x?? I can't find it.. :) [05:52:01] found it.. thanks. [06:06:08] Hi! I am looking for setting up a Wiki for my small team of 20 users for my internal use. It will host some documents/softwares etc. I am interested in knowing which Wiki Software will be good for my use. If I use Mediawiki, Will it is too heavy for me or should i go for some small software. [06:06:26] ?? [06:08:44] 03vyznev * r43796 10/trunk/phase3/maintenance/cleanupImages.php: also fix image names with magic tildes in them, got a few on enwiki [06:14:08] S_A: this may not be the most useful place to ask, really [06:14:48] MediaWiki works fine for small wikis, at least as long as a 50 Mb install isn't too much for you [06:15:27] but I'm not really familiar with the strengths and weaknesses of other wiki software, so can't offer a comparison [06:16:28] maybe try http://en.wikipedia.org/wiki/Comparison_of_wiki_software ? [06:20:03] There's a website somewhere... [06:20:06] !wikis [06:20:06] --mwbot-- I don't know anything about "wikis". You might try: !cms !dump !interwiki !mediawiki !moderation !multiplewiki !sandbox !wiki !wikia [06:20:20] !dump [06:20:20] --mwbot-- For information on how to get dumps from Wikimedia Wikis, see http://meta.wikimedia.org/wiki/Data_dumps [06:21:40] *^demon tries to find some bug worth fixing tonight [06:22:25] !botnoob | MZMcBride [06:22:25] --mwbot-- MZMcBride: I don't know everything about everything. I am mostly for lazy experienced users to echo quick answers to very common mediawiki questions. Please don't randomly experiment with me for help. Everything I know is at http://tools.wikimedia.de/~amidaniel/botbrain.html and you can visit #mwbot or privately message me. [06:23:08] *MZMcBride stabs Splarka. [06:23:15] *Splarka was goona add it but looked at the brain and saw he'd already done [06:23:16] *Splarka bleeds [06:23:27] !compare | S_A [06:23:27] --mwbot-- S_A: For a comparison of wiki software, see and [06:23:37] !wikis alias compare [06:23:37] --mwbot-- Successfully added alias: wikis [06:43:47] How do you create a link to a file like open a file on a network server? [06:44:30] you can't run something on the filesever from mediawiki [06:45:04] you would need something like shell/telnet access to run a file on the server [06:46:44] 03demon * r43797 10/trunk/phase3/ (RELEASE-NOTES maintenance/nukePage.inc): (bug 8702) Refactor stats updating in nukePage. Now updates edit count and good article count, not just total page count. [06:47:19] <^demon> rujin: Do you mean like an external link to something on a network share? [06:47:47] ^demon: yes [06:47:48] 03(FIXED) maintenance/nukePage.php doesn't update statistics - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8702 +comment (10innocentkiller) [06:48:05] <^demon> rujin: One second, I'm trying to remember how... [06:48:43] /server/folder/file.txt [06:49:16] ^demon: like //network_share/folder/file.txt [06:49:48] <^demon> rujin: Exactly...I did it before in my old job....but I don't have access to that wiki anymore. Trying to remember offhand. [06:51:44] <^demon> rujin: You might try adding file:// to $wgUrlProtcols...may or may not work :-\ [06:51:57] <^demon> http://www.mediawiki.org/wiki/Manual:$wgUrlProtocols - there's the docs. [06:53:15] ^demon: [06:53:18] thanks [06:53:37] <^demon> no problem [06:55:47] hey guys is there anyway to configure mediawiki to support the viewing of a directory? [06:56:12] i have some files that i have uploaded to my server and i want to provide the path to the dir they are listed in ... [06:56:32] rather than have a specific link to each file? is this possible? [07:03:02] is the directory a subdirectory of the mediawiki install directory? [07:03:25] no wait, my method wouldn't work, [07:06:35] 03(NEW) Please change left-hand label to say " this page in other languages" instead of merely saying "languages" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16407 15enhancement; normal; MediaWiki: User interface; (jasonspiro) [07:20:41] it would be cool if the bugzilla linked accounts in the golbal system somehow [07:24:49] 03(mod) Please change left-hand label to say " this page in other languages" instead of merely saying "languages" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16407 (10p858snake) [07:30:04] 03(mod) Please change left-hand label to say " this page in other languages" instead of merely saying "languages" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16407 +comment (10innocentkiller) [07:36:07] why dosn't wikibugs show comment one as +comment (username) in here? [07:36:47] hi all! [07:36:55] i have installed mediawiki successfully. now i'd like to customize path settings. Now an article path is /index.php/Article_name. Can I make it like this: /Article_name? how? thanx! [07:37:36] <^demon> !shorturl | uzbek [07:37:36] --mwbot-- uzbek: To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [07:37:53] p858snake: ... it does [07:38:15] ^demon, thanx! [07:38:23] p858snake: its a subdir of the mediawiki install that i created [07:38:30] <^demon> uzbek: No problem. [07:38:50] w3rd__: yeah my idea won't work for what i was thinking of [07:39:00] k nps [07:48:13] 03mkroetzsch * r43798 10/trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php: Remove note that feature is experimental from errors with Type:Date (in as many languages as I dare to modify without understandig a word ;) [07:57:07] 03mkroetzsch * r43799 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: create Julian Day Number even when container is not fully initialised, return year/month/day values also if object not valid (yet) [08:04:09] <_wooz> lo [08:15:17] why in wikipedia.org edit panel (tools for edit) is bigger than in mediawiki? [08:16:03] uzbek: wikipedia.org has LOADS of extensions installed, that may be one of them [08:16:28] uzbek: are you talking about the icons above the edit feild? [08:16:36] p858snake, yes :) [08:17:34] can we install those extensions? [08:17:41] for free? [08:18:05] <^demon> Yes, they're all free. [08:18:18] <^demon> All are licensed under the GNU GPL, as far as I know. [08:18:23] 03(mod) Please change left-hand label to say " this page in other languages" instead of merely saying "languages" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16407 (10ari.brodsky) [08:18:53] not all of them [08:18:54] padde, p858snake ^demon thanx guys! [08:18:59] but they're all under free licenses [08:19:37] <^demon> uzbek: Here's a list of all the extensions on Mediawiki.org: http://www.mediawiki.org/wiki/Extension_Matrix (and here's a list of ones running explicitly on Wikimedia sites: http://www.mediawiki.org/wiki/Category:Extensions_used_on_Wikimedia) [08:20:06] <^demon> The latter list can be trusted to contain ones that are stable and have passed code review. [08:21:15] uzbek: are you talking about the icons above the edit feild? [08:21:24] those aren't extensions, those are javascript [08:21:27] <^demon> Has anyone else played with Gmails new theme system thingie? [08:21:31] (although some of them create tags for extensions) [08:22:24] bah long urls causing that extenstion table not to wrap to browser size =( [08:22:34] ^demon, thanx [08:22:37] uzbek: http://en.wikipedia.org/wiki/MediaWiki:Common.js/edit.js the customeditbuttons [08:23:19] Splarka, thanx a lot! [08:23:35] for instructions google for: mwCustomEditButtons [08:26:37] 03(mod) The page counter could not update - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16359 (10skjackey.tse) [08:32:43] 14(WFM) Please change left-hand label to say " this page in other languages" instead of merely saying "languages" - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16407 +comment (10niklas.laxstrom) [08:34:32] 03mkroetzsch * r43800 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: [08:34:32] fixed Julian Day computation (was still checking historical years instead of astonomical ones); [08:34:32] added documentation on Julian Day and our use of the proleptic Georgian calendar. [08:36:03] 03(mod) source tag error shows invalid example in german error message - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16317 (10niklas.laxstrom) [08:36:40] w3rd__: http://www.mediawiki.org/wiki/Extension:DirList [08:37:04] 03mkroetzsch * r43801 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: Gregorian, not Georgian. [08:41:19] 03siebrand * r43802 10/trunk/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php: (bug 16317) source tag error shows invalid example in german error message [08:42:44] 03(FIXED) source tag error shows invalid example in german error message - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16317 +comment (10siebrand) [08:50:50] 03mkroetzsch * r43803 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: Document proper leap year support and input conventions regarding "BC", "PM", etc. [08:51:22] <^demon> siebrand: Ping. [08:52:04] ^demon: pong! [08:52:46] <^demon> Howdy :) Quick question: how has the new ForeignApi stuff been working on Betawiki? You guys have been great at running that bleeding edge code ;-) [08:53:41] ^demon: OK I guess. Didn't get any complaints. Lemme look up a few quick examples. [08:54:08] <^demon> Awesome :) I redid the caching over the past few days, wanted to make sure it was working alright in a production environment. [08:55:03] ^demon: looks broken. http://translatewiki.net/wiki/User:GerardM [08:56:27] ^demon: that should show http://commons.wikimedia.org/wiki/Image:GroteGrazers.JPG [08:57:06] <^demon> Now, why is all of this suddenly not working? All worked earlier today...maybe the file/image switch? [08:57:39] ^demon: I could quickly revert to an earlier version, if you want to double check? [08:57:49] in that case: which path to which version? [08:58:14] <^demon> Dunno, give me a moment. It's not working on my localhost right now either :-\ [08:58:36] *Splarka forgot to commit this bug last night, tries again [08:58:36] 03(NEW) generatexml for prop=revisions with rvexpandtemplates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16408 15enhancement; normal; MediaWiki: API; (herd) [08:59:34] this is a production problem affecting people OUTSIDE the WMF [09:01:08] <^demon> GerardM-: because wmf doesn't run ForeignApiRepo ;-), you guys have really been fantastic about putting this code through its paces. [09:01:38] 03demon * r43804 10/trunk/phase3/includes/ (WebRequest.php WebResponse.php): This should probably be in Response, not Request, as we're setting data, not getting it. Nothing's using it yet (fairly new), so nothing to update. [09:01:53] it is an important tool to promote Commons and its free files [09:02:07] ^demon: broken since 43785 [09:02:13] <^demon> Which is why I want to improve it even more over time, so we can start telling people to use it and use it often. [09:02:18] 03(FIXED) Old property value not deleted - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16400 +comment (10markus) [09:02:18] <^demon> sidebrand: Thanks. [09:03:30] GerardM-: issues in head are an occupational hazard. Just as long as they work in tags... [09:03:53] true [09:05:17] but it does break things for people who are on stable versions [09:06:13] and consequently only testing for head does not make you see how it affects our end users [09:06:21] <^demon> siebrand: Yes, it is the File/Image stuff. I was able to get the proper Api data when I reverted to the old canonical names. [09:06:28] sorry, you lost me, GerardM-. [09:07:08] we test on head.. our users typically are NOT on head so changes on head may break things for our users who are on stable versions [09:07:31] <^demon> siebrand: I accidentally broke it trying to be correct ;-) instead of hardcoding Image: as the namespace, I pulled the canonical name (change in r43785). Commons doesn't know what File:GroteGrazers.JPG is, only Image:GroteGrazers.JPG. [09:08:36] GerardM-: MediaWiki and extensions in the repo are branched at the same time. Most of the extensions work on the MediaWiki version from the same branch. Using trunk stuff is not advisable, or at least nothing to whine about when giving errors; but explain that to Joe the Plumber. [09:08:52] ^demon: hah :) [09:09:17] 03(FIXED) perhaps add "Pages using the special property Xxx" section to special property pages - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9748 +comment (10markus) [09:09:24] <^demon> So either A) I revert or B) Leave the correct behavior and wait for Brion to ok the Image->File switch. [09:09:29] Siebrand, people who use this functionality need a stable API. Changes to HEAD may break this functionality [09:09:46] because stable versions are not updated [09:09:49] <^demon> GerardM-: Which is why the API is very very stable and essentially non-breaking. [09:09:55] ^demon: the solution should be to find out what NS_IMAGE is called at the foreign repo, I guess [09:10:44] ^demon: and cache that for some time? [09:10:46] <^demon> siebrand: Well, I rely on the fact that the canonical names never (theoretically) change. So the NS_IMAGE canonical name on one wiki should be the same as everywhere else, except that wmf hasn't updated to the new canonical name yet, so we're in limbo. [09:12:22] ^demon: don't know how long the foreign repo is in yet, but can the namespace change break foreign repo people using older versions of mediawiki to the new version commons would be running? [09:13:10] <^demon> No, it's completely forward compatible, provided the API doesn't have any breaking changes in that area (which Roan is good about, as you know) [09:13:20] hehe [09:13:56] <^demon> Plus, we're leaving Image as an alias to File by default, so commons (or any wmf wiki) will always resolve requests to Image: [09:14:13] hi ^demon [09:14:38] but if they change Image to File everyone will complain that the bots and scripts that they use will break >.< it already happened on the mailing list [09:15:10] <^demon> Nikerabbit: Hey :) [09:16:39] ^demon: so just use Image: and you should be safe? [09:18:00] <^demon> Perhaps I should go back to hard-coding Image:....it seems more safe in the long run. [09:23:00] 03mkroetzsch * r43805 10/trunk/extensions/SemanticMediaWiki/ (includes/SMW_DV_Time.php languages/SMW_Language.php): beautification, some documentation of open issues for date handling [09:25:12] 03demon * r43806 10/trunk/phase3/includes/filerepo/ForeignAPIRepo.php: [09:25:12] Revert r43785 (switching hardcoded Image: to loading the canonical name). This [09:25:12] causes an interesting regression...trunk cannot use this with an API below [09:25:12] r43639 (when Image was renamed to File), as File:Someimage.ext doesn't make [09:25:12] sense to these wikis. Keeping it hardcoded might be best, if Image is in fact [09:25:16] remaining an alias to File. [09:26:12] yeah, but those still all return values ending in ".org" [09:26:33] (nvm, wrong channel) [09:42:21] <^demon> You know what would be cool....a way to pull up *when* a cache entry will expire, even if it hasn't yet. Something like getExpiry( $key ). [09:43:28] well, it'd be more getMaxExpire, since it could expire earlier [09:43:46] <^demon> True. [09:47:50] 03mkroetzsch * r43807 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: fix numbre formatting for large year numbers (no thousands separator, no exp notation) [09:53:45] 03(NEW) New "link=" parameter in [[Image: - cannot link to Media: - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16409 15enhancement; normal; MediaWiki: Images; (derbeth) [09:55:29] 03aaron * r43808 10/trunk/phase3/includes/ (WebRequest.php WebResponse.php): [09:55:29] Revert r43804 'This should probably be in Response, not Request, as we're setting data, not getting it. Nothing's using it yet (fairly new), so nothing to update.' [09:55:29] Session id is used by client request to specify its login data from cookie, so [09:55:29] the session data, by extensions, is like a sort of request parameter. Also, [09:55:31] WebResponse.php seems to be used for data actually sent to the client, like [09:55:33] requested cookies. [10:08:41] 06(LATER) respect the user's date formatting - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=9620 +comment (10markus) [10:27:52] 囧 [10:29:10] hi everyone. [10:29:20] hi [10:29:28] padde: what is that? [10:29:37] hello nike :) I came here to make a suggestion [10:29:43] Nikerabbit: a sad face? ;) [10:30:02] Nikerabbit: (because of "(LATER) respect the user's date formatting - http://bugzilla.wikimedia.org/show_bug.cgi?id=9620 +comment (markus)") [10:30:20] disrespect user dates! [10:30:25] looks kanji to me, not a sad face [10:30:41] and that's semantic stuff anyway [10:30:56] Nikerabbit: well, it's a (nowadays) rarely used Chinese character ("jiong") [10:31:02] hmm, 16409 [10:31:09] padde: what does it mean? [10:31:26] www.etherpad.com ([[Etherpad]]) was launched two days ago, and it seems to be the only web-based real-time collaborative text editor that really works; who has tried it? [10:32:09] ahh, 16158 [10:32:23] I was wondering if ther could ever be possible to have a multi-user, real-time wiki, perhaps something similar to etherpad [10:32:26] link= registers links in the link table in -1 and -2 namespaces, heh [10:32:36] (so does sometimes) [10:32:57] Nikerabbit: actuall it means 'brightness' ... today it's used more and more often on the net to express "don't like it... sad..." because it looks a bit like a sad face (depends on the font) [10:33:30] Waldir_: nobody there to test with [10:33:48] Nike: gimme the url :) [10:34:17] http://etherpad.com/e16Va9iCBq ? [10:34:29] yup :) [10:36:07] 03(mod) New "link=" parameter in [[Image: - cannot link to Media: - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16409 (10herd) [10:36:42] Waldir_: i always get disconnected [10:36:43] Nikerabbit: so, as you can see, it works :) [10:36:49] hum.... :( [10:36:56] that never happened to me [10:37:23] Waldir_: maybe the 500ms latency are above some threshold [10:38:09] not sure. it just seems to work fine here. and it has a button to save revisions anytime, so it's almost a wiki [10:38:35] it is limited to 8 people, but even 2 or 3 would be enough to prevent edit conflicts [10:39:00] what do you think, could the concept be used to develop a mediawiki extension? [10:39:20] that would make wikis even more wiki-like :D [10:44:21] Waldir_: is that open source? [10:44:43] hum, this just makes me wonder... what id someone cuts a text someone else has been writing, pastes it and saves a revision? that would give them the credit for the actual edit.... otherwise, the system would have to remember who wrote each words and save a bunch of diffs from every revision one decides to save [10:45:11] OTOH, it could just save a single revision with collective autorship, without saying who wrote what [10:45:25] but then people could just join sessions and take half credit for no work [10:45:47] well, i think it's more about collaboration, and not about getting credit ;) [10:45:49] anyway this already happens in wikis when someones copy-pastes a page instead of using the move funcion. [10:45:58] paddle: exactly :) [10:46:05] Waldir_: -l [10:46:09] and Nikerabbit it is open-source, yes :D [10:46:19] Waldir_: good, then you can write the extension :D [10:47:00] hahah i'd have to learn "writing mediawiki extensions for dummies" first xD [10:47:09] i was hoping someone here would take the bait :P [10:48:42] I've been waiting for something like this for a long time but every wannabe real-time collaborative editor would be either too slow, or not handle conflicts very well... this is the first one I see that actually works :) so I'm pretty excited [10:51:43] there was a very light desktop app that worked pretty much like this, called MoonEdit (I've heard SubEthaEdit for mac and Gobby for linux are very good too) but a web-based one is certainly the best application of the concept, e.g. it requires no downloads or installation [10:52:37] padde: lol, I only figured out you meant -L instead of -1 xD [10:52:50] Waldir_: heh [10:52:55] *just figured [10:52:56] Waldir_: font problem again :P [10:53:00] heheh [10:53:49] so I guess noone is very much excited about this huh? at least point me to the starters guide for mw extension writing :/ [10:54:21] Waldir_: i really like it [10:54:32] Waldir_: what's it written in? where can I download it and set up my own server? [10:54:53] javascript. it's based in AppJet, a platform for writing web apps in js [10:55:02] lemme try and find a link [10:56:08] Waldir_: time to learn, we are short of developers [10:56:57] Nikerabbit: :( I would love to help but I am overwhelmed by my own schedule [10:58:37] padde: wouldn't it be this? http://etherpad.com/static/compressed/28835cdf8dca35c29c6a192cc8f8b9f4.js [10:59:06] ah, there's #etherpad [10:59:56] Waldir_: thanks :) [11:05:39] Waldir_: i guess it needs this AppJet thingy, that's not yet released [11:05:55] hmmmm [11:05:56] Hi. I'm trying to setup a multiple mediawiki installation on the same server. Could someone suggest me a good howto to follow? [11:06:24] i was reading yesterday that all appjet applications were open-sourced, so i assumed the base platform also was [11:07:12] http://ejohn.org/blog/etherpad-real-time-editing-with-javascript/ "They now even provide a copy of their server-side software along with the full source." [11:07:32] according to this we can have some hope :D [11:07:52] wait a moment, he said "now"? that means it's already out! [11:08:04] http://appjet.com/download [11:09:40] !farm | riz_ [11:09:40] --mwbot-- riz_: To run multiple wikis, you can simply install MediaWiki in different folders, with different databases or in one with database prefixes. You can also have multiple wikis using a single installation: and . [11:10:45] Waldir_: got to go now. but thanks again for the pointer, very interesting application [11:10:55] mwbot many thanks! [11:11:21] padde: yes indeed! see ya :) [11:11:22] mwbot my idea is to use a single installation for multiple site [11:11:33] riz_: hint: mwbot is software [11:11:44] padde ops, sorry! [11:12:00] but Splarka is hardware ;) [11:12:07] xD [11:12:09] !ai | padde [11:12:09] --mwbot-- padde: hey, that hurts my feelings [11:12:39] be nice to the poor bot [11:22:10] hi [11:34:03] 03jojo * r43809 10/trunk/extensions/Collection/Collection.body.php: fix for http://code.pediapress.com/wiki/ticket/372: show portlet on all pages if collection is not empty. [11:34:23] 03demon * r43810 10/trunk/phase3/maintenance/cleanupImages.php: [11:34:23] Replace mkdir() in favor of wfMkdirParents(): [11:34:23] * It handles directory modes for us (rather than hardcode 0777) [11:34:23] * It handles recursion for us [12:05:56] PHP Fatal error: Call to a member function toHtml() on a non-object in /var/www/w/includes/ImagePage.php on line 936 [12:07:12] ^demon: perhaps you can help? [12:08:02] <^demon> Nikerabbit: One moment. [12:09:34] <^demon> Nikerabbit: Is this on a local image or a foreign one? [12:10:46] http://translatewiki.net/wiki/File:Mail-reply-all.svg [12:12:12] <^demon> Odd...and you guys already updated to re-add the hard-coded Image: prefix...so it's not that... [12:12:29] <^demon> (that page is blank, no errors even) [12:12:46] ^demon: the bot is flooding them to our irc channel [12:13:13] <^demon> Ah ;-) [12:13:33] eh... why do we have a page-long function to do what mkdir( $dir, $wgDirectoryMode, true ) does? [12:13:54] we're not still maintaining PHP4 compatibility, are we? [12:14:02] <^demon> Vyznev: Because wfMkdirParents() existed before the third parameter to mkdir() did ;-) [12:14:42] <^demon> Ideally, wfMkdirParents() could just be a wrapper around mkdir( $path, $mode, true ) nowadays [12:14:57] Vyznev: one word: umask [12:15:01] it should have lengthy comment near it explaining that it cannot be made so [12:15:25] ...and just why do we want to override the umask? [12:15:39] usually if there's a umask it's there for a reason [12:16:51] Vyznev: it acts poorly if we want to restrict access [12:17:07] <^demon> I slowly waged war on mkdir() so we have a common interface within MW for creating directories. The few remaining plain mkdir() calls are in ~/maintenance [12:17:16] ...but umask doesn't add permissions, it only takes them away [12:17:17] <^demon> Otherwise, $wgDirectoryMode was useless ;-) [12:18:25] is there any advantage of RSS or Atom over the other when registering for a feed? [12:19:11] <^demon> Crap...why did I drop objectcache...I meant to truncate it.... [12:19:17] haha [12:20:03] Vyznev: it adds too [12:21:10] Nikerabbit: ?!? [12:21:26] it's a _mask_ [12:22:39] it _can't_ set bits that are unset in the mode [12:22:48] that' [12:22:51] s [12:22:57] just mathematically impossible [12:25:03] <^demon> Nikerabbit: Can I get your config for ForeignFileRepos? [12:25:14] well, don't let my unknowledge be in the way of correct code [12:26:42] ^demon: http://translatewiki.net/wiki/BetawikiSettings.php if it is up to date [12:29:06] 03(NEW) Enable email notification for watchlist and minor edits on portuguese wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16410 normal; normal; Wikimedia: General/Unknown; (heldergeovane) [12:29:46] mm [12:29:48] ignorance [12:34:25] *Simetrical smacks http://news.cnet.com/8301-17939_109-10103177-2.html [12:34:58] *Simetrical isn't going to bother to sign up to CNET just to correct their misinformation about videos, though [12:35:31] I just got home from Bond. [12:35:38] It was pretty poor. [12:35:42] Simetrical: What's wrong in that article? [12:35:57] RoanKattouw, the implication that video isn't yet allowed, and that it will be Firefox 3.1-only when it does come? [12:36:08] Hmm yeah [12:36:09] Someone needs to link to Category:Video on Commons. [12:36:17] anyone know, how to change the name of the ns Project at the time some page are located at Project:...? [12:36:29] Or just to [[enwiki:Galloping Gertie]], which has video [12:37:01] Juandev, just change the project namespace's name in LocalSettings.php, and add an alias for the old one. That should make everything magically work. [12:37:25] Vyznev, are tildes in image titles even illegal? I thought only three or more consecutive ones were. [12:37:52] <^demon> Nikerabbit: It's ew :-\ [12:38:23] hallo, [12:38:28] ist das nur auf englisch oder auch deutsch? [12:38:33] also der chat [12:39:20] T-Vairus: Depends whether there are any German-speaking people around. I speak some German, but I'm sure a 'real' German person would be of more help [12:39:33] weil seit einem servercrash kann ich meine wiki-seite nicht mehr aufrufen, da firefox in einer endlosschleife ist :( [12:39:47] http://www.resident-evil-virus.de/mediawiki/index.php/Hauptseite [12:39:53] also umleitungsschleife [12:40:08] SilentSimon: sounds easy [12:41:49] T-Vairus: Das könnte ein Problem mit deine RewriteRules sein [12:42:11] ^demon: ? [12:42:20] also ich hatte nichts umgestellt - kann ich das irgendwo einstellen / umstellen? [12:42:25] OK, I'm not even gonna *try* to get these adjectives right anymore ... [12:42:35] <^demon> Nikerabbit: I'm trying to track it down....might take me a bit... [12:42:43] ^demon: let me know if I can help [12:43:47] Simetrical: well, thank you as I said, sounds easy [12:43:52] <^demon> Of course. I've pretty much duplicated your settings (not that I needed to really, I have the same error, blah) [12:44:21] T-Vairus: Was sind deine $wgArticlePath, $wgScript und $wgScriptPath in LocalSettings.php ? [12:44:46] ich schaue nach, moment [12:46:38] Random question that occurs to me: in gendered languages with no "unspecified"-type gender, how does software refer to users? Masculine or feminine or some weird hodgepodge? [12:46:44] Simetrical: no, they're not -- that's why I'm only escaping them in buildSafeTitle(), which is only called if the title in borken [12:46:51] Simetrical: Try English? [12:47:06] RoanKattouw, ? [12:47:08] ^demon: the backtrace is quite uninformative [12:47:09] English has him and her, but no third gender [12:47:19] So all kinds of awkward uses of "they" surface [12:47:44] $wgArticlePath = "$wgScript/$1"; [12:47:45] RoanKattouw, yes, but we can just say "he or she" if we want. You can't do that if every verb, adjective, and noun is gendered. Also, we have neuter "it" and "they". [12:48:06] What does a language like French do? Or Hebrew? [12:48:11] *Simetrical goes to look at the Hebrew translation for MW [12:48:23] <^demon> Nikerabbit: Backtrace is useless :-\ [12:48:32] reicht das RoanKattouw? [12:48:52] Simetrical: Well in most languages the gender of the addressee doesn't matter: it's always "you" [12:49:02] T-Vairus: Was ist $wgScript? [12:49:07] "utilisateur" is grammatically masculine, so I guess they use that [12:49:09] Not true, plenty of languages have gendered second person, or gendered verbs generally. [12:49:18] Like French, or Hebrew. [12:49:32] Simetrical: French has tu and vous for second person, not gendered [12:49:36] Hmm. [12:49:40] Well, Hebrew I know for sure. [12:49:47] na du wolltest doch die werte haben, oder t�usche ich mich? [12:49:48] Although you're right in a sense [12:49:53] And French still has gendered nouns and verbs and stuff. [12:50:03] soll ich dir mal die LocalSettings.php hochladen? [12:50:22] A sentence like "you have moved" is translated as "vous êtes déménagé(e)" [12:50:39] T-Vairus: http://rafb.net/paste/ [12:51:01] ^demon: could this be yours? PHP Fatal error: Call to a member function toHtml() on a non-object in /var/www/w/includes/ImagePage.php on line 937 [12:51:02] RoanKattouw, hmm, so they can hack around it too. [12:51:15] ^demon: use case/steps to reproduce unknown [12:51:19] You could probably do that in Hebrew too a lot of the time . . . [12:51:35] Well, the Hebrew translations seem to use nouns instead of imperatives for a lot of things, like "editing" instead of "edit" in the edit tab, "deletion" instead of "delete", etc. [12:51:39] Simetrical: Verbs aren't gendered, only the present perfect (like you have moved) is [12:52:06] The only language other than English that I actually know is Hebrew, and in Hebrew *everything* is gendered, except first-person verbs. [12:52:17] All verbs, adjectives, and nouns. [12:52:18] oh danke RoanKattouw - so bitte: http://rafb.net/p/dUALdl85.html [12:52:43] Simetrical: I've talked with my professor about providing support for accommodating to genders and what all... but it is not a technology of today [12:52:51] login daten habe ich weggemacht, nicht wundern bitte [12:53:14] 03vyznev * r43811 10/trunk/phase3/includes/GlobalFunctions.php: (log message trimmed) [12:53:14] Turn wfMkdirParents() into just a thin wrapper around mkdir( $dir, $mode, true ); this won't work in PHP4, but we don't support that, do we? [12:53:14] NOTE: the old code used to ignore the umask by explicitly forcing the permissions with chmod(). If this is desired behavior, it can be achieved by temporarily setting the umask to 0, as in: [12:53:15] Simetrical: Swedish is also pretty bad. It inflects by singular/plural and by definite/indefinite, so words like "the" and "a" are just suffixes [12:53:16] $oldmask = umask( 0 ); [12:53:17] <^demon> siebrand: That's largely unhelpful actually. It just means it's failing on calling transform(), which means any number of steps behind transform() could be causing it. [12:53:18] $rv = mkdir( $dir, $mode, true ); [12:53:20] umask( $oldmask ); [12:53:22] return $rv; [12:53:41] <^demon> I managed to make it work ;-) [12:53:44] Vyznev: no it cannot [12:53:45] ^demon: it's all I have at the moment :( [12:53:50] umask is not thread safe [12:54:02] please read the earlier discussions about the issue [12:54:13] Nikerabbit: where? [12:54:25] Hebrew seems to uniformly use masculine. [12:54:36] Nikerabbit, um, PHP is thread-safe? [12:54:43] Since when? [12:54:58] Every mod_php Apache or FastCGI is a separate process, isn't it? [12:55:02] T-Vairus: Versuche $wgArticlePath = "$wgScript/$1"; zu ändern zu $wgArticlePath = "$wgScript?title=$1"; [12:55:27] well... ask Tim, he seems to know the details better than I do [12:55:42] He would. [12:55:46] even if PHP is thread-safe, I'm fairly sure MediaWiki isn't, anyway [12:55:57] grep for setenv, for example [12:56:00] Das wird keine kürzen URLs geben, aber es wird auch keine Umleitungsschleifen geben [12:56:16] Yeah, we're looking at a one-per-process model. [12:56:32] s/set/put/ :( [12:56:39] oh dankesch�n RoanKattouw es geht :D [12:56:45] vielen dank [12:57:30] only thing I know is what is said on php.net: Note: Avoid using this function in multithreaded webservers. It is better to change the file permissions with chmod() after creating the file. Using umask() can lead to unexpected behavior of concurrently running scripts and the webserver itself because they all use the same umask. [12:57:39] T-Vairus: Achtung: deine URLs haben sich ändert: nicht mehr /mediawiki/index.php/Foo sondern /mediawiki/index.php?title=Foo [12:57:48] oh [12:57:52] ok ich schau mal [12:58:01] warum ist das passiert, also wo war der fehler? [12:58:23] yeah, well, they may be right, but [12:58:39] T-Vairus: Ich weiss nicht; /index.php/Hauptseite versuchte weiter zu leiten nach /index.php/Hauptseite (also sich selbst) [12:58:52] a) that's one more reason why I'n _not_ using it in r43811 [12:59:02] naja, jetzt gehts ja - danke nochmal ;) [12:59:09] Ich denke das ist kein MediaWiki-Problem sondern ein Apache-Problem [12:59:11] b) and as I said, I don't think MediaWiki is threadsafe anyway [12:59:22] *Simetrical greps "umask" and gets a hit in MessagesAvk.php, "djumaskina" [12:59:27] lol [12:59:32] wie gesagt, hatte einen servercrash und danach ging die mediawiki nicht mehr [12:59:38] da kam diese umleitungsschleife [12:59:58] Ich denke die Server-Konfiguration ist geändert, denn [13:00:21] Simetrical: I put the following in /usr/local/bin: grep -r $1 /var/www/w/* |egrep -v "(svn|[.]ser|Messages)" [13:00:30] ok, verstehe - gut, danke f�r den freundlichen support und bis n�chstes mal - gru� T :) [13:00:46] siebrand: Escape $1? [13:00:46] Simetrical: you could even add "i18n", which would reduce false positives more. [13:01:03] RoanKattouw: works for me :) [13:01:14] siebrand, I used to do something like that, but with git half the problem is solved anyway (no .svn hits). [13:01:14] (as long as there are no spaces in it) [13:01:26] Hmm. Maybe bash doesn't allow variable names to start with a number [13:01:38] RoanKattouw, of course it doesn't. They're reserved. [13:02:53] *facepalm* [13:02:58] Of course. Shell script arguments [13:04:31] <^demon> siebrand: So about compatibility...just figured out that wikis that haven't gotten the File namespace update cannot act as repos for those that have ;-) It breaks a lot of stuff it would seem, hehe. [13:07:05] RoanKattouw, actually, most languages don't allow variable names to start with numbers. PHP doesn't either. [13:07:13] Even though it has no reason that I know of. [13:07:27] Of course in languages that don't use $ or similar, you want to avoid confusion with numbers. [13:07:28] int 0x3 = 4; [13:07:28] Yeah I know. C-like languages don't like it either [13:08:04] yksinaisyyteni, that's not a valid argument for PHP, though, where all variable names start with $. [13:08:15] Then again, it's also not an argument for IRC nicks, and those can't start with numbers either. [13:08:21] So who knows. [13:09:39] actually, there are two reasons for IRC. firstly, channels used to be numbers, so allowing numberic nicks would be confusing. and nowdays, servers internally represent nicks with UIDs, which start with numbers to distinguish them from actual nicks.. [13:09:51] looking at the error i get from $0 with php, i suspect it parses $foo as $ - 'foo' [13:10:37] unexpected T_LNUMBER, expecting T_VARIABLE or '$' [13:11:11] How to convert wikipedia html pages to wikitext [13:11:35] ginovation: what possible reason would there be to do such a thing? [13:12:23] ginovation: Just click the 'edit' or 'view source' button and you've got your wikitext in the edit box [13:13:26] yksinaisyyteni: I am doing project of gnowledge harvesting for which we require wikipedia gnowledge. We have to get various things from wikitext , like it's structure, data, categories of articles [13:13:37] ginovation: then why not use the wikitext? [13:13:49] !api [13:13:49] --mwbot-- The MediaWiki API provides direct, high-level access to the data contained in the MediaWiki databases. Client programs should be able to use the API to login, get data, and post changes. Find out more at . For client libraries in various languages, see . [13:14:12] ginovation: You probably want to use the API ---^ [13:17:23] yksinaisyyteni: and RoanKattouw: thanks. [13:18:09] yksinaisyyteni: and RoanKattouw: I will check api and revert asap [13:20:12] *RoanKattouw thinks we should add River's IRC Nick of the Day to the /topic and tell her to keep it updated [13:20:35] Just maybe that would discourage her from changing her nick to crazy stuff like yksinaisyyteni all the time [13:20:40] 03simetrical * r43812 10/trunk/phase3/skins/common/diff.css: Add comment per wikitech-l thread [13:20:47] :P [13:21:03] Blast, a new one. [13:21:24] I don't mind if she switches among all her old ones, because I know all of those, but she always confuses me when she goes to a new one. [13:21:34] I'll update [[mw:Developers]]. [13:22:27] Hmm I can tell I haven't been around that long, I only knew three [13:23:51] I might not have recognized "innocence" or "zwitter" on sight. [13:24:18] Geez, aren't Americans supposed to be the litigious ones? http://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2008-11-17/Wikimedia_Deutschland_case [13:24:42] I didn't know she was twincest as well [13:25:07] wikipedia.de should become a soft redirect so nobody actually uses it. [13:26:07] <^demon> RoanKattouw: Api parameter order doesn't matter, does it? [13:26:29] ^demon: No [13:26:36] <^demon> that's that I thought too.... [13:26:58] Only when using parameters twice, in that case the last one will be used and all the other ones will be thrown away [13:27:14] So stuff like &list=foo&list=bar will end up being interpreted as list=bar [13:27:39] <^demon> Right, I knew that much.......this is baffling me why switching whether prop=imageinfo makes a difference being the 3rd from last or last parameter. [13:28:11] ^demon: That should only matter if there's another prop= in there [13:28:16] Example requests? [13:29:55] ^demon: it is an issue in the thumbnailing [13:30:19] <^demon> siebrand: I know...it's for some reason not getting the remote thumb url and returning it :-\ [13:31:15] <^demon> siebrand: Can you get me the stack trace anyway? [13:31:38] ^demon: do not know exactly how to repro it. Just add an image? [13:32:54] <^demon> No, that'll just give you the single error message about toHtml() [13:33:39] Simetrical: there's a much easier solution. just assume anyone with a nick you don't recognise is me [13:33:42] <^demon> I'm rolling back to where I knew it worked and working from there. I've got class in 30 minutes, so I'll probably not get to it til this afternoon. [13:34:12] yksinaisyyteni, that seems like it would improve my false negative rate rather less than the increase in false positives would justify. [13:34:33] ^demon: adding an image just gives me "Error creating thumbnail: " (no reason) [13:35:00] ^demon: http://translatewiki.net/wiki/User:Siebrand/test?uselang=en . Feel free to experiment. [13:38:18] 03mkroetzsch * r43813 10/trunk/extensions/SemanticMediaWiki/ (INSTALL RELEASE-NOTES): updated files to SMW 1.4.0 release [13:38:36] 03mkroetzsch * r43814 10/trunk/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php: typos [13:39:12] <^demon> siebrand: I've got to run for now. I'll poke more at it later. Worst case scenario, it works as of 43298, prior to my recent work on it. I rolled it back that far and I'll poke through all the commits since then (there's only about 10) after class. [13:39:51] ^demon: great. Have a good learn :) [13:40:21] 03mkroetzsch * r43815 10/trunk/extensions/SemanticMediaWiki/specials/SMWAdmin/SMW_SpecialSMWAdmin.php: move "data upgrade" feature higher up, as it is needed on installation [13:43:46] mew [13:55:42] 03catrope * r43816 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryRevisions.php): API: (bug 16408) Added DOM tree generation (rvgeneratexml) to prop=revisions. Looks kind of ugly in XML, but bots don't care about that, and people should use less crappy-looking formats anyway. [13:56:03] 03(FIXED) generatexml for prop=revisions with rvexpandtemplates - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16408 +comment (10roan.kattouw) [14:17:26] 03mkroetzsch * r43817 10/trunk/extensions/SemanticMediaWiki/includes/ (SMW_DV_Time.php SMW_QP_iCalendar.php): [14:17:27] updated iCalendar export to cover extended date ranges (finally, iCal import of whole historical timelines; challenge the ISO conformance of your [14:17:27] desktop calendar! ;-); we still cut off to restrict to at most four digits in years [14:30:40] 03mkroetzsch * r43818 10/trunk/extensions/SemanticMediaWiki/includes/SMW_QP_RSSlink.php: use getXMLSchemaDate for exporting dates to RSS [14:35:27] 03mkroetzsch * r43819 10/trunk/extensions/SemanticMediaWiki/includes/SMW_QP_vCard.php: use getXMLSchemaDate() now [14:36:00] 03mkroetzsch * r43820 10/trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php: version increment, this is almost 1.4.0 [14:46:13] was the prefix for images changes to File: in a recent revision? [14:50:16] chuck: some 150 or so ago [14:50:54] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/43639 [14:51:54] Is that staying there? Am I safe to go through every page and rename the [[Image: tags to [[File: ones? [14:52:19] chuck: Image will be left as an alias [14:52:33] hrm... it's not working very nicely for me [14:53:41] chuck: not certain yet. Commit has not been tagged OK. I assume Aaron skipped it leaving it up to brion. [14:55:18] chuck: given that he himself announced about a month ago he was going to commit it in a week, I think changes are 90% he'll approve :) [14:55:40] chuck: we've been running the patch for about a month now on Betawiki without issues. [14:55:50] ack, php error [14:57:56] Fatal error: Call to a member function toHtml() on a non-object in /home/yourwiki/htdocs/html/w/includes/ImagePage.php on line 936 [14:57:58] >< [15:00:15] chuck: yes, that one's been popping up recently on my end too. [15:00:38] chuck: ^demon would love a stack trace for that. [15:01:29] 03(NEW) Fatal PHP Errors while viewing an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16411 04BLOCKER; normal; MediaWiki: Images; (charlie) [15:01:43] siebrand, how do I generate a stack trace? [15:02:04] chuck: I hoped you knew ;) [15:04:48] chuck: the use case you are giving is quite thin, though. It probably is not related to the namespace change [15:07:18] 03(mod) Fatal PHP Errors while viewing an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16411 (10charlie) [15:07:53] chuck: what's an 'ambox image'? [15:08:02] siebrand, I have a hunch that it's having problems with images with spaces in them, because it's working fine with ones without spaces. [15:08:40] chuck: we're using Commons as a ForeignAPIRepo and there's an issue with thumbnails in there at the moment. So testing is quite hard... [15:09:07] same here, I'm having commons thumbnail issues also [15:09:31] ah, I just uploaded a jpg with spaces and it worked, probably not that [15:10:09] chuck: just tested the same. I have the same result: works. [15:10:10] http://translatewiki.net/wiki/User:Siebrand/test [15:13:13] 03(mod) Fatal PHP Errors while viewing an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16411 +comment (10siebrand) [15:33:38] Has anyone ever heard of the URLs for article links changing when the user is not logged in? [15:42:40] GPH-Laptop, seems like a cache problem [15:42:47] it shouldn't happen [15:43:11] Platonides: It seems someone installed their own wiki in their ~ user directory [15:43:21] But I can't find anyplace where that would've messed with my wiki [15:45:17] That is, the articles in my wiki, located in example.com/mydir/wiki/, link to example.com/~userdir/wiki/... but only when the user is not logged in [15:55:19] Platonides: Any ideas? [16:02:09] 03mkroetzsch * r43821 10/trunk/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php: fix: changed function name [16:39:56] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16263 (10wikimedia-bugreports) [16:51:25] hey, anybody here who could help me with texvc? [16:52:19] Hello? [16:55:21] I went through the FAQ on www.mediawiki.org to Enable_Tex, installed the requiered software, but when I type gmake in the Dos Shell (Yes Windows User, sry), I only get an error message: [16:55:21] ocamlopt -c util.ml 'as' is not recognized as an i operable program or batch file Assembler error, input left in .s gmake: *** [util.cmx] Error 2 [16:55:21] Anybody got an idea? [16:56:00] 03(NEW) Create a redirect from hu.wikimedia.org to http://wiki. media.hu - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16412 15enhancement; normal; Wikimedia: Site requests; (bdamokos) [16:59:54] 03(mod) Create a redirect from hu.wikimedia.org to http://wiki.media.hu - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16412 +shell (10raimond.spekking) [17:04:16] 03(NEW) Show completly number of links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16413 15enhancement; normal; Wikimedia: General/Unknown; (agent60213428) [17:05:24] 03mkroetzsch * r43822 10/trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php: fixed display of Subproperty of [17:06:05] 03mkroetzsch * r43823 10/trunk/extensions/SemanticMediaWiki/ (INSTALL includes/SMW_Settings.php): Updated documentation, typos [17:17:07] gah, how do i reset the adminuser's password? I have phpmyadmin and root access to mysql. [17:17:11] i have http://domain.com/index.php?title=Start_page.php how i can do to short this url to http://domain.com/Start_php.php only [17:17:48] !mwbot password [17:17:48] --mwbot-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at http://www.mediawiki.org/wiki/Mwbot, you can find all my source code at http://amidaniel.com/viewvc/trunk/MWBot/?root=svn [17:17:54] !mwbot short urls [17:17:54] --mwbot-- Hi! I'm mwbot, a bot that was quickly whipped up by Daniel Cannon (AmiDaniel) to help out around #mediawiki. Some quick help is at http://www.mediawiki.org/wiki/Mwbot, you can find all my source code at http://amidaniel.com/viewvc/trunk/MWBot/?root=svn [17:18:00] hrm [17:18:03] !mw password [17:18:03] --mwbot-- http://www.mediawiki.org/wiki/Special:Search?search=password&go=Go [17:18:06] bah [17:18:12] *brion slaps mwbot around with the FAQ [17:18:26] anyway, both of those last two questions should be in there i think :D [17:19:40] brion: i'm gonna annoy that metal bin then ;) [17:20:06] !password [17:20:06] --mwbot-- http://www.mediawiki.org/wiki/Extension:Password_Reset [17:20:10] he's not very helpful [17:20:12] aah ok.. [17:20:14] aho [17:20:25] oh, needs that ! in a query, too [17:20:45] it's !keyword [17:20:49] brion bots send url link to short url! [17:20:50] !? [17:20:50] --mwbot-- I don't know anything about "?". You might try: !around !ask !bug !defaultsettings !dpl !file !help !info !mw !mwbot !passthru !phpinfo !purge !r !smw !test !viewvc [17:21:13] Hey, I went through the FAQ on www.mediawiki.org to Enable_Tex, installed the requiered software, but when I type gmake in the Dos Shell (Yes Windows User, sry), I only get an error message: [17:21:13] ocamlopt -c util.ml 'as' is not recognized as an i operable program or batch file Assembler error, input left in .s gmake: *** [util.cmx] Error 2 [17:21:13] Anybody got an idea? [17:21:28] i have http://domain.com/index.php?title=Start_page.php how i can do to short this url to http://domain.com/Start_php.php only [17:23:33] Nikerabbit: I guess you need cygwin and some kind of com[piler in it. [17:23:36] hmm, i just added an email-address to my account, so hopefully i just got a new password sent out :) [17:24:18] Nikerabbit: http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Windows#Building_texvc_on_Windows ? [17:24:36] <^demon> siebrand: I'm looking at ForeignApiRepo again now :) [17:24:37] 14(DUP) Show completly number of links - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16413 +comment (10raimond.spekking) [17:24:38] 03(mod) Special: Whatlinkshere should give total number of pages at the top - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11228 +comment (10raimond.spekking) [17:24:53] Nikerabbit: "mediawiki windows tex" in google. [17:25:07] ^demon: so how was class? Useful or a waste of time? [17:25:39] <^demon> siebrand: First one was a waste, the professor didn't even take attendance....totally could've skipped. Second class was my last physics lab for the semester, so it was easy :) [17:25:50] wee :) [17:26:12] ^demon: there's a bugzilla now, chuck created it. [17:26:28] https://bugzilla.wikimedia.org/show_bug.cgi?id=16411 [17:27:03] 14(WFM) SVN proxy error when purging diff - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15943 +comment (10brion) [17:27:06] Not sure if the apirepo stuff and this issue are related. I think it's not related to the ns change. [17:27:48] 03(FIXED) Upgrade the Doxygen on svn.wikimedia.org to 1.5.6 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15255 +comment (10brion) [17:29:28] 14(INVALID) enwiki langlinks database dump for 2008-07-24 missing entries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15327 +comment (10brion) [17:31:25] <[KrusheR]> hi [17:31:39] <[KrusheR]> is it possible to set range-bans to not affect registered user? [17:31:43] <[KrusheR]> *users [17:32:14] [KrusheR]: click the appropriate checkbox on the block form [17:32:19] 03(mod) Fatal PHP Errors while viewing an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16411 +comment (10innocentkiller) [17:34:25] siebrand: ? [17:34:37] oh [17:34:41] :D [17:34:44] Niklas is not me [17:35:02] Nikerabbit: not that I know... 'ca' origin. [17:36:20] 03(NEW) Upload form should prevent submission of filename with disallowed extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16414 15enhancement; normal; MediaWiki: Uploading; (brion) [17:38:36] 03(mod) Upload form should prevent submission of filename with disallowed extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16414 +comment (10siebrand) [17:39:04] <^demon> brion: Far too used to replying to wikitech-l, you can disregard the entire 2nd paragraph of the e-mail I just sent you :p [17:46:10] 03demon * r43825 10/trunk/phase3/includes/filerepo/ForeignAPIRepo.php: Revert r43788 and r43788 (adding findBySha1 functionality). Something is breaking here and I don't know what... [17:46:26] <^demon> :( [17:47:03] 03(FIXED) Fatal PHP Errors while viewing an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16411 +comment (10innocentkiller) [17:47:38] <^demon> siebrand/Nikerabbit: That should fix you. [17:48:13] :D [17:49:23] <^demon> Now to figure out why reordering api params makes them not work :-\ [17:57:36] *siebrand thanks ^demon [17:58:19] Where is IAlex... [17:59:21] brion: Any interest in doing some extension disabling today? [18:00:19] MZMcBride: anything particular in mind? Like MakeSysop and MakeBot? :) [18:00:30] Makesysop has issues with disabling. But... [18:00:38] Poem, UniversalEditButton, Makebot, ... [18:00:46] Usernameblacklist, [18:00:56] anyone know which hook i can use that would load after ArticleFromTitle but before OutputPageParserOutput ? [18:01:01] MZMcBride: poem to core was reverted, so that should not be disabled. [18:01:08] It was reverted? [18:01:11] Why? [18:01:19] *siebrand nods at MZMcBride. [18:01:29] MZMcBride: not generic enough () [18:01:36] i need to alter some text in the article body (without saving) [18:01:39] Meh. [18:01:50] MZMcBride: old UniversalEditButton is already off [18:02:12] Makebot and MakeSysop iirc are there to 1) ensure logs display properly and 2) make sure we have a redirect from the old special pages to the current system [18:02:23] MZMcBride: so defining the magic word as array("prettytag", "poem") may keep it in :) [18:02:36] Makesysop is the one that can be disabled, I believe. Because it used the standard log. [18:02:42] Makebot had the separate log. [18:02:59] brion: the special page redirects could be added to WikimediaMessages, I guess. [18:03:07] siebrand: Heh. Right, because is valid HTML I think.. [18:03:12] mmmm mebbe [18:03:12] Oh, speaking of Special: pages. [18:03:22] i'm pretty sure is not standard html [18:03:37] brion: for the logs there is something in the 'disable request' issue, but not certain if that's been audited yet. [18:03:57] http://en.wikipedia.org/wiki/Nobr has notes about it. [18:04:24] siebrand: Can you change MostFiles to fit the pattern, please? :-) [18:04:58] The others are MostLinkedTemplates, MostLinkedCategories, MostLinked. [18:05:03] And then we have MostFiles... [18:05:21] Perhaps change MostLinked to MostLinkedPages too... [18:06:20] 03(mod) Thumbnailing fails after purging of djvu file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14872 (10brion) [18:06:21] MZMcBride: it's a proprietary element. That's a reason to not support, AFAIK. [18:06:42] siebrand: I wasn't saying we should support nobr, just that we shouldn't use that as the tag name. [18:06:55] ah [18:06:57] Even though it makes far more sense than poem or prettytag. [18:07:08] We could have or something, though. [18:07:10] then use [18:07:17] wee, great minds and stuff :) [18:08:19] 03(mod) Remove merged extensions from Wikimedia configuration files - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16114 +comment (10public) [18:08:21] brion: ^^ [18:08:29] I hate right clicking on the touch pad in Windows on the new MBP! [18:08:45] Looks like secure.php needs RenderHash removed or something? [18:09:27] MZMcBride: what about SP:MostFiles? [18:09:38] The naming is inconsistent. [18:09:51] MostLinkedCategories, MostLinkedTemplates, MostFiles, MostPages. [18:09:55] 03(mod) SVG handler uses an "uber-crappy hack" instead of a real XML parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14268 (10brion) [18:09:59] MostLinkedCategories, MostLinkedTemplates, MostFiles, MostLinked. [18:10:06] Those are the four current names. ^^ [18:10:26] It would be nice if they were all named similarly. [18:11:17] And, for the love of God, can we rename BlockIP please? [18:12:02] i think it got half-done and reverted at some point [18:12:07] can't recall the exact problem [18:12:10] *MZMcBride nods. [18:12:17] It was changed to BlockUser and you didn't like that. ;-) [18:12:21] anyone know which hook i can use that would load after ArticleFromTitle but before OutputPageParserOutput ? i need to alter the article text (without saving to db)... [18:12:38] *MZMcBride goes to file a bug about special page names. [18:14:01] 03siebrand * r43826 10/trunk/phase3/languages/messages/MessagesEn.php: Make special pages names for Special:MostLinked* consisted. Pointed out by MZMcBride [18:14:28] darn typos. [18:14:33] ah yeah [18:14:33] 14(INVALID) wikibits.js fix Formating of buttons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13837 +comment (10brion) [18:14:35] siebrand: Should the files themselves be renamed? [18:14:47] make it Special:Block, and with a nice transparent redirect from BlockIP, and we're good :D [18:14:58] SpecialMostlinked.php and SpecialMostimages.php . [18:15:12] Those are the current file names. Do we usually just keep those the same? [18:15:25] I imagine things would break if you renamed them. [18:16:16] <^demon> Just like things broke when we changed Image->File ;-) [18:16:18] MZMcBride: nope. [18:16:41] ^demon: Speaking of which.. is that still set to go live? [18:16:48] MZMcBride: special page aliases do not depend on file names [18:17:00] siebrand: I know that. I'm asking if we should rename the files as well. [18:17:04] MZMcBride: brion need to OK the commit, and then scap. [18:17:06] <^demon> MZMcBride: It's 5 revisions behind wmf :) [18:17:16] <^demon> Ahead, rather. [18:17:21] MZMcBride: renaming breaks local patches. Not really fond of that. [18:17:26] 03mkroetzsch * r43827 10/trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php: this is 1.4.0, ready for release [18:17:28] *MZMcBride nods. [18:18:12] 03(mod) Request Hook in Cite.php function stack - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9091 (10brion) [18:18:20] siebrand: So, while you're in MessagesEn.php, want to array ( 'Block', 'BlockIP', 'BlockUser' ), ? [18:18:23] Please? :-) [18:19:30] <^demon> MZMcBride: I like BlockIP ;-) [18:19:39] :X [18:19:48] Accuracy, dammit! [18:20:10] <^demon> Accuracy can shove it. [18:20:22] http://www.mediawiki.org/wiki/Special:CodeReview <-- This one also drives me insane. [18:20:40] 03siebrand * r43828 10/trunk/phase3/languages/messages/MessagesEn.php: Also update default for block page to Special:Block, and add alias BlockUser. That MZMcBride is a persistent little bugger :P [18:20:40] hey guys just wandering is there a way to list the contents of a directory via a url link [18:20:53] yay [18:21:02] siebrand: w00t. Thanks. :D [18:21:17] i have a bunch files i would like to see, not to interested in trying to provide links to each file? [18:24:41] w3rd_: What do you mean? [18:24:44] On a wiki page? [18:25:20] w3rd_: put them in a category... [18:25:40] siebrand: how do you do that [18:25:51] MZMcBride: yes in a wiki page [18:26:05] When you say the contents of a directory, you mean a web directory? [18:26:08] w3rd_: add [[Category:SomeCategoryName]] on the image description page. [18:26:43] a web directory, actually a subdirectory that i have created in my mediawiki root dir for all my ebooks etc/ [18:27:05] hmm, there's some extension that does that on Wikisource [18:27:07] siebrand: create an image link and add that syntax and should be goto go, right [18:27:34] 03(NEW) Run /extensions/FlaggedRevs/maintenance/updateAutoPromote. php on some wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16415 normal; normal; Wikimedia: Site requests; (mikelifeguard) [18:27:36] yah these are all pdf files [18:27:54] w3rd_: well, you wiki needs to be aware of the files. If you have not uploaded them, you cannot. [18:28:32] well i have file upload enabled and i have also configured localsettings.php so that i can read pdf extensions [18:28:36] but the issue is that [18:28:40] manual upload takes forever [18:28:58] so i just scp'd the folders with like 100 ebooks [18:29:18] im just wandering if i can find another way, i have done this multiple times in apache... [18:29:32] it would just be koo if i could do this from within the wiki? [18:29:33] w3rd_: maybe you can adapt http://www.mediawiki.org/wiki/Extension:ScanSet [18:29:44] er... lemmie check it out... [18:29:48] w3rd_: otherwise there is a shell script you can use for bulk uploading. [18:30:06] well is the shell script diff then scp... [18:30:20] all the files are there and located on the svr at this point. [18:30:38] 03(mod) Run /extensions/FlaggedRevs/maintenance/updateAutoPromote. php on some wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16415 +shell (10raimond.spekking) [18:31:54] 03(mod) Run /extensions/FlaggedRevs/maintenance/updateAutoPromote. php on some wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16415 +comment (10brion) [18:32:37] *Mike_lifeguard facepalm [18:33:06] *Mike_lifeguard cheers brion onwards [18:35:11] *^demon throws big heavy steel objects in the general direction of the FileRepo. [18:35:49] ^demon: hey you break it you buy it [18:36:01] <^demon> Here's 5 bucks. [18:38:00] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id= (10N/A) [18:38:27] *siebrand kicks wikibugs [18:38:29] <^demon> Well that's helpful.... [18:38:34] that's not helpful [18:38:40] <^demon> First one to find the bug # wins. [18:38:49] :) [18:39:00] probably a notice that i sudo'd into its account to check mail settings [18:39:03] ^demon: only if you're subscribed to wikibugs-l i guess [18:40:01] <^demon> siebrand: I couldn't handle the spam. The RSS feed from Gmane works well though. [18:40:18] ^demon: rss feed? Where? [18:40:49] <^demon> http://rss.gmane.org/gmane.org.wikimedia.mediawiki.bugs [18:41:08] http://rss.gmane.org/gmane.org.wikimedia.mediawiki.bugs Inbdeed. Thanks. [18:41:09] <^demon> Haha: http://permalink.gmane.org/gmane.org.wikimedia.mediawiki.bugs/94700 [18:42:01] yep [18:42:05] <^demon> Brion used sudo, Brion gave this reason, if there's a problem, contact Brion....? [18:43:51] he must be a mediawiki god or something. [18:53:07] <^demon> siebrand: Since you're in a Specialpage-alias-mood, mind doing another? [18:53:27] which? [18:53:38] <^demon> Make Special:CodeReview an alias to Special:Code? It's on the CodeReview todo list :) [18:54:07] ^demon: alias or new default? [18:54:11] <^demon> alias. [18:55:36] 03(mod) Don't report changes to wikibugs-l when only the CC changes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15585 (10brion) [18:55:38] 03siebrand * r43829 10/trunk/extensions/CodeReview/CodeReview.alias.php: Add alias Special:CodeReview for Special:Code per CodeReview TODO list according to ^demon [18:56:06] Haha. [18:56:13] *MZMcBride wonders who added it to the to-do list. 9.9 [18:56:22] Win. [18:57:02] :D [18:57:21] <^demon> Moved to "Done" [18:57:47] Awesome, awesome. [18:58:20] ^demon: You in the mood to do an easy bug? [18:58:36] It's trivial, I promise. Just requires some cajones, sorta. [18:58:43] <^demon> MZMcBride: Sure, you in the mood to figure out why I broke ForeignApiRepo? [18:59:24] https://bugzilla.wikimedia.org/show_bug.cgi?id=12681 [18:59:39] What's exactly broken with ForeignApiRepo? [19:00:36] <^demon> Current rev, nothing. [19:00:50] <^demon> http://www.mediawiki.org/wiki/Special:Code/MediaWiki/43825 - I want the red version. It doesn't work. The green one does. [19:01:01] 03rotem * r43830 10/trunk/phase3/languages/messages/MessagesHe.php: Localization update and fixes. [19:03:52] 03(mod) Request Hook in Cite.php function stack - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9091 (10jimhu) [19:09:33] You're sure it's aisha1base36 and not aisha1? [19:10:37] <[KrusheR]> hi [19:11:48] <[KrusheR]> is it possible to make ip-range-bans to not affect registered users? [19:12:28] <[KrusheR]> i mean, to prevent users making accounts but not prevent editing for already registered users [19:13:15] <^demon> MZMcBride: Yes. The findBySha1 part works. For some reason, these changes break getImageInfo() very badly. [19:17:24] [KrusheR]: sure - block with anon-only, and block account creation [19:17:41] <[KrusheR]> ah ok [19:17:45] <[KrusheR]> thanks mike [19:22:34] hi [19:24:44] I dont understand what #Time is doint with my date. When I use #time without (UTC) behind the date, It gives me back -1 one hour from given time. For example I set 20:00, #time will return 19:00 [19:25:02] when i set 20:00 (UTC) I get 20:00 [19:25:15] I am UTC+1 here [19:29:29] hm, looks like my wiki is set to UTC+0 [19:30:01] but then, wy does the #time function decrease the time by 1 ? [19:35:45] Danwe: is your computer's timezone CET? [19:37:15] yes [19:37:32] but wiki doesn't know that I think [19:40:28] In my user Profile at the wiki I have UTC+0, too [19:41:49] #time takes input as local time [19:41:53] which it probably shouldn't [19:42:56] but how should it know my local time?? [19:43:16] in my profile its UTC+0, the server clock is UTC+0... [19:48:10] Computers are tattletales. [20:01:42] not really^^ [20:07:01] <^demon> Yay. Unlike so many other mobile browsers, MediaWiki shows up great on Android :-) [20:07:15] <^demon> Custom CSS/JS and everything. [20:23:48] hi [20:24:11] can i display Headline from catgorys in Main_Page? [20:24:16] Dynamic :) [20:25:06] Is there something like a BIG template which is included in every page? I know there is no template, but I need something like that for every page the same by default [20:29:54] use css? [20:38:45] hey [20:39:21] i was wondering whether it would be possible to have mediawiki "read" a document on the same machine that the installation is on [20:39:54] so every time i add something to that document, i don't have to edit that mediawiki page [20:51:18] 03ialex * r43831 10/trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialBrowse.php: [20:51:18] * fixed XHTML error [20:51:18] * fixed some E_STRICT [21:04:44] wazzap [21:05:02] hello brion [21:17:32] 03yaron * r43832 10/trunk/extensions/SemanticResultFormats/SRF_Settings.php: Added first attempt at extension credits [21:18:26] Anybody know how I would be able to link a non-mediawiki document to a mediawiki page? [21:21:10] hmm... a parser tag extension could certainly transclude a local file [21:21:18] could have some caching issues, though [21:21:51] hmm [21:22:52] 03(FIXED) Run /extensions/FlaggedRevs/maintenance/updateAutoPromote. php on some wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16415 +comment (10brion) [21:24:33] is it possible to watch a whole namespace somehow? [21:24:42] as in, add it to the watchlist [21:31:16] lch: don't think so, but you can filter RecentChanges by namespace [21:49:58] O_o all of the edit counts were wiped on the wiki, what happened? [21:52:25] chuck: what wiki? [21:53:04] all of the yourwiki.net wikis [21:58:04] did someoen just make a commit to reset an edit count to their actual number of edits after an edit? [21:59:09] Ready for a question? [21:59:10] ok [21:59:11] I doubt it, that would almost certainly break Wikipedia [21:59:13] Since two weeks we use mediawiki as our engine. We successfully migrated from MoinMoin to mediawiki and have ~400 pages and 300MB of uploads.We are 30 people in our department and many people travel a lot.Which is the recommended way to use the wiki offline?There is no need for us to modify pages when travelling. We use the wiki as a portable knowledge base.I know how to dump articles and WikiTaxi but what about the uploads in this c [21:59:13] n due to the no. of PC's.Any suggestions are welcome. [22:01:56] MrZ-man, I can't think of anything else [22:02:11] MrZ-man, Someone had a 422 edit count, made an edit, then it was reset to 1 [22:03:40] worksforme on r43832 [22:05:01] had 67 edits, edited a page, have 68 [22:05:43] MrZ-man, We have multiple wikis and a shared table tho, that might affect it in some way [22:08:09] chuck: You're running the latest release? [22:08:15] yeah [22:08:25] Then don't expect it to work. [22:09:29] rakekniven: mediawiki doesn't really have any standard system for offline access... you can build a static HTML file tree with the DumpHTML extension, which may be suitable for your purposes if you automate updates of that [22:10:25] 03ialex * r43833 10/trunk/extensions/Configure/ (CHANGELOG Configure.php SpecialConfigure.php): Fixed a bug in preview diffs, there was some false positive [22:10:50] brion: Is it possible to use the uploads with DumpHTML? [22:10:51] Simetrical: ping [22:10:57] I will automate it [22:11:09] rakekniven: yes, i believe it copies images into the output tree as well [22:11:44] brion, Do you have any ideas why our edit counts were all reset? [22:12:45] brion: Thx a lot. Third time now that you gave me some great advice. I appreciate it. [22:13:03] chuck: what were they reset to, and when, and where? [22:13:09] good luck rakekniven :) [22:13:10] Reset to 0 [22:13:45] oh my [22:13:50] that's kinda funky [22:14:07] :D [22:14:14] your individual user_editcount fields, or the site stats total? [22:14:25] Um... [22:14:52] normally we have a global editcount in prefs, which was 442 and has now slipped down to 4. [22:17:24] *werdnum waves [22:18:07] *brion is waved [22:18:25] *werdnum waves brion violently around. [22:18:50] *Teh_X knocks out werdnum and takes brion to the hospital [22:18:55] hello werdnum [22:20:25] Hey there - I've just been assigned a project related to mediawiki and am in the investigation phases on the correct approach. I was hoping to poll some of you. [22:20:41] brion, Well, someone has an edit count of 3 on meta.yourwiki.net, and 1 on adhd.yourwiki.net, even though we have shared user tables. [22:22:03] brion, Our edit count graph (http://tools.yourwiki.net/~charlie/graphs/) *used* to show a lot more edits, but now they've all reset [22:22:33] (desu 2, adhd 1, pool 2, meta 4, social 442!!) [22:22:43] It only resets if I make a new edit [22:23:14] In their environment, they have multiple, independent mediawiki servers. They need to have a single server that a user can access that aggregates/mashes up content from the multiple mediawiki servers. [22:24:00] ok, I'm out of here [22:24:05] bye [22:25:58] There are several approaches I can take. One is to have a "proxy" like server that scrapes content from each of the other mw servers using either html or the mw rest APIs, and combines and reformats things, and then present the results back to the browser. [22:27:09] Another approach is to put in a mediawiki server in front of the other mw servers and then write some mw modules that do the aggregation using mw APIs. [22:27:42] chuck: no idea. good luck! [22:29:37] Has anyone ever tried doing something like this and have any suggestions as the best way to do it? [22:29:52] brion, =( [22:30:32] *chuck guesses he will look through codereview to see who broke it [22:30:53] afaik nothing should reset edit counts to 0. if it's *unset* it'll get re-calculated, but this should take from existing revision counts [22:31:18] 03erik * r43834 10/trunk/tools/planet/en/config.ini: use wiki specific category [22:31:49] well, i don't know, it's a really confusing problem >< [22:32:21] the problem is, we have multiple wikis, and the edit count is shared, so there's a problem if it's being recreated from revision counts [22:32:59] oop, someone should have pointed mheld to http://www.mediawiki.org/wiki/Extension:Include [22:34:30] brion, could MySQL be thinking that the field is null for some reason? [22:34:51] 03(NEW) SVG rendering maximum should base on area, not largest size? - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16416 15enhancement; normal; MediaWiki: Images; (brion) [22:35:00] whoooooa creepy [22:35:05] I tried var_dump'ing the user_editcount value in the functions, but nothing showed up >< [22:35:08] yeah that'll mess stuff up prolly [22:35:09] sec [22:36:19] chuck: It only changes when I make an edit on a wiki; for instance, linux & social are wikis I haven't edited for ages, and still retain their 422 [22:36:42] offhand i don't see anything which should be resetting it... [22:37:30] hmmm [22:37:44] mmmh [22:37:51] if the update fails to cause an update, then.... _maybe_.... it will in some way recalc? (in User::incEditCount) [22:38:15] but unless you're overflowing or it was null, i don't see a way that should happen [22:41:49] brion, I'll try echo'ing something inside if the affected rows block to see if that's it [22:43:47] brion, nope, that's not it [22:48:04] 03brion * r43835 10/trunk/phase3/ (3 files in 3 dirs): [22:48:04] * Dropped old Paser_OldPP class. Only new parser with preprocessor is used. [22:48:04] Death to the old parser! Long live the preprocessor! [22:48:49] brion: \o/ [22:48:59] brion, all of the methods will use the wfProfileIn stuff, right? [22:49:16] 03(NEW) please change cr.wiki-logo - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16417 15enhancement; normal; Wikimedia: General/Unknown; (spacebirdy) [22:49:57] hey guys could you tell me how i can use ppt and doc extensions [22:50:59] http://www.mediawiki.org/wiki/Manual:$wgFileExtensions [22:53:28] Is there any method or utility for uploading a dozen images all at once? [22:56:43] 03(FIXED) please change cr.wiki-logo - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16417 +comment (10brion) [22:56:51] Woosta: There's an extension. [22:56:57] MultiUpload. [22:57:00] !e MultiUpload [22:57:00] --mwbot-- http://www.mediawiki.org/wiki/Extension:MultiUpload [22:57:17] thanks [22:59:39] hey Woosta [22:59:45] don't you usually live in #perl? :) [23:01:02] brion: enjoy the CNet coverage? :) [23:01:20] I hear all of our text is 500MB compressed [23:01:30] *werdnum hides. [23:02:39] Woosta: you might consider pywikipediabot (since multiupload is still a manual selection of each file) [23:02:56] or the import script thingy [23:03:22] *MZMcBride nods. There's a maintenance script. [23:05:26] Cool .. I'll try it with the manual selection for now .. there's not that many to do .. [23:10:06] werdnum: close enough [23:10:58] brion: isn't the real figure closer to 3 TB? [23:11:39] text? compressed? current versions only? [23:11:57] that's what i quoted anyway [23:11:57] oh, right [23:11:57] current only :) [23:14:03] werdnum: mailed you a few quick notes on first impression of Configure [23:14:13] yeah, just got em. [23:14:57] Complete configuration data can be accessed via the web by pulling [23:15:01] serialized/conf-now.ser. This is a little worrying: [23:15:06] use $wgConfigureHandler = 'database' :) [23:15:10] MZMcBride: works nicely. Thanks [23:15:18] :-) [23:16:01] Is there something like a BIG template which is included in every page? I know there is no template, but I need something like that for every page the same by default? CSS is not enough in my case, I need it to generate code in templates and give that to the variable extension, these variables should shown over all the content of the page on the top, befor the template call... If there is something like a big template every page includes [23:16:02] could read these variables and show them there [23:16:12] werdnum: default really should be made safe :) [23:19:10] brion: yeah, what would your suggestion be? [23:19:48] weeeelll one possibility is to save it to a .php file instead of a serialized string... that would at least be no worse than a (world-writable) LocalSettings.php :) [23:23:29] werdnum: mmm, also be good if we can restrict editable settings to a declared subset... there's a $wgConfigureNotEditableSettings but i'd prefer a whitelist [23:25:45] Danwe: you'd probably need to write a custom extension.. [23:27:21] something hackish maybing using a hook like http://www.mediawiki.org/wiki/Manual:Hooks/ParserBeforeStrip which would append your wikicode to the raw wikicode before page render (and not on save/edit, so it wouldn't actually be there) [23:28:10] brion: whee [23:28:53] brion: can I forward that email to ialex, too? [23:29:08] *siebrand smiles at brion [23:29:38] brion, werdna: maybe with a hook to change $wgConfigureNotEditableSettings at run-time? [23:29:50] *werdnum [23:31:49] When I flag an image with the 'thumb' option, I get a nice caption, but the image is floated right (or left with the 'left' flag). Is there any way to NOT float the thumb so it sits in the right place in the text? At the moment all my images are in a row on the left and all the headings to the right of the first couple. [23:32:51] thank you Splarka, I ll think about it [23:33:08] ialex: we could change it to $wgConfigureEditableSettings, and reconfigure that based on NotEditableSettings at startup (if it's defined) [23:33:14] *Woosta finds 'none' [23:33:21] *Woosta should have read first [23:34:27] ialex: Also needs to be thought about: Hiding fields that aren't editable, instead of just disabling them, diffs for "list of old versions", pulling out the stuff that's actually useful (as opposed to random crap that nobody will ever change), maybe a "popular settings" category or similar. [23:34:40] I'll have a look at some of this stuff over the weekend. [23:35:25] werdnum: siure [23:35:50] Semantic MediaWiki 1.4 is released now :D [23:37:54] http://img393.imageshack.us/img393/576/hesaidsemanticga2.jpg [23:37:59] *gets* [23:39:50] brb, I made muffins [23:39:51] whee [23:40:34] pfff, I am going to upgrade it now :p [23:44:55] How do I change what appears in the 'toolbox'? MediaWiki:Toolbox isn't right .. [23:45:00] 03ialex * r43836 10/trunk/extensions/SemanticCalendar/INSTALL: fix extension's name [23:45:25] brion: wow, we use regexen to parse SVGs? :) I can see why you wanted me to change that :P [23:46:57] Woosta: short answer is you can't, that is dynamic and page-specific [23:47:03] Cool [23:47:05] no probs [23:47:49] long answer is: you can change the text and in some cases the links in MW namespace, you can change its location in MediaWiki:Sidebar, you can add to it with javascript or hook extensions, you can hack the skin files to manually change it, you can hide links in CSS... [23:52:27] 03siebrand * r43837 10/trunk/extensions/Collection/Collection.i18n.php: Replace wikitext bold with strong. Report by Erik Baas was that plain "'''" was shown in page output. Confirmed for 'coll-rendering_status'. Not certain for 'coll-rendering_finished_text', but replaced anyway. [23:58:49] brion: is ParserDiffTest now obsolete, or does Tim like parser rewrites that much? [23:59:12] ow, already was obsolete. Ignore that :)