[00:01:17] ^demon: the /config file won't move... should i mess with the chmod? [00:01:34] <^demon> If you've already installed, you can delete /config entirely. [00:01:46] <^demon> Or chmod it, you don't need it either way. [00:05:46] ^demon: it worked! thanks so much! [00:06:40] <^demon> No problem. [00:12:05] hi, how do you compare a page name with a single quote in it in a parser function? [00:12:20] ^demon: are you also good at sort URLs? [00:14:10] <^demon> Having a problem? [00:17:24] Onteron: " I believe, or the numeric " [00:17:44] mediawiki offers different solutions to shorten the wiki urls. http://www.mediawiki.org/wiki/Manual:Short_URL Is there a method that you recommend? Perhaps the: wiki/Page title -- no root access x44 x8 - [00:18:56] <^demon> i have root access :) [00:19:25] 03yaron * r43914 10/trunk/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php: Added handling for latest change to SMWTimeValue in SMW 1.4 [00:20:27] Onteron: http://en.wikipedia.org/wiki/Special:ExpandTemplates?contexttitle=%22foo%22&input=%7B%7B%23ifeq%3A%7B%7BFULLPAGENAME%7D%7D%7C%26quot%3Bfoo%26quot%3B%7Cyes%7Cno%7D%7D%0D%0A%0D%0A%7B%7B%23ifeq%3A%7B%7BFULLPAGENAMEE%7D%7D%7C%2522foo%2522%7Cyes%7Cno%7D%7D%0D%0A%0D%0A%7B%7BFULLPAGENAME%7D%7D+-+%7B%7BFULLPAGENAMEE%7D%7D%0D%0A%0D%0A&removecomments=1 [00:21:55] <^demon> Mathieu1: http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access - the method with using .htaccess is easy enough. [00:22:20] <^demon> Personally, I like mod_rewrite :) [00:23:09] mod_rewrite sucks [00:23:17] why would you need it, when you can do everything in app [00:23:19] hi! [00:23:24] <^demon> hi domas :) [00:23:40] thanks, Splarka, I just got it to work by using {{PAGENAMEE}} instead of {{PAGENAME}} [00:23:42] hi domas! [00:24:29] 03yaron * r43915 10/trunk/extensions/SemanticCalendar/includes/ (SC_GlobalFunctions.php SC_ParserFunctions.php): Simplified date handling [00:24:34] sıɥʇ pɐǝɹ ʇ,uɐɔ sɐɯop [00:24:48] 03(mod) Check and delete empty tex images - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16440 (10cbm) [00:26:48] ^demon: do you know where the file httpd.conf is located? [00:26:51] וורדנא לא יכול לקרא זאת [00:26:58] Onteron: for future reference, Special:ExpandTemplates lets you debug it easier, showing you what the parser sees [00:27:15] Mathieu1, usually /etc or some subdirectory of that, like /etc/httpd, /etc/apache, /etc/apache2, etc. [00:27:53] Mathieu1, you can try the command "whereis httpd.conf" or "find /etc httpd.conf" if you have shell access. (If you don't, you probably can't edit the file anyway.) [00:28:47] thanks for that Splarka that's great! [00:31:33] 03yaron * r43916 10/trunk/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php: Simplified date handling [00:32:28] *werdnum wonders why he's listening to Beethoven. [00:32:58] *^demon is listening to greg play trombone :p [00:33:46] werdnum: b/c you use Windows [00:36:39] beethoven is a gateway drug to Savatage/TransSiberianOrchestra [00:41:48] Can the api return html for a page? [00:42:28] action=parse [00:42:50] thanks [01:03:43] do you guys know where is the /etc file? [01:04:51] <^demon> Mathieu1: You're on Linux? It would be at /etc, in your root [01:05:02] <^demon> *root directory, that is. [01:08:09] ^demon: no, I have _db_backups, cgi, images, php_uploads, stats, wiki. No /etc file :( can you tell I'm struggling? :) [01:09:47] <^demon> Then you probably can't modify your httpd.conf. Try one of the .htaccess methods then. [01:09:52] Mathieu1: you most likely dont have access to the root folder on the server if it is not yours [01:10:06] ... [01:10:12] dude, he's talking about the root directory of his web [01:10:14] the document root [01:10:36] *qsheets knows [01:17:03] fyi if that can help. I'm using SmartFtp and godaddy for the hosting [01:17:35] Mathieu1: you want short URLs, right? [01:17:56] yes [01:18:20] werdnum: please.. [01:18:27] Mathieu1: then you want this method [01:18:29] http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access [01:19:34] werdnum: thanks. will try this one [01:27:41] werdnum: so here's what I added to the localsettings.php: $wgScriptPath = '/w'; $wgArticlePath = '/wiki/$1'; $wgUsePathInfo = true; [01:27:58] werdnum: should I create the /wiki/ file? [01:28:02] no [01:28:05] ok [01:28:10] you need to edit .htaccess as described in the doc [01:29:42] 03yaron * r43917 10/trunk/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php: Fix for leading zeros in getMonth() and getDay() [01:30:06] werdnum: Can't find the .htaccess in my /w folder. Should I create it? [01:30:11] yes. [01:30:18] but you should create it in the root folder, not /w [01:30:59] werdnum: I found one there. It says: RewriteEngine on [01:30:59] RewriteCond %{REQUEST_FILENAME} !-f [01:30:59] RewriteCond %{REQUEST_FILENAME} !-d [01:30:59] RewriteRule ^(.+)$ index.php?title=$1 [L,QSA] [01:31:29] wednum: I should just keep editing below that, right? [01:31:35] that looks like it's from a previous attempt [01:31:38] you should replace that file. [01:31:50] 03tparscal * r43918 10/trunk/extensions/ContributionReporting/ (5 files): Restructured the fundraiser statistics code and user interface. [01:31:51] ok [01:34:53] werdnum: can I use block-note to create an .htaccess file? [01:35:05] what's block-note? [01:35:30] werdnum: sorry, the windows notepad [01:35:40] Probably not [01:35:47] it leaves evil byte-order marks. [01:35:50] !notepad [01:35:50] --mwbot-- The byte-order mark (BOM) is a special character added to files by some text editors, most notably, by Notepad. It is unnecessary and breaks PHP code. You should not use Notepad to edit PHP files. Alternatives for Windows include Notepad++, SciTE, EditPlus, and UltraEdit. [01:36:34] is the .httpaccess file a php file? [01:38:01] !kwrite [01:38:01] --mwbot-- I don't know anything about "kwrite". [01:43:08] 03tparscal * r43919 10/trunk/extensions/ContributionReporting/ContributionReporting.i18n.php: Fixed languages. [01:45:26] Mathieu1: no, but I bet a BOM would still break it. [01:45:52] wednum: I got: /wiki/Main_Page was not found on this server. I'll keep working on it [01:46:39] wednum: it seems that the url transformation worked but the .htaccess file didn't [01:47:07] *Mike_lifeguard drools over the skin at http://innovatia.org/~innovati/index.php?title=Main_Page [01:47:09] *werdnum dunno. [01:47:12] <^demon|away> Mathieu1: Did you move your wiki installation to /w or /wiki? [01:47:16] google for MediaWiki GoDaddy. [01:47:16] someone should steal that :| [01:47:37] Mike_lifeguard: that's not bad. [01:47:57] they removed copyright stuff, so i dunno how it might be licensed [01:48:07] ^emon: everything is still on /w [01:48:18] ^demon: everything is still on /w [01:48:20] <^demon> Mathieu1: Oh ok :) [01:48:23] <^demon> Hmm. [01:48:37] <^demon> Can you paste the *exact* contents of your .htaccess into a pastebin? [01:48:58] ^demon: I think I messed up the htaccess. what's a pastebin? [01:49:34] werdnum: I automatically installed mediawiki with godaddy [01:49:41] <^demon> Mathieu1: http://rafb.net/paste/ - copy+paste, give us the url when it's up [01:50:54] Thanks! http://rafb.net/p/u965s621.html [01:52:28] here's what I also tried: http://rafb.net/p/h6iFJd12.html [01:55:44] 03(mod) Install ImportFreeImages (Flickr) extension on Commons - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8854 (10mikelifeguard) [01:57:24] <^demon> Mathieu1: This is what I use: http://pastey.net/102702 (replace view and /v with wiki and /w). [01:58:02] I love $wgActionPaths [01:58:05] they are the sex. [01:58:49] werdnum: where do i get support for HTML Tidy and Mediawiki? [01:59:16] <^demon> !tidy [01:59:16] --mwbot-- Wikimedia uses HTML Tidy, which allows mixed html and wikitables inside parser functions and templates. This can often be confusing for people copying templates from Wikimedia projects. For more information about HTML Tidy, see . [01:59:17] ask your question here, and we'll see. [01:59:37] well, i'm trying to install HTML TIdy and configure MediaWiki to use it, but so far, it ignores TIdy [01:59:39] *Tidy [01:59:54] <^demon> Does PHP have tidy support enabled? Check your phpinfo(); [02:00:05] I think RingtailedFox has been !tidy'd like 50 times [02:00:08] yeah [02:00:09] ^demon: I copied your text. Can you take a look at this part of my localsetting http://rafb.net/p/RQBkdO44.html [02:00:18] 03(NEW) My editing deletes numbers in links in pages that I am editing, even though I am not touching those links. This has happened recurrently and has messed up many (English) Wikipedia pages. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16453 04CRIT; normal; MediaWiki: User interface; (wellman) [02:01:09] i know exactly what tidy is.. i'm just having a pickle of a time getting it to work :) [02:01:22] <^demon> Mathieu1: Looks fine. [02:01:43] <^demon> RingtailedFox: Did you check phpinfo(); to see if PHP has it enabled? [02:02:06] hum.. [02:02:17] do i type that into SSH? [02:02:48] <^demon> Make a test.php file somewhere and load it in your browser. " (without quotes, of course) [02:03:06] no close > thingy? [02:03:11] <^demon> If you want. [02:03:15] <^demon> Doesn't matter. [02:05:05] ^demon: should i be able to access the wiki through example.com/w or example.com/wiki ? [02:05:21] <^demon> Both. [02:05:22] www.mobianlegends.com/phpinfo.php [02:05:41] <^demon> Hm says tidy is enabled. [02:05:51] anyone here good with $wgRestrictionLevels, i can't seem to get it to work [02:08:06] p858snake: what have you tried, and what's not working about it? [02:09:27] ^demon: what should i do now? [02:09:43] ^demon: Developer 101. Using Dreamweaver, what should I open to create an .htaccess file? php, c#, text, ? [02:09:48] <^demon> RingtailedFox: If you've enabled it in php and mw and it doesn't work, dunno :( [02:10:09] <^demon> Mathieu1: Just a plaintext document. [02:11:55] werdnum: this is my custom group and the lines i've added for the restricted channel (from what i could gather from the manual page and my mailing list enquiry) http://pastebin.ca/1266324 and i created [[MediaWiki:Protect-level-ShiftStaff]] [02:12:39] the thing is, ^demon .. i don't thikn i enabl;ed it in mediawiki... how do i make sure i did properly? [02:13:22] <^demon> Check your LocalSettings for $wgUseTidy = true; [02:13:29] it's set to true [02:13:56] p858snake: $wgRestrictionLevels is an array of rights, not groups [02:18:28] ^demon: The requested URL /wiki/Main_Page was not found on this server. [02:18:45] <^demon> Mathieu1: I dunno then :\ [02:18:50] ^demon: should I pay a developer to do this? [02:19:45] anyone available for 15 minutes? [02:20:05] <^demon> Mathieu1: I wouldn't pay anyone. I can't figure it out, but maybe someone else here can... [02:21:04] I probably went too far and messed up a few files :( [02:39:19] 03brion * r43920 10/trunk/phase3/ (4 files in 3 dirs): (log message trimmed) [02:39:20] * (bug 5477) Searches for words less than 4 characters now work without [02:39:20] requiring customization of MySQL server settings [02:39:20] Short words are padded so they now get indexed. Yay! [02:39:20] Adapted part of Werdna's patch, with some additional cleanup: [02:39:20] * Using 'U00' to pad instead of 'SMALL' to reduce false positives (eg search for "small*" could match "Smallville" and "SMALLc") [02:39:25] * Checking server's ft_min_word_len variable to see if we need to do anything. This preserves index compatibility with existing installations which have customized their index length. [02:42:12] brion: whee [02:43:02] :D [02:43:38] damn i put the wrong bug number :D [02:44:00] teehee [02:44:15] brion: so what were we thinking about DCVSes? Too much effort to figure out which ones are worth using? :D [02:44:17] 03brion * r43921 10/trunk/phase3/RELEASE-NOTES: list right bug number [02:45:23] 03(FIXED) Searches less than 4 characters long don't work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=7726 +comment (10brion) [02:45:34] werdnum: any mention of DVCS leads to a git-vs-everything-else flamewar [02:45:41] yeah, I noticed that. [02:45:41] it's too painful :D [02:45:46] That's what I thought :P [02:45:58] ok i'm gonna head home and get some dinners [02:46:04] nighty night, brion. [02:46:05] 7pm? [02:46:23] yeah i was finihsing that damn bug up :D [02:46:28] *brion wanders off hungry [02:46:30] *werdnum hides. [02:46:45] actually did half the work before i noticed your patch ;) [02:46:56] haha [02:47:08] *brion now has a copy of Simple English Wikipedia on his laptop to test search with... [02:47:11] It wasn't that much work... [02:47:12] now that's entertainment [02:47:14] :D [02:47:15] haha [02:47:22] yeah the core of it's pretty simple, we should have done it years ago [02:47:26] "Adolf Hitler was a very bad man." [02:47:28] why simple? lots of little words? [02:47:32] bahahahahaha [02:47:37] ok i'm off now [02:47:41] {{NPOV}} [02:51:38] ^demon: still here? [02:53:06] <^demon> Mathieu1: A bit [02:53:17] Since I'm using godaddy, what do you think about inserting this into my localsetting.php $wgImageMagickConvertCommand = "/usr/local/bin/convert"; [02:53:50] ^demon: that's what it says here: http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_GoDaddy_Shared_Linux_Subdomain [02:54:27] *^demon shrugs [02:55:05] <^demon> I've never had godaddy for hosting. You can add it. If it works, your thumbnails will show up. If it doesn't, they won't and you'll have to go back to GD. [02:55:38] hum.. thanks [03:07:57] heading home. Thanks ^demon and werdnum for your help today [03:18:09] 03(mod) My editing deletes numbers in links in pages that I am editing, even though I am not touching those links. This has happened recurrently and has messed up many (English) Wikipedia pages. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16453 +comment (10mikelifeguard) [03:18:41] matheiu1: you should escape from godaddy as soon as possible. they have a horrible buisness record [03:35:22] 03(mod) Change favicon on de, fr, pl, nl Wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16315 (10Wiki.Melancholie) [03:35:55] 03tomasz * r43922 10/trunk/extensions/CentralNotice/ (CentralNotice.i18n.php SpecialNoticeTemplate.php): Adding preview all translations support for any template along with cloning functionality. This is one of the last changes before I merge a large cleanup of the code. [03:40:31] 03(mod) move-subpages should have a collapsed log entry - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14818 (10mikelifeguard) [03:41:18] 14(INVALID) My editing deletes numbers in links in pages that I am editing, even though I am not touching those links. This has happened recurrently and has messed up many (English) Wikipedia pages. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16453 +comment (10mrzmanwiki) [03:42:19] 03(mod) Moving subpages doesn' t move subpages that have nonexistent parents - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14575 (10mikelifeguard) [03:45:06] 03(mod) Talk pages of subpages are not moved if the top-level page has no talk page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14369 +comment (10mikelifeguard) [03:46:56] 03(mod) Option to protect all subpages and talk pages when protecting the page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12908 (10mikelifeguard) [03:49:05] 03(mod) Admin functions for (autoconfirmed) users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14325 +comment (10mikelifeguard) [03:49:07] say if i'm using a variable in a template such as {{{imagesize|}}} is there anyway to get it to inject a default variable if nothing is entered for it? [03:50:41] 03(mod) Page move rollback should not leave a redirect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3185 +comment (10mikelifeguard) [03:53:51] p858snake: you are already [03:54:10] p858snake: {{{imagesize}}} is a variable, {{{imagesize|}}} is that variable with a null default [03:54:21] {{{imagesize|foo}}} would show 'foo' as a default [03:56:36] Can someone remind me how &offset works if you want to link to a particular spot in the log? [03:58:12] magick! [03:58:53] 03(mod) Moving a page with subpages to be a subpage of itself causes it to be moved twice - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14817 +comment (10mikelifeguard) [03:59:02] *Mike_lifeguard figured it out, kinda [03:59:11] UTC timestamp, ISO 8601, with all nonnumbers removed [03:59:29] YYYYMMDDHHMMSS [04:00:46] 03(mod) @ (at-sign) needs to be totally invalid for usernames - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12581 15enhancement->normal; +comment (10mikelifeguard) [04:02:21] Splarka: thanks [04:02:31] mike: gonna keep subtly bumping the severity until that gets done? [04:03:32] That's not a bug I care about, I just happened to see it. [04:03:41] (note I'm not CCd) [04:04:28] hmm, I wonder if there is some unicode symbol close [04:04:31] *Splarka doesn't care enough to check [04:04:40] 03(mod) New messages bar should appear above page title, for consistency with other message boxes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12681 (10wiki) [04:05:34] 03(mod) ability to watch "bundles" of sub-pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2308 (10mikelifeguard) [04:06:13] 03(mod) Page move rollback does some odd things - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2621 (10mikelifeguard) [04:07:17] 03(mod) Autoconfirmed on all projects for global usernames - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13521 +comment (10mikelifeguard) [04:09:12] 03(mod) "what links here" should list the template, not the pages that use it - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12396 +comment (10mikelifeguard) [04:10:41] Special:Whatlinkshere/FooBar [[{{Echo|Foo}}{{Echo|Bar}}]] [04:10:43] heh [04:10:45] good luck with that [04:12:24] 03(mod) Expand functionality of Special:nuke on meta to all wiki' s within Wikimedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11069 (10mikelifeguard) [04:14:04] how can I add book sources to special:booksources? [04:15:02] 03(mod) Script sometimes deletes file, but not description and doesn' t log the delete - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13863 +comment (10mikelifeguard) [04:15:35] *^demon wishes implode() would not glue empty params in a url... [04:15:43] <^demon> *array [04:17:28] anyone? [04:19:17] 03(mod) Occasional error where a file gets deleted, but the image description doesn't, and the deletion is unlogged - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13863 summary (10mikelifeguard) [04:19:41] 03(mod) Log events occassionally not logged - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12129 (10mikelifeguard) [04:20:06] *Mike_lifeguard rests after spamming 78% of the developers via bugzilla :D [04:21:18] <^demon> Mike_lifeguard: (mod) aren't as fun as (FIXED) ;-) [04:21:27] True. [04:21:37] but you may have noticed my track record in doing that [04:21:41] ie never [04:23:14] naught101: checked http://www.mediawiki.org/wiki/Manual:ISBN ? [04:23:24] 03(mod) New messages bar should appear above page title, for consistency with other message boxes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12681 (10wiki) [04:23:25] Splarka: yes... [04:24:29] *Mike_lifeguard wants https://bugzilla.wikimedia.org/Special:Contributions/Mike.lifeguard [04:26:07] 03(mod) New messages bar should appear above page title, for consistency with other message boxes - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12681 +comment (10mikelifeguard) [04:27:19] Mike: https://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emaillongdesc2=1&emailtype2=substring&email2=mikelifeguard%40fastmail.fm [04:27:43] O.o [04:27:55] I don't understand it... [04:28:08] *Mike_lifeguard saves [04:29:17] <^demon> Splarka: That doesn't include bugs his e-mails not on (as reporter, assignee, cc, etc), right? [04:30:29] 03(mod) Add username in new messages bar to prevent UI spoofing - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12693 (10mikelifeguard) [04:31:29] ^demon: username == email address, so that should be anything he's assigned, reported, a CCer of, and commented on [04:31:49] <^demon> Splarka: Unless you don't add CC to everything you do, as do many people. [04:31:55] although probably not simply changed the status of [04:32:17] ^demon: no, literally the username is the email address... [04:32:25] Anyone know what the

you don't need to CC a bug to be found as a commentor by your email addy [04:32:54] <^demon> true yes. [04:33:23] <^demon> I never saw the reason for bug 12693. [04:33:48] Mike: it covers the whole page with a click area [04:34:25] <^demon> An invisible click area :) [04:34:44] ok, ok [04:34:45] I experimented with that.. the problem is, you can cover almost everything except the logo and active caction [04:34:53] *Mike_lifeguard tests [04:34:57] because of the way monobook floats the cactions behind the content, except the active one [04:35:10] and there is no good clipping method possible while that is in effect [04:35:19] <^demon> Couldn't you bump the z-index and make it on top of everything? [04:35:27] it would be trivial if you could set the content z-index lower than the column-one, but that would ruin the float [04:35:41] you need column one a sibling for the float trick in monobook [04:35:57] ^demon: z-index is inherited [04:36:21] if you have and nothing in bar as a child can cover anything in foo [04:36:40] <^demon> Ah yes. [04:36:49] <^demon> Hmmm, putting that in my mainpage didn't work... [04:38:18] didn't really work in the sandbox [04:38:27] but I imagine variations on the code provided would [04:39:12] damn, I had some notes about this from years ago, there are lots of tricks you can do, but none are really an all-over solution [04:39:26] you can for example make the content area overflow hidden, but that has bad consequences [04:40:22] <^demon> I added * { display: none } to my monobook once...that was annoying. [04:40:39] <^demon> Granted, I did it on purpose, but :p [04:41:20] noob [04:41:58] http://en.wikipedia.org/w/index.php?title=MediaWiki:Monobook.css&diff=227327272&oldid=210732098 [04:42:44] <^demon> A quick grep says we only use z-index's maxing out at 99. So you could just blacklist any z-index higher than 98 in Sanitizer? [04:44:32] *Splarka shrugs [04:51:11] <^demon> http://en.wikipedia.org/wiki/Special:Statistics - out of curiosity, what do the asterices after Pages* and Active users(...)* indicate? [04:51:31] 03aaron * r43923 10/trunk/extensions/FlaggedRevs/ (specialpages/RatingHistory_body.php svggraph/svgGraph.php): Add background color [04:54:23] if( $tooltip ) { [04:54:23] $text = '

' . $text . '*
'; [04:54:23] } [04:54:30] ^demon: means it has a tooltip [04:55:14] *Splarka wonders why 'Active users' on en.wp has a redundant tooltip (or redundant spammy line) [04:55:45] <^demon> Probably the latter. [04:56:26] http://en.wikipedia.org/wiki/MediaWiki:Statistics-users-active [05:01:37] what is the name of the plugin/extension that colour-codes computer code in MediaWiki pages? [05:01:40] you know, like Common.js [05:04:28] !geshi [05:04:28] --mwbot-- there are several extensions for syntax highlighting, see http://www.mediawiki.org/wiki/Category:Syntax_highlighting - the most popular one is at http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi [05:04:37] thanks [05:04:41] let me just see if i installed that [05:06:28] hmm. it's installed o.O [05:10:50] http://www.tkmaxx.com/important-customer-statement.aspx [05:11:41] 03aaron * r43924 10/trunk/extensions/FlaggedRevs/specialpages/RatingHistory_body.php: darken [05:12:36] <^demon> Splarka: Hahah [05:23:03] 03(NEW) Sigs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16454 minor; normal; Wikimedia: wikibugs; (leujohn1) [05:30:20] 03(NEW) "Article" is used where the contents of MediaWiki: Article should be used instead - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16455 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (mikelifeguard) [05:30:29] 03(mod) "Article" is used where the contents of MediaWiki: Article should be used instead - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16455 15enhancement->normal (10mikelifeguard) [05:35:16] *MZMcBride stares at bug 16454. [05:35:30] There's really no delete function for Bugzilla? [05:35:42] How do I use something like http://en.wikipedia.org/wiki/Special:Export/Title_of_the_article but also provide a revision ID to get XML of a specific article revision? [05:36:04] API? [05:36:40] I want to request it via http simply by url [05:37:10] specific article's top revision, or specific revision? [05:37:22] Specific revision. I have the IDs. [05:37:37] in index.php you can use action=raw and oldid=#, no article title or ID is necessary [05:38:25] or via the API: [05:38:25] http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&revids=12345 [05:38:56] http://en.wikipedia.org/w/index.php?action=raw&oldid=12345 [05:39:16] for the raw wikicode... or for the rendered... [05:39:54] Ok cool. Thanks. Now, can I get the article in plaintext, with all markup removed? I have a script to convert from the XML to plaintext but the way you provided returns the article in wikipedia markup and not XML (like special:export does) [05:40:12] mmm... well [05:40:21] the export provides raw wikicode, with XML wrappers [05:41:02] Is that like the XML I get from Special:Export? [05:41:18] http://en.wikipedia.org/wiki/Special:Export/Foobar [05:41:27] that is raw wikicode, the XML is just informational [05:41:38] Oh good point [05:41:40] the article ID, the username and article ID [05:41:43] er and username ID [05:41:49] Yeah, I didn't notice [05:41:59] the life of an article: [05:42:00] wikicode -> xml parse tree -> full HTML [05:42:25] the wikicode can be gotten plain via action=raw, wrapped in XML via Export or the API (or wrapped in JSON or a half dozen other formats)... [05:42:56] the XML parse tree is a bit hard to get, usually Special:ExpandTemplates or action=expandtemplates&generatexml via the API [05:43:10] 03(mod) Access QueryPage-based special pages via API - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14869 +comment (10mrzmanwiki) [05:43:14] the full html is visible in action=view (visiting a page), action=render, or action=parse in the API [05:43:33] but you don't want any of that I think, if you want the plain text of the article it doesn't really exist [05:43:41] however, a good rule of thumb... [05:43:41] 03(NEW) GIF Issues (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16456 15enhancement; normal; MediaWiki: Images; (innocentkiller) [05:43:42] And there's no simple way to get it rendered in plaintext? I'm trying to get the raw word data [05:43:42] 03(mod) Transparant GIF's lose transparancy when resized - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2229 (10innocentkiller) [05:43:45] 03(mod) rescaling of animated gif increase size - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=11822 (10innocentkiller) [05:43:47] 03(mod) Resizing of Some GIFs Rendering Poorly; Setting Needs Changing? - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13252 (10innocentkiller) [05:43:49] 03(mod) GIF scaling limit should be applied to animated GIFs only - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=16451 (10innocentkiller) [05:43:50] arg [05:43:51] 03(mod) Tracking bug (tracking) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=2007 (10innocentkiller) [05:43:59] *Splarka whaps demon with a spambat [05:44:02] >_> [05:44:11] New tracking bug... [05:44:24] Papageno: in the rendered output, all the page's content is in block level elements [05:44:27] <^demon> Hey, there's no "disable bugzilla notify" button :-\ [05:44:47] by default this is

, but things like templates often use

      and [05:45:13] what you can try, is removing all but first-generation

      from a page (stripping infoboxes, navboxes, 'other use' boxes, etc) [05:45:15] Can I tell it which elements to use? In particular, no elements? [05:45:19] and then from those, remove all html [05:45:49] hmm [05:46:00] well, take for example this: [05:46:01] http://en.wikipedia.org/wiki/Foobar?action=render [05:46:05] view the page source [05:46:50] you'll find the structure (first generation):