[00:05:40] Problem with database after upgrading to 1.15.1: One article title is causing mw to crash (blank page in browser). Can I just drop that page from the table in the database, directly? [00:05:54] Feels a bit scary to do that, is it safe? [00:09:56] does it load with ?action=edit or ?action=history? [00:11:02] *checking* [00:13:06] Splarka: Yes it does! [00:13:15] then you can action=delete.... OR... [00:13:20] you can try to find out what the problem is [00:13:27] try action=edit and [preview] [00:13:28] Well, I did move [00:13:40] the page, the server, or your house? [00:14:02] I thought the problem was that the title includes a non-ascii character, which for some reason got messed up during the upgrade [00:14:36] That is, all non-ascii characters in page titles got messed up, but I was able to fix all the other pages by moving them manually [00:14:46] So yes, moving the page. :) [00:15:24] Tried preview now, that gives me a blank page again [00:15:28] does it work after move? [00:16:36] No, that didn't help (I moved from the messed up title to the right one, with the non-ascii character in place again) [00:18:33] right [00:18:35] Well, I managed to delete the page, and I guess I can probably dig out the old version from the xml dump of the database that I did before the upgrade, so problem should be solved, hopefully... [00:18:40] so remove half the page, prevew, remove half the page, preview [00:18:57] you might have a parser extension that is being used on that page and causing probs [00:19:27] That is right, I have a parser extension (KMLExport), and I am having problems with it... [00:19:46] But it is in a lot of pages, none of them are behaving like this... [00:25:47] So, I undeleted the page, did action=edit, and cut out everything - that at least removes the crashes (so it's not the non-ascii issue) [00:26:06] indeed [00:26:09] so find what it is ^_^ [00:32:54] 03(mod) Make categories take flagged revs into account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20813 (10JSchulz_4587) [00:33:29] Hm, it is really weird... I put back in almost everything, and it was fine, but suddenly it crashed, and all the content disappeared... And that was before I had come to the part with KMLExport [00:33:58] Have another extension though, Player, so I thought it could be that - but then I tried everything except that one, and it crashed again... [00:34:45] so why does uploading also require the edit and create rights (eg: B#18408) [00:34:59] 03(mod) Make categories take flagged revs into account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20813 (10JSchulz_4587) [00:37:59] Uploading a file creates a file description page? [00:38:02] 03(mod) Add a magic word to specify the default format for the new formatdate parser function - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17905 +comment (10b-jorsch) [00:40:31] Natalie: not reupload [00:42:59] That wasn't the question. [00:43:07] Reupload edits. [00:44:53] "and create rights" [00:45:11] reuploading is uploading, if it doesn't then he phrased it badly ^_^ [00:45:21] the api doesnt have any equivalent to action=edit§ion=N for retrieving the wikitext of a given section does it? [00:45:28] IIRC you can revert without any reupload or upload rights, if you can edit the page [00:45:44] hmm [00:46:00] &rvsection [00:46:14] thanks [00:46:57] don't you don't have to create the page on upload, you just commonly do for the licensing info and such [00:47:11] http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&titles=Wikipedia:Village_pump_(technical)&rvsection=12 [00:47:32] p858snake: an upload to a non-existing page necessarily creates the page [00:47:38] the upload summary is used for the contents [00:47:50] you DO have to create one, else you don't upload [00:49:06] it used to be, that you would see a 'N' entry on recent changes for every file uploaded [00:49:10] but that was suppressed as spammy [00:49:48] 03brion * r56937 10/trunk/ (25 files in 17 dirs): (log message trimmed) [00:49:48] Revert broken rewrite of login system; totally broken. [00:49:48] * Login doesn't attach to session properly, so can't stay logged in! [00:49:48] * Password field shown in plaintext! [00:49:48] If it just DOESN'T WORK please keep it on a work branch, don't put it in trunk! [00:49:49] Reverted: [00:49:53] r56682 [00:50:22] and is there an api for getting the TOC or some other overview of sections? [00:51:13] 03(NEW) Editing a page with API removes page from watchlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20816 normal; Normal; MediaWiki: API; (bawolff+wn) [00:53:38] hippietrail: yah... er... hmm [00:54:00] action=parse&prop=sections [00:54:21] yah, but that requires parse [00:54:33] but it has an ugly dependency which makes sense for the page view but not for an api [00:54:34] also doesn't give you edit sections, only the TOC [00:55:03] the "index" parameter is useless for sections, as it doesn't factor in template sections or non-editable sections [00:55:12] addressing sections by number alone is useless for many use cases, especially on enwiktionary [00:56:47] but short of adding a way to address sections in more complex ways, enumerating the sections by sequence name and depth would let us figure out complex addressing ourselves [00:57:22] hmm, actually [00:57:24] http://test.wikipedia.org/w/api.php?action=parse&prop=sections&page=Sections [00:57:49] last time I checked the index was useless, but now it is accurate [00:57:55] maybe roan fixed it ^_^ [00:58:03] > line="Unprotected transcluded section" number="5" index="T-1" [00:58:10] > line="XML section" number="4" index="" [00:58:23] XML sections are ineditable [00:58:27] ooh that has other useful metadata i didn't think of [00:59:56] okay, bbl [01:03:42] "Revert broken rewrite of login system; totally broken." [01:03:48] rofl [01:04:01] I like the redundancy [01:08:25] 03(mod) CSS fix for Extension:FlaggedRevs (RTL wikis) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20731 (10JSchulz_4587) [01:16:41] any non us peep out there that could load this GeoIP module and tell me if it spits back something sane location wise .. http://c2p2.fkbuild.com/index.php/Special:GeoIP ? [01:17:35] sane for me [01:17:47] cirwin: which country did it spit back ? [01:17:52] gb [01:18:02] i'll be mailing the chapters tonight to test it out [01:18:11] we'll be using it for our donation portal and other bits later [01:18:13] what's it for [01:18:13] ? [01:18:16] oh [01:18:16] ok [01:18:26] show relevant payment methods, direct to the correct chapter based on location [01:18:44] but generally re-usable for whatever [01:19:06] its using the free db from maxmime so country level granularity looks to be fine .. 4/4 so far right [01:19:19] thanks! [01:52:28] tomaszf: Be sure to include an override, eh? [01:52:39] I hate getting locked out of sites because geolocation fails. [01:52:46] And you have lots of techy people who might tunnel or whatever. [01:53:20] Natalie: good points! [01:53:40] anyone else around that not in the US who can tell me if this gets it right .. http://dev.donate.wikimedia.org/index.php/Special:GeoIP ? [01:54:08] [01:54:09] Unknown [01:55:28] thanks! [01:57:02] ah, but that's probably via ipv6. i guess commercial geoip still only does v4 [01:57:36] possibly .. this is also just the publicly available data set from maxmime [01:58:13] maxmind* [01:59:10] is there a way to make the mediawiki search strip html tags in search results? [02:06:20] for some reason I just verified the gpg sig on the stable mediawiki release [02:06:20] and much to my dismay it is signed with an expired key [02:06:20] is that right? [02:07:14] paging tim starling [02:09:26] it expired 10 days after the signature was made [02:09:28] wtf [02:09:31] hello? [02:47:49] 03(NEW) Creation of a new namespace in pt.wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20817 enhancement; Normal; Wikimedia: Language setup; (valdir.jorge) [02:52:16] 03(mod) Creation of a new namespace in pt.wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20817 (10p858snake) [03:13:12] wiretapped: patience is a virtue, he may not be around or could be busy [03:13:56] patience is for weaks :p [03:14:31] I can't wait to show you how patient I am [03:22:14] ^^ [03:43:07] 03(NEW) urls of the form wiki/article?curid=something should be indexable by robots on wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20818 major; Normal; Wikimedia: Site requests; (bawolff+wn) [04:21:02] 03(NEW) Please create a list for Commons Oversighters and those needing oversight action on commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20819 enhancement; Normal; Wikimedia: Mailing lists; (lar) [04:36:28] 03(NEW) Commons oversight mailing list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20820 enhancement; Normal; Wikimedia: Mailing lists; (Tiptoety) [04:37:31] ... I see dupe people [04:38:05] *apergos groans [04:40:14] Splarka: {{Sofixit}} [04:41:28] 14(DUP) Commons oversight mailing list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20820 +comment (10p858snake) [04:41:29] 03(mod) Please create a list for Commons Oversighters and those needing oversight action on commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20819 +comment (10p858snake) [04:41:48] 03(mod) Please create a list for Commons Oversighters and those needing oversight action on commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20819 (10p858snake) [05:02:32] p858snake: even though it's not necessarily intuitive, it's probably the desired behavior. [05:02:50] umm the upload thing? [05:03:08] If you've set up a wiki where only a certain class of user is allowed to edit, you don't want to suddenly find that regular users can upload. [05:04:11] you still should need three rights to manage uploading new content, the one "upload" right should consolodate that [05:04:13] Granted, it's not big of a deal, and configurations where that would be an issue are probably relatively rare (since most people would just prohibit registration or use ConfirmAccount for that). [05:04:30] Huh? [05:05:07] i mentioned that you shouldn't need Create, Edit and Upload to upload a new file to wiki [05:05:38] *you still shouldn't need [05:05:43] Yes, that's on my bug; I know what you wrote there. :p [05:10:17] I just tested: you only need createpage if you're uploading a file under a name where there isn't any file presently [05:10:24] I started writing a fix for the bug... [05:10:43] (that is, the lack of fail-fast behavior, not the fact that 'edit' is requireD) [05:18:56] do you still only need 'edit' and permission to edit a given file page, to revert to a previous version? [05:30:39] this link works: [05:30:39] http://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Ewa_Kami%C5%84ska-Eichler [05:30:52] but {{Wikipedia:Articles_for_deletion/V%C4%9Bra Soukupov%C3%A1|Vera Soukupov�}} [05:30:54] does not [05:31:07] how do i make this template work? [05:31:19] thank you [05:35:57] because theres no templated called that [05:40:59] Splarka: I would assume so, but... [05:41:09] Image reverting seems to be broken entirely on my test wiki [05:41:32] When I submit on http://test.emufarmers.com/w/index.php?title=File:Emu2.jpg&action=revert&oldimage=20090926050911%21Emu2.jpg it doesn't do anything [05:41:54] runnign stable, svn or wmf-deploy? [05:41:58] svn [05:42:00] oh, I see [05:42:18] I had crippled the upload directory's permissions because I was working on a different bug [05:43:14] rum: [[]] not {{}} [05:43:25] That's not what was causing the problem, though :( [05:43:29] rage. [05:43:34] berserker? [05:44:07] v: [05:44:46] parrot rage? or "^:" caret rage? [05:46:10] 03(mod) Enable $wgCrossSiteAJAXdomains for wikimedia sites - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20814 (10bawolff+wn) [05:52:36] 03(mod) Make categories take flagged revs into account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20813 (10bawolff+wn) [05:55:34] be so cool if someone got a job to redo this with a better editing system, espically the version diff'ing system http://newspapers.nla.gov.au/ndp/del/article/1126258 [06:00:42] Wikisource? [06:30:01] *charitwo looks at Natalie disgustedly [06:30:14] *Natalie takes a dump on charitwo's chest. [06:30:27] all these monikers won't hide you from the FBI [06:32:39] Our love knows no bounds. [06:37:31] A first chance exception of type 'System.IndexOutOfRangeException' occurred in OurLove.dll [07:00:55] http://www.mediawiki.org/w/index.php?title=Special%3ALog&type=block&user=&page=User%3ACometneger Huh, are account locks logged now, or is this actually just a global block? [07:34:18] 03(mod) Wikisource: IPs unable to proofread - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20812 +comment (10joergens.mic) [08:06:11] 03ialex * r56938 10/trunk/phase3/includes/Title.php: change $fname to __METHOD__ in Title::moveOverExistingRedirect() and Title::moveToNewTitle() [08:20:21] AryehGregor, GerardM-: fyi the character in questions works out of the box in windows 7 [08:20:45] Cool [08:20:58] that is a challenge to Linux then [08:27:28] what happens when a page includes a template which itself is including templates, when none are substed and when parameters are in use for the second group of templates ? i thought the first template was included as is, but there appearantly is some kind of a bug... [08:27:59] 03(mod) Wikisource: IPs unable to proofread - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20812 (10joergens.mic) [08:28:00] http://fr.wikipedia.org/wiki/Utilisateur:TildeBot?action=purge#Suggestions_et_bugs this one includes http://fr.wikipedia.org/wiki/Utilisateur:TildeBot/Suggestions?action=purge that one [08:36:24] Alphos: mediawiki will kill the loop after awhile [08:36:48] p858snake : what do you mean, "kill the loop" ? [08:36:53] all templates are different ;) [08:37:02] it's not a circular inclusion either [08:37:29] oh misread your thing [08:37:33] page A : {{B}} ; page B : {{C}} {{C}} [08:38:10] C has parser functions and parameters, which are set in B [08:38:35] so page B : {{C|1}} {{C|2}} (to be short) [08:38:55] yet the result on page A is different than on page B [08:39:06] on page B, i get a neat table, perfectly working [08:39:48] on page A, i just get all tds somehow "mixed", outside of the table ^^' [08:39:55] (in a

to be accurate) [08:41:14] nope, not even in a

[08:41:41] problem is, the templates on page B are correctly parsed, but they aren't on page A [08:42:42] (i mean the C templates) [08:43:13] oh [08:43:16] -_-" [08:43:25] C templates are ../ subtemplates [08:43:28] darn [08:44:19] relative paths = suck [08:44:32] unexportable, untranscludable [08:44:53] shoot me -_-" [08:45:13] becareful, because he has taken up on that offer before [08:45:15] nikerabbit, did you have the Login rewrite stuff running on TWN? [08:45:26] *Splarka ignores you like a french waiter [08:46:54] hm, on the other hand, rel2abs could work... [08:47:05] nah, let's be easy about it >_> [08:49:40] Happy-melon: yes? [08:49:48] did it work? [08:50:34] Happy-melon: at which point? [08:50:50] at the point just before brion pulled the whole thing last night :( [08:50:57] said it showed passwords in plaintext!?!? [08:51:35] dunno, I didn't use it [08:52:04] he also said the sessions didn't attach and so you couldn't stay logged in [08:52:12] I'd have thought twn people would have noticed that... [08:52:24] basically I have no idea what he's talking about... :( [08:56:18] ask him then? [08:57:33] 03ialex * r56939 10/trunk/phase3/ (RELEASE-NOTES includes/EditPage.php skins/common/preview.js): [08:57:33] Fixes for live preview: [08:57:33] * (bug 3421) Live preview is now disabled on user CSS/JS subpages so that it doesn't break script/style previewing [08:57:33] * The "Live preview" button is now hidden by default rather than "Show preview", this will be switched by JavaScript to not confuse users with JavaScript disabled [08:57:34] * Pass wpEditToken, wpStarttime, wpEdittime in the request so that you don't get "Session lost" when $wgRawHtml is enabled [08:58:33] 03(FIXED) LivePreview breaks User CSS/JS previews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3421 +comment (10alex.emsenhuber) [08:59:35] Happy-melon: it didn't have type="password" on the for that last bit [09:00:07] nikerabbit: I will when he wakes up [09:00:38] splarka: say again? [09:00:44] where? [09:01:00] [21:55:35] wtf is the login page broken again? [09:01:01] [21:55:55] [09:01:01] [21:56:07] missing type attribute... and my session seems to be broken too [09:01:20] not having type="password" makes the password field show plain text when you type in it [09:01:26] instead of asterisks [09:01:42] that was last night? [09:01:53] http://toolserver.org/~amidaniel/chanlogs/%23mediawiki/20090925.txt [09:02:00] ta [09:02:14] wtf do I not get that on my checkout then...? [09:02:22] it was quite a while before he reverted it [09:02:29] dunno [09:03:00] *Splarka draws prospective face designs on happy-melon's outer skin in preparation for halloween ^_^ [09:03:38] I was installing Vista SP2... :( [09:03:58] I knew I had better things to do with my time than trying to security-patch windows :D [09:04:26] Is there any easy way to find out an edit's timestamp from an edit like this: http://en.wikipedia.org/w/index.php?title=User:Ikip&diff=prev&oldid=316273270 [09:04:39] i mean from a url like this [09:05:26] http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=timestamp&revids=316273270 [09:05:58] splarka, I think this [09:06:07] the oldid parameter references revision IDs which are sequential (typically) and unique on a given wiki, but contain no particular information [09:06:07] is the 4th time you answered my question [09:06:15] you are awesome [09:06:17] you ask easy questions [09:06:24] :) [09:06:45] thank you again [09:06:48] rar [09:06:56] until the next eazy question :) [09:15:42] 14(DUP) The file logo on a file description page for documents (PDFs) is not linking to the file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17875 +comment (10alex.emsenhuber) [09:15:46] 03(mod) Regression - fullImageLink on image page for pdfs links to the image page, not the file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11264 +comment (10alex.emsenhuber) [09:15:54] rum: Splarka is our little question answering boy >.> [09:16:16] don't feed him food, he might try escape for freedom again [09:22:57] 03catrope * r56940 10/trunk/phase3/includes/api/ApiEditPage.php: API: (bug 20816) Editing a page with &watchlist=preferences (default) unwatches it if you're watching it but don't have watching preferences set. This is a regression from r53266 [09:25:30] 03ialex * r56941 10/trunk/phase3/ (RELEASE-NOTES includes/ImagePage.php): * (bug 11264) The file logo on a file description page for documents (PDF, ...) now links to the file rather than the file description page [09:26:00] 03(FIXED) Editing a page with API removes page from watchlist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20816 +comment (10roan.kattouw) [09:26:55] 03(FIXED) Regression - fullImageLink on image page for pdfs links to the image page, not the file - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11264 +comment (10alex.emsenhuber) [09:30:59] 03(NEW) Autoresizing of link dialog doesn't work properly on Chrome - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20821 enhancement; Normal; MediaWiki extensions: UsabilityInitiative; (roan.kattouw) [09:48:09] 03siebrand * r56942 10/trunk/phase3/languages/messages/ (143 files): Partial revert of r56693 related to reverts in r56937: use old values for 'userlogin' [09:50:57] 03siebrand * r56943 10/trunk/phase3/languages/messages/ (50 files): Rebuild messages files to remove reverted addition of 'index-category' and 'noindex-category' in r56937 [09:51:56] siebrand: I have no idea why that __INDEX__ tracking was reverted [09:52:03] it's got nothing to do with the Login stuff [09:52:38] Happy-melon: well, I'm making things as consistent as possible again with the current code base, referencing the commits that did it. [09:53:22] I'm not saying don't do it, just don't burn it all :-D [09:53:24] Happy-melon: aside from that, I'm pretty annoyed with the login rewrite being of inferior quality according to brion, because it changed and reverted an over 250 times translated message twice. [09:53:50] :S [09:54:12] I just can't reproduce the issues he noticed [09:54:19] I'll have to grab him when he wakes up [09:54:40] Happy-melon: I recommend not committing it again before getting approval from Tim or Brion. [09:55:01] I guessed that might be a sensible approach :D [09:55:33] excellent [09:55:39] although like all branches, it'll just bitrot if it's not kept alive... :( [09:58:01] yep [09:58:21] Happy-melon: you can also choose to abandon it... [09:58:43] is that a hint? [09:58:47] why would I want to do that? [09:59:10] Happy-melon: not a hint, an option. There are always different ways to proceed. [10:00:46] 03(mod) Wikisource: IPs unable to flag articles as "proofread" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20812 summary; +comment (10thomasV1) [10:00:46] Happy-melon: You should at least be able to reproduce the password field not being a password field. Try toggling $wgHTML5 [10:02:56] RoanKattouw: nope [10:03:02] 03(mod) urls of the form wiki/article?curid=something should be indexable by robots on wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20818 +comment (10brian.mcneil) [10:03:18] maybe $wgWellFormedXML, or whatever it's called... [10:04:28] ah [10:04:36] it's $wgHtml5, not $wgHTML5 [10:04:39] and yes, got it now [10:06:15] that's an HTMLForm bug [10:11:11] 03siebrand * r56944 10/trunk/phase3/languages/messages/ (52 files): Partial revert of r56692 related to reverts in r56937: use old values for 'userlogin' [10:20:14] hi! Do you know an extension that highlights the heading you are going to? For example: If you klick on a link that links to "Page#1" you come to the heading that is named "1" (== 1 ==). And I'd like to color this heading you are going to. (Sorry for my English ;) ) [10:21:02] harmageddon: you can probably do that with CSS [10:21:03] :target in CSS [10:21:13] but I think the ID was moved to the H1 in 1.16 [10:21:46] 03(FIXED) Internal Links: Long page names are not displayed fully - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20606 +comment (10roan.kattouw) [10:22:08] is type="email" valid HTML4? [10:22:12] I don't think so...? [10:22:58] hmm, damn...

History

[10:23:48] 03happy-melon * r56945 10/branches/happy-melon/phase3/ (415 files in 36 dirs): Update branch to r56937 [10:24:41] Splarka: Yes, the headings' ID is always the name of the heading [10:26:11] Harmageddon: well the problem is, that is 1.16's format [10:26:42] in 1.15 it is:

History

[10:27:24] while the former can be easily colored with a simple CSS2 selector: mw-headline:target {} [10:27:49] the 1.15 version is more... annoying [10:28:02] though a simple a:target + h2 will work...ish [10:29:58] 03(NEW) Special:Listusers gives postgresql query error about ipblocks.ipb_deleted - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20822 major; Normal; MediaWiki: Special pages; (zbyszek) [10:31:24] splarka: how do you mean this? "#a:target {background-color:#00ffff;}"? [10:31:58] nein, #a would be [10:32:45] so .a:target? [10:34:00] no, that would be class="a" [10:35:24] *Alphos is playing with "white-space:pre;" lately :) [10:35:52] more extension matrix fun: http://www.mediawiki.org/wiki/User:Alterego/ExtensionMatrix [10:36:31] *Happy-melon is depressed by how many files are affected by svn:up from r56937 [10:38:13] Harmageddon: it would be something like: [10:38:18] :target + h1, :target + h2, :target + h3, :target + h4, :target + h5, :target + h6 {background-color:#ffff00 !important;} [10:38:24] but it doesn't seem to work for siblings in mozilla [10:38:57] it works [10:40:35] and it will break when you upgrade to 1.16 [10:40:53] :D [10:41:42] so you may want to put in some CSS in anticipation [10:41:46] h1 span:target, h2 span:target, h3 span:target, h4 span:target, h5 span:target, h6 span:target {background-color:#ffff00 !important;} [10:42:01] though this will have different behavior, it will not hilight the whole bar, but just the text [10:43:36] for reference: can be referenced as: a {} a.foo {} a#bar {} .foo {} #bar {} and in some browsers as a.foo#bar a#bar.foo etc [10:43:53] tag names get no prefix, classes get a dot, ids get an octothorpe (hash) [10:45:08] thanks a lot [10:48:59] *MaxSem pokes Siebrand or Nikerabbit [10:50:10] MaxSem: what? [10:50:36] I've been receiving wikimail spam from translatewiki suggesting to join an attack site [10:51:20] two different accounts - Ferrer and Участник Проектов [10:51:33] MaxSem: that's all Ferrer. [10:51:43] MaxSem: we're blocking on sight. [10:52:57] sigh [10:56:06] sibrand, Участник Проектов doesn't seem to be blocked yet [10:56:46] siebrand, ^^^ [10:57:27] MaxSem: why do you think so? [10:57:57] are queries done using wfGetDB( DB_SLAVE )->select automatically cached? [10:58:00] or his block is suppressed in the log? [10:58:12] MaxSem: that and more [10:58:24] cirwin: no [10:58:33] ok [10:58:38] RoanKattouw: thanks [11:15:15] 03siebrand * r56946 10/trunk/phase3/languages/messages/ (8 files): Changes related to reverts in r56937: use old values for 'userlogin' [11:20:37] 03happy-melon * r56947 10/trunk/phase3/ (RELEASE-NOTES includes/HTMLForm.php): Fix bug in HTMLForm where password fields only got the type="password" attribute if $wgHtml5 = true. Prompted by r56937. [11:23:20] 03catrope * r56948 10/trunk/extensions/UsabilityInitiative/EditToolbar/ (EditToolbar.js EditToolbar.php): [11:23:20] EditToolbar: (bug 20605) Also trigger Insert/Replace button when Enter key is [11:23:20] pressed on the dialog. This doesn't work in all browsers: Chrome, for one, [11:23:20] doesn't seem to catch keypress events at all when the dialog or one of its [11:23:20] non-form field children is selected. [11:25:29] 03(FIXED) Insert, Replace buttons shall be triggered when enter key is pressed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20605 +comment (10roan.kattouw) [11:29:53] Hi [11:30:08] hi [11:30:09] Is MediaWiki difficult to hack (and by that I don't mean like a modification) [11:30:20] I want to make sure the installations are secure [11:30:31] http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [11:30:41] Yiko: it's used on wikipedia [11:30:41] No, I meant not like a modification [11:30:43] :) [11:30:45] Oh you mean like insecurity [11:30:46] it's not easy to get into [11:30:51] SQL, right? [11:30:55] but you hvae to set it up right [11:31:01] Are the passwords hashed? [11:31:07] in SQL? [11:31:11] of course... [11:31:15] Most vulnerabilities found in the past were XSS or CSRF, no SQL injection issues [11:31:21] Yes, passwords are hashed [11:31:32] Ah. [11:31:38] and salted [11:31:41] And salted so you can't tell that two users have the same password [11:31:51] mmm salt [11:32:07] So you say there are issues [11:32:10] with cross scripting? [11:32:25] there were [11:32:31] they get patched quite quickly [11:32:57] if ya use 1.15.1 there are no known issues [11:33:08] *Brownout feeds Splarka with syntactic sugar [11:33:20] yay [11:33:24] I use 1.15.1 [11:33:38] But I administrate a wiki that's like 1.10 [11:33:55] theres still 1.2 versions in the wild [11:33:57] Yiko: To see how seriously we take security, read http://tstarling.com/ [11:34:11] p858snake_: There was someone in here with 1.1 like a month ago [11:34:21] He had trouble upgrading (surprise) [11:34:29] 1.10.what? [11:34:34] oh i think i was around for that [11:34:43] 1.10.4 was the latest 1.10 [11:35:13] Alright, thanks. [11:35:16] :D [11:35:18] And let me check. [11:35:20] it is no longer officially supported by now, but 1.10.4 had problems (bugs/vulnerabilities) fixed from 1.10.3 and earlier [11:35:45] I'd like to congratulate this community on being one of the nicest ever. [11:35:52] To help a /noob/ like me. [11:36:04] The version was 1.10.2 [11:36:22] you may wish to do a simple upgrade to 1.10.4 [11:36:25] And it's very popular, so if it got XSS hacked... [11:36:28] (and later consider upgrading to 1.15) [11:36:42] I talked to the founder, he won't do it [11:36:44] :P [11:36:52] Meh, not my problem if it gets hacked [11:36:59] I got my own installations to worry about ;) [11:37:08] there has been only one change to the 1.10 branch since 1.10.4, and it is a simple bug fix (not a vulnerability, so not worth 1.10.5) [11:37:36] http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_10/phase3/RELEASE-NOTES?view=co [11:37:45] Well he said that a lot of extensions get "screwed over" [11:38:01] I think he modified core mediawiki [11:38:01] 1.10.2 had a potential XSS for MSIE [11:38:20] Would an HTML add extension expose XSS [11:38:24] vulnerabilities [11:38:29] hell yes [11:38:36] if done improperly ^_^ [11:38:54] adding parser extension tags badly often leads to unsanitized output [11:39:06] [11:39:10] and most of the extensions are horroble [11:39:25] ask him what extenstions will get screwed over [11:40:54] 03(NEW) The wikisyntax for categories should display a link to category in the edit summary field without using the colon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20823 enhancement; Normal; MediaWiki: History/Diffs; (dejan.papez) [11:51:52] 03catrope * r56949 10/trunk/phase3/ (3 files in 3 dirs): Add a {{STYLEPATH}} magic word; necessary for upcoming EditToolbar fix [11:54:22] 03catrope * r56950 10/trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.i18n.php: [11:54:22] EditToolbar: Don't hardcode the style path as skins/ in [11:54:22] edittoolbar-help-content-file-result , use {{STYLEPATH}} instead. This caused [11:54:22] the magnifier icon in the file example to not display on Wikipedia (because the [11:54:22] stylepath is skins-1.5/ there). [12:04:54] Is anyone here familiar with Extension:Hidenamespace ? [12:05:34] why do you ask? (/me isn't) [12:06:16] I have installed it to use in my 1.14 MW, but it's spitting me out errors [12:06:34] which errors ? [12:07:49] well it gave me an internal error [12:07:53] and told me to add some syntax to the bottom of LocalSettings.php to debug it [12:07:58] I've done that [12:08:14] but i've no idea what any of it means anyway [12:08:26] or what to do about it [12:08:54] if you post the error messages to http://dpaste.org then maybe someone will be able to point you in the right direction [12:09:07] 04(REOPENED) Personal javascript preview not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20631 +comment (10heldergeovane) [12:10:23] thanks. can you please explain briefly what i need to do include [12:10:31] sorry for my newbness [12:10:47] well, the error message is a good starting point [12:11:03] i'm looking for an extension what prevents unregistered users to save edits with outgoing links...i'm sure there is anything like this out there, but i can't find it [12:11:34] !e ConfirmEdit | Widow [12:11:34] --mwbot-- Widow: http://www.mediawiki.org/wiki/Extension:ConfirmEdit [12:12:01] abusefilter can probably do that as well, but thats way over what you want [12:14:17] hm...it's a spam problem yes...but RoanKattouw_away - my spam bots _always_ add outgoing links - there is no need to annoy users without trying to save an outgoing link [12:14:36] Ok. Error message is here: http://dpaste.org/33ej/ [12:14:43] !spam | Widow [12:14:43] --mwbot-- Widow: For information about combating and handling spam in MediaWiki, see and . [12:15:11] And link to the extension is here: http://www.mediawiki.org/wiki/Extension:HideNamespace [12:17:04] I assume you downloaded all three files to the extensions/HideNamespace/ directory? [12:17:39] Yes. And the extension lists correctly in version [12:17:48] and using a file editor that doesn't do BOM marks to save them? [12:17:53] And the parser tags are all listed too [12:18:44] p858snake_ thank you...i was sure there is an extension what i've asked for but if not i have to use the "anti-spam-features" [12:18:49] +1 with p858snake_ [12:19:17] whare are you agreeing with Alphos? [12:19:19] The extensions I have that use .ie18n.magic.php also include that file from .i18n.php - could that be the problem? [12:19:24] the bom trouble [12:19:47] p858snake_ i'm not sure what BOM marks are ? [12:19:49] happens rather often when people have to copy/paste code rather than download the files [12:19:57] BradLee : byte order mark [12:19:58] !> [12:19:58] --mwbot-- I don't know anything about ">". You might try: !adminsettings !bizzwiki !blocking !centralauth !cms !csshideheader !displaytitle !dpl !dumphtml !feeds !hosting !imagemagic !interwiki !multiplewiki !passthru !rewriteproblems !smtp !sourceforge !translatewiki !webrequest [12:20:25] *cirwin hushes, he is wrong [12:20:36] How do I check this ? [12:20:40] basically something that fucks everything in your code, so that some people may tell good jokes about little-endians and big-endians :p [12:20:51] BradLee : notepad++ on windows ? [12:21:15] !bom [12:21:15] --mwbot-- The byte-order mark (BOM) is a special character added to files by some text editors, most notably, by Notepad. It is unnecessary and breaks PHP code. You should not use Notepad to edit PHP files. Alternatives for Windows include Notepad++, SciTE, EditPlus, and UltraEdit. See also !?> [12:21:38] i'm on win 7, used notepad. or wordpad perhaps ? [12:21:46] . [12:22:43] if the BOM affected it though, wouldn't the version screen fail to list the parsers properly ? [12:22:59] BradLee : try and download notepad++ (which is not the same thing than notepad/wordpad) [12:23:13] and no, not especially [12:23:54] ok will try that [12:26:00] BradLee : when you have notepad++, you should see an "encoding" menu [12:26:47] use "Convert to UTF8 (without BOM)" or something like that [12:27:08] (convert, not encode, which doesn't actually alter the file) [12:27:43] ok. am still DL/installing it, but will give that a go once i have it. ;) [12:29:20] ah crumbs. looks like i broke my bw for the month [12:29:33] is coming down at 232 bytes :P [12:30:13] at this rate will take 55mins for 3.2MB [12:35:22] will try it out and get back to you if that doesn't fix it. [12:35:26] thanks guys [12:47:54] 03conrad * r56951 10/trunk/extensions/Transliterator/Transliterator.php: [12:47:54] Use Sanitizer::decodeCharReferences instead of html_entitiy_decoe [12:47:54] -trailing white space [13:03:05] 03(mod) Wikisource: IPs unable to flag articles as "proofread" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20812 (10joergens.mic) [13:18:03] 03(FIXED) Personal javascript preview not working - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20631 +comment (10roan.kattouw) [13:19:08] Hi! Does anybody knows what is the meaning of the following error? http://dpaste.org/BMiP/ [13:20:20] I was trying to move a page with 7 subpages to a new name then I got that error... [13:34:13] was just fixed I believe [13:34:24] needs syncing though [13:40:11] hmm [13:43:54] 03(NEW) Add link to list of hidden categories to label - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20824 enhancement; Normal; MediaWiki: Categories; (bugzilla.wikimedia) [13:53:10] Hi; I want to manually create table "mw_watchlist" in MySQL... how should I populate it/what to insert? [13:53:33] sas: you don't have to populate it [13:53:37] it is entirely used-submitted data [13:53:42] (once they hit 'watch' button) [13:54:24] Sas: For the table structure, see http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/maintenance/tables.sql?view=markup [14:37:38] 03btongminh * r56952 10/branches/NssMySQLAuth-rewrite/NssMySQLAuth/AccountManager/ (NssUser.php SpecialAccountManager.php): Fix account creations. [14:41:56] I'm trying to reinstall with a restored sql dump, and this displays: "Query "ALTER TABLE `mw_watchlist` ADD (wl_notificationtimestamp varbinary(14)) " failed with error code "Table 'foo_bar.mw_watchlist' doesn't exist (localhost)"." Should I manually create table mw_watchlist? [14:59:24] csa: Look up the definition of the watchlist table in tables.sql (I gave you a link earlier) and copypaste it into MySQL [14:59:38] This means the CREATE TABLE statement and any subsequent CREATE INDEX statements [15:14:44] 03(mod) Add link to user contributions to list entries in Special:ActiveUsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20794 (10bugzilla.wikimedia) [15:23:58] RoanKattouw_away: Add or omit mw_ (since this prefix is used) after "CREATE UNIQUE INDEX" and "CREATE INDEX", or only after "CREATE TABLE"? [15:31:40] Sas: Change 'watchlist' to 'mw_watchlist' everywhere [15:33:30] 03(mod) CentralAuth global session doesn't include incubator - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14407 +comment (10catlow) [16:01:57] Hi, is it a known "feature" that {{PAGENAME}} HTML encodes apostrophes? [16:08:12] 03(NEW) EasyTimeline does not support Chinese chars - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20825 major; Normal; MediaWiki extensions: EasyTimeline; (xu.jimmy.wrk) [16:11:23] is it possible to collapse lengthy content in a table using something similiar to javascript:toggleToc() ? If yes, How would I go about doing so? [16:12:23] Kunda: very much so, you could look at the javascript on Wikipedia for how to do it [16:13:29] cirwin, thanks, where can I find a good example of it? [16:14:15] http://en.wikipedia.org/wiki/MediaWiki:Common.js [16:14:22] look for Collapsible tables [16:14:34] awesome mate, thanks, I'll read up on it [16:45:50] 03(NEW) Urls from files containing "?" are not correctly escaped - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20826 normal; Normal; MediaWiki extensions: DumpHTML; (emmanuel) [16:46:01] 03(mod) Wikisource: IPs unable to flag articles as "proofread" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20812 (10cecilatwp) [16:47:44] 03(NEW) Unicode breaks Query Processor - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20827 normal; Normal; MediaWiki extensions: Semantic MediaWiki; (mrandmrsmurphy) [16:52:53] is javascript enabled by default in these current releases of mediawiki? [16:53:20] Where is the text of an output page stored? The sql database? [16:56:17] Sas: ?? [16:56:21] what do you mean by "output page" [17:10:50] domas: for example, at http://en.wikipedia.org/wiki/Foobar, you'll see "The terms foobar, foo, bar, and baz, are common placeholder names"... [17:11:06] yea? [17:11:21] Where is that text actually stored? [17:11:38] in separate mysql instance [17:12:16] wondering if it's possible to retrieve that from a dump, just the text of pages [17:12:31] !dump [17:12:31] --mwbot-- For information on how to get dumps from Wikimedia Wikis, see http://meta.wikimedia.org/wiki/Data_dumps [17:13:10] sql dump [17:13:18] text table [17:13:24] in default mediawiki installs it is in text table [17:13:29] ah [17:13:30] though, usually compressed [17:13:46] you have to join page->revision->text to grab that text [17:13:52] for specific article [17:15:52] Sas: incidentally, your problem is that you still need to run the update script. [17:18:47] 03(NEW) CSS with external links does not work well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20828 normal; Normal; MediaWiki extensions: DumpHTML; (emmanuel) [17:20:36] Hello, everybody! Do you know why, trying to edit a page, this shows an error 500 (only a page, not the other ones)? [17:20:42] on my wiki [17:20:50] 03(mod) CSS with external links does not work well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20828 (10emmanuel) [17:21:08] Emufarmers: update script? [17:22:17] Sas: maintenance/update.php , you have to run that from the command line after installing extensions or upgrading [17:22:29] !update.php [17:22:29] --mwbot-- I don't know anything about "update.php". [17:23:34] !update.php is update.php is a script that updates the database tables. You usually need to run it after upgrading MediaWiki or installing certain extensions. For details, see [17:23:34] --mwbot-- Successfully added keyword: update.php [17:23:47] !update alias update.php [17:23:47] --mwbot-- Successfully added alias: update [17:24:39] the same after a sql database restore? [17:25:29] Since you're probably not using the same version of MediaWiki, yes. [17:27:39] 03rotem * r56953 10/trunk/phase3/languages/messages/MessagesHe.php: Localization update. [17:28:23] RoanKattouw_away: you don't do enough third-party support. ^_^ [17:34:52] 03aaron * r56954 10/trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php: (bug 20813) Added ability to use FlaggedRevs-stable-categories (Asterisk separated list) to force certain categories to be stable. [17:36:11] 03(FIXED) Make categories take flagged revs into account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20813 +comment (10JSchulz_4587) [17:45:42] Is anyone here an expert on templates? I want to use an info box template on another external wiki [17:46:03] *domas shudders [17:47:32] whats the #if: template? [17:53:15] ! parserfunctions [17:53:49] http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions [17:55:48] I have installed parserfunctions, but it still wont work? [17:57:22] Special:Version says "Extensions:ParserFunctions (version 1.3.0)" [17:59:01] what doesn't work about it? [17:59:17] HEY [18:01:18] when I load the page I get loads of "{{#if: | }}" as the output [18:01:22] :s [18:02:21] kutje [18:03:48] Neonexus, do you see hooks like if, ifeq or iferror in "Parser function hooks" section of Special:Version? [18:03:49] hey adriaan :D [18:03:52] func prog al af? :d [18:03:55] kankersukkel [18:04:25] geen commentaar [18:05:01] sterf [18:05:15] :S:S [18:05:24] neonexus what line [18:05:31] MaxSem: nope [18:05:50] then something's wrong [18:05:56] i willh elp everybody [18:06:04] *adriaanm helps [18:06:07] what [18:06:15] jean_pierre: I dont understand your question? [18:06:35] what line is it in the source code [18:06:41] !botnoob | cirwin [18:06:41] --mwbot-- cirwin: I don't know anything about "botnoob". [18:06:44] o: [18:06:49] Who deleted it??????? [18:06:54] did you copy all the files? do you see warnings or notices in php log? are you sure that you did everything right in LocalSettings.php? [18:06:56] jean_pierre did [18:06:58] :S [18:07:01] :S [18:07:03] Natalie: what did it say? [18:07:15] [19:57:31] oh i am so gay [18:07:16] wtf :S [18:07:20] :S:S [18:08:05] !botnoob is 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. [18:08:05] --mwbot-- Successfully added keyword: botnoob [18:08:28] Natalie: it says it knows about parserfunctions :p [18:08:38] !jean_pierre is the biggest faggot known to history. He always wears clothes he finds on the street and never showers. Faggot. [18:08:38] --mwbot-- You don't have permission to do that. [18:08:41] cirwin: Yeah, no space. [18:08:42] fuck [18:08:43] FUUUUUUUUUUUUUUU [18:08:49] adriaanm: Behave, please. [18:08:54] wat [18:09:02] !parserfunctions | cirwin [18:09:02] --mwbot-- cirwin: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [18:09:05] beh ave?? :S [18:09:11] wat is tta [18:10:25] natalie i have never seen you here before [18:10:35] Okay.] [18:10:38] -] [18:10:41] so what music do you listen to [18:10:48] i listen to jonas broters all the time [18:10:50] theyre soooooooooo cool [18:10:52] hihihihi [18:11:08] this isn't a music channel, this is a channel about MediaWiki so keep it on-topic please [18:11:28] oh maaaaaaaaaaaaaaaaaaan [18:11:29] negative [18:11:52] this will keep him silent [18:12:10] HEEEEEEEEEEY!! [18:12:34] oh [18:12:35] :s [18:12:37] another one [18:12:52] do it faggot [18:12:52] do it [18:13:15] damn [18:13:39] +b works in different way in freenode [18:14:11] and they don't even have /kb! [18:14:41] it's a client side command [18:15:34] well, usually +b silences too [18:15:36] *Sas can't help laughing, that was so ridiculous [18:15:41] meh [18:15:56] domas: that's the way it works on freenode too [18:16:26] so how could they talk after +b? [18:16:30] they didn't [18:16:31] *MaxSem wonders what should !behave say [18:16:38] aaaaah [18:16:44] ops see messages of banned users [18:16:45] :) [18:16:54] ah, this channel is +z [18:17:02] not anymore [18:17:35] domas: I just realized these trolls are guys I know from uni *sigh* [18:18:37] so you can break their fingers [18:18:52] Yup [18:19:44] 03(mod) The wikisyntax for categories should display a link to category in the edit summary field without using the colon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20823 +comment (10alex.emsenhuber) [18:20:40] Let's say I upload an images directory, using pathnames from a previous installation. Can't those pathnames be incorporated into the current database so the current install recognizes them? [18:21:07] Tried running various image commands, but no go [18:21:17] and updated [18:25:19] once I asked here if it's ok to use
on wiki pages. Someobody answered sth like: "Yes,
will be 'parsed' (or changed by the wiki markup) to
". But when I check the source code of an article using
it still is
instead of
which would be correct for xhtml. So change everything to
instead?? [18:26:04] Could be Tidy related? [18:26:46] if in doubt, assume it's Tidy :D [18:26:49] What weights more? correct xhtml with
or a more user friendly
? And actually
is not totally wrong cos it's tolerated by all browsers [18:27:06] Fuck XHTML. :-) [18:27:47] I'd liek to but I've just finished a book about professional XHTML some weeks ago. :) [18:28:18] btw, when will wp set $wgHtml5 = true? [18:28:44] MaxSem: Is there a bug filed for it? [18:30:08] should it be? is HTML5 support ready to rumble? [18:31:59] You can always a bug to track progress. [18:32:02] +file [18:33:46] Natalie: Oha! Will read related pages in the net days :) [18:35:47] higam [18:40:01] i'm trying to get a new Special menu in the Vector skin. i'm using p-cactions, vectorMenu and menu but it isn't working out right - the rendering is super glitchy [18:40:05] example code: http://dpaste.org/07DC/ [18:40:07] any vector gurus? [18:40:58] basically, the menu it creates competes for screen real estate with the standard actions guy and they spasmatically flip back and forth between being expanded/collapsed [18:41:27] hello. I want to change link on 'Upload file' of menu from 'Special:Upload' to 'Bla:Blabla'. Where is it changed? :( [18:42:03] Grep DefaultSettings.php? [18:42:40] !defaultsettings [18:42:40] --mwbot-- For the current version of DefaultSettings.php, see: . [18:43:41] $wgUploadNavigationUrl [18:43:44] I think that's the one you want. [18:45:36] 03(mod) Make categories take flagged revs into account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20813 (10bawolff+wn) [18:45:56] nice, thank you :) [18:49:46] MaxSem: are you still there? [18:52:05] 03aaron * r56955 10/trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php: trim category input [18:54:45] Hello, everybody! Do you know why, trying to edit a page on my personal wiki, this page shows an error 500 (only this page, not the other ones)? [18:54:45] 03(mod) Make categories take flagged revs into account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20813 (10JSchulz_4587) [19:09:07] 03siebrand * r56956 10/trunk/ (3 files in 3 dirs): [19:09:07] Add optional separate date and time parameters for 'perfcachedts' in query pages [19:09:07] * update use in FlaggedRevs [19:09:07] * update check blacklist in Translate [19:10:40] Neonexus, sort of. probably, you have a version of ParserFunctions not suitable for your version of MediaWiki [19:11:10] 03midom * r56957 10/trunk/debs/libapache2-mod-dumpcore/ (10 files in 2 dirs): Hiiiii! [19:13:29] what a useful commit comment :) [19:15:46] yup! [19:17:20] 14(DUP) DPL failing on addfirstcategorydate=true - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20243 +comment (10bawolff+wn) [19:17:23] 03(mod) Make categories take flagged revs into account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20813 +comment (10bawolff+wn) [19:18:07] prefrontal_: Ask TrevorParscal after the weekend, he's the guy that wrote Vector [19:18:52] RoanKattouw_away, i got it workin :-) i copied all the code in the skin that generates an
  • and put them all under the dropdown/popup arrow guy [19:18:59] well, so far it only works in firefox.wtf! [19:19:28] DAMN MEDIAWIKI PEOPLE MAKE CODE THAT CRASHES [19:20:06] :) [19:20:26] I got to build apache modules [19:20:31] ergh [19:20:33] write apache modules [19:20:36] lol, sometimes i feel like i spend half my life filing crash bugs.. i've only had mediawiki generate a segfault a handful of times though [19:20:41] to find your errors! [19:21:58] fyi i did a bunch more work on the extension matrix last night. i think i will do categories, and then spruce up the css (now using deusentrieb's old css) and then call it good: http://www.mediawiki.org/wiki/User:Alterego/ExtensionMatrix [19:22:03] prefrontal: try installing xcache, then running 'ab' against mediawiki [19:22:18] prefrontal: few seconds, and you'll enjoy cache corruption and plentiful of segfaults [19:23:59] can anyone help me, Im trying to install ParserFunctions on MediaWiki 1.6.12, when I do install as per instuctions my wiki goes blank (blank page) [19:24:36] uh, 1.6???! [19:24:44] !update [19:24:44] --mwbot-- update.php is a script that updates the database tables. You usually need to run it after upgrading MediaWiki or installing certain extensions. For details, see [19:24:50] Neonexus: are you using 1.6 because you still must use PHP4, or why!? [19:24:55] mehhh [19:25:35] Neonexus: http://www.mediawiki.org/wiki/Version_lifecycle [19:26:32] who was whining most about me dropping php4 support? :) [19:26:40] wasn't prefrontal part of the whiner-army back then?!!? [19:26:53] *domas giggles [19:27:22] yeah, my host still on php4 [19:27:50] no definitely not lol [19:28:18] Neonexus: change hosting party. Run! Run! :) [19:28:50] Neonexus: they're forcing you to run an over 3 year old MediaWiki. [19:29:07] php4 is outta support for a year [19:29:15] what's up [19:30:13] I dunno [19:30:17] ooooooh [19:30:20] it was Jeff Merkey [19:30:24] my host say they are running php5 [19:30:25] damn I miss that guy [19:30:49] but when I try to install the recent stable wiki is wont install [19:30:50] http://thread.gmane.org/gmane.org.wikimedia.foundation/8486 [19:30:51] :) [19:30:59] your Special:Version should say it's php5 [19:31:18] or does it require .php5 extension? [19:31:38] LOL it dont say anything, the whole wiki is broken now! [19:32:03] rip [19:42:50] can individual pages be protected for viewing and editing for only certain users? [19:43:48] !access [19:43:48] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [19:45:11] i'm going to be using Cite.php repetitively with a known/common set of annotations, so I've created a Template:Ref which does something like {{{1}}} {{{2}}}. However, it doesn't look like the parameters are working inside the tag - they do work outside of it though. Do I have a chicken/egg problem somewhere? [19:46:20] oh, wait, hrm. i see something about templates in http://www.mediawiki.org/wiki/Extension:Cite/Cite.php#Usage [19:46:52] hrm. [19:47:22] am i to believe that {{{1}}} should work in my version of MediaWiki (newer than 1.12) or that i MUST use #tag:ref? [19:49:59] hrm. well, it does work with #tag:ref, so i'll mess with that. [19:50:05] i want to get DPL in here too, which should be more chaotic [20:14:03] domas: http://www.roadsend.com/home/index.php?pageID=benchmarks :) [20:14:58] I wonder if the control group was APC cached or whatever [20:15:05] otherwise it doesn't matter [20:17:01] Nice nick, eh? [20:17:50] aaron: nah, APC wouldn't help much in such test [20:17:59] aaron: and yes, it is possible to make better VM than PHP's, because PHP sucks [20:18:05] but PHP5 is better than PHP4 [20:18:07] !update [20:18:07] --mwbot-- update.php is a script that updates the database tables. You usually need to run it after upgrading MediaWiki or installing certain extensions. For details, see [20:20:08] DOM gurus: I am using innertext and/or innerhtml properties to retrieve a &#xxxx; littered sting. Doing this causes a string such as Ewa Kamińska-Eichler to becomes Ewa Kaminska-Eichler. I want to retain the markup. Is there a DOM property that returns the raw contents between the tags? Please advise. TIA. [20:20:28] !namespaces [20:20:28] --mwbot-- See http://www.mediawiki.org/wiki/Help:Namespaces for user help and documentation, and http://www.mediawiki.org/wiki/Manual:Namespace for administration. For adding namespaces, see !extranamespace [20:20:35] !extranamespace [20:20:35] --mwbot-- To add a namespace, modify your LocalSettings.php file, and add namespaces via $wgExtraNamespaces. A comprehensive set of instructions for adding a namespace can be found at . $wgExtraNamespaces can also be used to rename the default namespaces. [20:22:11] I'm tempted to test [20:23:14] man the APC docs are teh suck [20:25:45] http://pecl.php.net/bugs/bug.php?id=15905&edit=1 [20:25:47] lol [20:32:29] 03(NEW) Unordered list after
    ed heading contains additional
  • s - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20829 normal; Normal; MediaWiki: Page rendering; (gsvick) [20:56:37] vector pwnd! i actually had to learn some php :-) http://grey.colorado.edu/emergent/index.php/Vector_skin_modifications [20:57:01] mediawiki has become surprisingly python friendly, what with mwclient/mwlib [20:57:28] <[[sroracle]]> Oh really? [20:57:40] <[[sroracle]]> I didn't know that. Awesome. [20:57:45] <[[sroracle]]> Link me please? [20:58:13] https://mwclient.svn.sourceforge.net/svnroot/mwclient/trunk/mwclient/ http://code.pediapress.com/wiki/wiki/mwlib [20:58:21] both of them are undocumented, but written very well [20:58:31] <[[sroracle]]> Excellent, thanks :) [20:58:44] mwlib is awesome, it's a wikitext parser. i use it to parse out recursive templates and then walk the template tree [20:58:55] <[[sroracle]]> Ah. [20:58:55] but you gotta walk the code manually for docs [21:00:10] Hi [21:00:35] Does anyone know what this error means?: "The upload directory (public) is not writable by the webserver. " [21:00:39] yes [21:00:47] the webserver cant write to the upload directory [21:01:02] It's on a IRC networks wiki [21:01:02] it doesnt have the correct permissions [21:01:09] and the owner doesn't know what's the problem [21:01:10] hmm [21:01:30] check the user the web server is running at [21:01:33] 8as [21:01:34] *as [21:01:37] and the groups its in [21:01:46] and compare to the file permissions of the wiki [21:04:30] !uploads [21:04:30] --mwbot-- File uploads are an often-used feature of MediaWiki, but are disabled by default in all current release versions. To enable them, first make the upload directory (default images) writable by PHP, then set $wgEnableUploads to true in LocalSettings.php (i.e. "$wgEnableUploads = true;"). See for more info. [21:04:32] The owner asked me to ask where the public directory is in relation to the wiki root [21:04:53] Hi, is it a known "feature" that {{PAGENAME}} HTML encodes apostrophes? [21:05:01] cirwin: http://www.mediawiki.org/wiki/Special:ExpandTemplates?contexttitle=%26%22%27&input=*%7B%7BPAGENAME%7D%7D%0D%0A*%7B%7B%23ifeq%3A%7B%7BPAGENAME%7D%7D%7C%26%22%27%7Cyes%7Cno%7D%7D%0D%0A*%7B%7B%23ifeq%3A%7B%7BPAGENAME%7D%7D%7C%26am%7B%7Bns%3A0%7D%7Dp%3B%26quot%3B%26%2339%3B%7Cyes%7Cno%7D%7D&removecomments=1&generate_xml=1 [21:05:40] (the ns:0 is because & isn't allowed in WMF URLs) [21:09:35] also see https://bugzilla.wikimedia.org/show_bug.cgi?id=16474 "{{FILEPATH:{{PAGENAME}} }} doesn't work for filenames containing characters that get escaped to HTML entities" [21:10:26] It's been fixed now [21:10:31] @ Reedy [21:15:42] . o O (if Reedy becomes gansta, do we call him G-Reedy?) [21:22:37] how to set MW smtp settings ? [21:22:42] !smtp [21:22:42] --mwbot-- See for information about configuring MediaWiki to use SMTP for sending mails, instead of using the sendmail interface. [21:25:09] anybody here uses LiquidThreads ? any alternatives since it doesn't get installed on my site [21:28:10] : [21:28:11] :: [21:28:24] werda is still doing massive development on it afaik [21:29:57] reedy: ok any alternatives until LD is ready ? [21:30:13] *Reedy shrugs [21:30:49] 03aaron * r56958 10/trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php: Added missing totalcheckededits check [21:32:17] 03aaron * r56959 10/trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php: isset() check useless here [21:35:47] 03aaron * r56960 10/branches/wmf-deployment/extensions/FlaggedRevs/FlaggedRevs.hooks.php: merged r56958, r56959 [21:40:01] is there an extension to categorize without having to type [[category:name]]? [21:44:28] TodWulff: "Is there a DOM property that returns the raw contents between the tags?", nope [21:44:49] Thank you! [21:44:56] (ugh) ;) [21:45:25] .innerHTML, .textContent and .nodeValue normalize and then re-escape [21:45:45] so <>&'" are entities, and everything else is literal [21:45:57] TodWulff: do you just need high-bit things converted to entities? [21:46:15] yeah, I have been scouring MSDN for a solution. [21:46:17] yes. [21:46:37] TodWulff: there are things you can do, heh... if you need the absolute literal of the page then you can send an ajax fetch to get the text representation of a page, but this is very messy [21:46:46] if you just need ascii-safe encoding, you can do it yourself [21:47:15] Yes, I am manually parsing the page now... [21:48:43] var esctext = ''; for(var i=0;i er, well, you get the idea [21:49:11] lemme make that a function [21:50:07] I'm editing an extension , how to check whether a page is member of specific category ? [21:50:45] Extension:DynamicPageLIst [21:52:25] TodWulff: http://p.defau.lt/?TXnp_E943zfLGHWCi45o_g [21:52:57] that should do what you want,... entity('some random crap') will just encode non-ascii, entity('some random crap',true) should do it all [21:52:57] tyvm! [21:53:08] lol [21:53:12] 10-4 [21:53:30] you're welcome! random javascript user [21:56:26] Actually not JS, but the code is easily ported to my dev enviroment.... ;) [21:58:47] in coding extensions, how to check whether a page is using specific template ? [22:00:13] Amgine: I browsed that extension , too many lines of code , I have to find more optimum way , I want to distinguish specific group of pages ( except using namespace ) [22:01:00] dira, one of the tables probably records that sort of information [22:01:24] isn't it hard-coded in content of page? [22:01:26] Try the code at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/intersection/DynamicPageList.php?view=log [22:01:58] Oh, wait, you're talking about a template... [22:02:11] That's a "what links here" type. [22:02:30] 03aaron * r56961 10/trunk/extensions/FlaggedRevs/maintenance/updateAutoPromote.inc: tweak $batchSize [22:02:39] Yeah [22:02:46] the api could work ) [22:02:54] [22:03:15] [22:03:41] Amgine , firstly I asked about categories and now about templates , and yes I saw that "dynamicpagelist" code , that was complex (computation time ) code I was talking about [22:04:13] Amgine : '"what links here" type' ? [22:04:18] dira: you want the list of categories/templates of the textarea text when previewing, or of the static page when editing? [22:04:25] Special:WhatLinksHere [22:06:47] Splarka: I'm editing http://www.mediawiki.org/wiki/Extension:DynamicTabs code and I want to customize it to add custom-tabs only to specific group of pages so categories or templates might help me distinguish them [22:07:15] ahh [22:07:26] ehm... [22:08:02] Amgine: whatlinkshere , hmmm , how can it be of help ? [22:08:42] well, when parsing a page, the categories and templates are available: http://en.wikipedia.org/w/api.php?action=parse&page=Foobar (see the bottom) [22:08:43] [[special:WhatLinksHere/Template:Whatever]] [22:10:48] thanks , lets me begin my first experience in developing MW extensions [22:13:53] 03(mod) Unordered list after
    ed heading contains additional
  • s - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20829 +comment (10ed.palmer) [22:16:31] Splarka: thanks, I got round it by just calling {{PAGENAME:{{{2}}}}} through {{PAGENAME:{{{11}}}}} :p [22:21:07] cirwin: ew [22:21:47] I want to do "if {{PAGENAME}} is one of the parameters, don't show this list of words" [22:27:11] right, you can just have the entities in place, so {{#ifeq:foo&bar|{{PAGENAME}}... you just say {{#ifeq:foo&bar|{{PAGENAME}}... [22:27:44] this isn't actually a bug, but can be annoying to people unused to html entities [22:27:50] http://en.wiktionary.org/w/index.php?title=Template:anagrams&action=edit [22:28:30] *cirwin prefers to hide yucky details from users [22:28:38] and then, when they fix it, it's only one template to edit :p [22:34:09] 03(NEW) Put in Google Chrome Frame tags - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20830 enhancement; Normal; MediaWiki: Page rendering; (techman224) [22:43:50] Splarka: in what global variable I can find that parsed content ? [22:44:56] dira: no idea, php guts [22:45:15] but the category links and template links are properties every parsed page should have... eh, or something [22:49:59] where can I get list of global variables for hooks , like $wgUser, $wgTitle, $wgCanonicalNamespaceNames, $wgScriptPath ? [22:50:59] after running update.php i'm getting this on recentchanges "SpecialRecentChanges::doMainQuery". MySQL returned error "1146: Table 'wiki.tag_summary' doesn't exist (localhost)". [22:52:00] also happens on viewing a category [22:56:24] nm, i just created the tables by hand [22:56:51] looks like none of the sql changes have been applied [23:12:01] 03siebrand * r56962 10/trunk/phase3/ (8 files in 6 dirs): [23:12:01] New permission 'sendemail' added. Default right for all registered users. Can for example be used to prevent new accounts from sending spam. [23:12:01] * hide some user settings if user is not allowed to send e-mail, but can receive e-mail [23:12:01] * update API 'cannot send e-mail' message [23:12:01] * FIXME: gives 'mailnologin'/'mailnologintext' as error. Error handling should be made more fine grained [23:12:27] hello splarka [23:12:30] hello all [23:12:42] I have a question, I am using urlencode [23:12:59] and it messes up several unicode words in the url [23:13:11] for example, Ve(ra Soukupov� [23:13:45] becomes: http://news.google.com/archivesearch?q=%22V%25C4%259Bra+Soukupov%25C3%25A1%22 [23:14:10] how do i make it http://news.google.com/archivesearch?q="Ve(ra+Soukupov�" [23:14:47] the e is actually an e with a line above it, but irc does not recognize this character either [23:14:59] hmm, that's double encoding it [23:15:37] hmm, it also seems corrupted [23:19:41] well, no, that is the right encoding, just double encoded: http://en.wikipedia.org/wiki/V%C4%9Bra_Soukupov%C3%A1 [23:20:02] just a second. I think we had a breakthrough [23:20:06] thanks splarka [23:20:24] rar [23:20:36] urlencode on that page title gives V%C4%9Bra+Soukupov%C3%A1 [23:21:22] it is in quotes [23:21:33] the quotes aren't the problem [23:21:38] because i want it to search for that exact term [23:21:42] yeah. sigh [23:21:52] my friend is working on it [23:21:56] right now [23:22:03] http://en.wikipedia.org/wiki/Special:ExpandTemplates?contexttitle=&input=%7B%7Burlencode%3A%22V%C4%9Bra+Soukupov%C3%A1%22%7D%7D&removecomments=1 [23:22:11] does this work for you? [23:23:11] that is a cool little page [23:25:08] i will get bakc with you thanks again! [23:26:07] mIRC master :P [23:33:12] Hmm: PHP Warning: Missing argument 1 for User::addNewUserLogEntry(), called in /var/www/w/includes/specials/SpecialUserlogin.php on line 196 and defined in /var/www/w/includes/User.php on line 3498 [23:33:42] Was brion's revert incomplete? [23:33:58] might have missed something [23:34:02] there was a lot of crap in there :( [23:34:19] brion: ah, you're still here :) [23:34:24] brion: that was r 56696 [23:36:00] brion: hmm, doesn't have a default: [23:36:07] public function addNewUserLogEntry( $creator, $byEmail = false ) { [23:36:17] $wgUser->addNewUserLogEntry(); [23:36:35] :( [23:36:53] brion: fixme or revert? [23:38:19] brion: http://pywiki.pastey.net/125791 for hits in current codebase. [23:47:53] 03siebrand * r56963 10/trunk/ (2 files in 2 dirs): [23:47:53] Revert r56696. Even though mentioned in r56937 ("Revert broken rewrite of login system"), this revision appears to have been missed. [23:47:53] * leaving the code style changes in User.php in. [23:51:46] 03siebrand * r56964 10/trunk/phase3/includes/User.php: Fix oversight in r56963: remove $creator [23:53:52] 03(NEW) Non-ascii characters in article titles messed up on upgrade from 1.11 to 1.15.1 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=20831 major; Normal; MediaWiki: Database; (a.s.lovlie)