[00:07:40] 03(FIXED) Increase or remove rate limit for rollbacker group - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12760 +comment (10matthew.britton) [00:25:41] it looks like currently uploading a file requires "create" permissions even if the title already exists; is this a feature or a bug? [00:27:15] question to you all - does anyone know how to adjust wikimedia software so any edit made must be approved by a sysop before it publicly shows? [00:27:25] is there an extension or functionality within wikimedia software? [00:28:40] s/for the moment/right now [00:30:17] anyone? [00:31:14] HypedZJ: There's an extension. [00:31:17] !e FlaggedRevs [00:31:17] --mwbot-- http://www.mediawiki.org/wiki/Extension:FlaggedRevs [00:32:03] thanks [00:32:03] ! [00:36:10] hrm... hey guys. [00:36:22] so i got the wiki loaded back up ok... but seems there is one other issue... [00:36:37] from within function "Revision::insertOn". MySQL returned error "1048: Column 'old_id' cannot be null (localhost)". [00:36:48] something tells me thats another "auto increment" field? [00:37:25] aedaemoen: look in maintenance/tables.sql [00:44:58] seems all of the auto_increment fields in my table lost the auto_increment setting. [01:04:00] 03aaron * r35165 10/trunk/ (7 files in 4 dirs): [01:04:00] *Redo newRevisionFromEditComplete hook. Pass an Article instead of a title [01:04:00] *Use prepareTextForEdit() to avoid double parsing [01:04:00] *Parser cache will be saved again later, so need to do it twice in a row [01:13:03] 03aaron * r35166 10/trunk/phase3/includes/User.php: Respect $wgShowUpdatedMarker [01:14:19] 03(mod) Increase or remove rate limit for rollbacker group - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12760 +comment (10compwhizii) [01:16:26] Hey peeps. I'm trying to center the userloginForm, but CSS-center-aligning everything isn't working. Any tips? [01:29:46] 03vyznev * r35167 10/trunk/phase3/ (RELEASE-NOTES includes/SpecialUpload.php): Make Special:Upload display detailed permissions errors. Also avoid checking for 'create' permissions if the target title already exists. [01:36:01] 03vyznev * r35168 10/trunk/extensions/TitleBlacklist/ (3 files): [01:36:01] Remove verifyUpload hook, just check images using the normal userCan hook. This [01:36:01] closes a loophole that allowed creation of blacklisted image pages via normal [01:36:01] editing. Note that combining this version with MediaWiki revisions prior to [01:36:03] r35167 breaks the 'reupload' option and produces uninformative output for [01:36:05] blacklisted uploads. [01:38:41] 'sup my friends? I want to add something to the Special:Userlogin&type=signup page. Ideally a checkbox and text above the "create account" button, but I would settle for just putting text there. [01:39:05] So, is there a MediaWiki message for that area or a hook in the code? [01:49:43] Smaug: Probably have to edit /includes/SpecialUserlogin.php [01:50:34] Sasoriza: yeah, looking at that page now. The UserCreateForm hook looks promising, but I'm not sure exactly how to use it [01:53:59] Looks like you have to create a template for it first, then insert function fnMyHook($template) { ... } into /includes/SpecialUserlogin.php, then add $wgHooks['UserCreateForm'][] = 'fnMyHook'; to LocalSettings.php [01:54:45] But I've never used it, so don't quote me on that [01:56:22] yeah, i got that from the manual page on MW.org, but how (syntax-wise) do I make the template? [01:59:16] Check Extension:CustomUserCreateForm [02:00:08] thanks, but it still doesn't seem to get specific about how to make the template [02:01:57] look at the code: function customUserCreateForm($template) ... from there [02:05:47] unless I'm missing something, that's just code for including the template, not for building the template itself [02:09:48] well thanks for the effort, Sasoriza, anyway [02:25:38] well you have to use some intuition, see the parallel [02:53:40] hello, I have a question about image support in mediawiki? [02:55:22] is it possible, with or without some extension, to display .eps with thumbnails? [03:29:31] !diediedie [03:29:31] --mwbot-- You shouldn't do this, but since you asked: [03:47:53] i am new to mediawiki, how do only allow system users(created under mediawiki) to edit and view the wiki content??? [03:48:33] !access | metanil [03:48:33] --mwbot-- metanil: For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [03:49:36] thanks, mwbot , Charitwo [04:02:10] good luck Werdna, i'll try to throw my 2 cents in sometime this week [04:34:50] ??? [04:35:37] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 (10random832) [04:40:55] +c [04:45:05] 03(NEW) Grouping references does not support DBCS characters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14216 15enhancement; normal; MediaWiki extensions: Cite; (public.wiki) [04:52:49] 03brion * r35169 10/trunk/extensions/SimpleAntiSpam/SimpleAntiSpam.php: actually load the messages by using the right name :D [04:52:58] 03(mod) Change autoconfirmed settings on enwiki - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14191 (10thedukeofwaltham) [04:53:05] only two files appear to be associated with cologneblue skin [04:53:05] i have, for both, duplicated them, renamed them, and edited them to reflect the name change [04:53:08] but when i use the "new" skin, without any other changes, it seems to have lost all its CSS [04:53:17] 03aaron * r35170 10/trunk/phase3/docs/hooks.txt: It helps if doc is accurate ;) [04:53:44] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 (10thedukeofwaltham) [04:57:28] skin trouble [04:57:39] anybody alive after last netsplit? [04:58:11] 190 members. >_> [04:58:56] i see only two files for cologneblue [04:59:10] i duplicated both, renamed them, and changed all references in them to the new name [04:59:19] the new skin appears to lack CSS [04:59:20] ? [04:59:50] http://en.wikipedia.org/wiki/Wikipedia:Catalogue_of_CSS_classes might help a bit [05:00:37] um, my point being, if i did not make any other changes, why should the new skin not work exactly like the last? [05:00:49] i can think of several ways to go on a fishing expedition [05:01:42] By car, by van, by train, by airplane... [05:02:09] actually, my first thought was to search body text on my local copy of the mediawiki install for "cologneblue" [05:02:24] hoping somebody actually knew what the story was [05:07:35] 03brion * r35171 10/trunk/extensions/SimpleAntiSpam/SimpleAntiSpam.php: add some logging [05:07:39] wow, cologneblue goes back a ways [05:08:14] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=345 [05:08:45] splar, yes [05:08:51] and best imo [05:08:59] but i want to improve it a bit [05:09:08] do you understand what i've done wrong? [05:09:09] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=270 [05:09:44] nope, but I can imagine many things can go wrong cloning the non-template skins [05:10:11] okay i'm a dummy [05:10:18] i can't understand how anything can go wrong [05:10:31] two files, identical except for names [05:10:51] the second should perform identically with the first [05:11:00] steer me right, pls [05:17:56] 03brion * r35172 10/trunk/extensions/SimpleAntiSpam/SimpleAntiSpam.php: yes that does need to be getText, thanks to the string compare :D [05:21:13] can anyone point me in there direction on forcing mediawiki session data to be stored in mysql? [05:21:42] 03(mod) secure.wikimedia.org has interwiki links to insecure sites - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=5440 +comment (10nospam) [05:22:05] i'd rather not force all session data to mysql through php5 config, just mediawiki [05:22:10] 03(NEW) Special: ListGroupRights does not specify rights for Account creators group - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14217 15enhancement; normal; Wikimedia: General/Unknown; (meno25wiki) [05:28:46] 03(NEW) Serbian language variant links don' t work on the secure server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14218 minor; normal; Wikimedia: Language setup; (nospam) [05:30:10] Xiong: you may have to do a search-and-replace to match the new skin name [05:31:07] ah, you say you did that :/ [05:31:10] that was my thought -- s&r the entire folder [05:31:20] it's the blunt intrument approach [05:31:25] i was hoping for wisdom [05:31:59] the skinning system is a kludge [05:32:12] looks to me like a house of cards [05:32:44] just to confirm, you did duplicate skins/common/cologneblue.css too? [05:32:46] there should be exactly two files per skin [05:32:52] yep [05:33:11] there should be skin.php and skin.css only [05:33:28] and each of them possibly include others, which should be done right up top in each file [05:33:41] so, possibly a hierarchy of proto-skins [05:33:47] but nothing outside that [05:34:13] true enough [05:34:30] it doesn't help that we actually have two mostly redundant skin systems [05:35:04] yeh that's what i figured [05:35:07] 03(NEW) Not all revs updated if a user is self renamed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14219 15enhancement; normal; MediaWiki extensions: Renameuser; (meno25wiki) [05:35:25] and most custom efforts seem to be based off monobook, which i think is a horrible skin [05:35:43] or they are wizard creations /de novo/ [05:35:57] i just want a few tweaks to cologneblue [05:36:14] which i think is an outstanding skin [05:37:18] another question just to make sure: what are the permissions on the files you copied? [05:37:19] 03(mod) Cannot rename/move images and other media files. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=709 (10meno25wiki) [05:37:59] neither cologneblue.php nor colongneblue.css have the word "include" anywhere [05:38:13] which says to me that they bloody well shouldn't depend on anything else [05:38:55] 03(mod) Support collation by a certain locale ( sorting order of characters) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=164 (10meno25wiki) [05:39:23] what I meant was, if you type http://yourhostname/path/skins/common/yourskinname.css into your browser, do you get a screenload of CSS or a 403 error? [05:39:42] interesting question [05:39:43] brb [05:39:44] 03(mod) "File links" on the image pages should list links from other wikis - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=1394 (10meno25wiki) [05:41:51] 03(FIXED) Record "new" pages on User contributions - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=4150 (10meno25wiki) [05:42:22] 03(mod) Not all revs updated if a user is self renamed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14219 +comment (10JSchulz_4587) [05:43:58] how odd [05:44:06] neither [05:44:20] i get a wiki "no text in this page" page [05:45:20] ah [05:45:22] wrong path [05:45:35] that was the /wiki/ path i tried, not the /w/ path [05:45:44] 14(INVALID) Not all revs updated if a user is self renamed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14219 +comment (10JSchulz_4587) [05:45:55] in the /w/ path, i get the same css file i uploaded via ftp, all good [05:46:37] 14(INVALID) Special: ListGroupRights does not specify rights for Account creators group - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14217 +comment (10mrzmanwiki) [05:47:32] /wiki and /w are usually articlepath and scriptpath, what about stylepath? [05:49:58] well [05:50:24] /w/ *is* the path to skins [05:50:32] tried an experiment [05:50:51] cologneblue does not have a skins subfolder of its own -- for whatever reason [05:51:04] i put the modified duplicates exactly where the originals were [05:51:17] experiment: created a new subfolder and put the CSS in there [05:51:24] no change, even after clearing cache [05:53:25] i don't see a localsettings line for stylepath [05:53:37] don't know why i'd need to add one [05:53:45] my basic argument is that cologneblue works [05:53:52] so a duplicate of cologneblue should work [05:56:14] 04(REOPENED) Not all revs updated if a user is self renamed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14219 +comment (10JSchulz_4587) [05:56:21] 03(mod) Automatic category redirects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=3311 (10meno25wiki) [05:56:29] 03(ASSIGNED) Not all revs updated if a user is self renamed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14219 (10JSchulz_4587) [06:18:32] 03(FIXED) #ifexist does not detect special pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13640 +comment (10sco_scam) [06:19:02] 03aaron * r35173 10/trunk/extensions/Renameuser/SpecialRenameuser_body.php: Use more descriptive title [06:20:00] 03(mod) Not all revs updated if a user is self renamed - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14219 (10JSchulz_4587) [06:30:44] 03siebrand * r35174 10/trunk/phase3/languages/messages/ (21 files): Localisation updates for extension messages from Betawiki (2008-05-22 08:23 CEST) [06:34:42] 03siebrand * r35175 10/trunk/extensions/ (62 files in 60 dirs): Localisation updates for extension messages from Betawiki (2008-05-22 08:23 CEST) [06:35:57] skin.txt is almost totally useless docs [06:36:04] last updated version 1.3 [06:36:22] hello [06:36:40] i know, more recent docs [[Manual:Skins]] [06:36:51] but why even distribute the obsolete docs? [06:37:40] i'm getting this error http://rafb.net/p/ZshBDa36.html when uploading an image. Anyone know what the problem might be? [06:42:11] anyone? [06:45:03] Is your images directory writable? [06:45:16] can someone quickly clarify the usage of LGPL *images* in documents? [06:45:27] its 777 [06:45:47] every place only talks about LGPL code but i'm interested in finding out how it applies to MW commons images that are released under LGPL [06:46:26] i've had no problem uploading images for the past few days. This "error" showed up like 5 mins ago when i tried to upload an image. [06:46:58] What did you change in you config? [06:47:17] like... nothing... [06:49:51] there's also this http://rafb.net/p/RGXL1281.html [06:52:54] *tan is away: Gone away for now. [06:56:12] ! [06:56:15] well... chown -R apache.apache * did the trick [06:56:18] fixed the duplicate skins issue [06:56:33] turns out that when i did global replace oldname->newname [06:56:42] i got the Case Wrong in two places [06:56:51] man, how i despise case sensitivity! [06:57:11] which reminds me: anybody know how i can eliminate case sensitivity in page names? [06:58:09] probably easiest to normalize them to all uppercase or all lowercase (in the same way first letters are usually normalized to uppercase) [07:00:13] 03(mod) Edit summary doesn't allow links with character references - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14140 (10ktc) [07:00:36] 03(mod) Add section links to Special pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14150 (10ktc) [07:17:20] 03(NEW) $wgCheckFileExtensions doesn't seem to work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14220 normal; normal; MediaWiki: Uploading; (florian.dufour) [07:51:24] <_wooz> lo [08:02:56] guys I am struggling to understand the page about namespace aliases: http://www.mediawiki.org/wiki/Manual:%24wgNamespaceAliases [08:03:17] could somebody explain to me what I have to do to change put an alias on my primary namespace? [08:10:38] I need to refer to my primary namespace by it's id how do I find it's ID? [08:11:34] go to a page in the namespace and check the JS variable or class (ns-0 for example) [08:11:47] main (article) namespace is usually 0, or NS_MAIN iirc [08:12:38] oh [08:13:05] hmm.. how do I find those out? I need to refer to a non-main namespace for instance [08:14:49] well, do you need the variable ID, eg NS_MAIN, or the number, eg 0? [08:15:00] uhhm.. [08:15:05] 03(mod) [[#foo|]], [[/bar|]] should be equivalent to [[#foo|foo]], [[/ bar|bar]] (new use of "pipe trick") - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=845 (10fantasy) [08:15:31] either works, i am putting them in an aliases array, anyone will do [08:17:08] there are about a dozen places they are listed [08:17:26] search, preferences, recentchanges, probably several places in the source code [08:18:05] all the defaults are integers from -2 to 15, and custom namespaces usually start at 100 [08:18:43] oooh! i see, thanks Splarka!! [08:18:55] np [08:25:44] hi domas [08:25:58] hi! [08:26:30] domas: I have some interesting news about what we spoke last time - Some time for PMing? [08:26:58] busy [08:27:18] *Fire pokes domas. [08:30:16] Hi, while trying to render this code - \begin{bmatrix} a \\ b \\ c \\ d \\ e \end{bmatrix} - I get two small white stripes around the 'd' letter... is that a latex bug? [08:35:00] doesn't match http://upload.wikimedia.org/math/2/c/2/2c2e01dfabcdffb89982f08ba0f72509.png ? [08:36:01] 03(mod) allow per-page exceptions to spam blacklist - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12963 +comment (10waldir) [08:40:27] 03(mod) Activate Extension:Babel on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14207 -shell +need-review; +comment (10jeluf) [08:42:34] 03(FIXED) Disable local uploads at pt.wiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14193 +comment (10jeluf) [08:43:23] re:12963, why is it so important to *link* to these sites, instead of just provide a plaintext URI in proper context? [08:44:18] ^_^ Swweet... the bugs stopping me from working on WikiCode are gone [08:44:41] you mean... no more php? [08:45:21] Heh [08:45:57] 03(FIXED) Add import source tr.wiki to de.wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14192 +comment (10jeluf) [08:46:24] ^_^ It's a oxymoron kinda... The WikiCode extension adds a number of code like parser functions... But the point has nothing to do with turning WikiText into a programming language... heh [08:48:37] hi, can i get "my watchlist" as newsfeed? [08:48:40] (rss) [08:50:11] hi guys, i have a template that appends "http://" to any link i give it in the form : "http://{{{1}}}", now this works fine for most things, but it doesnt like it when i put "?" and "=" for some reason, and doesnt parse the {{{1}}}, wut am I doing wrong. [08:51:01] anyone? [08:51:45] the = is a delimiter for template parameters [08:51:57] {{foo|bar=baz}} makes {{{bar}}} appear as baz [08:52:29] if you have an equals sign in a template parameter you want literal, you need to cover it or use another equals sooner [08:52:43] {{foo|1=url?foo=bar}} [08:53:01] without it, eg {{foo|url?foo=bar}}, you're actually defining a parameter named {{{url?foo}}} [08:53:14] 03(FIXED) Create "WikiSaurus" namespace for dewiktionary - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14175 +comment (10jeluf) [08:53:34] and leaving {{{1}}} undefined [08:55:08] aha [08:55:32] so ur saying if i do : 1=, it ll solve it, i ll try it now [08:56:57] 03(FIXED) Logo of Georgian Wikibooks - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14101 +comment (10jeluf) [09:02:36] 06(LATER) Please switch to Wiki.png at lo.wiktionary.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14085 +comment (10jeluf) [09:06:07] 03(FIXED) Allow non-autoconfirmed users to upload images in Hebrew Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14019 +comment (10jeluf) [09:08:48] 03catrope * r35176 10/trunk/extensions/RandomImage/RandomImage.class.php: (bug 14214) Randomimage tags do not render an image. Patch by Zven [09:09:45] 03(FIXED) Randomimage tags do not render an image - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14214 +comment (10roan.kattouw) [09:12:29] has there been any kind of talk about changing the mediawiki talk pages into thread-format? [09:12:42] piksi: I believe there's an extension for that [09:12:48] But it's not gonna happen in MediaWiki core [09:13:04] !e LiquidThreads [09:13:04] --mwbot-- http://www.mediawiki.org/wiki/Extension:LiquidThreads [09:13:52] RoanKattouw: exactly what i was looking for, thanks! :-) [09:16:44] meow [09:18:32] 03(FIXED) Closure of several Wikimedia projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13967 +comment (10jeluf) [09:19:27] :/ I hate my computer... If it wasn't so shitty I would have already been done what I'm trying to finish [09:19:58] 03(WONTFIX) Add redirect from otrs.wikimedia.org to live OTRS - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13976 +comment (10jeluf) [09:21:17] I've been trying to figure where all I have put a ssh public key... [09:23:33] Nikerabbit: ~/.ssh/id_?sa [09:23:50] Werdna: yeah but on which computers... [09:23:59] hehe [09:24:29] few dozens [09:27:25] 03(FIXED) Disable new page creation by anonymous users at wikimania2008 wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13962 +comment (10jeluf) [09:29:45] Anyone want to give input on syntax for a #foreach parser function? [09:30:36] 03(FIXED) Disable local uploads at io.wiktionary.org - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13957 +comment (10jeluf) [09:32:27] dan: http://www.mediawiki.org/wiki/Extension:LoopFunctions [09:32:34] other than that one? [09:32:47] I know... but I don't like that extension's methods [09:32:47] I want to be contribute to mediawiki as a developer [09:32:51] how to start off [09:32:51] ? [09:32:57] Learn PHP? [09:33:13] spsneo: http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker [09:33:14] hello everyone [09:33:33] Splarka: I'm including various types of looping in WikiCode... but I'm trying to do it in a more intuitive way... [09:33:55] 03(FIXED) Restrict uploads on q:cs: to sysops only - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13947 +comment (10jeluf) [09:33:59] Splarka: Oh ya... And I'm also making use of the new parser... So this will actually support nested parser functions ;) [09:34:06] can someone tell me where is the code that purges the cache of all pages that include a page? [09:34:24] iamumar: Err well that's in two places I think [09:34:56] Somewhere in Parser.php, after the page is parsed and the templatelinks table has been updated, there's code that schedules these updates into the job queue [09:35:09] And then there's code elsewhere that executes that job later [09:35:27] i know if page1 includes page2 includes page3 includes page4, and page4 has text in it, then if page4 changes, all are updated, i cant figure out where is the code that fetches all these recursively [09:35:28] What do you want to do, anyway? [09:35:47] are template changes only put into the job queue? isn't that more for images and categories? [09:36:00] I mean, if you edit the text of a boilerplate, it immediately updates, even if the job queue is a few million [09:36:01] i want to implement this functionality [09:36:06] iamumar: It's not really fetched recursively. If you look at the templatelinks table, page4 will be listed as including all three [09:36:23] Splarka: Well at least at my 1.12 wiki, that goes into the job queue [09:36:25] (conversely, the appearance of said page in a category doesn't update immediately) [09:37:00] oic... [09:37:24] Splarka: Oh wait you're right, it's the links update for those pages that's job queued [09:37:29] so, where is the code that fetches all these recursively and enters into the table [09:37:31] but a direct wikicode template change is viewable on the next page view (barring offsite caching) [09:37:39] yah [09:37:53] iamumar: Again, it doesn't fetch them recursively. Look at the templatelinks table for page4 and you'll see page1, page2 and page3 [09:38:21] exactly, but where is the code that inserts these records into the templatelinks table [09:38:35] I believe it's called LinksUpdate or something similar [09:38:38] Let me search [09:39:17] iamumar: includes/LinksUpdate.php should be the right one [09:40:20] 03(mod) Lithuanian Wiktionary nead Extension:VariablesExtension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13894 -shell +need-review; +comment (10jeluf) [09:41:10] 03(mod) Disable new page creation by anonymous users at wikimania2008 wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13962 (10meno25wiki) [09:43:38] RoanKattouw, i see in this code it is trying to do insertions, but how does it get the list of insertions that it needs to insert [09:43:47] *RoanKattouw looks [09:44:49] 03(FIXED) Setup new group @ hr.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13939 +comment (10jeluf) [09:47:37] iamumar: The getLinkInsertions() and getLinkDeletions() functions I guess [09:47:54] iamumar: This is probably more comfortable to read: http://svn.wikimedia.org/doc/classLinksUpdate.html [09:48:06] Has links to the source, which in turn has links back to the documentation elements [09:49:53] this is wonderful! [09:50:21] and i have verified that actually page1 will have all of pages2-4 in its templatelinks [09:52:35] 03(FIXED) Create namespace redirection "WT" for dewiktionary - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14174 +comment (10jeluf) [09:53:28] 03(FIXED) Define WN: as an alias for Wikinews: on fr.wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13946 +comment (10jeluf) [09:53:35] RaonKattouw, i am probably being stupid, but i still dont see the recursion that does this! [09:56:24] RoanKattouw, if a page is included in a million pages, and it changes, tehn is th caceh invalidation done on the eidt of the page, or it is really done in a deferred manner, using jobs and all? [09:56:57] iamumar: It's actually neither. The cache is invalidated, but the page isn't regenerated until it's viewed by someone [09:57:00] (at least that [09:57:04] 's what I *think( [09:57:12] Duesentrieb, here ? [09:57:13] It would be too expensive to re-parse millions of pages [09:57:59] so a million caches are invalidated at once, but those page contents will be genertaed only when they are viewed? [09:58:21] That's what I think happens. I don't know for sure, but I guess that's most likely [09:58:33] Hey wait I *do* know for sure xD [09:58:42] I saw that code being changed once [09:59:08] has someone somehow managed to limit the viewing of some part of recent change to selected users ? [09:59:30] Slashman: Aaron has written it already, but it can't be committed yet because it needs a schema change (sort of) [09:59:48] Some DB servers don't have the required index and some do, so we're kind of waiting for Brion to do an update [09:59:58] hm [10:00:14] Which is some trouble cause he has to take DB servers out of rotation and put them back in and all that [10:00:24] does it have anything to do with lockdown or Namespacerestiction ? [10:00:33] No, why would it? [10:01:03] Slashman: Also, I've written the API counterpart to this (bug 14200) [10:04:50] splarka: Btw... my #foreach is actually a bit more like a real foreach... [10:04:55] RoanKattouw, so u were telling me u know exactly what it was that happens [10:05:09] about deferment of cache updations etc [10:05:26] Well I *think* I know, I wouldn't bet my life on it but I'm pretty damn sure [10:05:29] dan: "But the point has nothing to do with turning WikiText into a programming language" "my #foreach is actually a bit more like a real foreach" [10:05:39] please explain ^_^ [10:06:03] Heh [10:06:09] that all cache updations happens at one entry point, so to speak [10:06:27] The LoopFunctions #foreach basically just goes 1, 2, 3, etc... [10:06:33] dan: also, you might consider calling it something else so as not to conflict with existing #foreach... [10:06:43] perhaps [10:06:51] iamumar: Well there are more points. I believe there's code somewhere else that checks for redirects and purges their Squid cache [10:06:55] I'm actually iterating over the parameters [10:07:00] Keep in mind that there are multiple layers of caching out there [10:07:11] It still does have a numeric restriction... but I might consider removing that [10:07:17] The (page,template,category)links tables 'cache' the link associations [10:07:17] dan: I mean explain how you can possibly say this isn't turning wikicode into wikiscript ^_^ [10:07:21] ie: personA, personB, personC [10:07:36] The parser cache caches the HTML version of the wikitext of a page [10:07:39] This is one of the many things.... [10:07:52] The real focus is things like the #splitandmerge [10:08:04] And then there's the Squid caches (optional, but Wikipedia has them) that caches the whole HTML document [10:08:19] The idea is not scriptability... It's making complex templates a little more human readable, and also lighter on the parser [10:08:57] thanks a lot, RaonKattouw for ur help! [10:09:07] Sure... a programmer knows what #explode means... Does a average user? Nope... But they will understand the concept of #split [10:11:50] It's also much more readable and less server intensive to use a #splitandmerge than it is to use twenty or so #explodes and a bunch of conditionals. [10:12:28] Sure, there are some script like things... But the overall idea is readability and less weight on the servers. [10:12:43] does a "DB25F to RJ45F adapter" have a DB25F or DB25M plug on it? [10:14:21] flyingparchment: in context, I would imagine that the RJ45F refers to what it's supposed to plug into. [10:14:47] well, i'm looking at the picture, and it clearly has an RJ45 socket (i.e. F) [10:14:48] actually, wait [10:14:54] yes, I just thought of that [10:14:57] but i can't see the DB25 side :) [10:15:00] I happen to have seen one before [10:15:15] i _assume_ it must mean it has a DB25F plug, but.. [10:15:18] flyingparchment: well, since there's an F on the other side, I would imagine that the DB25F also refers to what's on the plug [10:15:49] it could mean it converts an existing DB25F socket into an RJ45F socket - in which case it'd have RJ45F and DB25M [10:16:06] argh [10:19:04] sexing chickens is easier than sexing cables? [10:20:30] http://www.aim-ele.co.jp/product/adapter/images/44-2s.jpg [10:21:02] wow, you can see the bare wires, bow chicka wow wow [10:21:05] hmm [10:21:10] so it was backwards than the name would suggest [10:21:17] Splarka: thanks [10:21:18] well, that is a 25M [10:21:27] right, but it has a 25F socket on [10:21:38] hmm, I think it has an M [10:21:43] it is disassembled so it looks like an F [10:21:48] hmm [10:21:57] well, maybe [10:22:09] i think the bit at the front sticks out too far to be M... look at where the mounting screw is [10:22:10] actually, with the screws on that side.. that is an F isn't it [10:22:42] maybe it swings both ways [10:22:46] Splarka: This cable is so.. um.. OGC. [10:23:11] *zsh thinks this conversation is way too wierd, what wit all the screwing, mounting... [10:23:31] oh, lovely [10:23:40] http://www.networktechinc.com/images/db25f-rj45f.jpg http://www.networktechinc.com/images/db25m-rj45f-t.jpg [10:23:46] here is one of each [10:24:07] so it refers to what the adapter has, not what it attaches to, at least on those [10:24:13] argh [10:24:51] maybe i should ask the seller ;) [10:24:58] yah, I think that previous pic, that black plastic part pops in and the prongs stick through, making it M [10:25:15] it actually looks like they may have it turned backwards [10:26:22] well, why not get the DB25*DB25* adapter you need if you assume it is wrong [10:26:53] er, that is, a null modem [10:27:05] (unnulled) [10:27:15] damn, what are you doing you need a DB25 on? [10:27:24] old computers ;) [10:27:29] haha [10:27:37] need some DB9 too [10:27:46] *Splarka dusts one off and hands it to you [10:28:03] used to play Doom over this thing, on a 486-66 and 486-33 [10:29:05] well what i actually need is a cable with RJ45 on one end and DB25 on the other... but since they don't exist (as far as i can see) i'll use an ethernet patch cable and an adapter ;) [10:29:54] *Splarka symbolically links flying to /bin/loonie [10:30:13] lol [10:33:12] Splarka: it's for a 20-port terminal server - it has RJ45 instead of DB9 because 20 DB9 ports would take up rather a lot more space ;) [10:33:33] heh [10:33:45] ahhh, is that what you needed the serial switch for the other week? [10:34:14] serial switch? [10:35:14] http://www.datapro.net/images/2025.jpg [10:35:28] ah [10:35:44] yeah... but i found this on ebay for £10 ;) [10:35:52] *Splarka grins [10:36:05] Splarka: I ditched that plan... I think I have a set of better more intuitive ideas [10:36:27] G'day everyone [10:36:48] {{#dowhatIwant}} [10:37:15] We are creating a private wiki based on Mediawiki, and we need to write a style guide. What we mean by that is we need to tell users what a good article looks like, the formatting etc. [10:37:31] Do you know of a good, small style guide like that that we can copy and adapt for our needs? [10:38:13] The style we're talking about here is when to use bold or italics, and how to structure an article when you're creating it from scratch. [10:39:07] leuce: http://en.battlestarwiki.org/wiki/BW:SAC [10:39:16] leuce: Maybe not generic enough, but it provides some thing [10:39:18] s [10:40:41] leuce: When deriving stuff from our SAC, watch the license (CC-BYSA, not GFDL) [10:42:34] our wiki also has a CC licence, but I'll check the exact licence and keep in in mind [10:46:02] Does anyone actually ever use {{{#}}} as a variable? [10:46:19] Dantman: I don't think so. I also don't think it's legal [10:46:34] No it's legal... just, might get a little buggy [10:46:59] Well if you try {{Foo|\n#=bar}} [10:48:41] Cause I was thinking of some sort of #foreachnumeric or #foreach#: (maybe a little nicer on the name) where you'd use the syntax "foo#" and the number would be put in {{{#}}} [10:49:00] Dantman: What's wrong with {{{n}}} ? [10:49:22] That would be more likely to be used by someone... [10:49:46] But the normal stuff... ie: $n$ and $s$ ain't that great [10:49:56] Bit to programmy [10:50:10] {{#foreach:{{splarkaDoThis|#foreach#}}|log off|brush teeth|go to bed|sleep}} [10:50:34] Though... {{#}} could work... ;) That one is illegal... heh [10:50:49] Oh you mean you need a placeholder [10:50:50] $1? [10:51:04] Back to the programmy stuff [10:51:12] This is supposed to look like template code [10:51:18] anyway, thanks RoanKattouw for the tip. [10:51:20] {{{{1}}}} [10:51:21] cya all [10:51:22] *Splarka hides! [10:51:33] *RoanKattouw hunts Splarka down [10:51:39] or {1}, haha [10:51:43] Heh... Tim would kill... heh [10:51:53] Both would break the Parser and be shot down by Tim [10:51:56] Actually, DPL already uses {Foo} [10:52:01] ugh [10:52:19] Though, not really in a parsing context [10:52:20] ni [10:52:36] Splarka: {{#}} will simply not work because the parser parses the arguments of a parser function before you get them [10:52:47] Oh wait [10:52:56] What *does* {{#}} render anyway? [10:52:58] *RoanKattouw tries [10:53:20] ^_^ Becase # is a fragment, it does the same as {{ }} [10:53:46] Essentially you're asking for it to include a nonexistant template... called "" [10:53:54] Hmm for me it just renders {{#}} [10:54:02] Yup... since it can't exist [10:54:15] Illegal title with template transclusion renders without link [10:54:29] [[#]] should also render as-is [10:54:48] Yup [10:55:11] Anyway, I gotta go, I have an exam in half an hour [10:55:14] Think I'll go with {{#foreachN: person#| {{#}} }} [11:05:40] 04(REOPENED) Setup new group @ hr.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13939 +comment (10dalibor.bosits) [11:10:56] TimStarling: In the each of the parsers... What is the preffered method of getting the list of variables being transcluded? [11:11:05] Inputted that is [11:11:18] s/svariables/parameters/ [11:28:09] i'm working on setting up a "staff" usergroup on a friends mediawiki install, sp are all users classed as being in "users" and don't need to have those ones repeated? [11:28:59] Dantman: I don't think there's any way to get a list, you just use $frame->getArgument() to get an argument [11:29:10] Hmmm... [11:29:27] Guess I have to swipe the real ugly way from LoopFunctions [11:29:51] why? [11:30:14] Cause for one of the functions I need the list to iterate over [11:30:50] well, add methods to the two preprocessors [11:31:42] Perhaps... I am trying to be able to run this in 1.12 as well [11:32:05] so you want it to work with existing core code? [11:32:38] Ya... I am still using the ??? ???Obj type where you support both parsers... and can work with 1.12 [11:34:18] well, that's a recipe for ugly extension code [11:34:44] 03(NEW) Wrong parsing of [[MediaWiki:revreview-patrolled]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14221 minor; normal; MediaWiki extensions: FlaggedRevs; (raimond.spekking) [11:57:56] TimStarling: I think I'm getting a bit on how the Preprocessor works... And I think I know a little how grabbing this data would be done... Basically climbing the parent chain to reach the template frame, right? The only issue there is only templates save what their parent is... Should we make that part of the frame itself, instead of template frame only? [12:05:41] is there any documentation of code written for mediwiki [12:06:06] Most of it is embedded into the code itself' [12:06:42] ok [12:06:50] but thats very less [12:08:22] *Dantman suggests a good IDE when coding things for MediaWiki... Grep like search functions are great for finding things... Allong with their understanding on finding classes and methods in code. [12:08:42] Plus code completion [12:09:24] Dantman: which die do u suggest [12:09:24] Good for things like getDBkey where you really don't know what the case is supposed to be [12:09:35] Hmmm... [12:09:53] well i have been using grep for a couple of hours to search for functions [12:10:44] Eclipse is pretty common... Though Aptana is derived from it and it handles web frameworks better than Eclipse..... Unfortunately both are rather heavy on the computer and unfortunately NetBeans while lighter hasn't completed PHP support yet [12:11:26] Dantman: thanks for support [12:12:20] ^_^ one of these days I'm going to have to make a ExtensionSDK extension... Basically with a bunch of things like cli scripts for messing with the database, generating random content to test with, and a extension generator for creating the base structure painlessly... [12:12:49] Dantman: i want to be a major contributor to mediwiki [12:13:49] ^_^ Best way to start, would be to farmiliarize yourself with a section of MediaWiki's code... And then once you understand it, start searching the bugtracker for any issues relating to that area... Solve them, then post patches to solve the bugs [12:14:11] Or, you could go the route of the extension developer [12:15:00] Build features extended off MW... get commit access so you can put hooks and usefull methods for interaction with core [12:15:31] There's still plenty of things in core which aren't very open for tweaking with extensions [12:15:49] ;) Or... you could always look over my titlerewrite branch and help work on it... heh [12:22:40] T_T Those poor bastards of PPNodes... heh [12:24:03] Lo all. Hmmm, I've been trying to muddle my way through the FAQs and before I go any further could any of you guys tell me if what I'm looking to do is possible; through configuration or extentions? [12:24:13] Waitasecond... the PPNodes are asexual [12:24:33] !ask | two00lbwaster [12:24:33] --mwbot-- two00lbwaster: 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. [12:24:50] 0 [12:25:27] Right, I want to lock down a wiki to certain accounts and block people trying to make further accounts [12:27:09] So, I would have set up initial accounts and there after the wiki would be locked as far as editing pages and adding new content is concerned [12:27:38] Also no new accounts would be able to be created. [12:28:28] The idea was to set up a help wiki where the content is provided by the service provider [12:29:37] hi there [12:30:49] i want force loggin before someone can see the wiki ... [12:31:21] is there some nice extension / easy way to do it ? [12:33:39] I'm sure I saw an extension for that. [12:33:41] http://www.mediawiki.org/wiki/Extension_Matrix [12:34:00] I was using firefox and searching user_rights or something [12:46:01] Hi [12:46:09] i have a problem with mediawiki [12:47:41] i want add to my wiki script like this http://en.wikipedia.org/wiki/Template:D%26D_Deity [12:49:38] when i add it on my wiki http://sfery.org/wiki/index.php/Szablon:D%26D_Deity [12:50:07] what is rong [12:52:31] Gonzollo: #if is a parser extension that you need to install [12:53:00] see http://www.mediawiki.org/wiki/Extension:ParserFunctions [12:53:24] it looks like there are also a bunch of other templates on that page that that template uses so you have to install all of them as well. [12:53:47] look at the very bottom of this page. http://en.wikipedia.org/w/index.php?title=Template:D%26D_Deity&action=edit those are all the templates you need [12:53:59] 03(NEW) The "Recent Change" page show changes even to all users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14222 major; normal; MediaWiki: Special pages; (jeremie.grauer) [12:54:21] thx [13:06:02] work good thx :) [13:06:05] cu [13:08:04] I just got mediawiki/postgres running on a vortex86sx 200MHz 128MB machine. Unsurprisingly, it's slow. [13:09:06] Can I safely install a copy of the wiki software on another (faster) machine and point it to the same database? [13:09:49] I guess it's a kind of server farm, but I'm thinking that the fast machine would be just be powered up when needed. [13:10:33] is there a type of cheatsheet for the manual formattings for mediawiki individual site? [13:10:59] Budd: yes, running mediawiki from several apache/php server against the same database is supported (this is how wikipedia works). [13:11:07] Budd: point it to mysql! [13:11:22] Duesentrieb: Excellent! Thanks. [13:11:24] Budd: dealing with configuration consistency and load balancing between the servers is up to you [13:11:36] Sure, I expected that. [13:11:37] and use myisam for lower footprint.. [13:11:44] but oh well [13:11:50] SURE USE PG ON YOUR 128MB MACHINE! [13:12:11] postgres actually is neligible load. It's httpd (presumably PHP) that sucks serious cycles. [13:12:21] *Budd wishes PHP could be compiled [13:12:33] uh [13:12:35] Budd: it can. use a baytecode cache [13:12:36] it can be [13:12:40] well, not quite compiled [13:12:42] but it helps a lot [13:12:46] like, factor two at least [13:13:03] Budd: svn co http://svn.php.net/php/trunk php && cd php && ./configure && make && make install :) [13:13:06] factor five [13:13:22] really? just for execution? [13:13:40] or does that count the effect of object caching in there too? [13:13:51] factor five is pretty massive... [13:13:55] *domas looks at http://dammit.lt/2007/01/26/mediawiki-performance-tuning/ [13:14:02] some guy wrote this page [13:14:21] cool1 Thanks for the tip. [13:14:24] I should probably get back to work on my scripting language [13:14:37] I'm looking at ~60s load times for pages. memcached helps a little. [13:16:06] Werdna: Is this only available via SVN? I just compiled the recent PHP (5.2.6) [13:16:08] Budd: use a bytecode cache. and try usign filecache [13:16:25] 03(NEW) A new logo for Finnish Wikipedia - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14223 minor; normal; Wikimedia: General/Unknown; (str4nd) [13:16:26] Budd: I was being facetious [13:16:28] and read that page domas linked to :) [13:16:50] uff [13:17:12] Budd: wait, you're running memcached on 128mb box? [13:17:37] domas: I run memcached on 128mb box. [13:17:44] I don't know how much it helps, but I need it. [13:17:51] bah [13:17:55] crazy people [13:17:59] for testing stuff, domas [13:18:39] domas: Yes. with a low limit. [13:18:49] Budd: use APC cache then :) [13:19:30] I'm reading about APC now. [13:20:52] What I'm not seeing is where to download it. [13:21:31] 'pecl install APC' [13:21:31] domas: my server slows down when I load wiki page :) [13:21:44] Werdna: you can optimize it then! [13:21:48] you have great environment for testing [13:21:53] [13:22:02] domas: how do I turn on that commenty profiling. [13:22:41] if (@defined($_REQUEST['forceprofile'])) { [13:22:41] require_once( dirname(__FILE__).'/includes/ProfilerSimpleText.php' ); [13:22:41] $wgProfiler = new ProfilerSimpleText; [13:22:42] $wgProfiler->setProfileID( 'forced' ); [13:22:42] } [13:22:45] somewhere in startprofiler.php [13:22:48] eek [13:22:48] [13:22:49] yay, thanks [13:22:52] or you can add everywhere [13:23:05] [13:23:06] pwnd. [13:24:49] domas: that's pretty good :P [13:24:50] but you're working with dua [13:24:57] l processors and stuff [13:25:01] we're working with VPSes :P [13:25:23] the best time I saw for a pageview on enwiki was 0.035 [13:25:33] that was immediately after my optimization run [13:26:07] hehe [13:26:11] :o [13:26:18] what did you disable, domas? [13:27:26] change few bits, don't remember details now [13:27:38] usually most regressions are in extensions [13:27:59] :o [13:28:02] Werdna, dual processors don't help much if the code is all single-threaded. [13:28:18] They don't help execution time, anyway. [13:28:26] Unless the CPUs are too busy. [13:29:26] true that [13:32:27] ^_^ Though they do help when you're doing heavy work on one core, and pounding the hell out of the other with downloads... rotfl [13:32:43] 03(mod) Grouping references does not support DBCS characters - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14216 (10fdcn64) [13:32:45] This seems like it's almost certainly a GPL violation: http://www.vbulletin.org/forum/showthread.php?t=136242 [13:32:50] Should we complain? [13:33:06] There's also a page for it on mediawiki.org, should we take that down? [13:33:24] http://www.mediawiki.org/wiki/Extension:VBulletin_Users_Integration [13:33:34] domas: that code for forceprofile doesn't work [13:33:52] Notice that they say a vBulletin license is required to use it. Unless it only interfaces with vB and not MediaWiki, that kind of distribution requirement is obviously verboten. [13:33:55] *Simetrical looks at it [13:34:34] domas: and when I comment out the if, I get this: [13:34:35] Fatal error: Cannot redeclare wfprofilein() (previously declared in /home/andrew/public_html/wiki/includes/ProfilerStub.php:6) in /home/andrew/public_html/wiki/includes/Profiler.php on line 14 [13:34:36] what part of that are you saying it's a gpl violation? [13:34:49] Werdna: fix it, then [13:35:06] domas: I'm not sure if I put it in the right spot. [13:35:11] I put it at bottom of LocalSettings.php [13:35:15] KTC, the code links with MediaWiki code, but also with proprietary code. [13:35:26] Werdna: [16:22] domas somewhere in startprofiler.php [13:35:29] Werdna: l2read [13:35:31] Basically, it links to MediaWiki but is not itself released under the GPL [13:35:31] . [13:35:35] It calls MediaWiki functions, etc. [13:35:42] Werdna: StartProfiler is quite well documented [13:35:50] Has lines like this: $is_this_userlogin = $title && ($page_namespace != NS_SPECIAL) && ($title->getText() == $g_vbWiki_Translation['Userlogin']); [13:35:51] as well as profilersimpletext.php [13:35:55] 03(mod) A new logo for Finnish Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14223 minor->15enhancement (10raimond.spekking) [13:36:22] *Simetrical waits for Brion to come on [13:36:51] Well... ya, let brion look at it... Though, it looks kinda like integration on their end [13:36:52] Simetrical: You might want to read about the rms/readline debate, it's relevant [13:37:16] However... you have to shudder at this horrid line "MediaWiki 1.6.8+ (recommended 1.7.x+)" [13:37:25] ouch [13:37:44] Stone ages.... You don't need to support PHP 4 [13:38:20] :O [13:38:29] It's end of life has already been announced... Security updates are going to stop very soon... In short it's no longer a viable or safe version of PHP to support [13:38:44] (Its) [13:38:54] ;) Plus, if less people supported it then more hosts would be pressured to upgrade like they should [13:39:15] hmm [13:39:35] domas: my whole server isn't supposed to crawl when I open a page on my wiki, right? [13:40:49] avar, do you have more specific info? Googling doesn't turn up much, mainly Stallman giving readline as an example of a GPL library. [13:40:54] [13:41:19] Simetrical: http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/doc/Why-CLISP-is-under-GPL [13:41:41] 35.121344 3 - ChangesList::recentChangesLineOld [13:41:42] vBulletin is doing the same thing clisp was doing, basically [13:41:43] hmm [13:41:54] 35s for 3 calls to ChangesList::recentChangesLineOld [13:42:13] 03(mod) Grouping references does not support DBCS characters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14216 (10fdcn64) [13:43:29] avar, note, this isn't vBulletin, it's a third-party thing. [13:44:08] Yes, but it's the same situation legally [13:44:22] s/vBulletin/that plugin/ [13:44:32] *Jack_Phoenix waves to ialex :-) [13:44:35] what exactly controls link underlining in cologne blue? [13:44:37] avar, rms' side here seems more convincing. It's designed to work with MediaWiki specifically, and is advertised specifically for that purpose. If that doesn't make it a derivative work, I don't know what does. [13:44:46] I'll let Brion decide, I suppose. [13:44:55] hello Jack_Phoenix [13:45:09] links in the top bar, links in the quickbar, links in the main body text [13:45:21] rar [13:45:29] Brion doesn't hold special legal powers, nor copyright to the MediaWiki codebase :) [13:45:49] If you've made commits to mediawiki you could pursue this if you're interested [13:46:13] avar, yes, but I don't plan on making a fuss all by myself. [13:46:17] Well, I'll at least ask his opinion. [13:46:23] Simetrical: being designed to work with MW doesn't make it derivate from mediawiki [13:46:24] I realize I have as much right as he to pursue this. [13:46:33] flyingparchment, it calls MW functions all over the place. [13:46:44] hello [13:46:48] The FSF at least would consider that that means it must be GPL'd. [13:46:50] uh, isn't interoperability a copyright exception, usually? [13:46:53] AFAIK from reading their FAQs, etc. [13:46:54] Werdna, no. [13:47:18] why the fuck is my web server spending 35 seconds in 3 calls to ChangesList::recentChangesLineOld [13:47:20] Simetrical: you could make an argument that it's 'linked with' (and therefore must be GPL-compatible); but i see no argument that it's a derivate work [13:47:21] 03(mod) Grouping references does not support DBCS characters - 10http://bugzilla.wikimedia.org/show_bug.cgi?id=14216 (10fdcn64) [13:47:35] i search a extension to save all my content as pdf ore html if i doesn't have internet, does anyone know a solution [13:47:46] (but iirc, the FSF claim linking _produces_ a derivate work, which is not exactly the same thing) [13:47:47] flyingparchment: Yes the FSF's argument is kind of dubious [13:48:00] flyingparchment, it seems entirely analogous to someone, say, writing a play that uses characters from someone else's play. [13:48:10] In this case, writing a program that uses functions from someone else's program. [13:48:15] flyingparchment: That's OK if the end user is the one producing it, i.e. he's not distributing it [13:48:25] Simetrical: you want to claim MW's extension API is copyrighted? ;) [13:48:30] Except I guess you're not really copying the function, just the API. [13:48:32] Hmm. [13:48:38] Simetrical: what have they actually done? [13:48:41] But basically the clisp/readline thing was about someone distributing code which was obviously intended to be linked to copyrighted code [13:49:05] (this is one reason i never use the GPL ;) [13:49:29] flyingparchment: This has nothing to do with the GPL as such but a specific interpretation of copyright law [13:49:38] Werdna, they've made an extension that calls code from both MediaWiki and vBulletin. They haven't released it under the GPL. [13:49:48] avar: the GPL is basically the only license that has this problem [13:50:11] flyingparchment: No, any viral license will have the same issue if you interpret derived works this way [13:50:24] for example sun licenses, propritery software licenses, etc. [13:50:24] Simetrical: why do we care? [13:50:27] And I'm not sure they could, since the authors of vBulletin might take offense at a vBulletin extension being released without requiring downloaders to have a vB license. [13:50:32] Werdna, because I think it may be a GPL violation. [13:50:33] avar: CDDL is NOT viral [13:50:50] avar: you can link CDDL code with proprietary code; the only requirement is you must release the source for the CDDL code (only) [13:50:56] Simetrical: so? are they hurting us? [13:50:59] the GPL is fishy when applied to PHP anyway. it talks about "source code" and "linking" all the time [13:51:04] it's a license for C [13:51:10] it's not really pplicable to anything else [13:51:15] flyingparchment: Okey I'm wrong about the CDDL then, but I just named it as an example (erronously) [13:51:30] avar: that's my point: other licences are much saner [13:51:36] avar: Mozilla is the same (CDDL is based on it) [13:51:43] can somebody look at this profile? http://pastebin.ca/1025883 [13:52:34] flyingparchment: You may have issues with the GPL but like I said, this issue is not about the GPL as such, and no, there are more insane licenses than the GPL out there:) [13:52:40] Werdna, no, they're not hurting us. But personally I'm not a fan of less strict licenses and want to see the terms of the GPL upheld. [13:53:00] *Dantman starts to contemplate actually making an ExtensionSDK [13:53:09] *Werdna shrugs, heads to bed [13:53:13] flyingparchment: The GPL is /optional/ so you'll run into this problem with any unlicenced copyrighted code if you interpter derived works in this manner. To name an example. [13:53:30] well, unlicensed code simply cannot be used [13:54:35] But can you distribute code that's meant to link with it? [13:54:40] Or is that a derivative work? [13:55:04] i suppose that depends if you believe linking creates a derivate work where none existed before [13:55:20] afaik, there's no firm answer to that, only opinion [13:55:32] Yeah, I don't know if it's come up. [13:55:59] This seems to be the FSF's opinion: http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#GPLAndPlugins [13:56:01] flyingparchment: the clisp/readline debate wasn't so much about linking as it was about things being written to a specific API, which was copyrighted [13:56:17] copyrighted API... [13:56:26] flyingparchment, well, yes. [13:56:31] That's the FSF's opinion, more or less. [13:56:37] You can't link to a GPL library with non-GPL code. [13:56:45] (Or rather, you can't distribute such a thing.) [13:56:49] wtf, £11postage to ship 10 small items [13:56:52] Even though you're only talking about the interface. [13:57:04] flyingparchment: Since this really has nothing to do with licenses I use "copyrighted" as opposed to "GPL licensed" or something like that. [14:00:57] Simetrical: do you want to review my message cache patch? [14:02:39] Hmmm... [14:02:52] deep silence :D [14:02:53] On a license note... Brion may not push this kind of thing [14:03:20] Technically if it applies there, that would mean it would apply to every MediaWiki extension [14:03:39] is there list of licenses that are compatible with gpl? [14:04:11] Nikerabbit, maybe. [14:04:16] Dantman, yes, exactly. [14:04:19] Nikerabbit: Yes, none are:) [14:04:23] Dantman, all extensions should be GPL. [14:04:33] avar, depends on which direction. [14:04:45] Nikerabbit, http://www.gnu.org/philosophy/license-list.html [14:05:51] ^_^ Well... that makes me feel fine with saying ExtensionSDK only used for making GPL extensions... Since the code it would be based on (not the code you use to ouput, the code cloned to create the base) would be GPL [14:06:58] Hmm. Could an extension be released under a more *lenient* license than GPL? [14:07:01] I don't think so. [14:07:06] Or rather, not effectively. [14:07:20] Because if you believe that it's a derivative work, you can't distribute it except under the GPL. [14:07:30] Simetrical: anyway: http://translatewiki.net/sandwiki/multilangmm [14:07:53] *Nikerabbit hates all this license stuff [14:08:11] 03(NEW) Show watched status - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14224 15enhancement; normal; MediaWiki: User interface; (danny_b) [14:08:16] Nikerabbit, you never said it was 898 lines. :( [14:08:36] Also, I've never read any of this code, and I have other stuff I'm procrastinating on. [14:08:44] Simetrical: ooch :< [14:08:46] So s/maybe/sorry, no/ [14:08:55] *Nikerabbit pokes Dantman [14:09:02] Eh? [14:09:50] hard to change code nobody says they are familiar with :) [14:11:14] but on the other hand it isn't very nice not to be able to run mediawiki without hacks on Betawiki either [14:13:29] TimStarling: are you busy or would you have time to comment the patch http://translatewiki.net/sandwiki/multilangmm ? [14:13:54] Mah... I don't do language stuff...... [14:15:27] 03(NEW) Secure doesn't "translate" links in site notice - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14225 normal; normal; Wikimedia: General/Unknown; (danny_b) [14:16:00] ^_^ heh... don't you love it when you find out you have an age old block on one of your local development wiki because you test blocked yourself on the wiki with another account ages ago... heh [14:16:36] :/ And some of your buggy extension code has a PHP error in it that stops you from unblocking yourself ;) [14:17:24] blob [14:17:29] ((Me is really starting to think of setting up that ExtensionSDK)) [14:17:33] most of the extensions are horrible code [14:18:10] ^_^ Ya... we don't have a native Extension class... *wink* *wink* [14:18:17] busy, sorry [14:18:40] hmm, have to work on something else on the meantime then [14:19:04] I have to commit my work on FlaggedRevs before Aaron commits another 500 conflicts with me [14:19:13] heh [14:19:33] Nikerabbit, if it works for you, why don't you just commit it? [14:19:35] apparently he only sees all these glaring bugs after I open the file, not in the 12 months before that he's been working on it [14:20:15] ^_^ Then knock him out before you open the file [14:23:41] ;-D [14:24:56] 03(mod) The "Recent Change" page show changes even to all users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14222 +comment (10JSchulz_4587) [14:25:11] lol [14:25:17] *smack* [14:25:28] good thing I checked [14:25:51] I was about to ask for a patch that adds a pagination time feature [14:26:00] but its a comment in the source [14:26:06] geeze... 5 seconds [14:26:34] eh [14:26:37] now its .9 [14:26:50] hey all. I'm getting an error while editing as a logged in user. [14:27:10] 14(INVALID) The "Recent Change" page show changes even to all users - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14222 +comment (10Simetrical+wikibugs) [14:27:27] Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in. [14:27:28] Simetrical: well.. I still have bad karma for my special:newpages rewrite :) [14:27:48] any idea on how to solve this? [14:28:15] "Please try again" maybe [14:28:29] been trying for 2 days now? [14:28:33] ok [14:30:53] hmm [14:30:56] what could I code [14:31:12] ^_^ Know enough about the parser? [14:31:38] I need to find a way to let ParserFunctions traverse through parent frames to access a parent template [14:31:47] ugh [14:31:52] something that relaxes the mind... [14:31:53] heh [14:32:15] I have a VideoEmbedding extension you could clean up some of the old code in [14:33:18] fwifw, I haven't upated my repo to use wfLoadExtensionMessages yet [14:33:53] don't we already have dozens of those? [14:34:29] Not like mine [14:34:43] The point of it was actually to obsolete all of those [14:35:05] haha [14:35:10] And provide a new set of features none of them have... in addition to supporting absolutely any host [14:35:35] http://wiki-tools.com/wiki/WikiVid [14:35:37] well, it it were in svn and properly done... why not [14:35:39] Take a look at the demo [14:35:51] hmm, 502 bad gateway [14:35:54] anyone able to help me with my issue? [14:36:02] Give it two minutes [14:36:16] tgreer: is the mediawiki installed on windows or shared host? [14:36:16] God should be arround to revive php soon then [14:36:30] shared host on linux [14:36:55] i have root on the server though [14:36:56] hmm [14:37:07] multiple servers? [14:37:25] its a cpanel server. [14:39:46] you could try setting session_save_path("blah"); [14:39:55] but if it just single server it shouldn't be a problem [14:43:05] it only started 2 days ago [14:43:12] it was woring fine before then [14:43:24] are other users having the same issue? [14:45:07] every user [14:45:24] and we've tried from multiple browsers/hosts [14:47:09] however non logged in users can edit [14:50:22] 03aaron * r35177 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: Don't parse msg twice (bug 14221) [14:50:44] 03(FIXED) Wrong parsing of [[MediaWiki:revreview-patrolled]] - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14221 +comment (10JSchulz_4587) [14:55:10] TimStarling: I can't seam to figure out what to put where to see anything in the Preprocessor... It would be nice to let ParserFunction frames climb parents to access the template frame they are inside of but I can't figure out where to put anything to do that... Feel free to do that FlaggedRevs stuff now though... [14:57:20] 03aaron * r35178 10/trunk/phase3/includes/ (11 files in 3 dirs): *The function is User::getID() not getId() [14:57:58] ok i cant even edit as a sysop [14:58:15] any ideas? [15:02:45] 03aaron * r35179 10/trunk/phase3/includes/ (3 files): Revision:getId() not getID() [15:07:44] I'm putting WOS in the SDK package... Anyone think I should include TaskFreak! as a ToDo list for development projects? [15:12:24] How can I restart MediaWiki from scratch without uninstalling and reinstalling the package? [15:13:58] uh [15:14:21] pgimeno it's not a clear question... [15:14:42] I want to throw off all data and start again from a blank wiki. [15:14:58] Simetrical, MinuteElectron: You two would probably be most interested in the SDK, what do you think? [15:15:07] What SDK? [15:15:12] 03aaron * r35180 10/trunk/phase3/includes/Revision.php: [15:15:12] * Remove pointless newline [15:15:12] * It helps not to through fatal errors everywhere if not title [15:15:12] * Add optional $pageId param to getTimestampFromID() to avoid a secondary lookup, not that anything uses this function anyway... [15:15:17] pgimeno start with a blank sql database [15:15:20] A thought I had [15:15:25] and a new folder with mediawiki [15:16:09] SilenceGold: if I remove the current database, will that be enough? will I be asked to reconfigure it? [15:16:19] Please note that I'm a newbie. [15:16:27] I figured that out when you asked that question [15:16:37] you will need a new database [15:16:50] Basically a kit including a small webserver and such... But overtop of that, it'll include a nunmber of scripts for various things like generating new dummy installations meant for a specific alteration you are tryin to make, generating the base for any extensions you're building, and even things like inserting a large set of Lorem ipsum type dummy content into a wiki database for testing [15:17:13] Streamline the local development process [15:18:49] explain more in a few minutes when I get back if you want [15:19:47] brion, extensions have to be GPL, right? http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#GPLAndPlugins [15:20:19] brion, I found one that's not on mediawiki.org, it's a derivative of a proprietary product, you have to pay to get the premium version, they explicitly claim copyright, etc. [15:20:31] everybody attack brion [15:20:55] Simetrical: Sounds like they'd fall square into the "this is a borderline case" [15:21:22] Simetrical: theoretically, to link with gplv2 mediawiki, they both need to be or be compatible with gplv2 or later [15:21:26] Dashiva, nope, because it calls functions from the main software. [15:21:33] Dashiva, so it's not limited to just being called. [15:21:37] at least... IF YOU DISTRIBUTE THE COMBINATION OF THEM [15:21:49] but since the "linking" is only done at runtime... [15:21:50] brion: this guy's sellng MW extensions. [15:21:52] brion, mm, FSF doesn't seem to think that's necessary. [15:21:54] perhaps no such restriction really exists? [15:21:56] who can tell :D [15:22:07] brion, avar linked to an argument that rms was in. [15:22:08] brion: right, linking in PHP doesn't mean a lot. [15:22:08] ask fsf, they'll tell you to read the license and consult your own lawyer [15:22:12] Simetrical: Whether you register a hook or the program hardcodes the entry point is much the same [15:22:21] brion: could we ask foundation lawyer? [15:22:23] Dashiva, yes, but you're calling *other* functions too. [15:22:26] so in practice, there's probably no real restriction on what license you pick [15:22:27] Werdna, kind of a waste. [15:22:48] unless it's a derivitive of code we've written, we'd have no real place to complain imo [15:22:52] Simetrical: That's up to the specific extension. I've made extensions that only take input and use external sources [15:22:55] and even if it is, it's likely not to matter :) [15:23:35] brion, well, what's a derivative of code we'd written? The FSF *seems* to think that calling functions from our code makes it a derivative. Otherwise you could link to GPLd libraries and have no problem, which they don't think is legit. [15:24:00] I'd be inclined to take it down from mw.org and complain to the other place hosting it, but if you think we should tolerate it, I won't. [15:24:17] Note that it's not really *on* mw.org, it's a link to a third-party site and you need a license for the proprietary software (vBulletin) to download it. [15:24:21] http://www.mediawiki.org/wiki/Extension:VBulletin_Users_Integration [15:24:28] http://www.vbulletin.org/forum/showthread.php?t=136242 [15:25:53] *Simetrical doesn't like MW extensions being non-free [15:26:15] and for $60... jeez [15:26:26] {{sowriteanopensourceversion}} [15:26:42] Or take down their paid version. [15:27:01] which one's more constructive? [15:27:31] The latter aids the former. :) [15:27:37] And is much easier. [15:27:43] laazy [15:27:46] Simetrical: if you need a vB license to use vB, i don't see a problem requiring such a license to download the extension [15:27:55] (although it seems like a waste of effort on their part) [15:28:07] I don't know why we shouldn't have non-free extensions [15:28:20] Because the point of the GPL is to be viral and force other people to write free software. [15:28:28] Wherever possible. [15:28:29] ... [15:28:30] I don't like that idea. [15:28:38] I think it's a stupid idea, to be honest. [15:28:48] Maybe you should BSD-license your contributions, then. [15:28:52] (to the extent that's possible) [15:28:59] well yes, not very possible. [15:29:15] alterations to mediawiki itself need to be gpl-licensed [15:29:20] right [15:29:27] Well, more than that. [15:29:27] as for extensions using published interfaces, i have no particular objection [15:29:37] If it's only alterations to MediaWiki itself that need to be licensed, that's the LGPL. [15:29:39] Not the GPL. [15:29:40] that's kinda the point of a published interface. [15:29:41] and given that the license is pretty clear, why worry? [15:29:45] *unclear [15:29:53] *Simetrical shrugs [15:30:21] *Werdna pushes brion into #wikimedia-tech [15:30:37] i think we could spend our time much more productively [15:30:49] right [15:31:20] SilenceGold: I've removed the database and when I enter .../config/index.php it still says: "Setup has completed, your wiki is configured." [15:31:25] ^_^ Like making a SDK? [15:33:13] pgimeno oh your LocalSettings.php need to be removed [15:33:18] pgimeno: try backing up localsettings.php and removing ti [15:33:20] it* [15:33:28] delete the DB to [15:33:29] thanks both [15:35:01] So, Simetrical, you think the ToDo app is a good thing to include in the kit? [15:37:02] cool, that was it [15:37:05] Dantman, I have no idea what you're talking about. [15:37:14] neither do I? [15:37:52] What part should I break down? [15:38:31] It seems the mod I've been complaining about is no longer maintained anyway. [15:38:55] https://secure.wikimedia.org/wikipedia/en/wiki/Template:Mod [15:39:02] *Werdna grumbles about #expr [15:39:12] hmm.. i wonder if a PCMCIA CF card adapter is really PCMCIA, or cardbus [15:45:00] 03aaron * r35181 10/trunk/phase3/includes/filerepo/ (FileRepo.php LocalRepo.php RepoGroup.php): [15:45:00] * Remove cruft $time parameter from findFiles() [15:45:00] * Fucking document this fucking function [15:46:20] AaronSchulz: watch out, siebrand will be on your case. [15:46:33] watch out, I don't care [15:46:46] AaronSchulz <-- in bad mood [15:47:10] I wouldn't care about that if I was cheery-eyed either [15:47:30] indeed. I'm being facetious. [15:48:06] I've also removed curses. And I saw Tim do so once. [15:48:16] Although in both cases, that was combined with other things, not a commit by itself. [15:49:13] lol? [15:49:20] what is refreshLinks.php for? [15:50:05] Simetrical: The idea, is a self contained package... A setup with Webserver/DB/PHP preconfigured... It allows for simple creation/reset/destruction of MediaWiki setups to let you simply alter a piece of MW or build an extension without breaking another installation. Also including the ability to generate a wiki with dummy content to help testing of extensions and features, as well as generators [15:50:13] for creating the base of extensions [15:50:22] josch: it's a really slow ass fucking query to update the *_links tables [15:50:27] josch: Refreshing the list of how pages link to each other and to external sites, e.g. Special:WhatLinksHere [15:50:28] there are like 5 of them [15:51:04] soo... after five days [15:51:07] it finished [15:51:14] where can i see the final product? [15:51:26] i expected it would populate the categories [15:51:56] Perhaps what you want to use is runJobs? [15:52:10] josch: No, populateCategories.php would do that. [15:52:18] ^_^ heh [15:52:47] Bah... WOS is Win only... time to hunt down another GPL simple setup [15:53:47] MinuteElectron, but populate Categories.php returns after a few seconds as it ould have done nothing? [15:54:32] josch, the result is in the links tables. pagelinks, categorylinks, etc. [15:54:46] Dantman: About the SDK, I don't really have time for it, I've lots of other projects that are lacking my attention right now -- sorry. [15:54:50] but it's too fast - nothing happens [15:54:56] josch, populateCategory.php should be run after refreshLinks.php. It will normally refuse to run twice; try using --force if you have an issue. [15:55:03] It will run *much* faster than refreshLinks.php. [15:55:25] ^_^ You do know that when I point this kind of stuff out, it's something I'm thinking of doing myself ;) [15:55:33] josch@mediawiki:/var/www$ php maintenance/populateCategory.php --force [15:55:34] User_kw-3 [15:55:34] Category population complete. [15:55:49] Dantman: Fine then, [15:55:53] heh [15:56:22] Just wanted feedback [15:56:24] Dantman: An interesting proposal maybe, if you can get it to work well. [15:56:32] Yup [15:56:44] and why do i have to run refreshLinks first? [15:56:55] Firstly I'm tracking down a good portable Server/DB/PHP setup [15:57:44] 03(mod) Rollback has link to rollback in diff when not editrights to page - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14155 (10nakonwiki) [15:58:21] Dantman: "portable" meaning windows? :D [15:58:50] Actually... Primarilly looking for some GPL setup designed to be installed in a minimal location [15:59:03] :( [15:59:40] josch: Because populateCategories.php needs the categorylinks table which isn't built until you run refreshLinks.php. [15:59:52] ah kk [16:00:06] sounds like a shitty script name then [16:00:17] how can i verify that refreshLinks was successful? [16:00:32] doing select count(*) from links is too slow [16:00:47] josch, if the tables look full, they probably are. [16:00:57] AaronSchulz, the actual name is populateCategory.php, i.e., populate the category table. [16:01:14] how can i find out why it wont work for me? [16:01:16] i thought that {{DISPLAYTITLE:}} allows pretty much any modification until the normalized string is same as normalized default title. so i was expecting that {{DISPLAYTITLE:H2SO4}} should work on [[H2SO4]] but it doesn't. are my expectations bad or the implementation is buggy? [16:01:17] try EXPLAIN SELECT * FROM links [16:01:22] as you can see from my output [16:01:23] though it might be off [16:02:10] Danny_B, the check is whether the string produced normalizes to the title, not whether the string with HTML stripped normalizes to the title. [16:02:12] ERROR 1146 (42S02): Table 'wikidb.links' doesn't exist [16:02:13] ?? [16:02:20] josch, EXPLAIN SELECT * FROM pagelinks; [16:02:27] You can repeat for categorylinks, imagelinks, ... [16:02:41] Danny_B, if the latter were implemented, of course, it would need to be sanitized very heavily. [16:02:58] Maybe allowing just and would make sense, like for section headers' display in the TOC. [16:02:59] Simetrical: so neither wikitext nor html is parsed, right? performance reasons? [16:03:08] Simetrical: exactly [16:03:19] Danny_B, no, just a design decision. [16:03:21] i thing sup and sub are very reasonable [16:03:21] okay the tables seemed to be filled with data [16:03:23] josch: I didn't literally mean "links" [16:03:23] Not a performance issue. [16:03:29] but it the right table obviously [16:03:32] there are several [16:03:39] i'll file a bug [16:03:39] yeah i see them [16:03:45] and there is data in it [16:03:47] `categorylinks` is one [16:03:53] may have a prefix [16:04:16] Simetrical: how about utf chars? such as ½ == 1/2 etc? [16:04:26] 30068560 rows in pagelinks [16:05:15] 2193 in categorylinks [16:05:27] and 188349 in imagelinks [16:05:51] 03(mod) Show watched status - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14224 +comment (10nakonwiki) [16:05:59] doesn't the script output a status? [16:06:12] populateCategory.php ? [16:06:24] yes [16:06:31] i pasted the output above [16:06:43] ok, I thought you were doing EXPLAIN [16:06:49] good, it should show status [16:07:12] josch@mediawiki:/var/www$ php maintenance/populateCategory.php --force [16:07:12] User_kw-3 [16:07:13] Category population complete. [16:07:16] takes 10 seconds [16:07:41] i did explain - that is where the numbers of rows in the tables come from [16:08:14] I'm having a problem getting my wiki to recognize page changes when I import. I keeps saying All revisions were imported already but they have not been. Any ideas? [16:08:17] josch, that sounds correct, it worked. [16:08:25] in ten seconds??? [16:08:25] Danny_B, no. That breaks copy-paste. [16:08:35] josch, yes, populateCategory.php is *much* faster than refreshLinks.php. [16:08:37] refreshLinks took DAYS [16:08:38] ah right [16:08:55] okay then where are my categories? [16:09:03] refreshLinks.php parses every page on the wiki, populateCategory.php just does a scan of the categorylinks table (basically). [16:09:08] if i access an article the category links are still red [16:09:25] josch, that's because the category page doesn't exist. It has nothing to do with anything you've been doing. [16:09:33] The dump you downloaded presumably didn't include the category namespace. [16:09:35] lol? [16:09:36] 03(NEW) Allow and in {{DISPLAYTITLE:}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14226 15enhancement; normal; MediaWiki: Templates; (danny_b) [16:09:38] there we go [16:09:50] If you follow the red links, you'll see that the category's members are there. [16:09:54] what do i have to download then? [16:09:58] That's what you did, among other things. [16:10:02] Simetrical: What do you think, base off of XAMPP Lite... or force the user to go through the complexities of package management stuff to get a server installed for the sdk? [16:10:04] I don't know, what's the dump of? [16:10:12] Dantman, I don't really care, honestly. [16:10:18] T_T [16:10:29] wikipedia de - i used pagesarticles.xml.bz2 [16:11:15] oh and as i can see on this page: [16:11:18] http://download.wikimedia.org/dewiki/20080422/ [16:11:35] there are also links to imagelinks, categorylinks and pagelinks [16:11:57] does this mean i could have avoided the trouble using refreshLinks.php? [16:12:03] josch, pagesarticles is not the whole dump. If you want the category namespace, you want the full dump. [16:12:06] josch, and yes, it does. [16:12:40] if you'd rather download the stuff...yeah [16:13:11] okay... doest matter now... [16:13:38] what do i have to load to get the categories right? [16:14:47] pages-meta-current.xml.bz2 ? [16:15:33] josch, yes, all pages with current version only. [16:16:16] I'm not sure if you'll have to repopulate all the links tables again. The dates might be a bit different. [16:16:17] ah! [16:16:26] Well, hopefully not. [16:16:58] so what are the links tables practically for? [16:17:21] do i need them if i use the full dump? [16:17:54] 03brion * r35182 10/trunk/phase3/includes/filerepo/ (ForeignAPIFile.php ForeignAPIRepo.php): [16:17:54] ForeignAPIRepo fixes: [16:17:54] * use the proper factory method so findFile accepts strings as well as Title objects; fixes API image queries [16:17:54] * pass timestamp and SHA-1 hash on [16:18:40] josch, they're used for a few things. Category membership display, use of certain special pages. They're also used to purge the cache of pages when a change to another page requires that. [16:19:08] brb [16:19:09] josch, for instance, if a template changes, all pages including it must be reparsed. If a page is created, all pages linking to it must have their parser cache purged so that the links turn from red to blue. [16:19:10] Etc. [16:20:36] 03huji * r35183 10/trunk/extensions/ (5 files in 5 dirs): [16:20:36] * Adding/updating Persian translations [16:20:36] * Fixing [[{{fullurl... typos in FlaggedRev's i18n file [16:20:36] * Fixing grammer of an English message [16:21:30] I need help I'm having a problem getting my wiki to recognize page changes when I import. I keeps saying All revisions were imported already but they have not been. Any ideas? [16:22:41] 03huji * r35184 10/trunk/extensions/BoardVote/BoardVote.i18n.php: Dictation mistake [16:25:57] 03brion * r35185 10/trunk/phase3/includes/ (3 files in 2 dirs): [16:25:57] * Fix typo in ApiQueryImageInfo which made mime type query fail to work :) [16:25:57] * Fix ForeignAPIRepo's query to use the corrected parameter to the API [16:25:57] * ForeignAPIFile fixes to use queried mime type if available, and type-safety checks in case some values are missing or funny [16:29:08] 14(WFM) Show watched status - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14224 +comment (10roan.kattouw) [16:30:02] 03(mod) Allow and in {{DISPLAYTITLE:}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14226 summary (10roan.kattouw) [16:31:46] Simetrical, but i wont need the lnik tables if i want a static dump of wikipedia then? [16:32:15] josch, you'll need categorylinks if you want category pages' members to display. [16:32:24] The other ones, *probably* not, but I haven't thought about it deeply. [16:32:37] Well, also the link colors might not work right without pagelinks. [16:32:44] And/or templatelinks. [16:32:59] If you want a static dump, you should make it static HTML, really, not run MediaWiki at all. [16:33:10] ah i understand [16:33:27] so even if i have a category page [16:33:40] this doesnt mean the link in a page will get not red [16:37:53] Anyone actually interested in the idea of a SDK enough to point out what they'd want from it? [16:39:58] 03brion * r35186 10/trunk/phase3/ (26 files in 4 dirs): [16:39:58] Revert r35178 and normalize User's getID() and setID() methods to prettier getId() and setId() [16:39:58] This doesn't accomplish anything, of course, but if you're going to run around changing them, at least make em prettier eh? :) [16:41:56] Simetrical, yes? [16:42:29] an SDK for what? [16:47:25] 03brion * r35187 10/trunk/phase3/includes/Revision.php: Clean up r35180: prettify some functions, break some long lines and odd constructions. [16:50:46] Hi, I want to have a template that when included in a page adds that page to a category. So far by putting [[Category:MyCategory]] in the template has added 'MyCategory' to the Catagory bar @ the bottom of the page I included it in, but the page does not show up at Category:MyCategory [16:50:54] Any ideas what i'm doing wrong? [16:53:21] josch, hmm? [16:53:45] ReAn, do you have a link? [16:54:40] 03(NEW) Please enable uploads on de.wikinews - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14227 normal; normal; Wikimedia: Site requests; (wikimedia-bugreports) [16:54:44] http://www.reanmachine.com/wiki/index.php5?title=Notes:SOCI325 [16:54:54] the template is TODO [16:55:08] idea is to enter any page marked with {{TODO}} into a list of incomplete pages [16:55:18] so that i can go through that list and fix @ a later date [16:55:25] Is there a simple way to put a notification on the top of every mediawiki page? (an upcoming outage in this case) [16:56:16] !sitenotice | matthew_ [16:56:16] --mwbot-- matthew_: I don't know anything about "sitenotice". You might try: !dismissablesitenotice [16:56:24] Simetrical, well doesnt matter - including these three tables is no more work for me [16:56:32] matthew_, try editing MediaWiki:Sitenotice and/or MediaWiki:Anonnotice. [16:56:33] Simetrical, thanks for you help :) [16:58:25] Simetrical: Any ideas on my problem? do you need the template link? [16:59:41] 03(mod) Allow and in {{DISPLAYTITLE:}} - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14226 (10Simetrical+wikibugs) [17:00:01] cuz currently only Template:TODO is in the list @ http://www.reanmachine.com/wiki/index.php5?title=Category:Incomplete [17:00:17] and not the page with {{TODO}} in it [17:00:56] ReAn, what pages have {{TODO}} in them? [17:01:44] 03(mod) Install the StringFunctions extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=6455 (10tim) [17:02:55] http://www.reanmachine.com/wiki/index.php5?title=Notes:SOCI325 [17:05:56] ReAn, that doesn't have {{TODO}} anywhere in it. [17:06:07] Just the word "TODO" with no curly braces. [17:06:55] hrm, perhaps i just hit preview [17:06:59] 03aaron * r35188 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: Revert r35183 to this file. This are intentional. [17:07:39] heh, thanks [17:07:51] i musta jumped to the Category list from a preview [17:08:57] is there any guides or wiki articles somewhere on advanced concepts like this? cuz so far all i've found for "Advanced" is formatting stuff [17:10:54] Is there an interface for changing the values in LocalSettings.php? [17:11:17] pgimeno, other than the text editor of your choice, no, not generally. There's a Configure extension that ialex is working on but I don't know if it's production-ready. [17:13:00] Ok, thanks. [17:13:03] brion: If I send in feature patches for an extension to the maintainer, and never hear back, should I go ahead and commit them to SVN? [17:13:06] 03(NEW) Spezial:RevisionReview: Success is shown even after session failure - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14228 minor; normal; MediaWiki extensions: FlaggedRevs; (church.of.emacs.ml) [17:13:40] davidmccabe: probably yes :) [17:14:05] wouldn't want to step on any toes -- should I send them to anyone else first? [17:14:11] and how long should I wait? [17:15:08] Just do it? (S)He can always revert it. [17:15:17] true [17:15:49] it's getting painful to keep my numerous patches separate without committing anything. shoulda made a branch in the first place. [17:15:57] too bad it's not a DVCS. [17:16:36] Or you could just commit them? [17:16:57] They're pretty big. [17:17:03] but I guess I'll just have to. [17:19:59] 03aaron * r35189 10/trunk/extensions/FlaggedRevs/ (FlaggedRevsPage.i18n.php FlaggedRevsPage.php): Add revreview-patrol-title [17:20:08] 03(FIXED) Spezial:RevisionReview: Success is shown even after session failure - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14228 +comment (10JSchulz_4587) [17:20:39] Is it possible to configure MediaWiki as to prohibit registration to anonymous users while allowing the administrator to register users? [17:21:59] !e access [17:21:59] --mwbot-- http://www.mediawiki.org/wiki/Extension:access [17:22:05] !access [17:22:05] --mwbot-- For information on customizing user access, see . For common examples of restricting access using both rights and extensions, see . [17:22:17] pgimeno: ah, there we go [17:22:28] Thanks AaronSchulz [17:22:38] !e confirmaccount [17:22:38] --mwbot-- http://www.mediawiki.org/wiki/Extension:confirmaccount [17:22:57] hmm, doesn't actually seem to parse params [17:23:10] *AaronSchulz plays around [17:23:12] !e ConfirmAccount [17:23:12] --mwbot-- http://www.mediawiki.org/wiki/Extension:ConfirmAccount [17:24:24] *pgimeno looks at the topic and answers his next question: Is there a FAQ so that dumb users such as me can go and stop asking naive questions? [17:24:59] !faq [17:24:59] --mwbot-- Before reporting a problem or requesting assistance, please check the FAQ first. The FAQ for MediaWiki can be found at http://www.mediawiki.org/wiki/Manual:FAQ [17:25:04] 03simetrical * r35190 10/trunk/phase3/includes/ (AutoLoader.php Category.php): [17:25:04] -136 lines of worthless code. Even if the idea was hypothetically good, which [17:25:04] I'm not sure of, nobody is using CategoryList anywhere and I don't foresee any [17:25:04] use for it. Also makes what remains considerably easier to read (no looping, [17:25:04] etc.). This seems to work correctly, but I might have missed something [17:25:05] somewhere, so be on the lookout. [17:25:11] Oh, you already figured that out. [17:25:13] Oh well. [17:25:52] I am about to do a site down notice for our official upgrade from mediawiki 1.5.6 to 1.12.0--I will use mediawiki:Sitenotice, but how can I make the notice dissapear after the upgrade.. I mean, it'll be cached.. in browsers and also, I think, in mediawiki.. [17:26:33] :) [17:28:28] 03(mod) Edit summary doesn't allow links with character references - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14140 +easy; +comment (10brion) [17:28:32] somebody want to try https://bugzilla.wikimedia.org/show_bug.cgi?id=14140 ? should be pretty easy [17:28:54] matthew_: you can update $wgCacheEpoch after :) [17:28:54] if it's so easy, why don't you do it? :) [17:28:59] that'll invalidate all client-side caches [17:29:11] AaronSchulz: teach a man to fish :) [17:29:39] brion: be sure to scare him off when he commits [17:29:57] *AaronSchulz wonders were roman got scared off too [17:30:22] *brion warms his coffee [17:30:39] I see a textbox up of the some wiki pages that shows a message . how can I make that? [17:32:33] Who can help me? [17:34:05] brion: how do I update $wgCacheEpoch ? [17:34:49] Oh wait.. i see.. set current time.. [17:35:34] ramanK: example? [17:35:40] ramanK: http://en.wikipedia.org/wiki/User:Nakon/message [17:35:41] I want to show a message at the up of wiki pages . [17:36:28] ramanK: [[MediaWiki:Sitenotice]] [17:36:59] What kind of message? Give me an example - do you mean a template, the system message above the edit form, the new messages bar...? [17:37:28] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 +comment (10royalguard11) [17:38:05] just some line of text [17:38:28] 03(mod) Change autoconfirmed settings on enwiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14191 +comment (10JSchulz_4587) [17:38:42] like tha "important note " in http://www.mediawiki.org/wiki/Help:Categories [17:54:21] How can I make authentication go over https instead of http? [17:56:42] 03nikerabbit * r35191 10/trunk/phase3/languages/classes/LanguageBe_tarask.php: * Update plural code [17:58:15] hi all [17:58:17] i have a class with functions [17:58:19] and i reference this class via $c=new class("bla"); [17:58:24] how do i find out if the class represented by $c offers the method b()? [17:59:05] HardDisk_WP, method_exists() [17:59:13] http://www.php.net/manual/en/function.method-exists.php [17:59:19] thanks [18:01:45] - 10http://bugzilla.wikimedia.org/show_bug.cgi?id= (10N/A) [18:05:40] Simetrical, it worked...and I am surprised that the API somehow manages to escape " in the serialize output [18:08:19] 03nikerabbit * r35192 10/trunk/extensions/ImageTagging/ImageTagging.i18n.php: * Unused message [18:09:20] 03nikerabbit * r35193 10/trunk/extensions/ImageTagging/ImageTagging.php: * php4 cruft.. [18:13:59] 03nikerabbit * r35194 10/trunk/phase3/ (2 files in 2 dirs): * Plural for badsiglength [18:14:41] 03(mod) Move the math extension to the same place as every other extension - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14202 +comment (10brion) [18:15:47] 03(WONTFIX) Extension data: Optionally include example installation + example usage. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14204 +comment (10brion) [18:17:33] 03(mod) Activate Extension:Babel on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14207 (10brion) [18:18:13] 03(mod) Addition of __NOSPIDER__ token for pages - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14209 +comment (10brion) [18:18:21] 03(mod) Magic word to add noindex to a page's header - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=8068 +comment (10brion) [18:19:45] 03(mod) activate edit api on en-wiki - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14210 (10brion) [18:20:39] brion: re 14207.. it's just replacement that uses proper translations -> less templates that need to be copied around to every wiki [18:22:38] 03(mod) Activate Extension:Babel on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14207 +comment (10minuteelectron) [18:25:56] 03(FIXED) Serbian language variant links don't work on the secure server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14218 +comment (10brion) [18:35:36] 03(FIXED) $wgCheckFileExtensions doesn't seem to work - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14220 +comment (10brion) [18:41:34] 03(FIXED) A new logo for Finnish Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14223 +comment (10brion) [18:42:53] 14(DUP) Secure doesn't "translate" links in site notice - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14225 +comment (10brion) [18:43:01] 03(mod) wikilinks break in site notice of secure server - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=10463 +comment (10brion) [18:46:43] 03(mod) Activate Extension:Babel on nds.Wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=14207 (10brion) [18:59:31] *Jack_Phoenix waves to ialex :-) [18:59:41] hello Jack_Phoenix :) [18:59:43] rar [19:01:14] hi all - quick question: is there an extension out there for bulk rollback? That is, rollback all edits by a given user, or for a duration of time, etc? I thought there was one, but I couldn't find it on the [[Extension Matrix]] [19:01:43] Special:Nuke [19:02:15] flyingparchment: it's for deletions [19:02:37] Nuke is for deleting articles? [19:02:39] Can I enable Javascript within MediaWiki? [19:03:03] RickZilla: global scripts are activated by default [19:03:07] I want to migrate my install from 1.8.5 to 1.12. Do I have to change the database structure? Are there documents about updating someplace? [19:03:14] s/global/site wide [19:03:38] ggeller: 1) Yes 2) See UPGRADE file [19:03:50] hmmm...when I tried to put in some script, it just showed the code on the wiki page [19:03:59] RickZilla: it's generally a bad idea to allow people to put