[00:00:48] OverlordQ, All those legs make things complicated. Python has no braces, parens, overcomplex typing, or in fact legs [00:00:56] kim_bruning: Well, I think that is most important - especially now it is in Wikimedia subversion, so lots more people may be using it. [00:00:56] ;-P [00:01:28] MinuteElectron, and if they script it, a syntax update will break many more scripts [00:01:32] Indeed. [00:01:56] :-( [00:02:02] I'll have to Think Fast [00:02:38] OverlordQ, actually, IIRC brion pointed out that it might have been nicer if the code had been in PHP [00:03:01] OverlordQ, insofar as that it'll work on anything that runs mediawiki already [00:03:20] yea but its not whitespace agnostic [00:03:42] OverlordQ, Dude, I've been adding whitespace to my programs for 20 years or so by now [00:03:52] so it's instinctive to me [00:04:13] the nice thing about python is that it actually seems to read my mind. (though I know it's really just reading my instinctive use of the tab key) [00:04:34] OverlordQ, YMMV, instincts not included in package. [00:05:15] I just think a language where indention is vitally important is broken by design :P [00:05:34] Why? [00:05:50] Any C code that's not indented correctly is really bad practice anyway. [00:06:06] OverlordQ, you're just trying to whip up a conversation ;-) [00:06:39] OverlordQ, I think a language that actually can and will do the OPPOSITE of what the indentation suggests is broken by design ;-) [00:06:53] if (foo) [00:07:00] TIMTOWTDI ;) [00:07:01] do_this(); [00:07:05] do_that(); [00:07:20] what happens if foo is false? ;-) [00:07:53] hellifknow, that's why the great noodly appendege invented {}'s :P [00:08:04] There should be one-- and preferably only one --obvious way to do it. [00:08:04] Although that way may not be obvious at first unless you're Dutch. [00:08:21] so... I actually happen to be dutch [00:08:23] any languages use RPN? [00:08:26] once again YMMV :-) [00:08:47] OverlordQ, yes forth does [00:09:08] I find that the only people bitching about python's method of scoping/indentation, are the ones who have never actually used it (much) in practice [00:09:14] mmmmmmm, write the installer in forth :P [00:09:29] OverlordQ, I have actually written forth-like languages a lot [00:09:36] I am pretty stubborn about things like indentation, and it's NEVER been in my way [00:09:43] I could write the interpreter/compiler in python? ;-) [00:10:17] (for some definition of "a lot" where lot is 3 ... I guess that's a lot if you're into writing own pet languages ;-) ) [00:10:52] anyting crazy like brainfsck or befunge? [00:10:53] hmm, to do it really well, I would need to read up on x86 assembler though, specificially for compiler writing [00:11:04] OverlordQ, nope, sorry [00:11:07] all crazy like forth ;-) [00:11:52] I typically just wrote them with interpreters though [00:12:19] 03simetrical * r47318 10/trunk/phase3/maintenance/populateCategory.php: Newline after help message to not mess up terminal [00:12:27] Yay, CIA has woken up. [00:12:31] I did write one variant that did turtle graphics... it pushed the command line onto the stack right-to-left so that the syntax still resembled logo [00:13:01] (could you imagine someone doing 90 right 100 forward? ;-) [00:13:37] (of course, this does make stuff like forward right 90 100 valid syntax. Good luck deciphering ;-) ) [00:15:32] OverlordQ, finally, I actually love Perl too , it's a fun language, especially when you're hacking together code to rewrite a 10000 line project to remove 99% of all globals O:-) [00:18:46] i love it because I get to play "Now why did I write it like that" after shelving a script for a while :D [00:19:26] OverlordQ, yeah, you can't do that with python. You can still read your code after a year or two [00:19:42] :-P [00:20:26] night [00:24:46] night! [00:31:27] 03(NEW) Add WQ: as an alias for Wikiquote: namespace on Simple English Wikiquote - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17526 15enhancement; normal; Wikimedia: Site requests; (james.maximillion) [00:31:34] ewwwww [00:31:45] Why is that ewwwww? [00:31:46] Ew? [00:31:48] *Simetrical counts w's [00:31:58] Ws, too. >_> [00:32:05] all interwikis should just be there full name >.> [00:32:08] WQ:/WP: aliases are kinda freaky. [00:32:08] *runs and hides* [00:32:13] werdnum, oh, and by the way, Wikiquote got me modded +5 Informative. \o/ http://slashdot.org/comments.pl?sid=1128853&cid=26868017 [00:32:54] So feh to it not being useful! [00:33:22] *Simetrical just got up to "Good" karma, in fact [00:33:22] see something like [[Wikiquote:Steve Jobs]] would make much more sense to a newbie editor than something like [[WQ:Steve Jobs]] [00:34:00] This isn't interwiki, though. [00:34:10] It's intrawiki, and probably to be used only for shortcuts. [00:35:08] i also hate all single letter intewiki/intrawiki links as well if they are still around [00:36:02] Whoa, WTF, I never knew /. was owned by SourceForge. o_O [00:36:26] We could alias WTF to Wikipedia: [00:36:31] sounds appropriate [00:36:37] isn't it owned by a company that owns both them and sourceforge? [00:37:05] 03(mod) Comments may be cut off on page moves and page protections - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=16921 +comment (10gtisza) [00:37:23] p858snake, yes, and that company is called "SourceForge, Inc." [00:37:55] :o someone tried to make a wiki article abut Kenny Glenn [00:38:39] *about [00:43:10] weren't they OSDN at one point? [01:22:21] anyone here that knows the internal of Extensin:Gadgets? Duesentrieb? Siebrand? [01:22:37] 03siebrand * r47332 10/trunk/phase3/ (4 files in 3 dirs): Renamed 'ug' to 'ug-latn' to make room for a future 'ug-arab' (and possibly ug-cyrl). [01:23:24] 03catrope * r47333 10/trunk/phase3/includes/api/ApiQueryUsers.php: API: Add AS explicitly for PostgreSQL compatibility and fix hinky indentation in ApiQueryUsers. Patch by Brad Jorsch [01:26:11] 03aaron * r47336 10/trunk/extensions/CodeReview/CodeReleaseNotes.php: [01:26:11] * Tweaked asterisk handling in summaries [01:26:11] * Added shortenSummary() function [01:26:12] * Escaped $ literal for regexp and removed var matching [01:33:53] 03simetrical * r47319 10/trunk/phase3/includes/Article.php: (log message trimmed) [01:33:53] Partial revert of r41018 "Wrap $log->addEntry() in transaction" [01:33:53] In addition to wrapping the given function call in a transaction, the [01:33:54] commit also (without explanation or apparent purpose) moved a block of [01:33:54] code to a totally different place, which broke it entirely. [01:33:56] Specifically, it moved the update of the category table on article [01:33:58] delete to AFTER THE CATEGORYLINKS ROWS WERE ALREADY DELETED, which meant [01:34:04] 03simetrical * r47320 10/branches/REL1_14/phase3/includes/Article.php: [01:34:06] Partial revert of r41018 "Wrap $log->addEntry() in transaction" [01:34:28] Backporting r47318 to branch. [01:36:25] 03ialex * r47321 10/trunk/extensions/WikiTrust/ (8 files in 5 dirs): svn:eol-style native [01:36:25] 03raymond * r47322 10/trunk/phase3/languages/messages/ (116 files): Localisation updates for core messages from translatewiki.net (2009-02-16 16:59 UTC) [01:36:25] 03aaron * r47323 10/trunk/extensions/CheckUser/CheckUser.php: PG tweak for bug 17520: use default cuc_page_id val [01:37:32] 03catrope * r47324 10/trunk/phase3/includes/api/ApiQueryUsers.php: API: Fix yet another regression from r46845 that completely broke list=users. Patch by Brad Jorsch [01:37:32] 03malafaya * r47325 10/trunk/extensions/LiquidThreads/pages/TalkpageHeaderView.php: missing blank space between messages [01:37:32] 03aaron * r47326 10/trunk/phase3/includes/Article.php: Fix r47319: this is reverting the wrong revision (cause was r40912). Move cat stuff up to original point. [01:37:50] 03aaron * r47327 10/trunk/phase3/includes/JobQueue.php: Add gripe about FIFO and random row selection [01:38:41] It's aliiiiiiiive [01:38:49] 03malafaya * r47330 10/trunk/extensions/LiquidThreads/pages/TalkpageHeaderView.php: i18n: using message 'word-separator' instead of hard-coded space [01:38:49] 03raymond * r47331 10/trunk/extensions/ (67 files in 62 dirs): Localisation updates for extension messages from translatewiki.net (2009-02-16 17:30 UTC) [01:38:51] 03(NEW) 1,12 and 1.13 Instals don't have a "prefix" MYSQL option - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17527 normal; normal; MediaWiki: Database; (gazumped) [01:40:07] 03ialex * r47334 10/trunk/phase3/maintenance/ (cleanupCaps.php cleanupTable.inc cleanupWatchlist.php): Made WatchlistCleanup and CapsCleanup extend TableCleanup rather than FiveUpgrade so that they don't need to re-implement cleanup() and runTable() [01:40:07] 03raymond * r47335 10/trunk/phase3/includes/specials/SpecialPreferences.php: [01:40:07] Prettify code of Special:Preferences#Misc. Use Xml::functions. [01:40:09] This maybe fixes bug 17482 (Formatting error in "preferences") but I cannot see the effect in my installations. [01:44:00] 03huji * r47337 10/trunk/phase3/languages/messages/MessagesFa.php: Localisation updates: Better translation for "IP" in the Persian messages [01:46:12] 03jnatividad * r47338 10/trunk/extensions/SemanticResultFormats/Ploticus/ (6 files in 4 dirs): added sample PLOTICUS_CONFIG file; expanded README re PLOTICUS_CONFIG; added replacement scatter plot prefab (scats.pl); renamed addons dir to prefabs. [01:47:21] busy night tonight [01:47:40] no, just cia catching up [01:47:41] *GreenReaper was just watching it go scrolling by. [01:47:52] oh, didn't know it was lagged [01:48:02] 03kim * r47339 10/trunk/wiki/ (66 files in 13 dirs): Putting the wikiation installer into mediawiki svn [01:49:37] 03kim * r47340 10/trunk/wiki/wikiation/installer/ (8 files): License information [01:49:37] 03thomasv * r47341 10/trunk/extensions/DoubleWiki/DoubleWiki.php: minor [01:50:34] 03kim * r47342 10/trunk/wiki/wikiation/wikiation_exttest/ (22 files in 4 dirs): [01:50:34] Importing the wikiation extension tester. [01:50:34] (uses pywikipedia to do diverse tests) [01:51:10] 03kim * r47343 10/trunk/wiki/wikiation/installer/LICENSE: +License data for Logo.png [01:51:22] 03kim * r47344 10/trunk/wiki/: moving this tree by hand [01:51:39] 03kim * r47345 10/trunk/wikiation/ (65 files in 12 dirs): re-importing installer to the correct location [01:51:39] 03kim * r47346 10/trunk/wikiation/wikiation_exttest/ (22 files in 4 dirs): import the wikiation extension tester to the correct location [01:51:39] 03kim * r47347 10/trunk/wikiation/wikiation_check_isolation/ (14 files in 2 dirs): add the check isolation tool to mediawiki svn [01:52:03] 03kim * r47348 10/trunk/wikiation/installer/ (4 files in 4 dirs): Update installfiles to reflect new locations [01:53:18] o_O [01:53:51] *Charitwo bites werdnum [01:56:30] 03(NEW) Clicking on "Edit" in Wikipedia produces only a blank field - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17528 04BLOCKER; normal; Wikimedia: Bugzilla; (shawngoldwater) [02:00:34] 03(mod) Clicking on "Edit" in Wikipedia produces only a blank field - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17528 +comment (10Andrew) [02:02:18] 03(mod) Clicking on "Edit" in Wikipedia produces only a blank field - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17528 +comment (10Andrew) [02:11:02] 14(WFM) Clicking on "Edit" in Wikipedia produces only a blank field - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17528 +comment (10Andrew) [02:13:44] heh [02:14:06] perhaps also find out what gadget/script caused it so we can find out? [02:14:12] and possibly fix it [02:48:54] 03tstarling * r47349 10/trunk/phase3/maintenance/checkImages.php: [02:48:54] * Fix batching [02:48:54] * Report when there is a directory where a file should be [02:52:12] 03tstarling * r47350 10/trunk/extensions/CentralNotice/SpecialNoticeTemplate.php: Committing live fix. [02:59:23] hi guys [02:59:34] !safe-mode [02:59:34] --mwbot-- I don't know anything about "safe-mode". [02:59:37] !safemode [02:59:37] --mwbot-- safe_mode is an ill-concieved, broken-by-design setting in PHP that is supposed to make broken scripts safe. It was deprecated in PHP5 and removed in PHP6. MediaWiki can run with safe_mode enabled, but many of the advanced features will not work or need additional configuration (image thumbnailing using ImageMagick, for example). See http://www.mediawiki.org/wiki/Safe_mode for more information. [03:02:31] in the above link, when it says make images/temp, images/deleted, etc... is it saying make those new directories in the root, or to add those to images in the /skins/common/images directory? [03:05:25] I think it's in the root, not in /skins/common/images [03:05:40] okay [03:05:43] Remember, it maps to your website, so the images are in /w/images/... [03:06:01] funny how so many directories have the same name. i find that confusing. [03:06:10] what does w mean? [03:06:39] It's the common name used as the directory holding the main index.php file and other subdirectories. [03:07:14] On most sites, /wiki/ is just a shortcut for /w/index.php?title= [03:07:44] Okay [03:07:54] so on my site /home/public [03:07:56] 03tstarling * r47351 10/trunk/phase3/includes/CategoryPage.php: Live patch: use a query group for CategoryPage [03:08:36] Depends how you have it set up exactly, but the simplest way is to extract the files of the MediaWiki distribution to /home/public/w/ [03:08:43] if public is the root of your website. [03:09:41] See here for more info on how to get it so that you access it as /wiki/: http://www.mediawiki.org/wiki/Manual:Short_URL [03:17:33] 03tstarling * r47352 10/trunk/phase3/ (RELEASE-NOTES includes/DefaultSettings.php includes/User.php): Added $wgRateLimitsExcludedIPs feature, based on live hack. [03:18:08] GreenReaper: im not using it with /wiki/ im using it as a subdomain. [03:18:51] GreenReaper: http://wiki.club-ubuntu.org [03:19:41] Then you want http://www.mediawiki.org/wiki/Manual:Short_URL#URL_like_-_example.com.2FPage_title [03:20:09] GreenReaper: i don't understand. Why do I want that? [03:20:47] Well, if you want to access it as http://wiki.club-ubuntu.org/Pagename. I thought that was what you were saying; if not, my apologies. [03:21:42] Probably for the best, that method isn't recommend due to various issues that have to be worked around. :-) [03:22:05] hi everyone, i have scoured the mediawiki wiki and cannot find out how to add email verification to account creation [03:22:14] can someone please tell me how or give me a website that explains it [03:23:41] When you say verification, do you want to verify that the email is valid, or do you want to require that they verify their email before being able to use the account at all? [03:24:12] you know xrumer will spam you anyway [03:24:41] it supports lots of different types of throwaway web-based email account [03:25:05] For Xrumer you need a captcha [03:25:23] yeah, it doesn't recognise our captcha yet [03:25:31] if we ported it to a blog they'd probably add it though [03:25:38] zu22: See http://www.mediawiki.org/wiki/Manual:Configuration_settings#Email_settings in particular $wgEmailAuthentication [03:26:14] If you want verification to be mandatory before use, also set $wgEmailConfirmToEdit [03:26:14] From MediaWiki.org [03:26:14] Jump to: navigation, search [03:26:22] Whoops, a little too much copied there. [03:26:27] what is easiest is to just allow users to create accounts, but not do anything until they confirm their email [03:26:30] *GreenReaper blames hidden subtitles [03:26:36] what is most Big Brother is: http://www.mediawiki.org/wiki/Extension:ConfirmAccount [03:26:42] Then you strike! [03:26:55] (but that requires manual creation by you and trusted 'crats/sysops) [03:27:33] GreenReaper: well i'd like to do both if possible but i'd settle for the latter [03:27:41] 03tstarling * r47353 10/trunk/phase3/includes/MessageCache.php: Added some profiling sections for expensive functions [03:27:48] The latter requires the former. [03:27:52] Just set both to true. :-) [03:28:01] GreenReaper: thanks [03:28:37] In fact by default all only $wgEmailConfirmToEdit needs to be set to true. [03:28:42] -all [03:28:44] cool [03:28:56] Authentication is default true. [03:29:09] i am taking over the wiki hosting for an open source game i contribute to [03:29:12] 03tstarling * r47354 10/trunk/phase3/includes/Wiki.php: Profile RawPage [03:29:21] so this is my first exposure to running a wiki [03:29:48] Good luck. :-) [03:29:49] i found directions how to add ReCAPTCHA so i'll throw that in too [03:29:56] GreenReaper: thanks [03:30:09] If I may steal Tim's quote, the best way to prevent spam is to require credit card numbers for all new registrations, and pre-authorise a $50 fine for spam. [03:32:24] 03tstarling * r47355 10/trunk/phase3/includes/ProfilerSimple.php: Support early loading of the Profiler class from a different directory (live patch) [03:32:35] werdnum: lol [03:32:50] what the heck is CIA-60 doing? [03:32:52] is he a bot? [03:33:03] zu22, Yes... [03:33:07] k [03:33:08] it's telling you about all my very important software changes [03:33:13] oh [03:33:19] *CWii2 facepalms [04:50:46] [04:51:22] What's the best way to redirect traffic from the root domain to a subdirectory my wiki is installed in? [04:54:59] kaoticsnow: php or html? [04:56:03] yea, html...sec [04:56:22] both are easy [04:57:31] I was hoping for .htaccess but php would work [04:57:42] [04:57:56] [04:58:01] kk that works thanks [04:59:26] for html ...content="0;... is instantaneous whereas 5 gives a delay [05:00:53] sweet I got it working with the php method, thanks [05:10:48] pfft don't use either of those, use a .htaccess file [05:10:51] much nicer! [05:11:38] or if you have access to the servers (apache/nigix ect) config files do it them which is even nicer [05:13:21] p858snake: sure, but i cant remember that off the top of my head [05:15:58] I have root access to the box [05:16:05] its an internal wiki for work [05:19:37] p858snake: how would I go about doing it with apache config files? [05:20:59] !man Short URL | kaoticsnow [05:20:59] --mwbot-- kaoticsnow: http://www.mediawiki.org/wiki/Manual:Short [05:21:05] !man Short_URL | kaoticsnow [05:21:05] --mwbot-- kaoticsnow: http://www.mediawiki.org/wiki/Manual:Short_URL [05:21:14] that should give hints for how to do it [05:21:25] but i've never tried them before [05:21:57] hmm we'll I followed the instructions already for http://www.mediawiki.org/wiki/Manual:Short_URL#Recommended_how-to_guide_.28setup_used_on_Wikipedia.29 [05:22:17] but now going to the URL shows a directory listing and I have to click the w directory to see the wiki [05:22:48] I just need to redirect everything going the the base URL redirected to the /w subdirectory [05:43:01] 03(mod) Job queue estimate often woefully inaccurate; need a better strategy - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=9518 +comment (10public) [05:50:07] kaoticsnow: http://httpd.apache.org/docs/1.3/mod/mod_alias.html#redirect is there an easier way to rename user accounds? I installed the Renameuser extension but am getting a undefined method error, can I just hop into the database and rename the user there? [06:01:01] kaoticsnow_: if you didn't see it earlier " kaoticsnow: http://httpd.apache.org/docs/1.3/mod/mod_alias.html#redirect awww thanks! now just need to figure out how to rename my account and I'm golden! [06:11:32] renaming users in the database is quite complex [06:11:44] you should tell us what the error is [06:12:27] not an error its just that when I installed the wiki I set up the first user using kaotic as my name [06:12:40] the undefined method error [06:12:42] and since its a work wiki It needs to be first initial and last name [06:12:50] ahh yea let me get it [06:14:40] Fatal error: Call to undefined method AuthPlugin::getUserInstance() in /var/www/w/extensions/Renameuser/SpecialRenameuser_body.php on line 425 [06:26:26] kaoticsnow_: use the version of Renameuser that matches the version of MediaWiki you're using [06:26:34] that will be 1.13 or earlier [06:27:20] http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Renameuser [06:27:33] select your version in the drop-down box before you click continue [06:32:03] I already got around it I installed the Merge and Delete addon and then created a new account and merged all of the old account information into the new one [06:32:34] but thanks alot I still want that extension instaled I'll grab the new one [06:32:43] installed* [06:46:57] 03(mod) 1.12 and 1.13 Installs don't have a "prefix" MYSQL option (stable installer regression) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17527 summary; +comment (10brion) [06:47:02] ok one last question and I'm all done, I restored my wiki from an XML dump as the disk crashed on our wiki server and I'm rebuilding it on a new server, none of the external links work, eg. [http://url.com url text] any idea why? [06:47:17] 03(mod) Add WQ: as an alias for Wikiquote: namespace on Simple English Wikiquote - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17526 +shell (10brion) [06:49:01] 03(mod) css and .js pages does not store entries in Categorylinks table/Templatelinks table - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17525 +comment (10brion) [06:49:15] 03(mod) Render wikilinks in site/user CSS/JS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10410 (10brion) [06:51:35] 03(mod) CSS and JavaScript changes should take effect immediately (at least as a config option) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17524 +comment (10brion) [06:54:50] 03(mod) Usability wiki misses the interwiki set - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17518 +shell; +comment (10brion) [06:56:11] 03(mod) Configuration files should have versioning system - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17517 +shell; +comment (10brion) [06:58:28] 03(mod) Special:RecentChanges returns a php error on usability.wikimedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17509 +comment (10brion) [06:59:20] 03(mod) E-mail on usability.wikimedia.org non-functional - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17508 +comment (10brion) [07:01:01] Whoa. [07:04:41] 03(mod) No High Dynamic Range Image (HDRI) file formats allowed on Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17505 +comment (10brion) [07:05:15] 03(NEW) rvend ignored when rvstartid is specified - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17529 normal; normal; MediaWiki: API; (sco_scam) [07:06:15] 03(mod) Single Namespace is hidden - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17504 (10brion) [07:15:27] morning [07:15:35] 03(mod) Enable Atom feed on blog.wikimedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16901 +upstream; +comment (10brion) [07:18:51] 03(FIXED) Enable Atom feed on blog.wikimedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16901 +comment (10brion) [07:29:04] What's an RCS backup? [07:29:25] context? [07:29:41] RCS is a revision control system [07:29:43] 03(mod) One sees a page as it appeared BEFORE an edit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5311 (10tstarling) [07:29:43] https://bugzilla.wikimedia.org/show_bug.cgi?id=17517#c1 [07:29:51] (similar to CVS, but only supports local files) [07:29:52] That's probably it, then. [07:29:58] For Wikimedia's conf files. [07:30:52] Hi! Does anyone uses directory-path-based wikifarms? I mean, instead of en.mysite.com, de.mysite.com, ru.mysite.com (which is simple) I'm trying to separate wikihosts as mysite.com/en mysite.com/de mysite.com/ru with mod_rewrite and having troubles with it (rewrite rule seems to be correct, but GetLocalUrl sometimes returns root urls instead of /en/* /de/* /ru./*. [07:31:39] I have that set up. [07:31:58] werdnum: Can you give a link to some sample, please? [07:32:00] Check $wgArticlePath, $wgScriptPath [07:32:05] Make sure you're setting those correctly. [07:33:14] werdnum: yes, I do set both of these. $wgScriptPath via directory symlink. to me it seems that Title::getLocalURL not always uses these vars with building a link :-( [07:33:39] What types of links? [07:34:03] QuestPC: take a toolbox: Special pages set OK, but Printable version points to /index.php (to root) instead ot /en /de /ru accordingly [07:34:30] $wgScriptPath isn't set correctly. [07:34:44] I bet edit links don't work either. [07:35:17] werdnum: yes, edit links too, but I set these in LocalSettings.php for sure. it's just my LocalSettings.php is heavily modified. [07:35:30] werdnum: ok, I'll check out again. [07:49:00] werdnum: yes, silly me I've set $wgScriptPath but forgot to comment out default generated $wgScriptPath="" in another place. [07:49:46] :) [07:58:31] 03(mod) One sees a page as it appeared BEFORE an edit - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5311 (10tstarling) [07:59:05] replication sucks [07:59:17] let's just send all our queries to the master [08:02:52] TimStarling: I wonder if we could add some (probably abusable) special case to the edit code so that that pageload always happens from themaster [08:03:04] sure, easy enough [08:03:14] it still doesn't fix the problem [08:03:34] that being that replication is useless [08:04:47] anywhere where it is used, there will be similar bugs [08:05:12] ChronologyProtector is broken [08:06:04] well, it will protect chronology, as its name suggests, but it takes a huge toll on responsiveness [08:06:56] you may as well just wait for the slave to catch up to the time of the start of the request, it'd be about as effective [08:07:37] I don't know how ChronologyProtector works. [08:08:06] anyone here know where i can find some help with Geshi? [08:09:55] every time you do a request, it saves the master position to the session [08:10:00] at the end of the request [08:10:27] then at the start of the request, when you open a connection to a slave, it will wait for that slave to catch up to the position specified in the session [08:10:45] the aim is to make sure that events as the user sees them occur in chronological order [08:11:01] huh. So why does that bug occur, then? [08:11:05] so first they save, then they see the article in the state post-save [08:11:44] it doesn't, when it's enabled, but it was disabled [08:12:03] oh, right. [08:12:31] the problem is that it introduces a delay for the user equivalent to the slave lag [08:12:46] the user will see this delay very regularly [08:13:14] hmm, as opposed to finding a DB server with a lag less than that slave lag? [08:13:19] for instance, if you load a page, then load the CSS from action=raw, you get a delay for action=raw [08:13:56] usually all the servers lag by about the same amount [08:16:17] the problem is that some requests can tolerate a delay and some can't [08:16:41] but without a schema designed around replication, and a few extra features in MySQL, there's no way to tell which is which [08:19:21] maybe it's easier to guarantee perfect freshness, rather than just ordering like what ChronologyProtector tries to do [08:21:35] alright, so what's the stopgap solution? [08:21:35] use the master in Article.php? [08:22:59] $dbr = wfGetDB( DB_MASTER ); [08:22:59] $data = $this->pageDataFromId( $dbr, $this->getId() ); [08:23:19] see what that does? it loads the page_id from the slave, then uses it in a query to the master [08:23:42] so if the page was recently moved, it will fetch the page data for the wrong page [08:28:29] this is old code, with old bugs [08:29:32] *werdnum is not really here, about to go to bed. [08:30:23] You could set a session variable for a page saying whether it's just been edited by that user. [08:30:29] Then if that session var is set, use the master. [08:32:30] Whoa, somebody commented on a revision in the 17000s [08:32:31] http://www.mediawiki.org/wiki/Special:Code/MediaWiki/17935#c1774 [08:32:52] :-) [08:33:08] to correct my commit message [08:33:18] lol [08:33:19] bit late for that [08:33:21] THANKS I'LL GO CHANGE THAT NOW [08:34:06] I can't tell if you're being sarcastic. [08:34:12] maybe he's reviewing every change ever starting with revision 1 [08:34:55] It's some random guy, too. [08:35:20] and already through 18000 revisions [08:35:35] Man, if he's that good, we should put him on code review of recent stuff. [08:35:38] Is the code still wrong? [08:35:46] It'll be awesome, we'll have a code update every day. [08:35:50] Marybelle: It was the *commit message* [08:36:20] Release notes too, it looks like. [08:37:15] *werdnum shrugs. [08:37:46] +* (bug 6295) Add a "revision patching" functionality, where an edit can be undone [08:37:49] no? :) [08:37:57] Just missed the 5 in the commit message. [08:38:21] anyway, bed thyme for me, I didn't get much sleep last night thanks to a certain mozilla UI developer. [09:06:34] How do I form a link to User:username from an article? http://wiki.legendro.net/index.php/Staff_Listing <-- trying to get it to point to User's local space. [09:07:20] [[User:username|username]] links to User:username, and displays just username [09:07:25] http://wiki.legendro.net/index.php/User:CuteBoi <-- it exists, yet when I try to link to it using: *[[User:Cuteboi|User:Cuteboi]] it never goes anywhere [09:07:45] Laaknor: it comes up as red still [09:08:14] toniher: Capital B. [09:08:20] Links are case sensitive mostly. [09:08:35] case sensitive [09:08:39] damn, sorry about that [09:08:46] No worries. [09:08:52] first letter is insensitive, the rest are sensitive [09:08:56] spent the last 30 minutes trying to figure that one out [09:09:03] Laaknor: Usually. ;-) [09:09:11] Sites like Wiktionary are a bit different. [09:15:37] I set up a permanently lagged (non-replicating) mysql instance as a slave to see what would happen [09:15:50] it's kind of scary [09:15:56] for what? [09:16:18] mediawiki is full of bugs that happen when slaves lag [09:16:35] like 5311 [09:17:42] I don't believe in that one [09:17:53] depends on how much they lag I guess [09:17:56] it's worse than that [09:17:59] but we resolve few second lags quite well [09:18:23] by waiting a few seconds at the start of every request? [09:18:29] mhm [09:18:36] not every [09:18:38] only for that user [09:18:47] only after change happens! [09:18:49] well, I have that disabled and it's easily reproducible [09:19:08] ghm [09:19:09] when you create a page, it just takes you back to the action=view and claims the page doesn't exist [09:19:19] and then if you click edit, it shows an empty edit box! [09:19:20] disabled what? disabled why? [09:19:25] then you can create it again [09:19:42] hehe [09:19:42] ChronologyProtector [09:19:51] oh, it has a name now [09:19:55] =) [09:20:05] yes, I split it out so that you can plug in one that works if you want [09:20:17] right [09:20:19] you just have to write one first [09:20:52] of course it is easy to reproduce problems, once you disable fixes for them! :) [09:21:53] ChronologyProtector was disabled on wikimedia for a while because I disabled it when a master went down [09:22:01] and every request was waiting for a 30 second timeout [09:22:17] and then I forgot to re-enable it when I fixed the master [09:22:21] mhm [09:22:29] when was that? [09:23:16] October 12 [09:23:31] ghm [09:24:21] ah, right %) [09:24:23] classic [09:24:28] hi Duesentrieb_ [09:27:06] when it loads text, it's right, because Revision.php guarantees current data [09:27:36] so it'll show you the current text, but the wrong history [09:27:45] and the wrong recentchanges, and the wrong user contributions [09:28:36] when a page is missing on the slave, there seems to be no way to get it to display the content [09:29:25] hi all [09:29:43] hi [09:30:38] page moves are as I thought, it loads the page_id from the slave and the rest from the master [09:31:37] so it shows you the old page as if the move wasn't done [09:31:45] except in the edit box, there it shows you the redirect [09:32:23] maybe mediawiki needs disconnected operation [09:32:30] Disconnected how? [09:32:31] then we can treat slaves as disconnected copies [09:32:54] disconnected like coda or git [09:33:11] That seems difficult to implement and prone to breakage. [09:33:46] well, I'm not serious about doing it obviously [09:34:18] just trying to make a point about how what sort of handling replication needs if it's going to present a consistent picture to the user [09:35:00] slaves? masters? [09:35:07] can someone link me to something I can read about such things? [09:35:33] tonisius: http://en.wikipedia.org/wiki/Slavery [09:35:46] Figured [09:35:48] thanks [09:35:51] *sigh* [09:35:54] http://en.wikipedia.org/wiki/Master-slave_(computers) [09:36:04] http://en.wikipedia.org/wiki/MySQL_Cluster [09:36:11] sorry for the spoiler :) [09:36:22] http://dev.mysql.com/doc/refman/4.1/en/replication.html [09:36:30] TimStarling: What's the problem with not using the slaves again after a save? [09:36:33] okay, who lent Tim a sense of humor? you know he's dangerous with one [09:36:41] Marybelle: I thought it may have been the mysql clustering, but the context was about media wiki, not the backend [09:37:03] MediaWiki runs on rainbows and cupcakes. [09:37:31] Marybelle: you mean for anything? [09:37:40] for how long? [09:37:51] Until the user navigates to a different page? [09:38:01] so for one request? [09:38:12] if that request is action=view? [09:38:18] Yes. That's the issue in this case, right? One request (post-save). [09:38:32] well, it's a nice little special case, but I think it would leave a lot of bugs unfixed [09:39:06] I've only ever seen that bug present after saving a page or after creating one. Both &action=view. You think there are other bugs? [09:39:44] what if the user saves the page, opens a new one in a tab, and that request counts as the master request, then they load the page they edited and it comes from the lagged slave? [09:39:46] yes, lots of bugs, replication + chron prot failure = bugs [09:40:40] the way to fix this particular bug, where new pages aren't shown, is to load the page row from the master [09:40:41] for all page views [09:40:43] since it's already done by Revision.php, it shouldn't cause any extra load, if the query can be shared [09:41:55] 03daniel * r47356 10/trunk/extensions/Gadgets/Gadgets.php: fix inversed test in short-cirquit condition [09:43:22] whot [09:43:31] Duesentrieb_: nice [09:43:40] :P [09:57:33] ok, here's a bug even with chron prot working: red links will be saved into the parser cache [09:57:43] for pages that exist [10:09:57] 03(mod) Formatting error in "preferences" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17482 (10FT2.wiki) [10:11:25] 03(FIXED) Formatting error in "preferences" - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17482 (10siebrand) [10:16:49] 03(mod) Single Namespace is hidden - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17504 (10dasch_87) [10:17:15] hey, what would people reccommend more? http://www.mediawiki.org/wiki/Extension:CorporateContact or http://www.mediawiki.org/wiki/Extension:ContactPage ? [10:20:05] 03raymond * r47357 10/trunk/phase3/RELEASE-NOTES: Follow up r47335: Adding to RELEASE NOTES as the bug reporter confirmed that it fixed the bug. [10:26:11] 03(mod) hyphen-minus is unreadable - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16213 (10krixel) [10:30:32] well since one is stable and one is beta.... [10:37:11] how do I find out the version of my mediawiki installaiton? [10:42:18] !version @ alpaka [10:42:18] --mwbot-- To find out the version of your MediaWiki installation, visit the page Special:Version. Should the wiki be broken, but you have access to the program files, find $wgVersion in DefaultSettings.php. [10:42:31] |, not @, i think [10:42:45] grmbl yes... [10:42:45] Raymond_afk: thank you [10:50:17] 03(NEW) Error when moving with suppressed redirect - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17530 15enhancement; normal; Wikimedia: wikibugs; (Ahonc.ua) [11:05:30] anyone here know where i can find some help with Geshi? [11:07:36] 03(NEW) Add subpage feature to the article namespace on nowikimedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=17531 15enhancement; normal; Wikimedia: Site requests; (H92.wikipedia) [11:07:48] !ask | CrushKingX [11:07:48] --mwbot-- CrushKingX: Don't say "I have a question", or ask "Is anyone around?" or "Can anyone help?". Just ask the question, and someone will help you if they can. Also, please read < http://workaround.org/getting-help-on-irc > for a good explanation of getting help on IRC. [11:08:03] Or try Googling. [11:08:28] Or reading the extension description page... [11:27:57] 14(DUP) Error when moving with suppressed redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17530 +comment (10danny.leinad) [11:28:00] 03(mod) New pages log doesn't remove/update item after suppression redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17463 +comment (10danny.leinad) [11:40:19] I installed genshi 1.0.8.2 and everything works except for the enclose, and i cant make it work, any one ever encountered a thing like that? [11:41:05] what's wrong with it+ [11:41:44] it doesnt enclose :S [11:41:58] not blie (ivory) cubicle around the code [11:42:26] i tried to set the header tag to pre but it doest work (i still dont get the cubicle) [11:43:17] 'lo [11:43:47] hey gen [11:43:51] hey [11:43:56] the problem with pre is that it breaks div-enclose [11:44:14] anyone willing to help with SMW ? [11:44:21] i didnt use
...
[11:44:44] i did that : $geshi->set_header_type(GESHI_HEADER_PRE); [11:46:03] in firebug i saw that the line setting a border and backgrounds are crossed over, and i can't find why [11:47:20] it overrides them [11:47:43] (answer: probably 'no') [11:47:45] something overrides the genshi [11:48:16] any idea how i can find what? and how i can resolve this? [11:48:22] !semantic | gEn` [11:48:22] --mwbot-- gEn`: Not many people here use Semantic Mediawiki. You might try #semanticmediawiki (also see !hesaidsemantic ). [11:48:40] dear little bot [11:48:52] I am already there and nobody is "awake" there :) [11:50:08] CrushKingX: people have asked before, and the problem I've seen is.. that the version WMF uses doesn't seem to be the same everyone installs.. [11:50:57] I have a -possibly stupid- problem on a propery which is a list of values.... not sure on how this is handled [11:51:09] s/propery/property/ [11:51:19] on WMF, if you use "line" tag parameter, the
 is suppressed, and if not, the 
 is used as the default..  on other people's copies, if you use line, the 
 is used for each line so each individual border has to be suppressed, but it is also incorrectly done for the main 
 too
[11:52:36] 	so for example if you do a , the inline