[00:01:44] !prevacc | jza [00:01:44] --mwbot-- jza: http://www.mediawiki.org/wiki/Manual:Preventing_access [00:01:58] *Skizzerz can NEVER remember the name of that factoid [00:02:43] You could just link to the page yourself :p [00:03:34] too much work :P [00:03:35] Simetrical, is there an extended user management extension. [00:03:53] !lockdown | jza [00:03:53] --mwbot-- jza: Lockdown is an extension for preventing read or write access by namespace and limiting access to special pages. For more information, see < http://mediawiki.org/wiki/Extension:Lockdown >. For general information on preventing access to your wiki, see < http://www.mediawiki.org/wiki/Manual:Preventing_access >. [00:04:02] jza: exactly what features are you looking for? [00:04:06] jza, if those links don't have it, the answer is probably no. [00:04:47] Skizzerz, have users connected to an OpenLDAP backend and have them inherit therights and map the departments to a group [00:05:01] !ldap [00:05:01] --mwbot-- http://www.mediawiki.org/wiki/Extension:LDAP_Authentication [00:05:04] Skizzerz, I think there is an ACL extension [00:05:26] that might do what you want, but perhaps not [00:06:12] does mediawiki uses the user-group relationship [00:06:14] ? [00:07:04] the mediawiki setup is that users belong to a variety of groups, and individual permissions are assigned to those groups, so that users inherit all the permissions of the groups that they belong to [00:07:47] Skizzerz, does it have any bridge to eZPublisher to upload OpenDocuments [00:07:54] idk [00:08:21] idk? [00:08:26] I don't know. [00:11:49] ok [00:11:52] thanks anyway [00:26:09] Discussion will not work in 1.12, what have I missing in upgrade from 1.11? [00:26:25] BjornH, what do you mean "discussion will not work"? [00:27:06] Simetrical, Discussion tab, I get database error. [00:27:14] BjornH, did you run update.php? [00:28:31] Simetrical, There was no update.php. [00:28:51] BjornH, it's in maintenance/. You need to run it to upgrade, or else run config.php. [00:28:54] !upgrade | BjornH [00:28:54] --mwbot-- BjornH: http://www.mediawiki.org/wiki/Manual:Upgrading [00:31:39] Simetrical, aha, in maintenance? [00:31:46] BjornH, yes. [00:31:57] Simetrical, tank you! [00:40:12] Simetrical, I run shell from wiki root and from maintenance but get error "A connection to the database could not be established. Check the values of $wgDBadminuser and $wgDBadminpassword." [00:40:43] BjornH, have you read the links I gave you? [00:41:21] Yes many times. My english is bad, I can missing some important. [00:42:35] !adminsettings [00:42:35] --mwbot-- AdminSettings.php is an additional configuration file for use with command line maintenance scripts. See AdminSettings.sample in your installation directory for details. [00:42:42] BjornH, see above. [00:42:56] BjornH, you know a MySQL username and password that can be used to run the maintenance script, right? [00:43:10] I mean, one that can do stuff like alter tables, etc. [00:43:30] Simetrical, yes, it seems to be corect, checked also. No different from 1.11 version. [00:44:44] Simetrical, hum, must check this again, tank you! [00:44:44] BjornH, evidently it's not correct, or not specified in the right place, etc. [00:45:01] Ok. [00:52:08] hi [00:52:32] is there a way to remove the parent page name from a subpage when listing in a category? [00:57:58] HelLViS69, I don't think there is, without an extension [00:58:50] mm [00:59:33] I thought to make some redirect, but it's a very ugly workaround, and I have many pages to be listed [01:04:23] Simetrical, it was the problem, I have missing correct "standard" root password :-( [01:13:39] 03(NEW) DPL's include parameter broken with new parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13677 major; normal; MediaWiki extensions: DynamicPageList2; (skizzerz) [01:15:32] I usually create sublists of #, which are ## -- This makes the list numbers and the sublist numbers as well. Is it possible to make sublist letters instead? [01:18:01] masterflex_, you need to use HTML lists. [01:18:33] Simetrical,
  1. ....
? [01:19:36] masterflex_, yes. [01:19:40]
    ... [01:19:49] Thanks, Simetrical [01:19:50] it seems like calling Article::doEdit() inside a tag extension is what's causing the strip markers.... [01:23:26] is anyone successfully using this extension ? http://www.mediawiki.org/wiki/Extension:AnyWikiDraw [01:31:10] 03(NEW) Remove W3C CSS errors from Monobook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13678 trivial; normal; MediaWiki: User interface; (conrad.irwin) [01:37:41] Simetrical, the
      http://korrekt.org/page/Note:PHP5_migration_problems_with_MediaWiki [03:23:43] 03(NEW) Deleting images and RecentChanges broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13679 normal; normal; MediaWiki: Database; (overlordq) [03:23:49] 03(mod) PostgreSQL support (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=384 (10overlordq) [03:45:02] hello, does anyone know how to retrieve the name of the current skin while inside the BeforePageDisplay hook? I thought $wgUser->getSkin()->getSkinName() would do it, but it seems to return a blank string [03:57:40] Krimpet, let me check something I hacked the other day... I think there was some other way to get the skin name [03:58:01] ah, ty :) [03:59:12] Krimpet, hmmm, no, it was the same thing, $wgUser->getSkin() [04:00:02] krimpet, says $skin->skinname though [04:00:25] both end up blank for me for some reason [04:00:42] or maybe that was something I added :) [04:01:15] not sure, i was wokring like crazy to meet a deadline when I coded that :\ [04:03:06] this is so horrible lol :( [04:04:21] gotta be a better way then stepping through revisions trying to find when a bug showed up [04:07:23] hi all, does anyone have any opinion on how reliable ACL extensions are for mediawiki? [04:08:02] I've been informed you shouldn't rely on them for anything important, but the extension code I read seems solid.. are there issues with the implementation of the userCan hook in the core? [04:11:16] checkers: the problem is mediawiki isn't designed to work that way... so you have to hope there aren't unexpected security problems [04:12:52] can you recommend an alternative OSS solution? I'm looking for a document management solution that gives version control, strong ACL controls, and preferably the ability to mark versions as 'current' and 'draft' [04:15:28] no [04:15:54] 03(mod) Request for New User Group to be created, to create account Requests. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13498 (10soxred93) [04:21:20] checkers: what does it do? [04:58:37] 03(mod) Request for New User Group to be created, to create account Requests. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13498 +comment (10mrzmanwiki) [05:02:13] 03rotem * r33060 10/trunk/phase3/languages/messages/MessagesHe.php: Update. [05:05:10] 03(NEW) Clicking on the "+" with JavaScript disabled links to the category' s corresponding main namespace page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13680 minor; normal; MediaWiki extensions: CategoryTree; (brianna.laugher) [05:07:18] 03(mod) Deleting images and RecentChanges broken - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13679 normal->major; +comment (10overlordq) [05:07:31] 03(mod) Request for New User Group to be created, to create account Requests. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13498 +shell (10raimond.spekking) [05:21:52] < AaronSchulz> checkers: what does it do? <-- I don't understand the question sorry [05:22:09] the ACL stuff [05:23:22] How do I get rid of that DOnations link on the left column? [05:24:34] !sidebar | lymeca [05:24:34] --mwbot-- lymeca: To edit the navigation menu on the left, edit [[MediaWiki:Sidebar]] using its special syntax. For more details, see . [05:25:12] MZMcBride: I can't edit it. How do I make my username admin? [05:25:37] Whichever account you created when you first set up the site can create admins. [05:26:06] [[Special:Listusers/sysop]] is a list of admins. [05:30:22] MZMcBride: How can I add a new account that's a sysop/bureaucrat [05:30:46] Log in to a user that has the bureaucrat flag and go to [[Special:Userrights]]. [06:00:05] 03werdna * r33061 10/trunk/extensions/CentralAuth/ (5 files): [06:00:05] Log users into all wikis when they log into one wiki. Loads images from a list [06:00:05] of wikis set in $wgCentralAuthAutoLoginWikis to set a cookie. Cookies apply to [06:00:05] $wgCentralAuthCookieDomains. Can be configured on Wikimedia by selecting one db [06:00:05] from each second-level domain, and setting the cookie domains to *.sld.org. [06:00:15] *Werdna solicits worship [06:12:19] 03(mod) Local Stewards on test.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13464 (10lilewyn) [06:15:21] 03aaron * r33062 10/trunk/extensions/FlaggedRevs/ (FlaggedRevision.php FlaggedRevsPage.php): Support $wgRevisionCacheExpiry [06:31:31] hello [06:31:39] moo [06:32:11] *Werdna waves [07:50:16] <_wooz> lo [08:20:44] re [08:37:17] 03werdna * r33063 10/trunk/extensions/CentralAuth/ (CentralAuth.php CentralAuthUser.php SpecialAutoLogin.php): Minor code quality stuff caught by Tim. [08:37:44] hello [08:37:53] hi Nikerabbit [08:42:48] 03tstarling * r33064 10/trunk/ (3 files in 2 dirs): Add CentralAuth cookies to the XVO header [08:56:51] siebrand: globalblocking is in quite a few languages now :) [09:12:15] Werdna: and I have not even committed the activities in the past 24 hours... [09:30:22] 03tstarling * r33065 10/trunk/extensions/CentralAuth/ (CentralAuth.php CentralAuthUser.php): [09:30:22] * More debugging output [09:30:22] * Use gu_auth_token not gu_authtoken [09:37:30] 03tstarling * r33066 10/trunk/extensions/Cite/Cite.php: Support #tag properly, allow [09:48:27] 03(WONTFIX) Create (rev_timestamp,rev_user_text) index - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13622 +comment (10roan.kattouw) [09:49:43] 03(mod) Remove W3C CSS errors from Monobook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13678 +comment (10danny_b) [09:49:51] 03(mod) Wikimedia redirect tables are missing many entries - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10931 +need-review +patch (10roan.kattouw) [09:49:59] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10danny_b) [09:57:16] <[KrusheR]> hi [10:00:29] <[KrusheR]> is there any function to wikify a given string? [10:02:38] what do you mean with wikify? [10:03:13] <[KrusheR]> i mean, given a text to parse it as wiki code [10:03:21] <[KrusheR]> instead returning just plain HTML [10:04:32] <[KrusheR]> i'm writing a tag extension and want it to return code to be parsed as wikicode [10:05:27] <[KrusheR]> i think i found something... [10:06:41] <[KrusheR]> ok, it's just $parser -> parse method [10:10:22] 03raymond * r33067 10/trunk/phase3/ (8 files in 5 dirs): [10:10:22] * (bug 13604) Add Special:ListGroupRights to show a list of defined usergroups and the rights for these groups. [10:10:22] See bug 13603 for the same function added to the API last week [10:10:22] Patch by Mormegil [10:11:34] 03(FIXED) Create a special page to view all defined user groups and their permissions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13604 +comment (10raimond.spekking) [10:17:53] 03(mod) Don' t show conditionally included links on Whatlinkshere unless they' re actually included - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8446 +comment (10tim) [10:25:34] aww [10:25:37] yet another special page [10:26:54] 03siebrand * r33068 10/trunk/phase3/languages/messages/MessagesEn.php: No need for {{ns:help}} with this link type. [10:27:35] yet another project page that is assumed to exists.. [10:28:15] hmmm, group names are not i18ned [10:28:31] and links to user list and not the project page [10:28:53] Nikerabbit: yes they are? http://commons.wikimedia.org/wiki/Special:ListUsers/sysop?uselang=fr [10:29:39] flyingparchment: http://translatewiki.net/sandwiki/index.php/Special:ListGroupRights?uselang=fr [10:29:47] oh, new special page [10:29:56] Q: does this need to be in core? [10:49:56] If a page depends on about 100+ templates, what effect is this likely to have on cpu/page loading and are there any good solutions? [10:51:55] 03catrope * r33069 10/trunk/phase3/ (RELEASE-NOTES includes/api/ApiParse.php): (bug 13544) Added oldid parameter to action=parse to allow for parsing of old revisions [10:52:53] 03(FIXED) Specify revid on action=parse - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13544 +comment (10roan.kattouw) [11:04:35] 03(NEW) Automatically monthly changing of Wikipedia logo - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13681 15enhancement; normal; Wikimedia: General/Unknown; (servien) [11:16:03] 03(NEW) Comment box for sighting edits is unnecessary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13682 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (pbirken) [11:23:16] 03(mod) localized transclusions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1136 +comment (10derfinn) [11:37:36] Hi all! [11:41:31] 03gri6507 * r33070 10/trunk/extensions/WhiteList/SpecialWhitelistEdit.i18n.php: Added German translations [11:45:20] 03rotem * r33071 10/trunk/phase3/languages/messages/ (MessagesEn.php MessagesHe.php): Update and fix. [11:46:47] hello everyone [11:54:24] why does call to dba_open lead to fatal crash? [11:54:50] What's dba_open? xD [11:54:55] wiki/extensions/AboutUsRegistrarTag/RegistrarService.class.php on line 44
      [11:55:09] I don't think they should call that function [11:55:19] What's on line 44? [11:55:28] call to dba_open [11:55:36] Just dba_open(); and nothing else? [11:56:08] dba_open($this->domains_db_path, "r", "db4"); [11:56:17] and it crashes [11:56:38] With what error [11:56:40] ? [11:57:20] Call to undefined function dba_open() [11:57:40] What the hell, dba_open() is an internal PHP function [11:57:43] 03catrope * r33072 10/trunk/phase3/includes/api/ApiQueryUserContributions.php: [11:57:43] API: Enhancing ucuserprefix performance [11:57:43] * ucuserprefix now only works for anonymous users. This allows us to add WHERE rev_user=0 (fewer rows to scan) and use the user_timestamp index (so the ORDER BY rev_user_text DESC can be killed) [11:57:43] * ucuserprefix must be an IP containing at least two full octets, e.g. '12.345.', to ensure the resulting LIKE is somewhat sane [11:57:52] Or wait maybe you don't have support for that in your PHP install [11:58:11] dba_open is probabaly an extension... yes that is what i think. [11:58:17] 03(mod) Comment box for sighting edits is unnecessary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13682 +comment (10JSchulz_4587) [11:58:17] Yeah that's probably it, your PHP doesn't have DBA support [11:58:20] how do i enable it [11:58:31] how do i get it [11:58:32] Depends, are you on shared hosting or do you own the server? [11:59:15] Hmm but you probably want to move that extension away from DBA, unless you really need it [11:59:15] i dont know, but i want it enabled for my local machine. itmust be configured correctly in the main server, it is for the local machine that i want it enabled [11:59:50] it there some other thing i can use apart from dba? [11:59:58] 03(WONTFIX) Create ar.labs.wikimedia.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13391 +comment (10JSchulz_4587) [12:00:04] Depends, what DB are you trying to access [12:00:09] mysql [12:00:12] The MediaWiki DB? [12:00:44] yes [12:00:55] Then just do $db = wfGetDb(DB_SLAVE); [12:01:02] And use MediaWiki's database functions [12:01:32] ok, will do that if i see it works as before, but i still want ot know how to enable dba_open [12:02:08] dba_open() won't work for MySQL databases [12:02:24] Anyway, wfGetDb() will return a Database object, which is documented at http://svn.wikimedia.org/doc/classDatabase.html [12:04:32] there is a possibility that there is a separate database for this case, but i am not sure. i can get away by just returning from the function's top line, but decided to try and solve this problem. [12:04:50] so i m bent on fixing this crash! [12:05:05] for the next half an hour or so! [12:05:13] Well extensions that have their own database tables MUST create them in the MediaWiki database [12:05:21] So they can use the Database class [12:05:51] You'll have to rewrite part of the extension for that, though, the fact that it uses dba_open() means it's very poorly written [12:07:39] why? core code uses dba_open, works fine [12:07:49] What the hell [12:07:51] Where? [12:07:55] interwiki cache [12:07:59] grep dba_open maintenance/* [12:08:03] i'll try to fix it later, but i am still intereted in making dba_open work [12:08:07] Yeah Database.php maybe, but extensions should use wfGetDb() and friends [12:08:11] not in database.php [12:08:16] dba_open is nothing to do with SQL databases [12:08:18] Does dba_open ever WORK for MySQL DBs? [12:08:24] it's a simple flat-file database [12:08:30] Hmm [12:08:35] (actually, it's an interface to several flat-file databases with similar APIs and semantics) [12:08:47] But extensions should just use the regular database, shouldn't they? [12:08:54] not if they need a simple flat-file database [12:09:05] umarsheikh: http://nl2.php.net/manual/en/ref.dba.php [12:09:11] And you'd *need* that because... [12:09:20] because you want to cache things with fast lookup [12:09:48] And MySQL can't do that? [12:10:02] flat file/embedded databases are typically much faster than client/server databases [12:10:12] (especially over a network) [12:10:20] Right [12:10:25] Anyway, umarsheikh: http://nl2.php.net/manual/en/ref.dba.php [12:11:21] i opened it, and thanks for ur help; i dont know what this extension does, so my priority is to first make dba_open work by configuration, then i'll try to fix the extension to use mediawiki funcitons [12:11:46] umarsheikh: The latter might not be wanted, depending on what that extension does [12:14:59] 03siebrand * r33073 10/trunk/phase3/languages/Names.php: Add comment to sr-jc/sr-jl [12:15:55] it looks like it is a separate db, so yes, it doesnt look like it needs fixing [12:16:26] OK [12:17:50] Is there is a magicword or... something to get a filepath (imagepath) ? [12:17:50] 03(mod) Allow references () to be defined without adding this instance to the list of references (< references/>) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12358 (10dunc_harris) [12:18:28] NicDumZ: A special page, I believe [12:18:47] yes, FilePath [12:18:55] hi! [12:19:05] jd_, I'm asking ^ [12:19:24] Special:Filepath [12:19:35] NicDumZ :) [12:19:43] thx [12:21:02] actually one cannot write [[Special:FilePath:something]] or something like this :) [12:21:19] Special:Filepath/foo [12:24:05] yes I know, actually, I should have wrote that won't do the trick ^^ [12:24:18] No of course not [12:24:28] ;) [12:24:38] but I guess you got the idea [12:34:37] *Sasa^Stefanovic slaps makisu [12:34:48] :) [12:37:41] 03werdna * r33074 10/trunk/extensions/CentralAuth/ (3 files in 2 dirs): Add patch file, reconcile code with actual column names in the schema. [12:52:43] *Sasa^Stefanovic off [12:56:38] 04(REOPENED) #iferror should catch imagemap errors - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13620 +comment (10derfinn) [13:06:42] 03(NEW) (intermittent) {{PAGESINCATEGORY}} sometimes returns a negative number - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13683 normal; normal; MediaWiki: Page rendering; (sco_scam) [13:07:48] hi, i would like to display the user contribution in the content of another page, is there a way to call the function wfSpecialContributions in another page? [13:08:08] ierpe: I don't think {{Special:Contributions/Bob}} works? [13:08:46] hmm the thing is im in a user profile page, and im in php, not in the wiki code [13:09:14] Ok [13:09:25] basically i want to display the last 2 or 3 activities of the user [13:09:36] Well then just do a query [13:09:39] Lemme see [13:09:46] yeah true! :p [13:09:47] $dbr =wfGetDb(DB_SLAVE); [13:09:57] why didnt i think to that! :p [13:09:59] lol [13:10:41] is it on the recentchanges table? [13:10:41] $dbr->select('revision', array(a whole lot of fields), array('rev_user' => $wgUser->getId()), __METHOD__, array('LIMIT' => 3)); [13:10:52] Oh hey wait yeah that's even better [13:11:06] woot [13:11:20] RoanKattouw: you need an 'ORDER BY' => 'rev_timestamp desc' [13:11:32] $dbr->select('recentchanges', array(a lot of fields), array('rc_user' => $wgUser->getId()), __METHOD__, array('LIMIT' => 3, 'ORDER BY' => 'rc_timestamp DESC')); [13:11:36] Werdna: I realized [13:11:41] 03(mod) (intermittent) {{PAGESINCATEGORY}} sometimes returns a negative number - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13683 +comment (10Simetrical+wikibugs) [13:11:56] thx [13:12:04] WHY ARE SUMMARY TABLES NEVER ACCURATE? [13:12:07] Argh! [13:12:18] ierpe: For what to enter for a lot of fields, see [[mw:Recentchanges table]] [13:12:29] Simetrical: Summary tables = pagelinks, redirect, etc.? [13:13:50] RoanKattouw, no, it's things like user_editcount or cat_pages. [13:13:55] when u say see [[mw:Recentchanges table]], where do you mean? in the manual? [13:13:56] Right [13:13:59] That store counts or similar for other tables. [13:14:05] They're *always* off by some percentage. [13:14:06] ierpe: www.mediawiki.org/wiki/Recentchanges_table [13:14:08] It's infuriating. [13:14:11] thx [13:14:18] Pity rebuilding them is so expensive [13:14:34] DBMSes should have a feature for keeping them up-to-date and accurate automatically. [13:14:41] I think materialized views do something like that. [13:14:44] How do they get off then? [13:14:48] I have no idea. [13:14:49] :) [13:15:08] I thought maybe concurrent additions [13:15:49] Shouldn't transactions handle that? [13:16:01] Unless two things try to delete the same row at the same time, maybe. [13:16:02] Bleh. [13:16:02] No idea [13:16:16] It's probably something like that. [13:16:20] Anyway, I can imagine deletions screwing up [13:16:26] What would hopefully work perfectly is triggers. [13:16:31] But of course those aren't in MySQL 4.0. :) [13:16:41] DELETE fails silently if the row is already gone, but the field is decremented [13:16:53] Unless the code checks for $dbw->numRows() < 1 [13:17:04] But what happens with transactional isolation? [13:17:09] Hmm, no, I see. [13:17:15] Two transactions can't concurrently try to delete the same row. [13:17:23] Because the second will be blocked, the first will have a lock. [13:17:31] *Simetrical checks if the number of rows is validated [13:17:48] Well look at the debugging output, there are multiple BEGINs and COMMITs in one MW request [13:18:05] Not in this case. [13:18:06] And the check whether the row exists in the first place is done on a slave, which lags [13:18:06] AFAIK. [13:18:17] It shouldn't be . . . [13:18:26] All update-related stuff should be done on the master. [13:18:31] Including selects preparatory to update. [13:18:59] Well maybe that SELECT happens in a more generic context [13:19:01] 03(mod) (intermittent) {{PAGESINCATEGORY}} sometimes returns a negative number - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13683 (10sco_scam) [13:19:46] Although it should probably be re-done FOR UPDATE [13:20:01] Hmm, I don't see any row-count-checking in doDeleteArticle. [13:20:14] But I didn't really look. [13:20:14] Perhaps that's the problem [13:20:29] doDeleteArticle() can be run on articles that have just been deleted [13:20:56] Or does it check for that? [13:21:14] I'm not seeing that it does . . . [13:21:20] Anyway, any code that decrements a counter field should check whether the DELETE succeeded [13:21:31] Same for INSERTs [13:21:35] RoanKattouw, the problem is this is all batched. [13:21:40] I think. [13:21:42] Batched? [13:21:53] I mean, you're doing a single query that affects a bunch of different categories. [13:22:01] Right [13:22:02] You only get a total row count, you don't know which . . . eh, never mind. [13:22:05] Shouldn't make a difference. [13:22:08] But yes, you're right. [13:22:29] Hmm, I see. [13:22:36] It selects the categorylinks rows, but not FOR UPDATE. [13:22:40] What happened to the total row count thought? [13:22:43] It could be something else deletes them in the interim, maybe. [13:23:04] I could do that FOR UPDATE. It would make sense. [13:23:22] RoanKattouw: there you are [13:23:30] Hi [13:23:38] now, do not move [13:23:44] Although Tim doesn't like it, he thinks it causes lots of pseudo-deadlocking. [13:23:58] Simetrical: How's that? [13:24:05] I.e., that InnoDB randomly decides FOR UPDATE-related stuff is deadlocked when it can't possibly be, and starts rolling stuff back. [13:24:18] Because it uses heuristics for deadlock detection. [13:24:18] RoanKattouw: did you do at monday what you said you where to do? [13:24:24] OK... then why do I see FOR UPDATE all over the place [13:24:35] AzaTht: Would that be the $dbw->commit(); stuff? [13:24:42] no [13:25:02] the redirect stuff [13:25:03] RoanKattouw, you don't. :) [13:25:08] There isn't a whole lot of it. [13:25:25] Simetrical: OK, it's just a couple of parameters to Article and Database members... [13:25:32] AzaTht: You mean the redirect error messages? [13:25:41] !b 10931 | AzaTht [13:25:41] --mwbot-- AzaTht: https://bugzilla.wikimedia.org/show_bug.cgi?id=10931 [13:25:57] The attached patch fixes 10931 and the API redirect bug [13:26:08] Just waiting for it to be reviewed (Simetrical! ;) ) [13:26:25] RoanKattouw: no, the redirect filter on rc [13:26:33] Oh THAT [13:26:40] Err I believe I did, let me check [13:26:44] hehe [13:26:55] *AzaTht is now playing ::[ Metal | Nightwish - Dark Passion Play - The Poet and the Pendulum | 13:54 | 210kbps | 44.1KHz ]:: [13:27:03] !r 32916 | AzaTht [13:27:03] --mwbot-- AzaTht: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=32916 [13:27:13] AzaTht: Here's a link for you \frac{1}{2}n^2+4\frac{1}{2}n+2 \geq 171 [13:27:15] Oops [13:27:20] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/?view=log [13:27:21] good [13:27:28] haha [13:27:32] nice link ツ [13:27:42] Those are the most recent commits that changed anything in includes/api [13:33:35] wonder why no one has tested this for me: https://bugzilla.wikimedia.org/show_bug.cgi?id=12374 [13:33:48] 03(mod) Remove W3C CSS errors from Monobook - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13678 (10Simetrical+wikibugs) [13:33:51] brion forwarded it to tim, tim forwarded it to vaid [13:34:13] let me have a look [13:35:56] have you tested it? [13:36:32] also, I don't like the way you've set up the default cache limits [13:37:02] what you've done there means that any user using imagemagick has to manually set that configuration option. You should ALWAYS provide sensible defaults for those sofrts of settings that users are unlikely to care about [13:45:37] is there anyone to configure mediawiki not to capitalize uploaded media files? [13:51:32] 03(FIXED) Add (Latest | Earliest) to log pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10627 +comment (10axel9891) [14:00:27] Werdna: I didn't set any default as I didn't know what would be sensible [14:00:49] well, you have to come up with something [14:01:20] that's why I asked someone with more memory experience than me to test it [14:02:51] we could say !GiB memory and 10 GiB disk [14:04:56] One gigabyte of memory is too high to set anything by default. [14:05:25] It's more than a lot of small servers have, and a few concurrent requests would kill even a beefy server. [14:05:38] Simetrical: that I don't have much experience about [14:07:39] Anyone have any idea why my Login page and Save page button return blank pages after a fresh installation? [14:07:52] Werdna: http://www.imagemagick.org/script/command-line-options.php#limit [14:08:12] Permissions are set properly, all services are running fine, database is fine.. [14:08:13] default is: [14:08:15] File Area Memory Map Disk [14:08:15] ------------------------------------------------ [14:08:15] 768 3.95812gb 2.96859gb 7.91624gb 16eb [14:08:22] MarshallX, checked error log? [14:08:26] Especially PHP error log? [14:08:32] A blank page is usually a PHP fatal error. [14:09:56] Checking... [14:12:38] Had to turn error logging on... [14:13:55] Always a good idea. [14:17:10] Apparantly I can't even get PHP error logging to function right...standby ;) [14:23:26] RoanKattouw, apparently we deliberately avoid FOR UPDATE on LinksUpdate for performance reasons. [14:23:27] Bleh. [14:23:33] Configurably, for large wikis. [14:24:00] Simetrical: Then maybe run the SELECT on the master instead, just before the INSERT/DELETE [14:24:14] RoanKattouw, it is run on the master. [14:24:19] Doesn't seem to be writing anything to the error log Simetrical.. [14:24:21] But it's non-locking. [14:24:31] MarshallX, are you sure the error log is working at all? [14:24:45] On a scale of 1-10? I'm pushing 4 [14:25:10] php.ini has log_errors = On and error_log = error_log [14:25:19] chmodded error_log to 777 [14:25:38] *Jack_Phoenix waves to ialex :-) [14:25:49] hi Jack_Phoenix :) [14:26:06] Jack_Phoenix: i missed something else in SocialProfile ? :) [14:26:27] MarshallX, try doing something that you know will raise an error and see if it does. [14:26:34] MarshallX, have you restarted your web server? [14:26:39] well, one minor thing...I'll fix it myself after Brion gives me commit access - not here to bug you, sorry ;-) [14:26:40] Settings aren't reread otherwise, typically. [14:26:51] Yeah, many times [14:26:57] svcadm restart CSKapache2 [14:27:00] restarts fine [14:28:58] is anyone successfully using this extension ? http://www.mediawiki.org/wiki/Extension:AnyWikiDraw [14:29:09] 03ialex * r33075 10/trunk/phase3/docs/hooks.txt: Document GetCacheVaryCookies hook [14:29:45] is there another extension like it that is better? [14:30:41] gongoputch, mostly people here won't know about minor extensions like that. You'd be best off contacting the author of the extension. [14:30:54] ok [14:31:19] is it common to want to treat graphics in the same way you treat text in the wiki? [14:31:36] i.e. 'in place' editting [14:32:29] Yes, but as far as I know there's no great solution for it yet. [14:32:48] ah. [14:33:13] that extension is an attempt to address that, but it is a bit complex, java applet, etc. [14:34:46] whats the best way to format the getTimestamp that mediawiki gives you? [14:35:27] locke, you can convert it to Unix time or other standard stuff using some functions defined in GlobalFunctions.php. [14:35:40] gongoputch, well, a Java applet (or Flash, etc.) is unavoidable, pretty much. [14:35:56] JS might be able to do it, but it would be considerably harder. [14:36:47] I am inclined to agree, but I never cease to be surprised at what is being done with just JS, and X/D/* HTML [14:36:57] Simetrical: thanks [14:37:24] gongoputch, usually it's kind of horrible, though. [14:37:30] JS is way slower and not as browser-independent. [14:37:42] ever seen e.g. protopage ? [14:37:58] hi [14:37:59] Gmail works surprisingly well, but it's noticeably a lot less smooth than a real app. [14:38:02] No, never seen that. [14:38:40] Any chance I can get a quick crash course on PHP error logging? I have "Log_errors = 1" and "error_log = error_log" in my /php5/lib/php.ini file....i have created "error_log" and chmodded to 777 [14:38:40] I think what is real (yet) has not caught up to what is possible [14:39:16] I'll try getting in touch with the author of the wiki draw applet, thanks a bunch [14:39:17] MarshallX, if you create a blatantly wrong PHP file and try to access it, what happens? Something like [14:39:53] testing [14:40:00] MarshallX, you may want to try specifying the error_log as an absolute path; PHP maybe has a different idea of where its log directory is than you do. [14:40:51] made fake.php with [14:40:54] browsed to it and got a blank page [14:41:03] will try specifying as absolute path [14:43:37] No go :( [14:43:55] Restarted the web server after changing the error_log setting? [14:45:07] yes [14:45:27] 03(mod) localized transclusions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1136 +comment (10minuteelectron) [14:46:31] MarshallX, how about you just set this at the top of LocalSettings.php? error_reporting( E_ALL ); ini_set( 'display_errors', '1' ); [14:46:38] Then you don't have to bother with the log at all. [14:47:42] Done, restarting apache and trying [14:48:06] this should display the error in the browser yes? [14:48:15] Yes. [14:48:25] inside our outside the You shouldn't have to restart Apache if you're just editing LocalSettings.php. [14:48:29] Inside. [14:48:31] Right after it. [14:48:36] still nothing man :S [14:48:44] yeah, exactly what i put [14:49:15] Not sure what there is to do further. You could ask in ##php, although they have a reputation of being unhelpful. [14:49:22] I have to go now, anyway. [14:50:06] Alright, thanks for the help, appreciated [14:50:49] is it safe to edit Parser.php, like this: "The problem was hard to analyse but, eventually, easy to fix: in Parser.php, there is a function strip() with (among others) a parameter $state in its declaration. All I had to do was to replace this with &$state." [14:50:57] as mentioned: http://korrekt.org/page/Note:PHP5_migration_problems_with_MediaWiki [14:51:26] this change did seem to fix the problem i was seeing [14:51:55] Adding a & won't cause much harm [14:52:18] i was a little scared to touch the parser [14:52:19] ;-) [14:53:29] 03(mod) Hooks request after/before portlets - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13676 +comment (10minuteelectron) [15:04:24] 03(mod) Create approved wikis (March 2008): Hungarian Wikinews, Erzya & Extremaduran & Gan Wikipedia, and Japanese Wikiversity - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=13264 +comment (10songchang2000) [15:08:00] Greetings everyone - I gots a question about the Navbar template used on wikipedia.org [15:08:27] I would like something similar on our internal wiki - is there a template built-in to the MediaWiki templates, or is there an easy way to get the Wikipedia navbar items? [15:09:48] I tried copying over the source from wikipedia as a test, but get a bunch of content looking like: {{#if:|}} [15:10:02] which makes me wonder if I need to enable parsing functions or something perhaps? [15:10:15] !parserfunctions | Hegg [15:10:15] --mwbot-- Hegg: "Parser functions" are a way to extend the wiki syntax. ParserFunctions is an extension that provides the basic set of parser functions (you have to install it separately!). For help using parser functions, please see . For details about the extension, see . [15:10:22] Second link [15:10:30] aaah, I gotcha - thanks! [15:11:11] 03(WONTFIX) Automatically monthly changing of Wikipedia logo - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13681 +comment (10minuteelectron) [15:20:53] Hi all, Question: is there a "tag" option in MediaWiki? [15:21:24] I want to punt some tags on a wiki so people will find wiki's with different searchcommands [15:21:50] Not by default, you may find an extension though. [15:21:53] !extensions [15:21:53] --mwbot-- MediaWiki has been built so it can easily be customized by adding extensions. This is usually a simple process. See for instructions to install extensions, as well as for writing them. See for an overview of known extensions. [15:24:22] bye [15:25:36] since we are asking questions, i'm using {{Special:Allpages/User:}} to show a list of all user pages, but really I want to show a list of the main user pages User:username, is there an easy way to do this? [15:27:53] anyone know how to get the text of a diff, but nothing else on the screen? [15:28:12] action=raw I believe [15:28:22] isn't that html? [15:28:34] There's a preference not to display page content on diffs [15:28:34] Yes, unless you specify diff= too [15:28:58] when I do that though, it asks me to download a php file [15:29:07] exactly [15:29:13] Download it, and there's your diff (I think( [15:29:18] we [15:29:19] er [15:29:28] it should just load in the screen [15:29:32] action=raw isnt html, that's action=render [15:29:36] I've done it before, but can't remember [15:29:52] Maybe try action=render or action=diff [15:30:14] action render looks good [15:30:28] diff doesn't work [15:30:53] except it still has the page below [15:31:03] http://meta.wikimedia.org/w/index.php?title=Meta_talk%3ARequests_for_adminship&diff=952537&oldid=952530&acrion=render [15:31:15] majorly: fix it in your preferences [15:31:17] majorly: set upp in preferences you don't want to see the content when watching diffs [15:31:36] how? [15:32:36] Misc -> Do not show page content below diffs [15:32:43] http://meta.wikimedia.org/wiki/Special:Preferences [15:32:53] VasilievVV is again faster than me :-/ [15:32:59] :) [15:35:55] who is calles siebrand? [15:37:25] Siebrand en Siebrand2 don't talk to other people? [15:38:20] hmm [15:38:28] Is there anyway to put namespaces part of normal search? [15:38:29] anyway to grab it with the colours? [15:39:17] @svip you can edit that in the preferences of the wiki [15:39:25] I am aware. [15:39:33] But I was wondering to make it default for all users. [15:39:59] if you are admin it should [15:40:23] I thought you meant preferences as the Special:Preferences [15:41:22] You mean it can be configured in the LocalSettings.php, Sypie? [15:42:13] svip: http://www.mediawiki.org/wiki/Manual:%24wgNamespacesToBeSearchedDefault [15:42:37] but this won't affect preferences of registred users [15:43:46] @svip http://meta.wikimedia.org/wiki/Search [15:43:56] and search for administration options [15:50:55] @svip: did it solve something? [15:52:22] I am still testing... [15:53:21] Shouldn't I be able to change it in LocalSettings, Sypie? [15:54:42] 03ialex * r33076 10/trunk/extensions/OnlineStatus/OnlineStatus.php: Don't need to escape messages now, it'll be done by Xml::element(), thanks to Nikerabbit for reporting it. [15:55:44] Hm, Sypie, that didn't work. [15:56:18] not? hmm, it is the solution of mediawiki...so it should work. [15:56:26] did you changed and uploaded the file? [15:56:38] emtied the cache directory [15:56:50] hi [15:57:03] does anybody know, what here is wrong? http://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Bretzel&redirects= [15:57:49] Ah, Sypie. [15:57:50] :| [15:57:58] You know what happens when you spell default without the l? [15:58:02] :! It doesn't work ;-; [15:58:37] ah so it works :D [15:58:45] great that i could help:p [16:02:24] :P Yeah, thanks, Sypie and ialex. [16:03:57] dvdb: see https://bugzilla.wikimedia.org/show_bug.cgi?id=13651 [16:09:20] 03(NEW) Link in Special: ListGroupRights should be in content language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13684 normal; normal; MediaWiki: Special pages; (robin_1273) [16:30:40] how to set the link target of the clickable logo link? it should go to main page but it does not [16:31:48] well, unless the code's been modified it'll go to the main page [16:32:11] hello brion [16:32:45] 03ialex * r33077 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialListgrouprights.php): (bug 13684) Links in Special:ListGroupRights should be in content language [16:33:32] 03(FIXED) Link in Special:ListGroupRights should be in content language - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13684 +comment (10alex.emsenhuber) [16:34:24] brion: well the deal is that this behavior comes from the revision when moving of main page was locked. so q:cs: - click logo - goes to the right place but b:cs: - click logo - goes to redirect [16:34:46] Hi. I installed Extension:ParserFunctions and it shows up on Special:Version but when i add simple examples to some articles i only see them in plain text. :( [16:35:04] did i miss some requirements? [16:35:24] MONK3000: Did you try to purge those pages? [16:35:35] MONK3000: got your wiki public so we can take a look? [16:36:13] http://mixesdb.com/db/index.php/User:MDB/testExpr [16:36:47] simple examples as given here http://meta.wikimedia.org/wiki/Help:ParserFunctions [16:37:14] Danny_B: i don't really understand. can you give URLs where incorrect behavior is displayed? [16:37:27] http://mixesdb.com/db/index.php?title=Special:Version <- i get a blank page [16:37:39] yep [16:37:50] MONK3000: hmm i'd try to remove the space before hash first, but that probably won't be the deal [16:37:50] you see this? {{ #time: d M Y | 2008-04-08 }} {{ #expr: +30 * +7 }} [16:39:12] http://mixesdb.com/db/index.php/Special:Version [16:40:03] maybe cos I'm on 1.12 and miss soem settings? http://www.mediawiki.org/wiki/Manual:%24wgParserConf [16:40:28] brion: http://cs.wikibooks.org/wiki/Wikiknihy:Hlavn%C3%AD_strana check where the first item in sidebar links to and where logo links to [16:40:46] two different targets [16:41:21] then go to q:cs: or wikt:cs: - on these sites the targets are the same [16:41:48] logo links to the same as the no-title redirect -- http://cs.wikibooks.org/wiki/Hlavn%C3%AD_strana [16:42:06] http://cs.wikibooks.org/wiki/MediaWiki:Sidebar <- sidebar is linking somewhere else explicitly [16:42:44] the deal is q:cs: and wikt:cs: have been set before the revision which locked main page for moving and b:cs: has been hacked after that [16:42:56] i have no idea what you're talking about [16:42:58] what revision? [16:43:00] what locking? [16:43:08] you can't move the main page now [16:43:12] ... wtf? [16:43:15] there's no move tab [16:43:16] that makes no sense [16:43:32] i can move it just fine on my local wiki [16:43:48] i agree that makes no sense [16:43:57] but you can't move the main page [16:44:13] yes i can [16:44:29] brion: ok, go to s:cs: and tell me how [16:44:38] or to w:cs: [16:45:35] can you take text from one template as input to another? [16:45:48] curious [16:46:01] is this a local hack someone put in based on some bizarre reason? [16:46:27] nope it's wmf-wide [16:46:30] hmh guys, got it working on a clean MW 1.12 installation. will test. thanks [16:46:34] local = wmf [16:46:39] ah sorry ;-) [16:46:42] then yes [16:47:31] i couldn't simply move b:cs:Hlavní strana to b:cs:Wikinihy:Hlavní strana . first i had to "unlock" it by renaming the mediawiki:mainpage to some other name [16:47:39] then i moved [16:47:59] there, i've restricted the hack to enwiki only [16:49:38] it seems to me the logo link now takes what's in mediawiki:mainpage (which reminds me the ancient bug about the lack of mediawiki:mainpage-url) [16:57:44] 03raymond * r33078 10/trunk/ (3 files in 3 dirs): Localisation updates German incl. fix of wrong encoding from r33070 [17:18:40] 03brion * r33079 10/trunk/phase3/includes/api/ApiQueryUserContributions.php: [17:18:40] Revert 33072 for now -- changes to ucuserprefix use [17:18:40] Using the user_timestamp index means you can't do an indexed search on the name prefix... [17:18:40] Basically the same as scanning raw on rev_timestamp, but with logged-in edits skipped so you don't scan *quite* as huge an amount of the table. [17:18:41] Since there's no index for the username prefix, the more specific the prefix, the *more* rows you'll have to scan through to fill out the result set, so the worse the performance will get. [17:19:29] *VDZ slaps VDZ around a bit with a Pink Ego Box [17:19:33] *VDZ slaps roland-mobile around a bit with a large statue [17:19:33] Ah, script [17:19:35] Sorry [17:19:44] Should be disabled now [17:19:52] :P [17:19:53] Um...I have a problem [17:20:07] http://wiki.xairu.net/index.php5?title=Category:Files_lacking_wiki_MP3_downloads [17:20:14] __HIDDENCAT__ doesn't seem to work [17:20:31] ParserExtension: is there some expression that defines an external link? i want to set up: {{#if: {{{1}}}|external link|then Y|otherwise N}} [17:20:33] VDZ: i believe this is a new feature in 1.13 dev branch [17:20:44] you appear to be running 1.12.0 [17:20:48] it is [17:20:51] 1.13 dev branch? [17:20:59] Yes [17:21:14] Wikipedia is running 1.13alpha [17:21:52] Um...is that 1.13 freely available? [17:21:57] hello [17:22:24] Yes [17:22:56] Download it from subversion or nightly dump [17:23:05] hi Nikerabbot [17:23:14] oops [17:23:19] Nikerabbit [17:23:39] VDZ: 1.13 is freely available from the Subversion.... [17:24:18] Hm. Seems like a lot of trouble. [17:24:49] Or try http://tools.wikimedia.de/~vvv/mw-nightly/ [17:25:05] It's not my wiki, and I don't really need __HIDDENCAT__...it would be useful, but meh, it's not important enough to make someone do all kinds of difficult stuff to upgrade [17:25:25] Hm, that site [17:25:26] Thanks [17:26:02] ialex: some may consider me a bot... [17:26:11] Nikerabbit: hehe [17:27:29] Thanks for the help ^_^ [17:30:34] 03aaron * r33080 10/trunk/extensions/FlaggedRevs/ (4 files): Add some JS to hide items and give more user guidance (bug 13682) [17:30:54] 03(FIXED) Comment box for sighting edits is unnecessary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13682 +comment (10JSchulz_4587) [17:41:22] 03aaron * r33081 10/trunk/extensions/FlaggedRevs/ (flaggedrevs.css flaggedrevs.js): Disable comment too [17:47:27] 03(NEW) Linking to anchor reloads page if given custom title - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13685 minor; normal; MediaWiki: API; (steven) [17:50:12] 03aaron * r33082 10/trunk/phase3/includes/Title.php: Add __METHOD__ [17:52:16] Werdna: you about? [17:55:24] 03aaron * r33083 10/trunk/phase3/includes/Title.php: force index, per domas [17:58:39] Werdna: anyway, for you to see later... i'm going over the centralauth autologin stuff. i'm a bit concerned about passing tokens in unencrypted GET requests, as those will show up in proxy logs etc [17:59:16] if they're one-time tokens that can never be used a second time that's reasonably safe, otherwise we should be careful [17:59:58] eek [18:16:00] does anyone know if there is a way to automatically update previously generated thumbnails when a new version of an image is uploaded? [18:25:20] Is someone here familiar with the MetaDescriptionTag? [18:27:36] Noone familiar with the MetaDescription tag? [18:27:43] what's your question? [18:28:41] if i put meta tags in the code, can i search for it/ [18:29:12] i don't follow you [18:29:16] i use the code as it is given from the programmer, but when i search on the given meta tags it doesn't find anything [18:29:38] does it show up when you do view source? [18:30:09] i put that on a wiki, but if i search my wiki for metatag it doesn't find it [18:30:29] right, but when you look at the html source for a page that has that tag [18:30:34] when i edit a wiki, the meta tag code, as given above, is there [18:30:38] 03(mod) Linking to anchor reloads page if given custom title - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13685 +comment (10minuteelectron) [18:30:38] do you a meta description tag? [18:30:47] let me see [18:30:49] view source, in your browser [18:31:36] i don't think you can search on it, in mediawiki's default search [18:31:37] yes i do, and it shows [18:31:42] ok, then it's working [18:31:55] ah so i have to edit the search-enging [18:31:58] engine [18:32:19] you're talking about doing searches from within mediawiki? [18:32:24] i thought that the idea was to add tags for better and more search results [18:32:30] yes [18:32:34] it is , but for google, etc. [18:32:49] it doesn't have an effect on mediawiki's built-in search, as far as i know [18:32:59] on my wiki i want to use tags for poeple who are searching, but sometimes people are using other words.. [18:33:10] that would be bad.. [18:33:37] sure [18:33:44] there may be another way to accomplish that [18:33:51] not viaa meta description though [18:33:58] if you're talking about mediawiki's built-in search [18:34:12] is the meta description invisible? [18:34:32] it's in the html, right? [18:34:38] indeed it is.. [18:34:47] then it's not invisible ;-) [18:34:52] but not in on the user's screen [18:34:57] right [18:35:29] that is what i wanted to create.. invisible tags for better search results [18:35:31] all: what is the right way of mixing wiki- and nonwiki- formatting in an extension? http://pastebin.com/m204c177 seems right, but isn't [18:37:52] if really possible i want to use invisible meta tags, just to help people find their things [18:37:57] so - this call in a skin: html('bodytext') ?> [18:38:13] is there anyway for it not to render inside a p-tag? [18:38:41] i know that mediawiki adds also metatags in a wiki, but that ones are not edditable for users [18:41:58] 03(mod) Special:Whatlinkshere display could be sorted - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13614 +comment (10innocentkiller) [18:43:02] all: help. what is the right way of mixing wiki- and nonwiki- formatting in an extension? http://pastebin.com/m204c177 seems right, but isn't [18:45:52] when I try to upload (a very normal) .png, my wiki tells me the file is corrupt or has the wrong extension. I can upload other files (pdf, jpg, etc) just fine, all these have been set in LocalSettings: "$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf' );" [18:45:53] What can be wrong? [18:55:22] when I turn mimetypechecking off, it uploads fine, but won't show the png as png... what can be the problem here? [19:00:08] 03(mod) new parser function for conditional transclusion based on page size - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12698 +comment (10cbm) [19:00:24] hey, what is the variable for the url of a article [19:00:37] is it $pagename? [19:01:53] mhm [19:02:14] <^demon> bango: Depends on where you are in the code. [19:02:27] im in my skin [19:02:44] <^demon> I'm not sure. Never delved into the skins. [19:02:51] mhm [19:03:06] i want a frame in which is the url of the article [19:03:29] and over this frame should stand if you like this artikel copy this url an post it in a forum or blog [19:04:37] <^demon> To anyone who knows. Do the default MW schema use _ci collations on tables? [19:04:57] ^demon: should be latin1 cs [19:05:02] (actual data is utf-8) [19:05:40] <^demon> flyingparchment: I was curious as to whether case-insenstive collations are used. I would imagine they were. They are on my local install. [19:05:53] ^demon: as the data isn't latin-1 it does't make much difference either way [19:05:57] but it should be binary/cs [19:06:13] 03(mod) new parser function for conditional transclusion based on page size - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12698 +comment (10innocentkiller) [19:07:06] why is adding meta data/tags to a wiki so difficult? [19:07:13] <^demon> flyingparchment: Gotcha. [19:09:43] <^demon> flyingparchment: I'm just curious as to how you would query "Test" and "TEST" using the same query. [19:09:55] ^demon: a = 'Test' or a = 'TEST' [19:10:51] <^demon> flyingparchment: I know that, I mean accounting for every possible capitalization. (TEST, TESt, TEst....) [19:10:56] impossible [19:11:14] (unless you use mysql 4.1+ and the experimental utf-8 schema that doesn't work properly) [19:11:54] <^demon> Gotcha. [19:12:38] <^demon> Character encoding is one thing I really need to get better at. [19:12:46] is there a way to make text invisible in a wiki? [19:13:07] because mysql does't support utf-8 until 4.1, and it's still incomplete, mediawiki uses 'latin1' column types but puts utf-8 data in them [19:13:18] which makes any charset support in mysql useless, because treating utf-8 as latin1 gives you garbage [19:13:54] if I want to add some page to my wiki html page without changing. I want to make article from html code. How I must do this ? [19:16:59] 03siebrand * r33084 10/trunk/phase3/ (256 files in 3 dirs): [19:16:59] Added message 'mainpage-description' as duplicate of 'mainpage' and added it to message 'sidebar' [19:16:59] Fixes: (bug 6332) Lacking entry Mainpage-url [19:16:59] (bug 8617) Separate main page url and name [19:16:59] Thanks: Danny B., Milda (for the implementation and regex) [19:18:43] making tekst invisible with the tags is a dirty way of making searchable and invisible tags [19:19:38] 03(mod) Separate main page url and name - create MediaWiki:Mainpage-url - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8617 +comment (10siebrand) [19:19:50] 03(FIXED) Lacking entry Mainpage-url - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6332 +comment (10siebrand) [19:20:42] 03siebrand * r33085 10/trunk/extensions/Translate/wikimedia-mostused.txt: Add 'mainpage-description' [19:23:52] <[KrusheR]> hi [19:34:25] does anyone know the php variable for the article url ? [19:37:09] !wg ArticlePath [19:37:09] --mwbot-- http://www.mediawiki.org/wiki/Manual:%24wgArticlePath [19:38:40] Trying to lock internal wiki to require login to view. any ideas how to do this? [19:39:15] !wg GroupPermissions | Thetyrant [19:39:15] --mwbot-- Thetyrant: http://www.mediawiki.org/wiki/Manual:%24wgGroupPermissions [19:39:29] does anyone know why i'd be getting: Expression error: Unrecognised punctuation character "[" [19:39:32] danke [19:39:40] here: http://bahaikipedia.org/Template:Age_in_days [19:39:58] Sypie: You mean like comments? [19:40:29] t0lk: You're probably using a [ character in an {{#expr: expression [19:40:45] i copied it directly from wikipedia and they don't have that error [19:41:57] hmm [19:42:03] the error is gone now [19:42:05] and i have no idea why [19:42:09] oh well lol [19:42:39] t0lk: http://bahaikipedia.org/Template:Void was used, but not created [19:42:40] t0lk: I just purged the pag [19:42:51] oh [19:42:54] thank you guys :D [19:44:11] how to add a note in wiki [19:44:21] in article [19:44:29] which file is the file for the articleskin? [19:44:40] [19:44:53] ,aybe [19:44:55] *maybe [19:45:19] bango: articleskin ? [19:46:05] ialex, nono maybe I explain wrong. blablabla[1] and at the sections Note blablabla means big hungry monkey [19:46:28] marchelly: like on wikipedia ? [19:46:36] yes [19:46:56] maybe yes ) [19:47:02] marchelly: http://www.mediawiki.org/wiki/Extension:Cite then [19:47:10] thanks [19:49:04] this may sound stupid. but how do you delete a user? [19:49:16] !deleteuser [19:49:16] --mwbot-- Deleting users is very messy and not recommended, because this breaks referential integrity in the database (they appear in many different tables like users, edit histories, recentchanges, preferences, etc). A safe solution is to block the users, and possibly rename them with . You can also try [19:49:58] wow. not simple [19:50:46] i have an account for a terminated employee. i just want to remove his access. no way to change his password? [19:51:02] b1shop: block the account [19:51:15] you can hide the name from the userlist too [19:51:47] <[KrusheR]> is there any good voting extension? [19:51:49] thanks [19:51:57] <[KrusheR]> i've found one, but it's highly outdated [19:52:10] <[KrusheR]> and it's not optimized at all [19:52:12] ialex, so I can't do this other way? I want to make 1 link to [1] at the end of article http://marchelly.org.ua/wiki/Право_Читать [19:52:48] Krushed: [[Extension:JsKitPoll]] [19:53:08] Krusher: http://www.mediawiki.org/wiki/Extension:JSKitPoll [19:53:09] <[KrusheR]> i'll check that one, thanks [19:53:20] marchelly: that was the link i gave you before [19:53:33] ialex, ok thanks. :) [19:54:10] I'm using mediawiki for the knowledgebase for this company, I have a locked-down production wiki and a development wiki. I need a way to mirror articles from the dev. wiki to the prod. [19:55:15] i could simply mysql dump the dev. and then import the dump into production, but this seems hackish [19:55:16] !wg EnableScaryTranscluding | mikedub [19:55:16] --mwbot-- mikedub: http://www.mediawiki.org/wiki/Manual:%24wgEnableScaryTranscluding [19:55:45] or run two working copies on the same database [19:56:30] ialex: wouldn't work. I don't want articles in development to be "released" until they're finished. [19:57:33] i don't think transcluding is quite what i need either [20:04:28] whats the link usually for the admin side of mediawiki for a internal page? [20:04:33] @jlerner are you still here for questions about the MetaDescriptionTag? [20:18:43] any way to make TOC on a wiki-page ignore one special heading? [20:21:22] 03(mod) Create Wikimania 2008 website - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11614 (10meno25wiki) [20:22:07] 03(mod) Create Wikimania 2009 website - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13547 (10meno25wiki) [20:24:27] 03(mod) Please make a global Titleblacklist like Spamblacklist on Meta - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12484 (10meno25wiki) [20:27:40] would it be possible to make a box at the bottom of a wiki that shows tags? Just like the box that shows "categories".. [20:32:13] Anyone home? [20:32:24] nope [20:32:33] :P [20:32:37] !ask | Lady_Aleena [20:32:37] --mwbot-- Lady_Aleena: 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/moin/GettingHelpOnIrc > for a good explanation of getting help on IRC. [20:32:56] Specifically, anyone home who can help me debug a line from a template which is driving me nuts. [20:33:33] link? [20:34:04] бабы тупые... [20:34:09] http://en.wikipedia.org/wiki/User:Lady_Aleena/Media_franchises/Template [20:34:31] It goes with http://en.wikipedia.org/wiki/User:Lady_Aleena/Media_franchises [20:35:30] Lady_Aleena: and what's wrong with it? [20:35:54] {{#if:{{{fbooks|}}}|{{#if:{{{fbooks}}}=1|[[#{{{title}}} novel{{!}}{{{fbooks}}}]]|[[#{{{title}}} novels{{!}}{{{fbooks}}}]]}}}} [20:36:11] I think that I messed up somewhere after the first pipe. [20:36:28] ok, lemme fix that [20:36:36] The {{#if:{{{fbooks}}}=1| area. [20:36:43] #if only tests for emptiness [20:36:47] you want #ifeq [20:36:48] {{#if:{{{fbooks|}}}|{{#ifeq:{{{fbooks}}}|1|[[#{{{title}}} novel{{!}}{{{fbooks}}}]]|[[#{{{title}}} novels{{!}}{{{fbooks}}}]]}}}} [20:37:14] Please do not "wikify" my entries. There are reasons for me not to use wiki code, so talk to me before you edit. gggggggg [20:37:18] :q [20:37:25] what are the reasons ? [20:37:26] oh ffs [20:37:35] marchelly: I believe you're in the wrong channel [20:37:40] marchelly: There are some pages which I had no choice but to use HTML. [20:38:40] Lady_Aleena, http://diberri.dyndns.org/wikipedia/html2wiki/index.html [20:38:58] marchelly: See [[User:Lady Aleena/User infobox]] and [[User:Lady Aleena/TV box]]. Both of those required HTML since a single line break in the wrong place really botches them up. [20:39:30] maybe your right. [20:39:42] amidaniel, your right sorry. [20:39:43] :) [20:40:01] *Lady_Aleena working on the solution Skizzerz gave her. [20:42:12] 03(mod) localized transclusions - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=1136 (10gtisza) [20:43:33] Now, let's hope I didn't mess this up worse. [20:45:28] You know, when I started this, I thought that I would have maybe 20 or 30 favorite media franchises, I had no clue that it would go into the the hundreds! ACK! [20:46:11] =) [20:46:33] *Lady_Aleena huggles Skizzerz and carl-m for #ifeq. [20:46:44] TY TY TY! [20:49:04] This template got a lot more complex than I had initially imagined too. Eek! [20:51:00] 03raymond * r33086 10/trunk/extensions/ (6 files in 6 dirs): Localisation updates German [20:51:26] Question: How do I create a user? [20:52:39] Question: How do I create a user for my internal mediawiki? [20:52:40] go to special:UserLogin [20:52:51] click on "create user" [20:53:19] i dont see that [20:58:02] 03(NEW) multiple CSS3 multi-column errors across multiple browsers - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13686 minor; normal; Wikimedia: General/Unknown; (superluser) [20:58:32] MrZ-man: if you have a sec, could you look at !bug 12698 ? [20:58:44] !bug 12698 [20:58:44] --mwbot-- https://bugzilla.wikimedia.org/show_bug.cgi?id=12698 [20:58:51] mwbot isn't very smart [20:59:46] Is there a file that shows all current created users? [21:00:05] <^demon> Thetyrant: [[Special:Listusers]]? [21:00:09] Thetyrant: special:listusers [21:00:37] thank you [21:01:10] /h [21:01:28] Question: I am logged in to a user profile that has Sysop privledges, and I am unable to find where to create a ner user [21:03:00] 03(mod) Online/offline switch in user interface - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13520 (10alex.emsenhuber) [21:04:12] carl-m: looks very familiar :) [21:04:47] Thetyrant: Have you tried logging out and looking for it then? [21:05:26] I have normal users - disabled to create new accounts [21:05:42] I was hoping that SysOp would be able to create the account internally [21:06:04] Can outsiders access this wiki? [21:06:14] Thetyrant: [[Special:UserLogin/signup]] [21:06:17] how much review do patches usually get before being committed? (i'm particularly curious about https://bugzilla.wikimedia.org/attachment.cgi?id=4798 ) [21:07:13] MrZ-man: see my comment - I wasn't sure why the expensive function count logic isn't inside Parser.php [21:07:36] No, we have our firewall blocking outside access. but i guess I could turn on users to create new accounts [21:08:00] well, previously it was only ifexist [21:08:08] which isn't even in core [21:08:48] <[KrusheR]> hi [21:09:05] Thetyrant: Have you tried MrZ-man's suggestion? [21:09:08] I'm not familiar enough with how the parser, parser functions, and the extension interact to know how that would be done [21:09:32] <[KrusheR]> is it safe to make "raw queries" inside extensions? [21:09:39] 03vrandezo * r33087 10/trunk/extensions/SemanticMediaWiki/ (2 files in 2 dirs): Added first preliminary iCalendar export support [21:09:43] look at incrementIncludeSize() in Parser.php [21:10:06] <[KrusheR]> or should I use the API instead? [21:13:23] well the expensive function count is more about db queries than page size [21:13:56] right, the name doesn't match up, but if it was called incrementParserLimit() it would seem more natural [21:14:17] oh, you mean a separate function for it [21:14:37] that's certainly an option, to have a second function in Parser.php to track it [21:14:53] 10 Lady_Aleena01: Yes i have. but it takes me to a login screen. I was hoping for admin page to create new user [21:15:07] that would probably be better than duplicating the code all over the place [21:15:41] that's how I feel about it too. especially better than poking that global variable over and over [21:16:08] I also wasn't why whether {{PAGESIZE}} should work (with no argument) [21:16:14] wasn't sure whether [21:16:32] gah, hate when ISP have borked gatewa [21:18:15] gah, hate when ISP have borked gatewa+ [21:18:18] gah [21:18:25] hate this keyboard [21:18:38] anything else on the hatelist? [21:19:56] 03brion * r33088 10/trunk/extensions/CentralAuth/SpecialAutoLogin.php: [21:19:56] Actually work :) [21:19:56] * functions are not properties [21:19:56] * global variables need to be declared as global *inside* the func they are used in [21:20:34] 03brion * r33089 10/trunk/extensions/CentralAuth/SpecialAutoLogin.php: and while i'm at it -- don't fail when short tags are disabled in php.ini [21:20:43] 03(mod) Support MySQL >= 4.x boolean logic in search - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5711 +testme; +comment (10innocentkiller) [21:24:41] <[KrusheR1> is there any reference on DB management on mediawiki? [21:25:36] carl-m: something like http://rafb.net/p/ajuaPy76.html [21:25:57] except spelled right :P [21:26:47] exactly [21:27:28] should it be in parser or not is the question [21:29:46] 03brion * r33090 10/trunk/extensions/CentralAuth/CentralAuthUser.php: [21:29:46] Make myself feel warm and fuzzy by wrapping timestamp load/stores with format conversions. [21:29:46] If some kind soul wants to make CentralAuth for PostgreSQL, hey, that part'll work. ;) [21:30:58] well, if more functions are added that would be considered "expensive" [21:31:01] oh dear god CIA-48 turned sentient [21:31:03] 03(mod) log events in IRC RC feed not backward compatible/broke bots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13662 +comment (10quevols) [21:31:12] it would probably be good [21:31:42] agree [21:32:34] currently "expensive" seems to be defined as anything that isn't slow, but still can't really be cached [21:33:21] 03(mod) log events in IRC RC feed not backward compatible/broke bots - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13662 (10quevols) [21:33:29] something like that. I think that mine might be cached, but I'm not sure [21:33:57] well, the sitestats variables are cached somewhere, so they aren't expensive [21:34:44] 03brion * r33091 10/trunk/extensions/CentralAuth/CentralAuthUser.php: Tweak some comment formatting [21:40:16] 03(mod) Cologne Blue styles fail in MSIE 8 beta - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13366 (10danny_b) [21:40:23] 03(mod) CSS (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12788 (10danny_b) [21:42:43] brion: what do you think about using an incrementing function in Parser.php for the expensivefunctioncount rather than incrementing in the functions themselves? - http://rafb.net/p/ajuaPy76.html [21:43:05] *shrug* [21:43:19] carl-m|away: there's your answer [21:44:06] I'm trying to upload .png, but it complains about wrong extension or corrupted file. setting the mimetypecheck to false helpse, but it doesnt show the .png properly in the page. what is wrong? [21:44:15] .jpg and .gif are fine [21:47:35] Would someone be willing to look at a line from a template and tell me if there is more mojo that needs to be added to it to make it work properly? It is an extension of what I asked earlier. [21:49:00] The line is: {{#if:{{{books|}}}|{{#ifeq:{{{books}}}+{{{fbooks|0}}}+{{{cbooks|0}}}|1|[[#{{{title}}} book{{!}}{{{books}}}]]|[[#{{{title}}} books{{!}}{{{books}}}]]}}}} [21:50:08] 03brion * r33092 10/trunk/backup/worker.py: fix -- takes a list param [21:50:17] 03(mod) new parser function for conditional transclusion based on page size - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12698 (10mrzmanwiki) [21:53:25] 03siebrand * r33093 10/trunk/phase3/languages/messages/ (66 files): Localisation updates for core messages from Betawiki (2008-04-10 23:25 CEST) [21:53:25] Lady_Aleena: {{#ifeq:{{{books}}}+{{{fbooks|0}}}+{{{cbooks|0}}}|1}} will always be false; are you sure you don't mean {{#ifexpr}} (which evaluates a mathematical expression)? [21:54:07] 03aaron * r33094 10/trunk/extensions/FlaggedRevs/ (FlaggedArticle.php FlaggedRevision.php FlaggedRevs.php): [21:54:07] * Fix old code that was causing query dupes [21:54:07] * Various performance enhancements [21:54:36] Pathochild: I really need to get all of these ifs straight one day. [21:55:04] Does #ifexpr have to same formatting as #ifeq? [21:56:16] If an edit is oversighted it the edit along with the summary, etc., removed from Special:Contributions as well as the page history? [21:57:12] 03brion * r33095 10/trunk/backup/ (WikiDump.py worker.py): Add a halt option so we can gracefully stop the worker processes after the current ones finish [21:57:26] animum: yes [21:58:02] MrZ-man, will it only be available for viewing in the oversight log itself? [21:58:10] yes [21:58:37] it's like regular deletion, except it uses a different table [21:58:59] though this will all change when the new revision deletion thing comes in [22:01:04] 03siebrand * r33096 10/trunk/extensions/ (94 files in 92 dirs): Localisation updates for core messages from Betawiki (2008-04-10 23:25 CEST) [22:01:30] 03aaron * r33097 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Fix query [22:06:06] what would the simplest way be to grab an ip-network from the rev-db? [22:11:05] 03aaron * r33098 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: Remove bogus var [22:12:14] 03aaron * r33099 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: Do cache first [22:14:52] 03brion * r33100 10/trunk/extensions/CentralAuth/CentralAuth.php: Don't explode when logging in with an account that has no global account [22:37:31] 03siebrand * r33101 10/trunk/extensions/Translate/ (MessageGroups.php Translate.php): Add support for OnlineStatus [22:41:40] I run Debian and installed the mediawiki package on top of Apache 2 [22:41:49] The wiki files are installed to /usr/share/mediawiki. [22:42:12] I'm wondering if I should create a /wiki/ directory inside of THAT and make /usr/share/mediawiki/ my documentroot? [22:42:26] MrZ-man|lazin: I see brion's comment in the scrollback [22:45:13] Right now /usr/share/mediawiki/ is my documentroot so all the wiki pages are available that way without /wiki/ in the URLs [22:47:56] can anyone tell me what all the sql files in maintenance/archives are for? [22:48:08] do those get run automatically upon running update.php or just sit there [22:52:27] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/maintenance/archives/ [22:52:54] do all those need to be run manually? [22:54:29] !rewriteproblems | lymeca [22:54:29] --mwbot-- lymeca: 1) Try as a fail-safe method; 2) Do not put the files into the document root; 3) Do not map the pages into the document root; 4) Use different paths for real files and virtual pages; 5) Do not set a RewriteBase; 6) Put all rules into the .htaccess file in the document root. [22:54:39] Specially the 2nd point. [22:55:38] lymeca: my guess is Debian has some kind of command that will install a MediaWiki instance somewhere in, for example, /var/www/... - but I don't know how apt works with webapps. [22:58:13] <^demon> How silly. Why would StaticWiki use file_get_contents() for a remote resource. [23:00:07] is it possible to create an html form inside mediawiki? [23:00:12] that will submit to a cgi script? [23:00:37] 03(mod) Add non-breaking spaces in additional places automatically - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13619 +comment (10dank55) [23:01:27] <^demon> brion: Just out of curiosity, what's the preferred method for getting remote resources? Curl or allow_url_fopen-dependent things? [23:02:44] Http::get() ? [23:04:21] 03(mod) Add non-breaking spaces in additional places automatically - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13619 (10dank55) [23:04:42] <^demon> Makes sense, as that wraps around curl. Wasn't aware of Http::get(). [23:04:53] hello? [23:04:53] 03(NEW) importdump.php stops with no error - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13687 major; normal; MediaWiki: Maintenance scripts; (werran) [23:04:57] anyone know how to imbed forms? [23:05:00] embed forms [23:05:13] where in the system messages is the text for the gadgets located? [23:05:16] or even an html page [23:05:49] <^demon> majorly_: Aren't they the ones prefixed with Gadget- [23:05:50] <^demon> ? [23:05:57] I don't know [23:05:59] nevermind [23:08:49] The following template line has an error, but I don't know how to fix it. [23:08:58] {{#if:{{{books|}}}|{{#ifexpr:{{{books}}}+{{{fbooks|0}}}+{{{cbooks|0}}}=1|[[#{{{title}}} book{{!}}{{{books}}}]]|[[#{{{title}}} books{{!}}{{{books}}}]]}}}} [23:09:34] The error returned is: Expression error: Unexpected = operator [23:12:09] hey, how do I add an external html link to the sidebar? [23:12:12] not sure what syntax to use [23:12:40] 03(NEW) Remove file_get_contents() from StaticWiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13688 minor; normal; MediaWiki extensions: General/Unknown; (innocentkiller) [23:13:21] Is there a way to make categories appear blue even if they are empty of texts, but contain links (ie exist)? [23:13:26] text* [23:14:20] nevermind [23:14:22] figured it out [23:14:30] Link|Title [23:14:54] 03skizzerz * r33102 10/trunk/extensions/ (4 files in 2 dirs): [23:14:54] * fix for author field for extension credits in EditSubpages [23:14:54] * committing new extension, AuthorProtect [23:16:01] \ [23:17:34] <^demon> That's funny. Wikibugs doesn't note if a keyword was added on a new bug report. [23:18:35] ^demon: you asked about a maximum transclusion size [23:18:39] there is one already [23:19:15] <^demon> carl-m: I wasn't sure. [23:19:43] it's 2mb on wikimedia servers [23:20:02] <^demon> That's rather large. [23:20:41] I think the idea is it prevents absurd pages (10mb) but is big enough that it's hard to hit accidentally [23:20:50] This didn't work: {{#if:{{{books|}}}|{{#ifexpr:{{{books}}}+{{{fbooks|0}}}+{{{cbooks|0}}}=1|[[#{{{title}}} book{{!}}{{{books}}}]]|[[#{{{title}}} books{{!}}{{{books}}}]]}}}} [23:21:10] So I tried this:{{#if:{{{books|}}}|{{#ifeq:{{{books}}}+{{{fbooks|0}}}+{{{cbooks|0}}}|1|[[#{{{title}}} book{{!}}{{{books}}}]]|[[#{{{title}}} books{{!}}{{{books}}}]]}}}} [23:21:15] Which also didn't work. [23:21:34] <^demon> carl-m: Yes, but essentially that feature request is asking to lower the limit using the parser. [23:21:54] say that a different way? [23:22:03] anyone have a clue? is there a way to make categories automatically blue? [23:23:27] oh, found it. [23:23:32] <^demon> We have this limit, let's say 2MB. By implemeting the {{PAGESIZE}} and using an {{#ifexpr}} to test for sizes before inclusion is basically saying "Ok, the software limits it to 2MB, but using the parser, if it's larger than 0.5MB we won't transclude" [23:23:34] if anyone is interested > http://blog.cognistudio.com/2007/10/23/dont-force-editing-of-categories-without-text-in-mediawiki/ [23:24:00] ^demon: yes, that's the goal. because we have pages that transclude 100 other pages, and so it's easy to get a sum over 2mb even if the individual pages are small [23:24:35] that's on peer review. this has been an issue on RFA occasionally, too [23:25:53] <^demon> Makes sense I guess. [23:26:26] the idea is that the short ones would be transcluded, so people see them and contribute, and the longer ones automatically switch to a link if they get too long [23:27:07] If anyone is interested, that hack works on 1.12 too [23:27:09] just tested it [23:27:11] <^demon> Yeah, I get it now. [23:28:57] Someone, please help me figure that out? [23:29:12] Lady_Aleena: is this on a wiki page? I can't read it on irc because of link formatting [23:29:14] wtf :-/ [23:29:15] svn: Checksum mismatch for 'wiki/languages/messages/.svn/text-base/MessagesTt_latn.php.svn-base'; recorded: 'b0defe525955043cc9b5b5fa909eebd0', actual: 'd6ed04e1b757b5e247f5e1fed38ae7e1' [23:29:29] carl-m: http://en.wikipedia.org/wiki/User:Lady_Aleena/Media_franchises/Template [23:30:06] which part is the problem? [23:30:09] Should be the 5th line from the top. [23:30:22] The #ifeq expression. [23:30:25] for me that's pictogram voting [23:30:39] Try the next one down. [23:31:00] 03brion * r33103 10/trunk/extensions/CentralAuth/CentralAuth.php: (log message trimmed) [23:31:00] Tweak local session initialization from centralauth cookie session info... [23:31:00] * Don't re-initialize the session on every hit! [23:31:00] * Set up a local PHP session, so editing works [23:31:00] * Invalidate the user's cache info, so he doesn't see already-cached anon pages [23:31:01] * Set local info cookies (is this necessary?) [23:31:05] Note that currently there's not a global *logout*... you have to individually [23:31:21] {{#if:{{{books|}}}: line. [23:31:25] Lady_Aleena: I will msg you, since this is a little offtopic here [23:31:56] carl-m: Actually, [[Wikipedia:IRC channels]] says this is the place for template help. [23:32:07] really? interesting [23:33:23] Yes, really. [23:33:52] "#mediawiki - discussion and technical questions related to the mediawiki software (including template help, and other questions)." [23:33:57] hey guys, what markup do I use to "comment out" ? It's # in unix and such if you need an analogy [23:34:18] [23:34:23] 03(mod) Add non-breaking spaces in additional places automatically - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13619 (10l8qjvx002) [23:34:23] thanks m8 [23:34:42] Lady_Aleena: does that work if i have returns in there? [23:34:56] like paragraph breaks? idk what they're called in wiki [23:40:38] It should. [23:41:48] brion: I'm around now [23:41:49] how do I do a bulleted list? [23:41:59] - or something else? [23:42:08] use * at the beginning of the line [23:42:18] * like this would be a bulleted list item [23:42:34] hey Werdna [23:42:38] thnx [23:42:41] i'm about to send an email with some notes on the centralauth bits [23:43:02] !wikimarkup | wubrgamer [23:43:02] --mwbot-- wubrgamer: For help with MediaWiki's Wikitext syntax, please see . For an (incomplete) formal specification, see . [23:43:03] do ya'll mind if I ask these questions? I have an IRC client open 24/7 and really hate checkign FAQ's [23:43:17] brion: they're one-time tokens in the sense that they're reset quite regularly (on logout) [23:43:32] we'd prefer if you read the help pages, as they go more in-depth than most of us care to [23:43:43] but you can always ask here too [23:44:41] thanks [23:44:57] brion: if that's a big deal, I could probably stash the real token in memcached with a 10-minute expiry, and send out another token which corresponds to the memcached key, as I've done with session-based auto-auth. [23:44:59] how do I insert a linebreak in a bulleted item? in order to make one item multiple lines [23:45:13] (i can't ask FAQ's these questions) [23:45:23] wubrgamer:
      [23:45:42] thnx [23:46:28] wubrgamer: by the way, is there any inspiration behind your nick (reminds me of mtg... lemme know though) :P [23:48:13] Skizzerz: it's the 5 colours, i used to play in middle school, got kinda addicted [23:48:27] yeah, that's what I thought :) [23:48:43] Skizzerz: glad to know there are other nerds out there, do you still play ? [23:48:48] yes [23:48:54] Werdna: ok see my wikitech-l mail :) [23:49:04] Skizzerz: cool stuff [23:49:41] my inclination for the set-all-cookies-on-this-domain call is to use a one-time token. you stick it in the global session, then clear it when you use it. can never be used again [23:51:46] also note my session setup tweak 20 minutes ago [23:51:56] *wubrgamer is away: away [23:53:09] brion: well, I could concat the auth token with time(), md5, pass time() along with the authtoken and db name, and only auth if time() < $time + 600, by building the same salted hash and comparing [23:53:45] brion: also, while you're in a reviewing mood, globalblocking needs some love. Tim's already done a line-by-line, but, as we see here, you catch stuff that he doesn't and vice versa. [23:54:00] and then anybody who sees your session on wikistats within 10 minutes can still steal your account ;) [23:55:39] 03(mod) Include *all* Wikimedia wikis in Domas' wikistats - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13645 (10dotkorg) [23:56:19] hehheheheheeehehehe [23:56:24] anyone wants to write a new filter? [23:56:51] in C? [23:56:54] :) [23:57:00] filtering what? [23:57:10] log stream [23:58:15] domas: if (url.strpos( L"Special:Autologin" ) > 0) { return false; } [23:58:38] why [23:58:50] brion: so you want to disable the token after use? [23:59:12] Werdna: that's the idea yes :) [23:59:24] strpos is like strstr I assume [23:59:25] then the tokens would have to be per-wiki. [23:59:27] can't you just use index.php path? [23:59:32] right [23:59:50] my filter can strip off anything beyond ? too [23:59:57] though people want search statistics