[00:05:47] br aqui? [00:22:49] 03(mod) Hiding can hide a bit too well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18531 (10FT2.wiki) [00:35:36] 03(mod) database error occurs while saving a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17275 (10JSchulz_4587) [00:45:22] hey. [00:45:52] is it possible to use the mediawiki parser without having to save the wiki-code to database? [00:46:41] 03aaron * r49849 10/trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php: Parenthesis style tweak [00:46:56] you can use preview, or live preview, or action=parse on the api, or Special:ExpandTemplates [00:46:57] for instance, if I give input "{{test1|something}} [[some link]]", I want mediawiki to give the result [00:48:20] I don't want preview because I can't automate it. [00:51:04] warning : 1 client is using or hasn't closed the table properly [00:51:12] Should I be worried about messages like that? [00:55:37] Splarka: hm... it seems that action=parse is what I need. thanks. [00:57:13] bogdan: There's a snippet of code for sandbox parsing on the mediawiki.org wiki [00:57:20] Somewhere on [[Manual:Special pages]] I think [00:58:31] 03dale * r49850 10/branches/new-upload/phase3/ (11 files in 7 dirs): [00:58:31] another (debug) commit of the upload branch [00:58:31] integrated fixes to the http class [00:59:38] chuck: that might be useful as well, thanks. [01:10:20] 03(mod) Merge new-upload branch (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18563 (10dale) [01:25:48] Can somebody help me out? Sortable tables aren't working [01:25:51] Hi, somebody out there? [01:25:58] I'm running 1.14.0 [01:27:12] !ask | Laire [01:27:12] --mwbot-- Laire: 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. See also: !gethelp [01:29:36] How i get
in a template? Example: |a=text text
text text ---- {{{a}}} doesnt work [01:33:01] 03aaron * r49851 10/trunk/extensions/FlaggedRevs/ (3 files in 2 dirs): Tweak for bug 17275: no need to lock other session reads just for consistent reads here [01:40:11] Yeah, so... I still don't get why sortable isn't working... [01:43:03] hangfromthefloor: what are the symptoms of nonworkitude? [01:43:08] any JS console errors? [01:43:37] Let me check, but so far, I click on the arrows, and it takes me to the page + '#' in the URL and doesn't sort [01:44:15] odd, because in order to init those links, it has to work a little bit [01:44:27] Error: ts_sort_caseinsensitive is not defined [01:44:29] Source File: (mw)/index.php?title=-&action=raw&smaxage=0&gen=js&useskin=monobook [01:44:31] Line: 67 [01:44:57] do you have sortable tables in your Common.js ? [01:45:31] I believe so [01:45:33] they're part of core, in wikibits.js [01:45:40] I believe not [01:45:49] believe what you want [01:45:56] you have 1.14? [01:46:00] yes [01:46:14] the functions are all in common.js, it seems [01:46:19] http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_14/phase3/skins/common/wikibits.js?view=log [01:46:25] specifically: http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_14/phase3/skins/common/wikibits.js?view=co&content-type=text%2Fplain [01:46:37] * Table sorting script based on one (c) 1997-2006 Stuart Langridge and Joost [01:46:58] you should just be able to add class="sortable" to a table with core JS and get basic table sorting [01:47:11] we can't really debug your Common.js for you [01:47:18] I never edited common.js [01:47:25] it's the default when mediawiki was set up [01:47:48] that is blank by default [01:48:33] eh [01:48:40] 'common.js' => '/* Any JavaScript here will be loaded for all users on every page load. */', # only translate this message to other languages if you have to change it [01:48:44] 'monobook.js' => '/* Any JavaScript here will be loaded for users using the MonoBook skin */', # only translate this message to other languages if you have to change it [01:49:05] those are combined in gen=js that you mentioned above [01:49:15] so check what is in those that could be interfering [01:50:36] monobook.js is blank [01:50:43] common.js is full of stuf [01:50:50] can you pastebin it? [01:50:58] i'd be happy to, do you hae a preferred one? [01:50:59] http://p.defau.lt/new.html [01:51:53] here you are : http://p.defau.lt/?3xd77Bu4uNTukmzIAGjovw [01:52:33] ahh, you've got someone's custom sortable tables there [01:52:38] where'd ya get it? [01:52:56] Who knows... I installed 1.14 upgrading on 1.9 [01:53:16] check the history of common.js, see who added it? [01:53:26] from an old wiki my friend previously shut down on his server but sent me to preserve [01:53:44] lawl i think it was me [01:53:48] the old versions didn't have it as core and it had to be added by hand [01:53:54] (cur) (prev) 22:17, 17 February 2008 xxxx (Talk | contribs | block) (Copied js from meta) [01:54:09] heh [01:54:11] :D [01:54:16] I can get rid of it ?? [01:54:23] (I don't even remember doing this .... ) [01:54:26] probably, hmm [01:54:31] don't delete it all [01:54:38] comment I guess [01:54:40] //Overrides the function with the same name in http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/wikibits.js [01:54:52] /** Collapsible tables ********************************************************* [01:55:00] you can probably safely delete everything between those [01:55:15] (leaving the last line as the opening comment to the next section of course) [01:55:40] I get it, yeah. now checking if it works ... [01:56:03] hmm [01:56:25] Okay, great [01:56:26] worst case, delete it all, but then you lose collapsable tables [01:56:34] Thanks so much, you're so helpful :) [01:56:39] rar [01:56:58] (better Greader extension is burping up JS errors every .5 second... ) [01:57:20] (getting annoying trying to debug JS ) [01:57:36] Okay so now a question about sorting : [01:57:49] (because the Help:Sorting is too incomprehensible ) [01:58:21] If I have data in the form 1957-1958, 1958-1959, 1959-1960 etc. in one column, shoudl I define it as number? currency? default ? [02:06:52] 03aaron * r49852 10/trunk/extensions/FlaggedRevs/FlaggedRevision.php: Limit locking in newFromTitle() too [02:07:04] 03(mod) database error occurs while saving a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17275 (10JSchulz_4587) [02:08:16] no clue? [02:10:58] okay then, thanks for your help on that Splarka [02:11:02] i'm out of here [02:15:15] ow i get
in a template? Example: |a=text text
text text ---- {{{a}}} doesnt work [02:27:17] Laire: not sure, but try {{{1}}} instead of {{{a}}} just as a test [02:28:47] 03(mod) Hiding can hide a bit too well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18531 +comment (10FT2.wiki) [02:33:23] 03(mod) hideuser doesn't check all log types - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18568 (10JSchulz_4587) [02:35:42] 03(mod) Hiding can hide a bit too well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18531 +comment (10JSchulz_4587) [02:39:37] 06(LATER) Add 'hideuser' right to CheckUser group Wikimedia-wide - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18313 +comment (10JSchulz_4587) [02:39:53] 03(mod) Hiding can hide a bit too well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18531 (10FT2.wiki) [02:40:45] 14(DUP) hideuser doesn't check all log types - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18568 +comment (10JSchulz_4587) [02:40:49] 03(mod) RevisionDelete: hidden users appear in log entries created after the hiding - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18383 +comment (10JSchulz_4587) [02:48:37] 03(NEW) replace "show/hide" by an icon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18577 enhancement; Normal; MediaWiki: Deleting; (FT2.wiki) [02:49:41] ew, icon [02:50:11] 03(mod) Hiding can hide a bit too well - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18531 (10FT2.wiki) [02:50:37] perhaps an animated gif of something disappearing and reappearing [02:51:00] a magician with a rabbit [02:51:18] or just an image of the text "show/hide" [02:51:26] perfect! siebrand will love that [02:53:37] 03(mod) replace "show/hide" by an icon - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18577 +comment (10FT2.wiki) [02:54:41] icons ftl [03:34:12] 03(mod) Zh traditional/simplified conversion for NON rendered HTML too - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13840 (10shinjiman) [03:34:40] to make an image... have no border around it, centered, 40px wide, with the caption of "Archives", I'm using [[Image:Replacement filing cabinet.svg|location=center|40px|Archives]] -- but I'm not getting the caption, I've tried alt=, text=. caption= [03:35:07] I've tried using the image template instead of the link, but there's virtually no documention for it, which is somewhat frustrating [03:39:08] try [[Image:Replacement filing cabinet.svg|location=center|40px||Archives]] might work iirc [03:46:23] 03philip * r49853 10/trunk/extensions/ParserFunctions/ParserFunctions.php: Allowed to find variant link when use #ifexist. [03:48:57] Is it possible to search for all edits made by a particular user... which resulted in the page size increasing by at least 100 bytes? [03:49:26] having a caption is contrary to not having a border [03:49:38] if you want both, you'll have to attach the caption manually, like via a table cell [03:49:47] Eh, I'm just sticking it in a seperate div and changing the size manually [03:49:53] right [03:50:30]
[[Image:Wiki.png|40px]]
caption
[03:50:33] I'd like to find articles that (over the years) I've contributed significantly to, but I tend to edit in "lumps", I usually preview/preview/preview and then commit and I have a lot of antivandalism edits that I really don't want to wade through [03:50:33] laziest method [03:51:24] hmm [03:51:33] not really, but you can hide 'minor' and such in the api [03:53:04] but the api doesn't show sizes, hmm, and can't use usercontribs as a generator... [03:53:45] no real good solution for that [04:00:05] can CategoryTree be collapsed by default but have a hidden depth of three? [04:00:16] i can't seem to get both worlds.. [04:12:35] Ok, I could run the API and ignore all edits with the text "(HG)" and ignore anything where the link name had the text "talk" in it and get the diff numbers for all the rest, then with rvprop, I could get the size of the edit. Then I could filter out all of those that were less than 100 bytes, then display a diff link to the edits that remain in a list... if I could figure out how to use the API [04:15:13] yah, that'd be multiple queries... [04:16:02] what I'd do is dump a list of all my contrib revids: http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucshow=!minor&ucprop=ids&ucuser=Splarka&uclimit=max (and query-continue until I had them all) [04:16:13] Do I just put my queries right in the text of the page? For instance, http://en.wikipedia.org/w/api.php?action=query&prop=links&titles=Main%20Page would be all my links from the main page? [04:16:37] I mean right in the HTML address of the page [04:18:38] well, yah, you can use GET or POST [04:20:54] when using Cite.php, can you have multiple groups with only one reference? [04:21:15] 03philip * r49854 10/trunk/phase3/includes/ (9 files in 2 dirs): Update the Chinese conversion tables. [04:22:01] or, rather, the question should be listing multiple groups on one reference [05:13:31] 03philip * r49855 10/trunk/ (2 files in 2 dirs): [05:13:31] Enabled LanguageConverter on extension:CategoryTree. [05:13:31] Convert title text displayed in Category with title mode. [05:19:59] 03philip * r49856 10/trunk/extensions/CategoryTree/CategoryTreeFunctions.php: Use $wgContLang->convertHtml() instead of htmlspecialchars(). [06:02:54] hmm [06:03:12] someone is writing "full" openid implementation in php [06:11:14] isn't there one written already? more than one, IIRC. [06:16:29] simonrvn: dunno, just seems weird [06:16:56] it does [06:19:17] I wonder under which project it is [06:19:31] under joomla ircc or osmething [06:31:20] ugh, joomla. [06:56:23] 14(WFM) Garbled type on my wikipedia.org site - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18576 04CRIT->normal; -schema-change ; +comment (10roan.kattouw) [06:57:40] 03(mod) Query pages should limit to content namespaces, not just main namespace - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8130 +comment (10roan.kattouw) [06:58:08] rofl, how'd that get tagged as a schema change lol [07:05:46] OverlordQ: newbie not knowing how to use bugzilla of course [07:39:49] !graph [07:39:49] --mwbot-- I don't know anything about "graph". [07:39:53] :( [07:39:58] !timeline [07:39:58] --mwbot-- I don't know anything about "timeline". [07:40:14] ... [07:40:27] !botinfo | magewhopper [07:40:27] --mwbot-- magewhopper: I don't know everything about everything. I am mostly for lazy experienced users to echo quick answers to very common mediawiki questions. Please don't randomly experiment with me for help. Everything I know is at http://tools.wikimedia.de/~amidaniel/botbrain.html and you can visit #mwbot or privately message me. [07:41:19] o I see [07:41:26] thanks splarka [07:56:36] 03(NEW) Problem with Interface translation - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18578 normal; Normal; MediaWiki: User interface; (xarak) [08:08:04] 03(mod) Transcluded Special:Newpages and Special:Newimages expose strip markers and desanitize html when returning zero results - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16129 (10paul.copperman) [08:37:00] 03siebrand * r49857 10/trunk/extensions/SemanticMediaWiki/ (4 files in 4 dirs): [08:37:00] * Move HTML para from message to code in 'smw_exportrdf_docu', 'smw_uri_doc', 'smw_sbv_docu', 'smw_sbv_novalue' [08:37:00] * disable 'smw_sbv_noproperty'. Appears to be unused [08:37:00] * minor content update for 'smw_uri_doc' [08:40:27] 03(mod) database error occurs while saving a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17275 (10forrester.wikipedia) [08:44:07] 03(mod) Deadlock FlaggedRevision::insertOn while saving a page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=17275 summary; +comment (10siebrand) [08:48:47] 03(mod) Fatal error in LqtBaseView.php - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18037 summary; +comment (10siebrand) [08:50:15] 03rainman * r49858 10/branches/lucene-search-2.1/src/org/wikimedia/lsearch/config/GlobalConfiguration.java: Fix custom namespace score boosts (e.g. for commons), should check keys not objects here [08:52:26] 03thomasv * r49859 10/trunk/extensions/ProofreadPage/proofread_index.js: minor [09:03:06] 03siebrand * r49860 10/trunk/phase3/ (includes/Credits.php languages/messages/MessagesQqq.php): Allow gender based localisation for 'lastmodifiedatby' [09:05:21] How would i change the tab text for the article namespace, IE instead of article and discussion >> recipie and discussion [09:06:35] you want to change the english text to those? [09:06:50] Yep [09:07:23] MediaWiki:nstab-main for the main [09:07:45] and I think MediaWiki:Talk for the other, but that will (if it is the right message) change it for all namespaces [09:08:10] 03siebrand * r49861 10/trunk/extensions/MetavidWiki/languages/MV_Messages.php: use plural in 'mv-category-media-count' [09:09:08] Splarka: And how can i Add a tab? [09:09:12] [[MediaWiki:Talk]] for the talkpages and [[MediaWiki:Article]] for the pages [09:09:24] thats to change the text [09:09:30] ok [09:09:31] thats done [09:09:49] Now i want to add a tab called comments that will link to Comments:{{PAGENAME}} [09:09:59] javascript [09:10:14] 'talk' => 'Discussion', [09:10:16] !man Interface#Localizing_the_interface | Prom_cat [09:10:16] --mwbot-- Prom_cat: http://www.mediawiki.org/wiki/Manual:Interface%23Localizing_the_interface [09:10:20] it has been that way for years [09:10:54] Yeah but this guy wants Recipie, Discussion, Comments [09:11:12] So i need to add a tab after discussion for him :/ [09:11:19] I mean 'Talk' has been 'Discussion' [09:13:20] 03siebrand * r49862 10/trunk/extensions/MetavidWiki/languages/MV_Messages.php: Consistency updates for 'mv_move_delete_msg', 'mv_add_stream_page', and 'mv_list_streams_page' [09:14:40] p858snake: So what exactly does [[MediaWiki:Article]] control? not the nstab [09:14:54] 03(mod) robots.txt exclusions for sv.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18565 (10davidohlin) [09:15:59] Prom_cat: you can either add new tabs in javascript, or use an extension: http://www.mediawiki.org/wiki/Manual:Hooks/SkinTemplateTabs [09:16:07] Splarka: no idea, it's just what i found first on en.wiki [09:16:16] it might be from a older version or something [09:16:56] bah, if you don't actually know at least disclaim with "AFAIK" or "so I heard" [09:17:02] you sounded too confident, heh [09:17:22] hey... i gave a man page for said persion to look at [09:17:46] ok [09:17:54] well i found something similar to what im after [09:17:56] (i think) [09:18:01] http://www.mediawiki.org/wiki/Extension:Purgetab [09:18:04] JS is a nice quick solution until you get around to the extension [09:18:06] That adds a purge tab [09:18:42] is it easy enough to modify that to say comments and to link to Comments:PAGENAME [09:19:22] 03(FIXED) robots.txt exclusions for sv.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=18565 +comment (10p858snake) [09:19:26] be sure to restrict namespaces it triggers on [09:19:55] Splarka: http://www.impublished.org/wordpress/adding-custom-tabs-to-mediawiki/ [09:20:01] I think i found a better way :) [09:21:27] 03siebrand * r49863 10/trunk/extensions/IMStatus/IMStatus.i18n.php: Update capitalisation in 'imstatus_live_get_code' [09:21:47] Prom_cat: that is absolutely not better [09:21:58] it is a nasty mix of javascript and core file hacking [09:22:26] plus it is quite out of date [09:22:42] oh dammit, i didnt see the core file hacking :/ [09:22:44] you can add the tab with one line of javascript if you are really lazy, or as you pointed out a 20 line extension [09:22:59] here... [09:24:50] The one line of javascript being :) [09:25:43] if(wgNamespaceNumber == 1 || wgNamespaceNumber == 2) wgaddOnloadHook(function() { addPortletLink('p-cactions', wgScript + '?title=' + encodeURIComponent(wgTitle),'Comment','p-comment','Comment on this page','',document.getElementById('ca-talk')) }) [09:25:47] *Splarka tests it now [09:26:50] oops [09:26:53] few typoes, fixing [09:26:59] :0 [09:27:05] was typing fast, heh [09:27:06] trying to give me dodgy code! [09:27:07] :P [09:27:39] trying, yes [09:27:43] Prom_cat: you should whip him for the incorrect code >.> [09:27:50] "Ill just write this guy a virus" - Oh sorry, it was a typo! [09:28:25] if(wgNamespaceNumber == 1 || wgNamespaceNumber == 2) addOnloadHook(function() { addPortletLink('p-cactions', wgScript + '?title=' + encodeURIComponent(wgTitle),'Comment','ca-comment','Comment on this page','',document.getElementById('ca-talk')) }) [09:28:44] p858snake: Mummy told me not to listen to serpants, especially the sort with apples [09:28:57] but i haz no apples [09:28:58] Splarka: And i add this where? [09:29:07] you could make it more complex of course, to insert it right after the talk page link, rather than before [09:29:10] !js [09:29:10] --mwbot-- To set up custom javascript on a wiki, edit the page called [[MediaWiki:Common.js]] (NOT a file, a page on your wiki, which is included via