[00:04:23] 04(REOPENED) Half-stylesheet solution botches 'Other special pages' at the bottom of Special:SpecialPages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17974 summary; +comment (10jidanni) [00:07:23] Hi all. I'm looking for a way to sumbit articles from the shell. Is there a MW extension to facilitate this? [00:08:43] 03(mod) Watchlist-like functionality - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18155 +comment (10Wiki.Melancholie) [00:08:54] I'm also looking on methods to upload files via the shell, as well. [00:10:23] 14(WFM) Watchlist-like functionality for Bugzilla - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18155 summary (10Wiki.Melancholie) [00:18:25] 03(mod) Half-stylesheet solution botches 'Other special pages' at the bottom of Special:SpecialPages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17974 (10jidanni) [00:23:32] 03(NEW) Importing a page shouldn't attribute the edits to local usernames - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18163 enhancement; Normal; MediaWiki: Export/Import; (brianna.laugher) [00:26:06] AaronSchulz: you around? [00:28:40] 03(mod) Imported edits do not appear in some counts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15310 +comment (10brianna.laugher) [00:34:36] 03(NEW) Search URLs became a mess - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18164 enhancement; Normal; MediaWiki: Search; (Wiki.Melancholie) [00:35:16] 03(mod) Search URLs became a mess - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18164 +easy (10Wiki.Melancholie) [00:37:50] hello AaronSchulz [00:40:22] does he have a phone number or something? [00:42:06] 03(mod) Search URLs became a mess - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18164 (10Wiki.Melancholie) [00:45:41] TimStarling: probably, I think I remember seeing his details on officewiki when somebody near me was looking at that list. [00:46:17] NightMonkey, maintenance/importDump.php or some bot, like pywikipediabot [00:46:28] I think someone has also been able to do it using curl command line [00:50:35] 03(mod) Search URLs became a mess - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18164 (10Wiki.Melancholie) [00:51:28] Can anyone help me with HTMLdoc install ? [00:51:39] so that it works with the mediawiki [00:53:44] Platonides: Thanks. I'll check it out. [00:54:04] :) [00:55:02] Okay, since when are removed lines in CodeReview actually crossed out? [00:55:06] Because that's pretty unreadable. [00:55:51] *Simetrical blames [00:57:34] since scap? [00:57:40] *Splarka grins [00:57:55] it was also annoying that the first column of checkboxes disappeared and killed scapmap [00:58:43] That's what happens with screen-scraping JS hacks, eh? [00:59:41] tshh! [00:59:56] guess I coulda used the api.... [01:00:38] 03(mod) Search URLs became a mess - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18164 (10Wiki.Melancholie) [01:01:52] 03(ASSIGNED) Creation of new mailing list for handling eswiki oversight requests - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18117 +comment (10cbass) [01:02:24] 03(ASSIGNED) Please create a mailing list for Wikimedia Hong Kong - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18159 (10cbass) [01:02:31] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48187 [01:02:44] AaronSchulz_ of course [01:04:20] 14(DUP) Importing a page shouldn't attribute the edits to local usernames - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18163 +comment (10mikelifeguard) [01:04:24] 03(RESOLVED) Imported edits can be incorrectly attributed to whoever creates that account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13798 +comment (10mikelifeguard) [01:04:34] http://www.mediawiki.org/wiki/User:Simetrical/monobook.js?action=edit -> body .mw-codereview-diff del {text-decoration: none;} [01:05:09] Splarka, pfft, if I wanted to I could just edit MediaWiki:Common.css. [01:05:11] er .css [01:05:13] And I think you meant monobook.css. [01:05:18] 04(REOPENED) Imported edits can be incorrectly attributed to whoever creates that account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13798 +comment (10mikelifeguard) [01:05:27] well, that'd be silly [01:05:48] Yeah, since it's only used on mediawiki.org anyway, may as well commit the change. [01:05:51] code review is only used on mediawiki [01:05:52] heh [01:05:54] zacli [01:06:00] just change /trunk/extensions/CodeReview/codereview.css [01:06:18] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48187 [01:06:43] Yeah, but I bet brion is less likely to revert it if you do it on-wiki... he doesn't code-review recentchanges, AFAIK :D [01:07:54] mmm, how about a background color [01:08:02] or dashed border, heh heh [01:12:49] 03(FIXED) Please create a mailing list for Wikimedia Hong Kong - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18159 +comment (10cbass) [01:15:56] 03(NEW) Inefficiency of creating multiple parsers for a single rule set - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18165 enhancement; Normal; MediaWiki extensions: AbuseFilter; (rohde) [01:16:26] 04(REOPENED) Imported edits can be incorrectly attributed to whoever creates that account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13798 (10brianna.laugher) [01:17:05] 03kim * r48847 10/trunk/wikiation/installer/ (3 files): [01:17:05] duplicate command, step 1 [01:17:05] (isolate all unique elements in the LocalSettings file, [01:17:05] so that we can generate from scratch) [01:18:57] 03(mod) Imported edits can be incorrectly attributed to whoever creates that account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13798 (10brianna.laugher) [01:19:04] 03(mod) Inefficiency of creating multiple parsers for a single rule set - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18165 (10Andrew) [01:30:20] 03werdna * r48848 10/trunk/extensions/AbuseFilter/AbuseFilter.parser.php: Patch by Robert Rohde to prevent empty-string matches of a regex intended to match numbers [01:30:34] 03(FIXED) Patch radixRegex overmatching - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18153 +comment (10Andrew) [01:30:36] 04(REOPENED) Imported edits can be incorrectly attributed to whoever creates that account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13798 +comment (10Wiki.Melancholie) [01:34:23] TimStarling: is there an example somewhere of faststringsearch use? I'm thinking of adding support for looking for long lists of strings in a variable for abusefiltere [01:34:33] and I hear that faststringsearch is optimal for that [01:36:14] i.e. some way of replacing ("epic lulz" in SUMMARY) | ("smacked" in SUMMARY)| ("slid to" in SUMMARY)| with a single call to, say, multistringsearch( SUMMARY, 'epic lulz', 'smacked', 'slid to' ) [01:36:45] ReplacementArray in StringUtils.php is the only place it's used currently [01:37:06] but check the README file in the extension for documentation [01:39:01] 04(REOPENED) Imported edits can be incorrectly attributed to whoever creates that account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13798 15enhancement->major; +easy; +comment (10Wiki.Melancholie) [01:40:21] looks simple enough [01:40:31] fss_prep_search( array( 'search', 'terms' ) ); [01:41:07] $result = fss_exec_search( $resultofpreviousline, $string ); [01:41:20] if ($result) { // Found something } [01:42:05] 04(REOPENED) Imported edits can be incorrectly attributed to whoever creates that account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13798 -easy ; +comment (10innocentkiller) [01:42:39] there's an optional offset argument that you might need [01:42:51] {{{ proto array fss_exec_search(resource handle, string haystack [, int offset]) [01:43:13] hmm, I just did an upgrade from 1.12 to 1.14, and I'm getting this error message on all my pages: MagicWordArray::parseMatch: parameter not found [01:43:36] and I have really no idea where to start. I disabled my extensions without luck. [01:43:54] chiisai: did you use FileZilla? [01:44:35] I use svn, so I switched to the latest release, then ran upgrade.php [01:45:33] what version of PHP? [01:46:09] http://banana.chiisai.net/phpinfo.php [01:48:37] Can anyone help me with Mediawiki install on Ubuntu.. for some reason I get this error "E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. What does that mean? [01:48:53] *werdna installs FSS to test [01:49:33] chiisai: have you edited any of the messages files? [01:49:41] hmm, fails tests [01:49:45] do I have to install it first? [01:50:39] http://p.defau.lt/?8fUGlyUDOce6wWwEI1VeIQ [01:51:44] run the test separately [01:52:12] how do I do that? [01:52:25] 03(NEW) Two messages switched. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18166 minor; Normal; MediaWiki extensions: AbuseFilter; (bugzilla.wikimedia) [01:53:31] there's a script for it somewhere [01:54:08] Does anyone use HTMLdoc in mediawiki [01:54:10] andrew-macbook:FastStringSearch andrew$ php run-tests.php [01:54:52] yeah, that [01:55:03] you can also run the PHP code from the test directly to see what it outputs [01:55:04] TimStarling, afaik (it's been a while since I messed around with this installation), the only thing I've done is copying the monobook skin and creating a new skin. I get the same error message switching to the 'standard' skin, though. [01:55:21] SKIP Basic fast string search tests [tests/001.phpt] [01:55:25] I also deleted all the messages files now, and restored them using svn, with no success :\ [01:55:26] ... [01:55:48] chiisai: run svn status, it'll tell you which files are edited [01:55:54] or svn diff [01:56:23] oh, fancy. what does "S" in front of the file names mean? [01:56:45] switched [01:57:19] see svn help status [01:58:15] maybe you should try a separate checkout, and then merge your changes into it [01:59:03] according to that tool, the only modified file is skins/common/images/wiki.png... *scratches head* [01:59:52] I don't trust svn switch, I haven't really used it [02:00:34] I hate branching in svn [02:03:25] werdna: so use git [02:03:42] git-branch -m newbranch [02:03:45] git-checkout newbranch [02:03:46] 03werdna * r48849 10/trunk/extensions/AbuseFilter/ (3 files): Add contains_any function, for searching a single haystack for multiple needles. Implemented with FSS with a fallback to a for loop, so it should be really fast. [02:03:47] \o/ [02:03:53] yeah git is pretty cool [02:03:55] he does [02:04:08] actually I haven't bothered to set it up on my new laptop [02:04:15] git-svn is clumsier than plain svn [02:04:23] plain git would be great though [02:04:29] or hg, or bzr, or whatever [02:05:27] well, that definitily fixed my problems. :) thanks, TimStarling [02:06:06] chiisai: so I suppose you did an svn switch from one tag to the other? [02:06:22] I will have to look at that at some point to see if I can find the pitfalls there [02:07:44] 577 svn switch http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_14/phase3 [02:07:44] 578 svn update [02:08:12] that was all I did initially. that last line was probably unecessary, as it didn't complain about any files. [02:09:04] I'll try it [02:10:51] I can't really see why it didn't work, but I'll probably just do a new checkout the next time I switch branches, just in case. :) [02:11:59] 03kim * r48850 10/trunk/wikiation/installer/ (4 files): implement duplicate command [02:24:46] 03(NEW) Code Review page should not render magic words etc. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18167 enhancement; Normal; MediaWiki extensions: CodeReview; (Wiki.Melancholie) [02:24:59] 03kim * r48851 10/trunk/wikiation/installer/installer_util.py: Brief documentation [02:30:01] chiisai: if the svn switch failed halfway through, it would have done what you saw [02:30:13] the S markers in svn status only happen for me when I interrupt the switch [02:30:42] it actually leaves the working copy half in one branch and half in the other, and the svn up doesn't clean it up [02:36:37] *Splarka syncs scapmap gadget [02:37:19] 03(mod) Two messages switched. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18166 (10bugzilla.wikimedia) [02:38:04] re-running the svn switch fixes it [02:40:15] hmm, I guess I'll deploy this contains_any thing [02:48:58] 03(mod) Special:CentralAuth needs better handling of midair collisions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18057 +comment (10mikelifeguard) [03:03:48] werdna, what do you need in InitialiseSettings.php for centralauth to work? [03:04:11] no [03:05:54] 03(NEW) html markup rendered verbatim - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18168 major; Normal; MediaWiki extensions: AbuseFilter; (bugzilla.wikimedia) [03:08:50] 03(mod) html markup rendered verbatim - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18168 (10bugzilla.wikimedia) [03:13:36] 03(mod) Inefficiency of creating multiple parsers for a single rule set - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18165 (10rohde) [03:17:09] 03(NEW) $wgExportAllowListContributors in DefaultSettings.php but not documented - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18169 enhancement; Normal; MediaWiki: Documentation; (jidanni) [03:17:53] 03(mod) $wgExportAllowListContributors in DefaultSettings.php but not documented - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18169 (10jidanni) [03:21:47] 03demon * r48852 10/trunk/phase3/includes/DefaultSettings.php: (bug 18169) Document $wgExportAllowListContributors. Nabbed description from WikiExporter. [03:21:51] 03(FIXED) $wgExportAllowListContributors in DefaultSettings.php but not documented - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18169 +comment (10innocentkiller) [03:24:08] I have a pre-1.5.0 mediawiki and I want to turn it read-only, including for logged in users. It appears I am not actually able to do this? [03:25:10] derwin: http://www.mediawiki.org/wiki/Manual:$wgReadOnly [03:25:15] "pre 1.1.0" [03:25:49] 03(NEW) Warning with preSaveTransform (possibly PHP 5.3 specific) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18170 normal; Normal; MediaWiki: Page editing; (mwacker) [03:26:19] aha! [03:26:24] <3s2u! [03:27:04] ack, why can I understand that [03:27:09] internet lingo, get out of my brain [03:27:33] 03werdna * r48853 10/trunk/extensions/CentralAuth/ (CentralAuth.i18n.php SpecialCentralAuth.php): Fix blocked status display, was broken for indef blocks since r48057. [03:28:44] huh.. that appears to.. not work. [03:29:20] 03demon * r48854 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialExport.php): (bug 18031) Make namespace selector on Special:Export remember the previous selection [03:29:21] 03(FIXED) PATCH: Special:Export: prevent option selector flying back to top of list - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18031 +comment (10innocentkiller) [03:30:32] ^demon: btw your resetpass changes were reverted, reset-by-mail was *still* broken [03:30:33] Splarka: I am running 1.3.x beta :/ [03:30:35] fyi [03:32:04] apparently $readOnlyFile does work :) [03:32:05] yay [03:32:38] old [03:33:19] <^demon> werdna: Yes I saw. Haven't had enough time to poke it yet. [03:33:50] fair enough [03:34:16] <^demon> An extra set of eyes would be awesome. I'm just about out of ideas :) [03:34:45] Splarka: that's why I'm making it readonly.. I'm migrating/upgrading to 1.14.0 :) [03:35:05] that's over 9000! [03:35:51] ^demon: I fixed a few errors before giving up -- the basic problem is in authenticating a user who is not actually really logged in [03:36:25] <^demon> :-\ [03:36:37] <^demon> Once again: Login needs separation from LoginForm. [03:37:08] generally I would recommend just testing it, seeing what's going on and iteratively fixing each problem [03:43:01] 03(mod) Creation of new mailing list for handling eswiki oversight requests - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18117 (10pdsanchez) [03:48:21] 03(NEW) Image Revision [oldimage] Deletion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18171 normal; Normal; MediaWiki: Deleting; (SkierRMH) [03:50:42] 03(mod) Image Revision [oldimage] Deletion - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18171 +comment (10innocentkiller) [04:09:19] 03werdna * r48855 10/trunk/extensions/AbuseFilter/AbuseFilter.class.php: (bug 18165) Keep the same parser object between filter runs [04:09:23] 04(REOPENED) $wgExportAllowListContributors and related code unused and should be removed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18169 summary; +comment (10jidanni) [04:09:34] 03(FIXED) Inefficiency of creating multiple parsers for a single rule set - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18165 +comment (10Andrew) [04:12:32] <^demon> *facepalm* [04:13:20] 03(FIXED) $wgExportAllowListContributors and related code unused and should be removed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18169 +comment (10innocentkiller) [04:17:12] <^demon> It would be nice if people actually looked at the code rather than relying on a regex to decide what MW does with a variable. [04:18:04] it would be nice if people talked specifically about what they're bitching about instead of bitching in general. [04:18:08] 03(NEW) This bug is only used for testing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18172 trivial; Normal; Cortado: jheora; (quynhpham) [04:18:34] <^demon> werdna: my bitching? [04:18:50] well yes, that's the joke. [04:18:51] 03(mod) This bug is only used for testing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18172 (10quynhpham) [04:19:13] <^demon> werdna: I figured it was obvious, given the last bug I commented on :) [04:19:31] TimStarling: I should block you, don;'t you know you're not allowed sockpuppets for testing? [04:19:46] I thought you learned that on meta [04:20:10] don't know what you're talking about [04:20:25] <^demon> Was about to say...is 18172 legit? [04:21:03] TimStarling: the bug above. [04:21:27] and the time "Tim Starling 2" got blocked on meta when you were using it to test enotif [04:21:30] if it was me, it'd have my email address on it, wouldn't it? [04:21:49] it does, as assignee. [04:21:53] *werdna shrugs, hides now [04:23:56] ^demon: have you considered inviting jidanni to #mediawiki to converse about these crazy bugs before opening/reopening ? [04:24:01] might be amusing [04:25:41] <^demon> (NEW) Some users can't use IRC, needs a workaround [04:25:54] 03(mod) $wgExportAllowListContributors and related code unused and should be removed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18169 (10jidanni) [04:26:12] (WFM) mibbit/ircatwork/irc client for every damn platform that supports at least http/https [04:26:25] +irc over ICMP [04:27:30] <^demon> (REOPENED) Some users don't have http access [04:28:15] (INVALID) jidanni obviously does, since they're filing bugzilla bugs [04:28:28] also, they could just read the logs and reply by changing a bug summary, heh [04:31:15] haha [04:33:04] hi werdna. I made 2 more fixes to proofreadpage after you left; could you sync it ? [04:33:42] let me have a look [04:34:41] there was an uninitialised var, fixed in 48835. [04:34:46] hmm I have no idea what the second one does :) [04:34:54] this is why navigation was broken [04:35:03] "removing single mode" -- what does it do? [04:35:54] the 'single' mode was a syntax for the 'pagelist' command, which should be removed [04:36:09] it is a parser hook [04:36:27] 03(mod) Inefficiency of creating multiple parsers for a single rule set - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18165 (10rohde) [04:40:24] 03(mod) $wgExportAllowListContributors and related code unused and should be removed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18169 (10jidanni) [04:41:19] 03werdna * r48856 10/trunk/extensions/AbuseFilter/ (5 files in 2 dirs): Fix batch-testing (follow-up to r48855) [04:41:35] dsamn [04:41:37] damn* [04:42:03] #mediawiki ftw, thx again :) [04:42:20] 03(mod) $wgExportAllowListContributors and related code unused and should be removed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18169 (10jidanni) [04:44:59] 03werdna * r48857 10/trunk/extensions/AbuseFilter/ (4 files in 2 dirs): Remove accidentally-committed code in r48856 [04:46:03] 03(mod) Inefficiency of creating multiple parsers for a single rule set - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18165 (10Andrew) [04:48:59] 03(mod) Inefficiency of creating multiple parsers for a single rule set - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18165 (10rohde) [05:00:12] 03(mod) Warning with preSaveTransform (possibly PHP 5.3 specific) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18170 (10mwacker) [05:04:29] 03(NEW) Monobook crashes MediaWiki after click on "Login/Create an Account link" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18173 blocker; Normal; MediaWiki: User interface; (safemailto-mediawiki) [05:05:10] 03(mod) Imported edits can be incorrectly attributed to whoever creates that account - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13798 (10Wiki.Melancholie) [05:23:02] 03nad * r48858 10/trunk/extensions/SimpleSecurity/SimpleSecurity.php: Split code out to separate class and i18n files [05:23:35] 03nad * r48859 10/trunk/extensions/SimpleSecurity/ (SimpleSecurity.i18n.php SimpleSecurity_body.php): Split code out to separate class and i18n files [05:33:43] 03(NEW) Add "previous"/"next" lnks to abuse filter diff page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18174 enhancement; Normal; MediaWiki extensions: AbuseFilter; (bugzilla.wikimedia) [05:45:30] 03aaron * r48860 10/trunk/extensions/FlaggedRevs/maintenance/updateLinks.inc: lower $BATCH_SIZE [05:48:17] Hmm, any recommendations for storing in ES on another wiki? [05:50:05] TimStarling? [05:50:57] *AaronSchulz sets auto-away timeout [05:51:14] I'm writing global abuse filters, and I'd very much like to store the log of filter hits on the global database as well as locally, but some parts of the log need to be stored in ES [05:51:42] getExternalLB() has a wiki parameter [05:52:11] $lb = wfLBFactory()->getExternalLB('cluster1','frwiki'); [05:52:23] $db = $lb->getConnection(DB_MASTER); [05:53:01] hmm, I was hoping for something not dependent on DB external storage. [05:53:29] Not that there is actuallly any other usable external storage class, but it's the principle. [05:54:36] you were expecting a function like ExternalStore::insertToSomeOtherWiki() ? [05:55:00] you're the first person ever to want to do it, so there's no function for it [05:55:09] yes, that would be nice, or a $wiki parameter for storeToDefault() [05:55:18] of course, I could write said function or parameter. [05:56:08] I guess ExternalStore objects could be created for other wikis [05:57:30] currently the constructor has no parameters [05:57:58] maybe it could take an associative array of options instead [05:58:24] one of which could be the wiki [05:59:34] makes sense [05:59:36] *AaronSchulz defrags his drive again [06:00:04] there are hard drives that need defragmentation? [06:00:25] ^are^are still^ [06:03:28] TimStarling: hmm, it's actually only five lines of code to add a $params parameter to the ExternalStore constructor and to make ExternalStoreDB respect a 'wiki' parameter if one is passed in the $params array. [06:03:46] good [06:04:04] just need to patch up ExternalStore::store and ExternalStore::storeToDefault() [06:04:11] insertToDefault and insert, rather [06:04:14] all filesystems need defragmentation [06:04:46] on linux, most filesystems don't actually implement it, so you just have to periodically delete them and recreate them [06:05:31] Yes, but NTFS and FAT store sequentially, whereas linux filesystems tend to spread data evenly throughout the drive, right? [06:05:53] um, no [06:06:07] I don't think any part of that is right [06:06:13] s/data/files/ [06:06:17] I read that somewhere [06:06:35] http://geekblog.oneandoneis2.org/index.php/2006/08/17/why_doesn_t_linux_need_defragmenting [06:06:38] here [06:06:44] all filesystems fill from the start, distributing data throughout the drive would make it slow [06:06:58] <3 google web history [06:08:33] looks like nonsense [06:09:06] debunking: http://www.kdedevelopers.org/node/2270 [06:10:09] well, not so mucha debunking as a disagreement [06:27:05] Tim: http://en.wikipedia.org/wiki/Special:Contributions/Andy_Marchbanks Surely there are better uses of this editor's time. Is it possible to get MediaWiki to implement this? [06:49:08] that seems to be his edit summary regardless of what he does: http://en.wikipedia.org/w/index.php?title=Center_for_Science_in_the_Public_Interest&diff=prev&oldid=278941277 [06:50:02] TimStarling: http://en.wikipedia.org/wiki/Wikipedia:Meetup/Sydney#Future_meetings:_to_be_arranged... [06:52:45] Perhaps it's muscle memory. [07:01:11] ah, I see Angela's already spotted that page [07:13:01] 03(mod) html markup rendered verbatim - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18168 (10niklas.laxstrom) [07:15:05] Good evening ladies and Gentlemen. I have encountered an identical error on both Wikis I am running. Special:Statistics returns :: from within function "SiteStatsUpdate::cacheUpdate". MySQL returned error "1054: Unknown column 'ss_active_users' in 'field list' (localhost)". [07:15:26] Any idea on how to resolve this? Looks to me as if there is a database table that hasn't been created? [07:15:47] run maintenance/update.php [07:16:05] Okay. Shall try that. [07:16:52] *hmmm* Need to change the HTTacess [07:17:11] no [07:17:21] you need to run it from a shell [07:17:33] Ah I see. [07:22:42] ... mein g�tt. I feel like a complete newbie. ... how do I do that? [07:22:50] My Google-fu is weak it seems. [07:23:25] !ssh [07:23:25] --mwbot-- Shell access (that is, SSH access, see http://en.wikipedia.org/wiki/SSH) is highly recommended if you want to run MediaWiki. You can install without it, and basic operation will work, but even creating backups or upgrading will be painful without it. Some more involved maintenance tasks may even be impossible. MediaWiki is not designed for minimal environments. [07:24:22] Thank you. [07:33:37] There. That did it. [07:36:51] morning [07:37:02] Morning. [07:48:43] 03mkroetzsch * r48861 10/trunk/extensions/SemanticResultFormats/RELEASE-NOTES: note on how to set Google Maps key if maps should be used [07:49:59] Template:str_len ....... [07:57:25] 03ialex * r48862 10/trunk/phase3/includes/specials/SpecialContributions.php: [07:57:25] Use parsemag rather than parseinline since the content will be escaped by Xml::radioLabel(). [07:57:25] This breaks French messages since something like "some text here :" will be converted to "some text here :" but Parser::parse() and then escape so the " " will be visible to the user [07:57:25] ouch [07:58:26] ouch? [07:59:47] Nikerabbit: that was for Template:str_len ....... [08:00:07] http://en.wikipedia.org/wiki/Template:Str_len [08:00:48] nice implementation! [08:00:51] really ;) [08:09:24] 03raymond * r48863 10/trunk/extensions/ (3 files in 2 dirs): [08:09:25] * Add description message to extension credits [08:09:25] * Use wikisyntax in messages instead of HTML [08:09:25] * TODO: Localize magic words [08:09:26] * Add extension to translatewiki.net [08:13:53] TimStarling: for some reason, when I do $dbw->insertId() in the foreign ExternalStore object, it's giving the insertId() on the local DB. [08:14:26] everything else seems to work ok [08:17:09] 03raymond * r48864 10/trunk/extensions/ (2 files in 2 dirs): Follow up r48863: Set message 'protect-unchain' on the ignore list because the message key conflicts with core. [08:19:35] 03raymond * r48865 10/trunk/extensions/SimpleSecurity/SimpleSecurity.i18n.php: Follow up r48863 / r48864: Disabling needed :-( [08:25:48] 03raymond * r48866 10/trunk/phase3/languages/messages/ (MessagesZh_hant.php MessagesZh_tw.php): reapply r48729: accidently overwritten with r48762 [08:35:16] ok, just to amuse me, on WhatLinksHere, what qualifies as a transclusion for 'Hide transclusions' ? [08:39:40] like if I put a link to [[Foo]] on {{bar}} and put {{bar}} onto [[Baz]] it should show up as a transcluded link? [08:41:16] 03siebrand * r48867 10/trunk/phase3/languages/messages/ (13 files): Localisation updates for core from translatewiki.net [08:42:38] OverlordQ: transcluded means that it's used as template on the page [08:43:29] Ah, I coulda swore it used to differentiate between direct links and links from templates [08:44:06] no [08:44:23] ah, :( hurm [08:44:52] probably no easy way to tell the difference is there [08:48:47] parse the page, heh [08:54:56] 03thomasv * r48868 10/trunk/extensions/ProofreadPage/ProofreadPage.php: minor fix: page number offset [08:56:42] OverlordQ: what exactly do you want? [[foo]], but not {{link}} containing [[foo]]? what about {{link|[[Foo]]}} with contents {{{1}}}, or {{link|Foo}} with contents [[{{{1}}}]] [08:58:55] Was just thinking of an easy way on WLH to tell the difference between pages that link directly there or they transclude a template which does, so if you need to fix links you dont have to weed through the pages to find the one that actually does [09:00:05] it would be nice to have transclusion depth stored [09:01:00] but probably prohibitively complex [09:01:06] yea [09:01:25] just coming across it when trying to fix broken redirects [09:07:57] moin [09:15:38] Привет, есть кто из России? =) [09:26:06] XeOnjke: probably, but this is english channel mostly [09:31:32] ok [09:31:35] I have a problem with uploading of images. After upload MediWiki says: "No file by this name exists, you can upload it.", but i upload my image. I have nginx with rewrite mod. MediaWiki 12.4 Sorry for my English. [09:32:25] chmod is ok [09:32:40] 14(DUP) Account creation throttle - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18150 +comment (10chrisgrantmail) [09:32:41] 03(mod) accounts blocked without account creation blocked can override the account creation throttle - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17126 +comment (10chrisgrantmail) [09:33:12] 03(NEW) Inappropriate whitespace between type and "text/javascript" in script tag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18175 enhancement; Normal; MediaWiki: Page rendering; (Wiki.Melancholie) [09:33:47] 03(mod) Inappropriate whitespace between type= and "text/javascript" in script tag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18175 +easy; summary (10Wiki.Melancholie) [09:46:01] 03ialex * r48869 10/trunk/phase3/includes/Skin.php: * (bug 18175) Removed inappropriate whitespace between type= and "text/javascript" in script tag [09:46:41] 03(FIXED) Inappropriate whitespace between type= and "text/javascript" in script tag - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18175 +comment (10alex.emsenhuber) [09:47:24] well, that's my daily quota of reading the word "inappropriate" filled [10:12:43] 03(NEW) Add messages to MediaWiki: namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18176 enhancement; Normal; MediaWiki extensions: AbuseFilter; (bugzilla.wikimedia) [10:13:03] 03nad * r48870 10/trunk/extensions/EmailPage/EmailPage_body.php: add doctype to sent content [10:27:49] Can I extend built-in functionality somehow? [10:28:02] I mean - I want to add something to ApiQueryRevisions, without patching it. [10:28:10] Can I do it from an extension? [10:34:35] !svg [10:34:35] --mwbot-- For more information regarding SVGs in MediaWiki, see . [10:40:32] davidt: maybe http://www.mediawiki.org/wiki/Manual:Hooks/APIQueryAfterExecute [10:43:30] davidt: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CodeReview/ an extension that adds to the API, for example/theftof [10:46:57] 03(NEW) Search button inconsistency - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18177 normal; Normal; MediaWiki: Search; (FT2.wiki) [11:00:40] 03(mod) Imported edits do not appear in some counts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=15310 +comment (10happy-melon) [11:19:27] 03(mod) For RevisionDelete: Unsuppression is logged in the deletion log, not the suppression log - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17854 (10dmcdevit) [11:37:10] 03(FIXED) Search button inconsistency - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18177 +comment (10rainman) [11:48:32] hello, i have a question about mediawiki, i want to create a own group like "Administrator", how can i do this? [11:50:13] give it some rights and then give yourself a way to assign it [11:50:22] http://www.mediawiki.org/wiki/Help:User_rights [11:51:08] http://www.mediawiki.org/wiki/Manual:$wgAddGroups [11:51:59] ok thank you for this fast answer [12:03:49] 14(INVALID) This bug is only used for testing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18172 (10sco_scam) [12:07:09] 03jojo * r48871 10/trunk/extensions/Collection/ (Collection.templates.php README.txt): only show save box, if wiki has edit via API and $wgEnableWriteAPI is true [12:07:33] hey [12:29:36] On the current special page list on en.wp.. Deleted contributions starts with a small d [12:29:40] 04(REOPENED) Pre-save transform skips extensions using wikitext (gallery, references, pipe trick, subst, signatures) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2700 +need-review +patch (10michaelj.walsh) [12:29:42] has anyone fixed/sorted it? [12:30:48] ugh, they should all be small IMHO [12:30:58] For Splarka (talk | block | block log | logs | Deleted user contributions | User rights management) [12:31:02] the last two look silly [12:31:13] Splarka, im not bothered either way, as long as its common ;) [12:31:30] its on Special:SpecialPages [12:32:05] yah, but is probably the same message [12:32:12] as on Contributions/contentSub [12:32:43] http://en.wikipedia.org/w/index.php?title=MediaWiki:Deletedcontributions&action=history [12:32:50] yep, happy-melon did it [12:33:00] to make it lowercase for Special:Contributions [12:33:12] file a bug [12:33:13] messages need to be separated [12:41:12] how can I create a hyperlink and also write a description of the hyperlink [12:41:28] when I do [[www.test.me]] I get just a number as the tag [12:43:48] [[www.test.me description]] [12:44:25] thanks [12:45:19] wat [12:45:22] *[www.test.me description] [12:45:30] that won't work either [12:45:46] [http://www.test.me description] [12:50:32] hi [12:51:13] i have trouble with my wiki, especialy with the images [12:51:51] for example they has for a image the url ...images/Newpage.gif, and not images/a/23/newpage.gif [12:52:01] is that a error in the database? [12:52:37] in the wiki the error message is: unable to open image `/var/www/html/mmmwiki/images/Newpage.gif': [12:56:09] the x/xx/ is set via http://www.mediawiki.org/wiki/Manual:$wgHashedUploadDirectory [12:56:55] that gives a semi-even almost random but predictable (md5 hash) distribution to images over 256 folders to prevent having too many in one folder, but small wikis don't really need it [12:57:35] have many pictures [12:58:00] ok i set the $wgHashedUpload in localsettings.php [12:59:48] Splarka: it works good! [13:00:01] but if i upload one picutre i got a new error [13:00:17] the message is "Die hochgeladene Datei ist leer. Der Grund kann ein Tippfehler im Dateinamen sein. Bitte kontrolliere, ob du die Datei wirklich hochladen willst." [13:00:26] which means that the file is empty [13:00:30] but the file is not empty [13:00:37] have test it with gif and jpg [13:02:09] 03catrope * r48872 10/trunk/phase3/includes/api/ApiBase.php: API: Add nosuchuser message to ApiBase::$messageMap [13:03:07] upload is enable [13:07:41] $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'pdf', 'zip','flv','swf','mp3','svg'); [13:07:43] $wgEnableUploads = true; [13:07:45] #$wgUseImageMagick = true; [13:07:47] $wgImageMagickConvertCommand = "/usr/bin/convert"; [13:08:34] that is a common problem (I don't know the solution, possibly permissions) [13:09:24] what should be the rights for /images? [13:09:38] rwxrwxr-x [13:09:40] ? [13:10:28] 03catrope * r48873 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiQueryUserInfo.php): API: Added uiprop=changeablegroups to meta=userinfo [13:12:04] 03(mod) Inconsistent separators in Watchlist with and without "enhanced recent changes" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18161 +comment (10siebrand) [13:15:57] 03(mod) Inconsistent separators in Watchlist with and without "enhanced recent changes" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18161 (10raimond.spekking) [13:18:31] hello [13:18:51] 04(REOPENED) instead of "discussions"buton it shows {{#ifeq:Tartışma|Kullanıcı mesaj|mesaj|tartışma}} (related only with the Turkish version)) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18055 major->normal; high->normal; +comment (10siebrand) [13:19:23] feldfrosch: 755 is enoughe rwxrxrx [13:19:40] thx [13:19:49] please, how do i reset password in wikimedia database ?? [13:19:50] i check the rights now with this page http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads [13:20:17] http://www.mediawiki.org/wiki/FAQ#How_do_I_reset_a_password.3F [13:20:22] !passwordsql [13:20:22] --mwbot-- UPDATE user SET user_password=CONCAT(':A:', MD5('password')) WHERE user_name='John Smith'; This will reset the password for the user with user_name 'John Smith' to 'password'. [13:20:42] hmm, that seems out of date [13:21:03] sorry i was offline :/ [13:21:12] someone told something to me? [13:21:37] Use php maintenance/eval.php [13:22:00] $u = User::newFromName( 'Username' ); $u->setPassword( 'Password' ); $u->saveSettings(); [13:22:07] Splarka: that isn't out of date btw [13:22:08] thanks Sparkla [13:22:15] thanks mwbot [13:22:30] mwbot: is a bot :) [13:22:44] !welcome [13:22:44] --mwbot-- Welcome to #mediawiki, the channel for MediaWiki development and support! Don't ask if anyone's around, just ask your questions. Do, however, consult the FAQ, located at , first. [13:22:47] oops [13:22:53] !thankyou [13:22:53] --mwbot-- You're welcome. :) [13:22:56] silly bot [13:23:21] 03siebrand * r48874 10/branches/REL1_14/phase3/languages/messages/MessagesTr.php: Backporting 'talk' translation for Turkish from r48626. It was using a ParserFunctions extension parser function. [13:23:31] 03(FIXED) instead of "discussions"buton it shows {{#ifeq:Tartışma|Kullanıcı mesaj|mesaj|tartışma}} (related only with the Turkish version)) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18055 +comment (10siebrand) [13:24:53] all rights ok, but the problem is the same [13:25:05] maybe the imagemagick (convert) is broken? [13:25:53] is there an alternative for #$wgUseImageMagick = true; [13:25:55] $wgImageMagickConvertCommand = "/usr/bin/convert"; [13:26:03] Hi all. [13:26:14] How many templates can *one* article contain? [13:26:23] 04(REOPENED) mention one can export via the API too (much more flexible) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17871 +comment (10siebrand) [13:26:29] Is there some documentation on how to call MW methods from an external app? [13:27:10] Sounds like it might be the API you need, Lo-lan-do. [13:28:35] 03werdna * r48875 10/trunk/phase3/includes/ (ExternalStore.php ExternalStoreDB.php): [13:28:35] Allow storage of blobs to ES on foreign wikis, by calling [13:28:35] ExternalStore::storeToForeignDefault, related changes including adding an [13:28:35] associative array parameter to the ExternalStore constructor. Currently this [13:28:36] parameter is just used to specify on which wiki the external store is wanted, [13:28:38] but could be expanded in future. [13:29:03] svip: Quite possibly. I'm looking at a way to create a user in the MW database. [13:29:21] Hm. [13:29:52] 03werdna * r48876 10/trunk/phase3/includes/GlobalFunctions.php: Fast short-circuit for diffs between identical strings [13:30:00] I'mcurrently using $mwu=User::newFromName($mwname) then $mwu->addToDatabase(). [13:30:30] But I need to load classes and stuff for the first instruction, and I don't know which files and in what order. [13:30:41] svip: depends [13:30:57] Splarka: On...? [13:31:14] Lo-lan-do: Looks like you cannot create users from the API, as it requires a user to use the API. [13:31:18] on various settings, which are designed to not cause page rendering timeouts [13:31:42] node count, post-expand size of all templates, template argument size, and expensive parserfunction count [13:31:42] 03werdna * r48877 10/trunk/ (4 files in 2 dirs): Move WikiMap class from CentralAuth to core, since it's used in 2 extensions at least now, and doesn't depend on CentralAuth [13:31:54] So it basically comes down to the complications of the template? [13:32:27] yah [13:32:41] see http://www.mediawiki.org/wiki/Manual:$wgMaxPPNodeCount http://www.mediawiki.org/wiki/Manual:$wgMaxTemplateDepth http://www.mediawiki.org/wiki/Manual:$wgExpensiveParserFunctionLimit http://www.mediawiki.org/wiki/Manual:$wgMaxArticleSize [13:32:42] etc [13:32:58] svip: I guess I'd need to load the classes anyway, so that doesn't change much for my particular problem :-) [13:32:59] and note these limits are there to prevent failure, but they don't always work [13:33:43] Say the template is simply putting its argument in a "HTML" string, and not doing much else, is MediaWiki capable of not reloading the entire template each time it is called? [13:34:45] hmm, I am not sure but I think only un-argumented templates are currently cached [13:34:49] Similar how compilers only load a function once, and just reuse it upon every call. [13:35:15] {{foo}} {{foo}} but not {{foo|bar}} {{foo|bar}}, but don't quote me on that [13:35:32] Heh. [13:35:43] but {{foo|bar}} and {{foo|baz}} are never cached the same [13:35:49] the result can be totally different [13:36:02] True. [13:36:10] {{#ifeq:{{{1}}}|foo|{{SOME BIG ASS TEMPLATE}}|{{meh}}}} [13:36:33] But if the template contains no {{#tags}}, maybe it should cache it? [13:36:43] Well, "cache" it. [13:36:57] tim has lots of plans for fun stuff like that [13:36:58] but no time [13:37:05] :[ Aw. [13:37:10] anyway, forgot to tell you, view a page source, it'll tell you the template limits [13:37:26] [13:37:32] on http://www.mediawiki.org/wiki/Manual:$wgMaxArticleSize for example [13:38:04] didn't domas write the forceprofiling hack with the pretty profile in html comment stuff? [13:38:31] it doesn't deal with parser reentrancy properly [13:38:36] just sums everything up [13:38:43] but forcetrace can give you quite some details! [13:39:09] gotta put that code somewhere :P for lazy people like me who dont want to dig through the debug log [13:39:47] Hm, Splarka, is it worth upgrading from 1.13.3 to 1.14.x? [13:40:18] Well, I know it is; but is it worth doing now, or can it wait. [13:40:23] svip: you'll have to upgrade sometime, the frequency is inversly proportional to the effort [13:41:26] domas: is there any way that fun stuff can be put in core, or does it have software/hardware/maniacdev dependencies? [13:41:34] it takes very little time [13:41:56] domas: what's the 'correct' solution to re-entry anyway? [13:41:57] Splarka: I am running 1.3.x beta :/ Splarka: that's why I'm making it readonly.. I'm migrating/upgrading to 1.14.0 :) [13:42:04] *Splarka is sure that didn't tale very little time [13:42:11] *take [13:42:19] if we scan for re-entry every wfProfileIn it would add a few ms to every call :( [13:43:23] werdna: um, add nesting level to profiling hook name [13:43:40] Splarka: which one? [13:43:42] Splarka: it is in core [13:43:55] domas: to EVERY call, or only re-entrant calls? [13:44:27] domas: want to provide a patch? :) [13:44:30] domas: the outputting in comment form (and possibly as
 someday) automagically
[13:44:47] 	handy for hacking other servers if you can observe them and find weaknesses for DOS
[13:44:52] 	I mean, handy for debugging, yah
[13:45:06] 	Splarka: thats a job for StartProfiler.php
[13:45:29] *Splarka 	doesn't understand any of that, just wants &forceprofile to work on any mediawiki ^_^
[13:46:00] 	http://noc.wikimedia.org/conf/highlight.php?file=StartProfiler.php
[13:46:18] 	&forceforceprofile=true
[13:47:36] 	i dont find why come the error
[13:47:49] 	mwusers.com/forums/showthread.php?t=9304 
[13:47:52] 	has the same bug
[13:52:15] 	http://www.mediawiki.org/wiki/Project:Support_desk/Sections/Uploading the "Uploading any kind of file fails - loops back to empty upload form" is the same problem as i have
[13:53:10] 	bug i found something!
[13:53:24] 	if i go to the list of uploaded files
[13:53:34] 	theres a error message
[13:53:38] 	Es gab einen Syntaxfehler in der Datenbankabfrage. Die letzte Datenbankabfrage lautete:
[13:53:40] 	    (SQL-Abfrage versteckt)
[13:53:42] 	aus der Funktion „IndexPager::reallyDoQuery (ImageListPager)“. MySQL meldete den Fehler „1: Can't create/write to file '/tmp/#sql_6777_0.MYI' (Errcode: 13) (localhost)“.
[13:54:09] 	fix your mysql installation
[13:55:27] 	after restart of mysql (for fix sql table) they say: "1033: Incorrect information in file: './mmmwiki/image.frm' (localhost)“."
[13:56:11] 	have you asked in #mysql ?
[13:56:40] 	no
[13:56:44] 	just second.
[13:57:02] 	Splarka, the procediment of reset password didn't work, please help me
[13:57:57] 	you might have to pokle werdna... what version of MW do you have?
[14:00:05] 	the version is 1.7
[14:03:22] 	we are moving a wiki database from one server to another and am having some difficulties.  The old server said we had 593 pages.  The new server says we have 155.  Part of the problem is with namespaces. 
[14:03:24] 	I'm getting desperate... is there a way to load the MW core classes from an external app?
[14:03:49] 	Lo-lan-do: it's possible, but not at all advisable.
[14:04:03] 	you'll end up with namespace collisions
[14:04:28] 	Assuming I don't have collisions (since I fixed them already), what's the way?
[14:05:00] 	There are 3 or 4 different anomalies, here is the first:  we have pages from a custom namespace that show up in the NEW site (with CUSTOM_namespace:article_title)  when the custom namespace is NOT added to the localsettings.php file.  When we add the custom namespace the articles do not show up in the search by custom namespace
[14:05:08] 	Otherwise, how do I create a MediaWiki user from another app without accessing the DB directly?
[14:05:49] 	Look at what commandLine.inc does
[14:06:01] 	under maintenance/
[14:06:03] 	might try one of the auth plugins
[14:06:19] 	to create a user externally, you'd use an auth plugin, nd not really create the users externally.
[14:06:23] 	OOr use the API
[14:06:28] 	that's kinds what APIs are for
[14:06:44] 	svip tells me I can't create an user with the API.
[14:08:01] 	I already do the auth, but that only creates the user when they visit the wiki.  I'd like to create them before that.
[14:08:07] 	you should be able to do that.
[14:08:20] 	and why does it matter (14:15 < Lo-lan-do> I already do the auth, but that only creates the user when they visit the wiki.  I'd like to create them before that.)
[14:09:12] 	OTOH, you could add an AuthPlugin and just use a script to have each user visit the wiki
[14:09:18] 	that would create all the accounts
[14:09:24] 	if that's what you needed to do
[14:10:42] 	I wanted to create accounts so users can access the wiki with their forge account even when they're not accessing the wiki *through* the forge, but I guess it's a small use case.
[14:11:05] 	I'll just keep the creation of users on the fly, which already works.
[15:13:42] 	is there a test i can use in a page to exclude certain parts if the page is included via {{:page}} ?
[15:14:40] 	anybody know what this means ? http://illogicopedia.org/wiki/Main_Page
[15:15:56] 	have you installed an extension recently
[15:15:59] 	?
[15:16:10] 	i haven't been involved in the technical end of the site in a while
[15:18:22] 	then it's hard for anyone to help, it seems that a recently installed using the hook wfLogotipoFunction_Magic has a problem, or mediawiki was upadated and now this extension has a problem, just to give a a advise for the tech-people of the site
[15:18:52] 	kk
[15:25:52] 	peder: 
[15:29:52] 	03siebrand * r48882 10/trunk/extensions/SimpleSecurity/ (3 files): 
[15:29:52] 	* article -> page in messages
[15:29:53] 	* stylize.php
[15:29:53] 	* removed trailing whitespace
[15:29:53] 	* svn:eol-style native where not yet set
[15:41:56] 	03ashley * r48883 10/trunk/extensions/RefreshSpecial/ (5 files): (log message trimmed)
[15:41:56] 	RefreshSpecial:
[15:41:56] 	*general cleanup
[15:41:56] 	*check for database lock/user's block status in addition to the 'refreshspecial' user right
[15:41:56] 	*renamed a couple functions per coding standards
[15:41:57] 	*removed an unused function + associated message
[15:41:59] 	*tweak Finnish special page alias
[15:46:08] 	need help -- imported pages from one wiki to another.  the portal pages came into the new one as:  Portal:Portal:Name_of_page -- how do I fix this?
[15:47:08] 	anybody have IMPORT experience that can help?
[15:48:35] *LauraHale 	has no experience with that.
[15:53:55] <^demon>	I could've sworn I've seen bug 18179 before...
[16:00:00] 	^demon, maybe https://bugzilla.wikimedia.org/show_bug.cgi?id=4354 ?
[16:00:22] <^demon>	Splarka: I guess that is it :)
[16:00:35] <^demon>	I could've sworn I saw the exact word "reason" though, but I can't seem to find that :p
[16:00:49] 	so dupe it and clarify the comment
[16:02:04] <^demon>	Description is fine as is.
[16:02:38] *totalwormage 	hugs labeled section transclusion
[16:03:38] 	03ashley * r48884 10/trunk/extensions/SocialProfile/UserBoard/SpecialUserBoard.php: SocialProfile: allow sending messages to users with ' in their username. Code by Piotr Molski for Wikia (see http://trac.wikia-code.com/changeset/7225), small script path fix by me
[16:29:39] 	03aaron * r48885 10/trunk/phase3/includes/specials/SpecialRevisiondelete.php: Added log_action filter
[16:46:24] 	brion: yo
[16:46:30] 	03aaron * r48886 10/trunk/phase3/includes/specials/SpecialBlockip.php: Hide log items with said user as the target as well
[16:49:27] 	03dale * r48887 10/trunk/extensions/MetavidWiki/ (10 files in 8 dirs): 
[16:49:27] 	fixes to media stream export rss
[16:49:27] 	fixes to #autoplay hash ( when player is broken caused many refreshes )
[16:49:27] 	removes non-ogg stream results in export
[16:50:56] 	yo yo
[16:51:57] 	http://www.mediawiki.org/w/index.php?title=Special:Code/MediaWiki/path&path=/trunk/phase3/includes/specials/SpecialBlockip.php
[16:52:03] 	brion: can you poke at those?
[16:53:50] 	Hello people
[16:54:43] 	in javascript while using innerHTML i want to find any {{ in there and change it to {{subst: any idea how can i do it?
[16:56:49] 	"Changes newer than 20 seconds may not be shown in this list." -- Special:Watchlist on MediaWiki.org.... is this really necessery?
[16:56:53] 	should i just do : innerHTML.value.replace(/{{/g, "{{subst:");
[16:57:42] 	CrushKing: #mediawiki-scripts
[16:58:01] 	ok thanks
[16:59:45] 	does anyone use HTMLdoc app with mediawiki?
[17:02:34] 	03aaron * r48888 10/trunk/phase3/includes/specials/SpecialRevisiondelete.php: Fix for r48839: log deletion uses a different action
[17:05:42] 	Has anyone else been getting a lot of subversion notification e-mails in their spam directory.
[17:11:10] 	MinuteElectron: not me, but then i also took myself off the list now that i've got Special:Code :)
[17:11:35] 	brion: speaking of which :)
[17:24:13] 	brion: Fair point.
[17:24:30] 	I could probably do the same... it is frustrating seeing a lot of irrelevant notices sometimes.
[17:31:46] 	Would love some feedback on http://www.popolinx.com/popolinx/index.php?title=Main_Page
[17:36:43] 	popolinx2: http://www.mediawiki.org/wiki/Manual:Short_URL
[17:40:05] 	03demon * r48889 10/trunk/extensions/ (127 files in 125 dirs): Big commit. Removing svn-version and svn-date from extensions. Per the list, these versions do not give valuable information and are often wildly inaccurate.
[17:40:29] 	03demon * r48890 10/trunk/phase3/ (RELEASE-NOTES includes/specials/SpecialVersion.php): Followup to r48889 (removing svn-version/svn-date from extensions): remove support for svn-version in Special:Version. On a sidenote, svn-date doesn't seem used at all.
[17:41:22] 	ooh
[17:43:22] 	thx
[17:49:16] 	:q!
[17:52:10] 	Any of you guys know a way to batch upload pics to a wiki? I've got like 400 I need up upload into the company wiki and I REALLY don't want to spend a month uploading all this crap.
[17:52:15] 	Im using mediawiki
[17:53:29] 	anyone?
[17:54:10] <^demon>	marctw: there's an extension called MultiUpload. dunno how well it works though.
[17:56:07] 	what about the maintenance script called importImages.php ??
[17:57:47] <^demon>	watkec: give it a shot i guess. i've never used it.
[18:06:10] 	yea it works
[18:06:53] 	what should I use?
[18:11:47] 	brion: are you syncing today?
[18:13:23] 	on code tuesday dude :)
[18:14:10] 	A question, with revisions removed from extensions, how can individual extensions be supported ? How can the version in SVN be different from what is installed, how can extensions be installed to mimick wikipedia ?
[18:14:57] 	what mechanism is there ?
[18:17:04] 	brion: can you at least check SpecialBlockip.php? :)
[18:31:15] 	sec
[18:31:43] 	GerardM-: i made a couple notes in my last reply to you on-list
[18:44:39] 	AaronSchulz: in http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48886 <- is $name normalized to title form (with underscores)?
[18:45:42] 	03dale * r48891 10/trunk/extensions/MetavidWiki/includes/specials/MV_SpecialExport.php: force short cache for resource intensive rss export page (@@todo improve squid integration)
[18:47:14] 	brion: couldn't hurt, though it should ideally be valid
[18:48:19] 	AaronSchulz: well i'm asking what it does right now :)
[18:48:38] 	if you pass $name straight into a db query on log_title then it needs to be normalized that way
[18:48:45] 	for underscores
[18:48:47] 	otherwise you won't get your matches
[18:53:22] 	03aaron * r48892 10/trunk/phase3/includes/specials/SpecialBlockip.php: Fix r48886: make sure title is normalized for query
[18:53:55] 	brion: ^
[18:56:49] 	does anyone use HTMLdoc app with mediawiki?
[19:11:05] 	hi there... something seems to have gone wrong with the monobook skin. on http://pt.wikibooks.org/wiki/Wikibooks:Staff_lounge#.7B.7BMovido_para_a_Wikiversidade.7D.7D the external links are showing an unusual padding
[19:11:58] 	firebug tells me this comes from the rule a[href^="gopher://"] { padding:0 13px; }
[19:12:56] 	it apparently should be padding:0 13px 0 0; (to apply only right padding to position the external link icon, instead of left and right padding as it is right now)
[19:13:20] 	Brion, for whatever reason I have not seen your reply ..
[19:14:05] 	was there any recent changes to the css? firebug tells me the stylesheet where that rule is defined is located at http://pt.wikibooks.org/skins-1.5/monobook/main.css?207xx
[19:15:06] 	hi GerardM- :)
[19:15:16] 	Waldir: see r48409
[19:15:23] 	Hoi Waldir :)
[19:15:51] 	Waldir: how's the gadget?
[19:17:01] 	Nikerabbit: I didn't work on it afterwards :( I did try to make it a button but for some reason was only able to make it work on page load
[19:17:45] 	too bad I can't help :/
[19:18:13] 	Waldir: anyway your gadget is mentioned in my super duper scientific paper :o
[19:18:42] 	whoa :D what's it about?
[19:18:57] 	I didn't give up on it though ;)
[19:21:21] 	Waldir: just in my bachelor's thesis which nobody will read :o
[19:21:45] 	Well Iyou got me curious now xD
[19:21:51] 	*you
[19:23:11] 	too bad, it is in Finnish
[19:23:30] 	hum, btw are you sure that revision is related? I will post the full rule
[19:23:57] 	#bodyContent a.external, #bodyContent a[href^="gopher://"] {
[19:23:58] 	background:transparent url(external.png) no-repeat scroll right center;
[19:24:00] 	padding:0 13px;
[19:24:01] 	}
[19:24:14] 	it says it comes from line 527 in that css file
[19:24:38] 	which wasnt changed in that rev
[19:25:12] 	Waldir: that is the only recent change to gopher I think
[19:27:05] 	I don't understand what's going on then :(
[19:27:35] 	about the thesis, well that's where google translate comes in handy ;)
[19:28:45] 	Waldir: haha
[19:28:49] 	good luck with that
[19:29:31] 	xD
[19:31:05] 	http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/monobook/main.css?r1=47615&r2=47614&pathrev=47615 this seems to be the revision that added that padding 0 13px;
[19:31:11] 	it's the first line changed
[19:31:20] 	perhaps that only got live recenlty
[19:31:28] 	I'm wondering
[19:31:46] 	may be
[19:32:30] 	put comments to code review or mail him?
[19:36:25] 	i dont know how to put comments to code review :S lol 
[19:37:15] 	Waldir: this revision went live two days ago
[19:38:17] 	perhaps the cache prevented the issue from coming up sooner? or it may also be unrelated but by changing that rule using firebug things got back to normal
[19:39:36] 	in any case I don't see the logic in adding left padding to the external links. in rtl the padding should be on left (assuming the icon is on the left too) on ltr the padding should be on the right
[19:40:02] 	but having both paddings will show undesired space in both rtl and ltr, as I see it
[19:43:40] 	ialex: what's your opinion?
[19:45:26] 	hi.. if my search behavior changed radically between 1.3.x (I know..) and 1.14.0, any suggestions as to whwere I might start looking for what the issue is?
[19:49:05] <_phx_>	hey everybody
[19:49:31] <_phx_>	is there a way to create users for a mediwiki using just mysql?
[19:49:36] 	03demon * r48893 10/trunk/extensions/BackAndForth/ (BackAndForth.class.php BackAndForth.php): Delay message loading until the messages are actually needed. Nuke useless setup function and assign the hook directly.
[19:56:15] 	so.. anyone any ideas about my weird search issue? I have a page called, for example "Pod Meeting Notes" and I search for "Pod" and don't get it in the list of results, but Special:PrefixIndex shows it..
[19:56:30] 	derwin: mysql search won't find words with fewer than 4 characters
[19:56:50] 	flyingparchment: I know this in general, but if I just search "Pod" it will find a page called "Pod"
[19:57:03] 	derwin: because that's not a search, it's just looking for a page with that title
[19:57:04] 	flyingparchment: and this search worked in 1.3.x wikipedia
[19:57:13] 	flyingparchment: which is ridic, but that's what ppl are whining about, cause I just upgraded it
[19:58:08] 	um. also "Ops" works and "Pod" does not
[19:58:13] 	which is reaaaaaally weird.
[19:59:07] 	flyingparchment: if it were mysql 3 char, why would 'Ops' return results and 'Pod' not?
[20:01:49] 	03demon * r48894 10/trunk/extensions/LocalFileLink/LocalFileLink.php: 
[20:01:49] 	Code cleanup:
[20:01:49] 	* Spaces -> tabs
[20:01:49] 	* Remove trailing ?>
[20:01:49] 	* Use $out->mBodytext directly, no need for an extra variable
[20:04:20] 	hrm, well apparently mediawiki before 1.5.0 had $wgSearchType set to "MyISAM" by default
[20:10:33] 	03demon * r48895 10/trunk/extensions/SignDocument/README.txt: Remove requirement for ExtensionFunctions.php, it doesn't seem to need that at all.
[20:15:21] 	03raymond * r48896 10/trunk/phase3/languages/messages/ (84 files): Localisation updates for core messages from translatewiki.net (2009-03-26 19:19 UTC)
[20:17:50] 	Is there a better way (in terms of the resulting HTML) to make a multi-line list item than using #: or *: ?  
[20:18:09] 	I couldn't see anything specific in Help:Formatting
[20:18:43] 	hi; could someone sync extension ProofreadPage ? a bug showed up after yesterday's scap, I fixed it in svn
[20:19:32] <^demon>	Dewin: No, it's not currently possible.
[20:20:14] <^demon>	Unless you use HTML lists instead of wiki markup.
[20:20:17] 	ThomasV_: imho, you should try #wikimedia-tech
[20:20:44] 	I'd like other people who aren't HTML-savvy to be able to understand the source, so I'm going to ignore that option.
[20:21:00] 	yeah
[20:21:01] <^demon>	In that case, no, there's no way.
[20:21:09] 	hmm, I wonder how hard it'd be to alter the code to treat #: or *: as a 
instead of
if there's not a #; previously. [20:21:18] <^demon> Probably very hard. [20:22:25] <^demon> RoanKattouw: IMHO, no version number is better than a misleading version number. [20:22:54] anyone have any idea, post upgrade my mediawiki (1.3.x -> 1.14.0) returns no results at all for some searches, but is just fine on others? [20:22:59] or maybe just make an alternative option, kind of like \ at the end of the line means at some languages but occuring at the beginning of the next line instead. [20:23:12] ^demon: Yeah, I agree, but having a version number that makes sense is even better [20:23:54] <^demon> Of course. [20:24:07] derwin: You should probably rebuild the search index using one of the scripts in the maintenance/ directory (don't remember which one offhand) [20:25:37] RoanKattouw: I tried to rebuild the search index, still same behavior and only touched a few pages. how can I make it touch all? [20:25:49] <^demon> RoanKattouw: Possible 'version' file: http://pastey.net/110993 [20:26:04] it is the uncontroversially named "updateSearchIndex.php" [20:26:18] <^demon> RoanKattouw: And make version-svn auto-updated by an on-commit hook [20:26:22] ^demon: Looks sensible, I assume you'd have a post-commit hook update the revision entry? [20:26:24] Yeah [20:27:42] <^demon> And maybe make a new param called 'version-file' for $wgExtensionCredits that points to the version file, similar to how we do $wgExtensionMessagesFiles [20:28:01] Yeah.... [20:28:04] RoanKattouw: I guess I might need to run "rebuildall.php" ? [20:28:14] But wouldn't it make more sense to write the version file in PHP? [20:28:23] derwin: If you're wiki's not too big, that can't hurt [20:28:43] it's not hugely insane, but search is real broken and I'm still in the migration window [20:30:04] <^demon> RoanKattouw: I suppose you could. [20:30:15] http://pastey.net/110994 [20:30:27] That's actually what $wgExtensionMessagesFiles does too [20:30:58] And it means you don't have to open (safe_mode!) and parse the file [20:31:38] <^demon> Very true. [20:31:46] does anyone use HTMLdoc app with mediawiki? [20:31:55] 03raymond * r48897 10/trunk/extensions/ (86 files in 78 dirs): Localisation updates for extension messages from translatewiki.net (2009-03-26 19:26 UTC) [20:32:32] Duxa: We use Doxygen [20:32:39] !class User | Duxa [20:32:39] --mwbot-- Duxa: See http://svn.wikimedia.org/doc/classUser.html [20:34:47] <^demon> RoanKattouw: I actually like your idea better. :) [20:35:40] Well it's not really my idea originally :) [20:36:00] that reminds me [20:36:07] Anyone use any extensions to convert wiki pages to PDF? [20:36:07] what controls that EditNotice page? [20:36:16] is it an extension? [20:36:51] what editnotice page? [20:36:53] <^demon> Daedalus969: It's part of core code. [20:37:01] ahh [20:37:05] I've been wondering [20:37:11] !e Collection | Duxa [20:37:11] --mwbot-- Duxa: http://www.mediawiki.org/wiki/Extension:Collection [20:37:16] That's what Wikipedia uses [20:38:44] yeah ive tried to use that... but it doesnt seem to want to run under WinXP [20:40:12] RoanKattouw: that already appears to be helping.. thsx :D [20:40:24] man, #mediawiki is always so damn helpful! [20:40:39] yes we are :D [20:45:53] <^demon> Skizzerz: Or some say :p [21:05:53] Aaron|away: moment [21:06:32] brion: I applied for mentorship at the GSoC site, could you accept please? [21:06:41] ooh sec [21:07:58] Wait, do we have to apply for mentorship with Google somewhere official? [21:07:59] aha found the right page [21:08:16] approved :D [21:08:22] Thanks [21:08:58] Anybody else interested in mentoring projects for Google summer of code? :D [21:09:00] it's awesome [21:09:51] Simetrical seems to be :P [21:10:00] Simetrical: http://socghop.appspot.com/org/apply_mentor/google/gsoc2009 [21:10:40] brion, you should post on wikitech-l. [21:10:50] i should indeed [21:11:01] and i shall! [21:11:45] if I want to load a page based on the pageid alone how is that passed to index.php? [21:12:11] index.php?curid=123 [21:12:24] thanks [21:19:19] *Simetrical submits mentor request [21:20:45] \o/ [21:21:50] I should have the time this summer, in theory. [21:22:02] I'm doing a program in number theory, but hopefully that won't be prohibitive. [21:23:25] I'll be going on vacation in late July, so I'll be unavailable for a week [21:23:52] But I guess one of the other mentors could cover for me and vice versa [21:26:11] What are the mentor requirements? [21:26:33] Simetrical: accepted thx :D [21:26:36] RoanKattouw: *nod* [21:26:53] MinuteElectron: "We need folks who’ll be available online fairly regularly over the summer and are knowledgeable about MediaWiki — not necessarily knowing every piece of it, but knowing where to look so you can help the students can help themselves." [21:26:59] MinuteElectron: Technically, being over 18 at April 20, and not being from North Korea or Cuba ;) [21:27:04] heh [21:27:07] that too i guess ;) [21:27:15] That's actually what I was looking for. [21:27:30] http://techblog.wikimedia.org/2009/03/google-summer-of-code-needs-you-to-mentor-student-projects/ [21:27:55] lemme add a link to that [21:27:57] brion: We met at FOSDEM, if you recall... [21:28:17] *^demon waves [21:28:20] "Google does not have specific eligibility requirements for mentors, as we know our mentoring organizations will be best able to determine the selection criteria for their mentors." [21:28:22] http://socghop.appspot.com/document/show/program/google/gsoc2009/faqs#mentor_eligibility [21:28:29] *brion waves at MinuteElectron :) [21:28:45] hmmm [21:28:48] "Yes. You must be 18 years of age or older by April 20, 2009 to be eligible to participate in Google Summer of Code in 2009." [21:28:55] does that apply to everybody, including mentors? [21:29:08] *brion goes to peeka t the mailing list, people usually ask this sutff [21:29:39] brion: I assume it does, they asked me that when I applied for mentor [21:29:44] And the North Korea thing too [21:29:48] Wow, the UI for this sucks. [21:29:55] (not that NK worries me, but IIRC Iran is also on the list) [21:30:06] <^demon> RoanKattouw: North Korea thing? [21:30:11] Yeah, the "I wanna mentor this project" is all the way at the bottom [21:30:34] ^demon: Google is prohibited from engaging in commerce with people from North Korea, Cuba and some other countries by US law [21:30:49] So students and mentors from those countries can't participate in GSoC [21:31:07] "Google employees, interns, contractors, family members, or residents and nationals of Iran, Syria, Cuba, Sudan, North Korea and Myanmar (Burma), with whom we are prohibited by U.S. law from engaging in commerce, are ineligible to participate" [21:31:24] <^demon> Seeing how NK is an internet dead zone, I doubt we'll get many applicants from there. [21:31:25] That applies to students at least, but the mentor application form suggests it applies to mentors as well [21:31:40] Yeah, like I said it's not NK that worries me, but Iran [21:32:30] hmm too long :D [21:32:33] i'll use a shortener [21:32:46] <^demon> brion: i can mentor for a smaller project, perhaps. [21:33:04] \o/ [21:33:09] They're all supposed to be full 40 hour/week projects, aren't they [21:33:09] ? [21:33:11] ^demon: I'll list you the project applications up until now (list only visible to mentors) [21:34:01] *Simetrical disables JavaScript on the stupid application thing [21:34:05] * Nikerabbit plans on improving i18n (I indicated I'm willing to mentor that one, but of course multiple people can do that and Brion will pick) [21:34:36] * Zhe Wu plans to write an image resizing daemon to take load off the servers [21:34:47] (that daemon could then run on a dedicated box or something) [21:35:28] Hmm, you can't be a resident or national of Iran either. Does that mean huji couldn't apply? :( [21:35:39] 03dale * r48898 10/trunk/extensions/MetavidWiki/includes/MV_MagicWords.php: fixed speech by and spoken by magic words [21:35:43] * Jeroen de Dauw plans on creating a stable version of Semantic Layers, which is an extension of SMW (sounds like SL isn't really maintained currently) [21:36:30] And finally Ialit Khandelwal plans to do something titled "Meta search with Genetic Algorithms", but I have only half a clue what that does and frankly I don't care much either :P [21:39:09] *Simetrical disclaims mentorship of anything with the word "Semantic" in its name [21:39:24] Simetrical: you anti-semantite! [21:39:40] *^demon joins Simetrical in that. [21:41:00] <^demon> RoanKattouw: so those are the only 4 so far? [21:42:06] *cary huggles ^demon [21:42:35] Yeah, that's all we got so far [21:42:37] <^demon> are Trevor and Cary having an identity crisis? [21:42:49] Switching his laptop back and forth :) [21:44:03] <^demon> cary: so are you cary or are you trevor? i assume the former since I've never known trevor to huggle people. [21:44:14] I'm cary [21:44:43] If I ever give him his super light MacBook Pro back, I'll rename to him again [21:45:24] <^demon> brion: got a minute? [21:46:19] not until i finish the last three things i said i'd do in a sec [21:46:39] brion is anyone in my chair? [21:46:46] *^demon joins the line [21:46:52] cary: no, it has cooties [21:47:02] :P [21:47:08] <^demon> brion: you need a "Brion's review queue" extension :) [21:47:31] {{user follows brion's review queue}} [21:47:37] :P [21:47:47] actually i've been considering juts that ;) [21:48:17] <^demon> developers can put patches/bugs/revisions they want poked :) [21:48:27] Just developers? [21:48:52] <^demon> or humans. [21:48:57] 03dale * r48899 10/trunk/extensions/ExternalData/ED_Utils.php: updated static $this to self:: reference in static fetchURL function [21:56:22] <^demon> RoanKattouw: the image daemon is cool, but I know nothing about daemon-making. [21:58:35] I know nothing about image formats either, I'd probably have to pass on that. [22:19:05] 03dale * r48900 10/branches/MetavidWiki-exp/skins/mvpcf/style.css: skin update [22:19:21] I have a question about which is better, user accounts via the wiki itself, or htpassword and htaccess for locking down the entire wiki? [22:19:53] mark_w_wallace, which is better, a motor scooter or a chainsaw? [22:20:09] They're used for rather different things, and aren't mutually exclusive. [22:20:20] ok, fair point, [22:21:40] just wanted to check [22:22:23] <^demon> stupid irc client only connects to ip's....it fails on hostnames :-\ [22:23:11] 03siebrand * r48901 10/trunk/extensions/SimpleSecurity/SimpleSecurity_body.php: Add a few FIXMEs. Inadequate i18n. [22:24:23] 03aaron * r48902 10/trunk/phase3/ (4 files in 3 dirs): [22:24:23] Tweaks for bug 18068: [22:24:24] *Added unhide link for viewing of old deleted versions too [22:24:24] *Enabled diff buttons for privileged users [22:25:28] ^demon, Simetrical: About the daemon: he's gonna write it in Python, and I don't know Python xD [22:25:50] 03siebrand * r48903 10/trunk/extensions/SimpleSecurity/SimpleSecurity_body.php: Update FIXME. $wgLang->commafy() fits better. [22:27:21] <^demon> RoanKattouw_away: i know enough to poke with it, not mentor. [22:29:12] Right [22:29:45] Knowledge of image formats doesn't seem to be necessary though, he mentioned Python has libs for manipulating that stuff. From what I gather it's basically daemon-making [22:30:16] <^demon> is it a daemon wrapper for im, or moving away from im entirely? [22:31:31] I know from a python lib that uses im [22:31:42] but there are also libs that have their code inside [22:31:47] No, it's not IM, it uses PIL (Python Image Library) and libsvg [22:31:49] as you can write python extensions with c [22:31:59] librsvg, sorry [22:32:34] still no PIL for Python 3 :( [22:32:48] The daemon proposal is publicly readable here: http://madk.org:8000/gsoc/image-daemon.html [22:33:04] Does anyone use or have any experience with " Extension:Pdf Export" ? [22:35:23] It's being used on Wikipedia AFAICT [22:36:55] <^demon> RoanKattouw: very nice write-up. i can mentor insofar as the mw part goes...i just lack python and daemon experience. [22:36:59] i cant seem to get it working... followed directions to the letter.. and even tried starting over couple times... it gives a blank page.. and sometimes ccrashes Apache =/ [22:37:47] ^demon: Same here :P I have some very basic daemon experience, but none in Python either [22:38:56] <^demon> from reading his write-up, i doubt he'll need much python help...i think most the mentoring is mediawiki. [22:39:02] 03aaron * r48904 10/trunk/phase3/languages/messages/MessagesEn.php: 'removed from the public archives' -> 'deleted' [22:39:15] *Simetrical has achieved Excellent karma on Slashdot, woo [22:39:58] Yeah, but you'll probably want someone who has a clue about Python and daemons to at least take a peek at his code every once in a while [22:40:03] <^demon> Simetrical: that took how long? [22:40:21] Or you'd potentially get a daemon that's perfectly integrated with MW but sucks daemon- and Python-wise [22:40:50] ^demon, didn't time it. [22:41:00] <^demon> RoanKattouw: very true. [22:41:54] Hmm, I'm supposed to be posting at a default mod level of two now by default, but I seem not to be? [22:42:07] Possibly something like a dual mentorship (with a "junior mentor" for the Python/daemon part) would work, but the best option would obviously be to find someone who knows all three [22:42:22] What does the project actually have to do with MW anyway? [22:42:50] I mean, how is it directly connected? Won't it just be an option for MW to shell out to instead of ImageMagick? [22:43:00] It's an extension [22:43:03] Yes, it's not really for MW but more for WMF [22:43:15] it will remove the use of ImageMagick [22:43:23] You'd have this daemon running on multiple dedicated boxes ideally, which speeds up image processing [22:43:38] <^demon> it also requires some changes to the thumb handling...because right now all of it assumes a render-then-view workflow. [22:44:00] <^demon> the daemon changes that to a render-later-show-now. [22:44:00] Good point, I'll add that at the GSoC page about the project [22:44:09] heh, which is impossible [22:44:38] So.. i am being told the followind --> You haven't set permissions on the SpecialPdf.php file; Apache can't access it.... how do I do that? [22:45:00] ^demon, perhaps you mean "render-in-background-after-upload"? [22:45:03] which is a good thing imo, ^demon [22:45:23] Simetrical: No, because you can do [[Image:Foo.jpg|112px]] [22:45:36] And even change that 112 to 113, which would cause a new thumb to be generated [22:45:50] On the wiki I am working on we have often a lot problems with the images and animations, especially with image cache. Having something that works in the background would help [22:45:52] Well, yeah, sometimes you'll have to generate it on demand. [22:46:02] Unless you're psychic. [22:46:14] <^demon> ew rain cant irc. [22:46:31] or display the original size image downscaled (via html) until the thumb is ready [22:47:29] Does anyone know? [22:47:38] <^demon> Simetrical: unless we did a "resize later, pick the best thimb for now" [22:47:54] ^demon: Agree with the following paraphrasal? "such a daemon delaying thumbnail generation would kind of conflict with MW's current behavior of generating thumbnails at wikitext parse time and displaying them immediately. That doesn't mean the two are impossible to unify, of course, but it's something you probably want to think about as early as possible." [22:48:52] <^demon> sounds good [22:53:10] <^demon> RoanKattouw: like I said. very cool idea....needs some major mw changes though :) [22:54:03] 03(mod) Section edit links should pick correct section, or give warning, if sections have changed between view and edit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18187 +comment (10roan.kattouw) [22:55:11] 03(mod) Section edit links should pick correct section, or give warning, if sections have changed between view and edit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18187 (10brion) [22:57:30] <^demon> be nice to the api :) [22:58:14] Yeah well this stuff happens all the time, for nearly every new API write module I have to refactor some of the core code, and I thought I'd beat that for this once :P [22:58:54] Although some of that is just not following OOP principles well, like putting a method that checks which groups a user is allowed to add/remove in UserrightsForm instead of User [22:59:33] <^demon> A perfect example being loginform ;-) [23:00:17] Yeah, it seems to suck so much that the API just wraps around it with a FauxRequest [23:00:21] It does that with EditPage as well [23:01:23] <^demon> ok, time to drive home from campus. back in a bit folks. [23:07:22] 03(NEW) Pages queried with {{PAGESIZE:...}} show up in the "templates transcluded on this page" list below the edit window - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18188 minor; Normal; MediaWiki: Templates; (happy-melon) [23:26:40] 03(mod) Got $wgNamespaceProtection, lack $wgNamespaceNoWatch - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18184 (10innocentkiller) [23:47:06] 04(REOPENED) Line-wrap help/error info in &format=jsonfm - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16422 summary; +comment (10herd) [23:49:42] hello ppl [23:49:48] anybody awake? [23:50:04] need some help on installing the mediawiki on localhost [23:50:19] well, it's only 6:50PM CST, so I'm assuming there must be at least someone that's awake [23:50:23] total frustrated newbie here :) [23:50:48] chuck, well, here's 1.50 AM :) [23:51:24] <^demon> Monotip: What exactly is the problem? [23:51:30] ok: [23:51:47] downloaded the mediawiki zip/tar [23:51:57] i'm running: [23:52:07] wamp server on windows xp [23:52:48] unzipped the mediawiki into the www/somefoldername [23:53:36] accessed localhost/somename/config [23:53:54] <^demon> Ok. [23:54:02] enviroment is checked [23:54:03] but: [23:54:05] Attempting to connect to database server as admin...failed due to authentication errors. Check passwords. [23:54:10] i get this messae [23:54:14] *message [23:54:35] <^demon> Sounds like your username/passwords aren't right. Did you already create the wiki database and a user for it, or not? [23:54:50] question: do I have to manually create first a database or does this the configuration? [23:55:09] 03(NEW) Request for &rvdiffprop in &prop=revisions to fetch diff info - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18189 enhancement; Normal; MediaWiki: API; (herd) [23:55:18] i've created the database using phpMyAdmin [23:55:49] <^demon> You can create it before (and that's what the info you'll provide will access). Or you can provide an admin user/login (that has permissions to create users and databases) and it'll create it for you. [23:57:03] hm... [23:57:26] more specific: [23:57:45] Monotip: you will need to go into phpmyadmin/the wamp setup files because mediawiki hates using root/ for mysql iirc [23:58:01] i've created the database named "darkdb" under phpMyAdmin [23:58:40] have you given any users permissions to access it?