[00:00:20] right, you create Template:pattern with the contents you wish to preload [00:00:43] yep, I've done that, along with Template:pattern_instructions [00:01:07] I'm confused on how to link to that page though (so the user doesn't have to manually change the URL) [00:01:47] oh [00:02:05] the text in MediaWiki:Newarticletext appears above the edit page for uncreated articles [00:02:57] > Click here to [{{fullurl:{{FULLPAGENAMEE}}|action=edit&preload=Template:Ppattern&editintro=Template:pattern_instructions}} preload a template pattern] on this page. [00:03:07] add that to the newarticletext message as a test [00:03:27] Can I get the Mediawiki formatting mode for another page? [00:03:49] markdown fails because it mistakes underscores for italic [00:04:00] ahhh perfect, thanks [00:04:12] so you can't talk about mod_fastcgi or mod_php without it coming out like [00:04:16] modfastcgi or modphp [00:04:21] 03brion * r34144 10/trunk/extensions/FlaggedRevs/archives/patch-flaggedpages.sql: leave the old fields and indexes for now; less disruptive when migrating sites [00:05:33] Bah... TimStarling isn't here [00:06:30] it's 9am saturday morning for tim [00:06:36] so he's probably asleep like any sensible person :) [00:06:54] Heh [00:06:59] 5pm for me [00:07:07] *AaronSchulz gets up at 7:35 every day >:( [00:07:17] Eww. [00:07:25] I needed a tip on how to do something in the new parser... And he's the only one who would really know [00:07:41] Heh... I'm still in Friday [00:08:15] So is everyone else in this conversation. ;) [00:08:30] Heh [00:08:33] damn aussies got the jump on us all [00:09:07] *Dantman brings out his rifle... Kangaroo hunting anyone? [00:09:21] "I hear the purple one is still out there..." [00:10:26] *Danny_B likes kangaroos, how about Dantman hunting? [00:10:37] I'm experimenting with the notion of 'Macros' in MediaWiki's parser [00:10:53] Quite evil...... So it's an extension idea [00:10:58] enwiki-20080312-pages-articles.xml the number is the number of pages ? [00:11:06] sektor: the date [00:11:07] sektor: that's a date. 2008-03-12 [00:11:12] oh lol [00:11:14] :) [00:11:29] how often does it usually get updated ? [00:12:44] dan: in what way different than variables or transclusions? [00:14:26] how can i get templates to work ? [00:17:14] 03aaron * r34145 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.php: fp_quality_page [00:19:15] 03aaron * r34146 10/trunk/extensions/FlaggedRevs/archives/patch-flaggedpages.sql: Only imported needed rows [00:19:57] Splarka: The use is for reducing template code in ways not possible by templates and variables... [00:19:59] For example [00:20:17] {{#if:{{{var|}}}|{{{var}}}|default}} [00:20:36] {{{var|default}}} [00:20:41] Nope [00:20:50] in your example, yep [00:20:50] Doesn't handle the whitespace case [00:21:09] {{#if:{{{var|}}}|something {{{var}}} something|default}} ... always annoying though [00:21:41] so how would you simplify? [00:21:58] You can't with current templates [00:22:04] That's the idea of macros [00:22:19] A pre-substitution with rules outside the normal scope [00:22:49] If we decided to use {%macroname|val...|val...%} for example as the syntax [00:23:09] {%var-default|var|default%} [00:23:13] Could expand to: [00:23:25] {{#if:{{{var|}}}|{{{var}}}|default}} [00:24:48] call me crazy but that doesn't look that much less complex [00:24:56] That's just one case [00:25:19] The point there, is it's a little more understandable... But mainly, the {{{var}}} is not duplicated [00:25:37] Utilized better there are larger cases where it could be used [00:25:54] Take template/parser extension tests [00:26:53] 03aaron * r34147 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Disable unreviewed pages for now [00:26:59] To test out the output of something I'm making I normally put out a wikitext list, with the bits of code in a nowiki tag, and after that the same code outside of it [00:27:59] Question about special page transclusion: is it possible to transclude Special:Recentpages but only show certain namespaces or categories? [00:28:10] Splarka: * {{#if:x|true|false}}: {{#if:x|true|false}} [00:28:15] For example [00:28:16] the alternative is DPL but I prefer to minimize its use [00:29:01] I think what would make more sense [00:29:01] Splarka: You can obviously see that a number of those can end up with a mistype inside of the page text and have a different bit of code after the : than what shows before the : [00:29:04] is to extend variable syntadx [00:29:07] *syntax* even [00:29:17] {{{var|default|foo $1 bar}}} [00:29:28] a second parameter, where if it *was* defined, you'd format it thusly [00:29:41] ^_^ Tim would probably kill you [00:29:48] {{{list item 1|no list|* $1}}} [00:29:55] {{{list item 2||* $1}}} [00:29:57] {{{list item 3||* $1}}} [00:30:13] well, you have commit access, you'll be the first to fall [00:30:18] I'm just sayin [00:30:34] (and $1 sucks, but what else would work good?) [00:30:57] Well how does that even solve the whitespace case? [00:31:16] PanSola: not really, special page transclusion is a dirty hack for each special page [00:31:31] Dan: please illustrate the whitespace prob minimally [00:31:45] Splarka: ok [00:31:50] It's primarilly an issue in Infoboxes [00:31:51] there *is* a prob of named vs numbered variables and whitespace, is that what you mean? [00:32:17] Infobox code normally gives a list of all the parameters [00:33:04] And you don't omit parameters... You leave them all in there, a parameter with whitespace as it's value is effectively the same as one which is omitted [00:33:14] So you can't use {{{var|default}}} [00:33:48] And you have to do that piles of times inside of infobox code [00:34:05] The {{#if:{{{var|}}}|{{{var}}}|default}} I mean [00:34:20] well, that is more of a bug in infobox templates, you shouldn't pass parameters you don't want the row to show for [00:34:33] imho ^_^ [00:35:00] :/ Then how do the editors know what parameters are there for use when editing it [00:35:06] That's the reason we list them all there [00:35:15] comments! but anyway [00:35:25] if variable syntax was to be extended, which would never happen, but if it was... [00:35:38] then a null (whitespace only) parameter might better be interpreted as undefined [00:35:42] which would make more sense in most cases [00:35:51] {{foo|bar}} ... [00:36:01] {{{1|default|* $1}}} [00:36:03] {{{2|default|* $1}}} [00:36:19] would give:
  • bar
\ndefault [00:36:34] but so would {{{foo|bar|}}} [00:36:47] however [00:37:07] -{{{1|default}}}-{{{2|default}}}- would give -default-- [00:37:22] counterintuitive to the max, baby [00:37:30] ^_^ Ideally.... cept editors would riot O_o [00:37:34] Bah [00:37:34] hey [00:37:38] Damn screen [00:37:46] I hit delete and it doesn't erase everything [00:37:46] it is 100% backward compatable afaics [00:38:00] "O_o" was the intended message [00:38:10] :/ The rest was supposed to be erased [00:38:13] haha [00:39:20] ^_^ Well... least I still do have sane ideas [00:39:44] Though I should probably actually work on them... WikiRuby and Subsyntax [00:41:09] hmm... per {{{var|default|nondefault formatting}}}.. what is a nice callback that isn't a repeat of the variable name? \1 $1 %1 all are icky [00:41:41] eg, trying to avoid {{{var|default| foo {{{var}}} bar}}} [00:41:41] {{{var|default|nondefault stuff before $1|nonedfault stuff after $1}}} [00:41:52] well, what if you wanna repeat it? [00:41:54] avoid the issues of needing to escape stuff [00:41:56] use it twice [00:42:00] hehe [00:42:08] well, not a bad idea then [00:42:09] There is a similar case in current use [00:42:23] #for and #foreach uses $s$ [00:42:29] ugh [00:42:33] *Splarka stabs those [00:42:36] heh [00:42:39] those'll never be core though [00:42:47] {{{var|default|prefix|suffix}}} [00:42:50] but imagine that... [00:43:02] {{{dob|| [00:43:04] Well if you're picking out taht syntax [00:43:06] {{{!}}}- [00:43:13] !date of birth [00:43:13] --mwbot-- I don't know anything about "date". You might try: !jobqueue !passwordsql !refresh [00:43:22] {{{var|default|a|b|c|d|...}}} [00:43:24] {{{!}}}|}} [00:43:40] and what would c/d be? [00:44:04] Each time you split with a | the variable is outputted [00:44:16] *Splarka snickers [00:44:23] tim would kill you [00:44:26] heh [00:44:33] anyway [00:44:46] this trick would remove much of the usages of #if [00:44:47] Well, if you think about it... It's logicially equivilant to prefix|suffix [00:44:56] and much of the need for your macro solution [00:45:11] ^_^ Still usefull for developers [00:45:11] (not all, but much) [00:45:32] I am guessing this can't be done as an extension though [00:45:41] unless it was to replace such syntax with a complex #if [00:45:45] much better to do it in core? [00:45:56] bbiab [00:46:08] Well I know that I can do it for the article in question using the ParserBeforeStrip hook [00:46:37] My question for tim... Is where should I insert a hook, to do something similar to what ParserBeforeStrip does on the text, but on the included text instead [00:47:09] hey [00:47:14] Then this is perfectly feasable as a evil extension [00:47:14] can anyone please help me :P [00:47:37] :/ Just ask your question, don't ask for help [00:47:39] I am trying to install this software for the first time and have just get a blank page when I try to view the wiki [00:47:39] Jaferspoken: depending on whaty ou need help with [00:47:51] But it said installed sucesfully [00:48:00] You move the LocalSettings.php? [00:48:01] And database is correctly setup in phpmyadmin [00:48:05] yes to wiki directory [00:48:23] ^_^ Willing to pay a consultant... heh... [00:48:38] how much lol [00:49:01] http://www.ps3hax.net/wiki/index.php/Main_Page [00:49:04] its blank :X [00:49:17] Heh... Somewhere between $5-$10-$15 depending on if it's painfully simple/normal/dificult to fix [00:49:41] "Page not found" [00:49:43] fine I guess just need this setup [00:49:48] well i installed it just fine [00:49:59] i did it twice :XF [00:50:06] but always get the blank page [00:50:36] PHP Error? [00:50:41] 03siebrand * r34148 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php FlaggedRevsPage.i18n.php): [00:50:41] * add message 'right-autopatrolother' [00:50:41] * fix some indentation [00:51:37] no idea [00:51:59] You should see if you can access your error logs [00:52:43] for Mediawiki? [00:55:48] ? [00:56:15] No the webserver/php logs [00:56:32] You'll have to talk to your host most likely to see if it's possible [00:56:59] the db is setup correctly though [00:57:20] PHP Errors! [00:57:27] DB has nothing to do with PHP errors [00:57:40] 03(NEW) Preload should ignore text within the "" tags - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13932 15enhancement; normal; MediaWiki: Page editing; (duke33) [00:57:47] It's possible that your host does not support something inside of MediaWiki's code [00:58:19] what was the PHP error? [00:58:24] oh right, you can't get to it [00:58:30] what version of PHP are you running? [00:58:35] http://www.ps3hax.net/wiki/index.php/Main_Page [00:58:47] 5.2.1 [00:58:52] uhuh [00:59:03] look in LocalSettings.php [00:59:14] for"? [00:59:17] you need to look at $wgArticlePath [00:59:25] it'll have something ending in index.php/$1 [00:59:30] replce that with index.php?title=$1 [01:00:08] 03siebrand * r34149 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: [01:00:08] * add messages 'right-centralauth-admin', 'right-centralauth-merge' [01:00:08] * fix some indentation [01:00:16] Nah [01:00:23] $wgUsePathInfo = false [01:00:47] dammit, siebrand [01:00:53] got merge conflicts :( [01:00:59] heh [01:01:24] $wgArticlePath is not even present in my php file [01:01:39] Werdna: sorry... :| [01:01:44] Jaferspoken: Add $wgUsePathInfo = false; [01:01:50] try Dantman's suggestion. Add to the bottom what he said to add. [01:02:07] siebrand: it was in my global groups patch, but that's been reverted for now [01:02:26] Werdna: I know. But it was not necessarily a part of it... [01:02:40] indeed [01:02:56] ^_^ I had semi-shared permissions working for shared DB's at one point [01:03:20] yeah, but my implementation is good :P [01:03:31] nope no cigar [01:03:40] 03aaron * r34150 10/trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php: Liste der gesichteten Seiten [01:03:45] okay, wait a tic [01:04:54] Hmmm... [01:04:58] eek, blank page again [01:05:16] 03siebrand * r34151 10/trunk/extensions/PovWatch/PovWatch.i18n.php: * add messages 'right-povwatch_admin', 'right-povwatch_user' [01:05:29] <3 siebrand. [01:05:56] no idea ? [01:06:04] Werdna: ? Me broke something? [01:06:05] Anyone think my $wgDBsharedTables idea is good? [01:06:20] hi. I want to use a mediawiki where I always force users to use a custom namespace.. I have defined my custom namespaces, but in the setup I created a namespace named "Blahwiki" .. and so I will have "(Main)" and "Blahwiki" namespaces both empty.. which seems weird to me.. [01:06:52] Non standard usage!!! [01:06:57] if "Blahwiki" is not the default (because "(Main)" is) and it's not a "custom" namespace (it's not specified as a >100 namespace in the LocalSettings.php) then what is it? [01:07:03] hi everybody [01:07:10] siebrand: no, you're doing my dirty work :P [01:07:25] Werdna: you're welcome :) [01:07:36] Dantman: what for? [01:07:39] is anyone aware that Parser::parser() has vanished in 1.12 ? [01:08:14] do you mean Parser::parse()? [01:08:54] Werdna: You remember how we have it set so that 'user' is in the shared DB when defined [01:09:01] I guess it's namespace "4" [01:09:06] what is the purpose of namespace "4" ? [01:09:07] The variable's point is to extend that [01:09:09] Dantman: yeah, but nobody uses that except wikia. [01:09:11] Werdna: nop, it seems the constructor.. ? [01:09:18] It's obsolete. People should use CentralAuth instead. [01:09:29] Panora200: look for __contuct [01:09:32] __construct [01:09:37] Werdna: There are others... But there is another concern [01:10:06] I guess it's the "project" namespace. [01:10:09] For extensions like SpamRegex you need $wgSharedDB set last time I checked... Or it may have been RegexBlock [01:10:24] Werdna: indeed, just noticed it... [01:10:30] If wiki want to have those shared, they are suddenly required to have a shared user table [01:10:45] Werdna: so how are the "child classes" supposed to call the parent's constructor? [01:10:54] $wgSharedDB doesn't always imply someone wants shared users [01:10:56] Werdna: parent::__construct() ? [01:11:12] I intend to, at some stage in the future, deprecate those extensions in favour of a better one that stores in a DB. [01:11:16] Panora200: right. [01:11:43] Eh? They store in a DB last time I checked [01:12:02] 03siebrand * r34152 10/trunk/extensions/BoardVote/BoardVote.i18n.php: * add message 'right-boardvote' [01:12:10] But that doesn't change the fact that it's a current issue [01:12:35] Dantman: a shared DB, possibly the globalblocking DB or something [01:13:13] AaronSchulz: what about $wgGroupPermissions['editor']['patrolmarks']? Unused? [01:13:21] used [01:13:42] what a weird name for a user right. [01:13:48] AaronSchulz: can you give me a short description? [01:13:57] bah, busy atm [01:14:11] it lets people see ! marks and yellow highlisting at newpages [01:14:16] RC patrol stuff [01:14:18] AaronSchulz: can't find that string anywhere in the FlaggedRevs code... (thanks) [01:15:25] blah, why does the DPLforum require at least one category when a specific namespace is specified )-: [01:15:43] Separation of forums [01:16:12] Werdna: User.php, lines 1820, 1829 [01:16:16] right... so now I need soemthing that's like "Special:Uncategorizedforumpages" [01:16:16] ^_^ Though you can probably hack it [01:16:36] Oh... hmmm [01:16:39] siebrand: eh? [01:16:41] or a bot [01:16:43] sigh [01:16:53] 03aaron * r34153 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: This needs to replace [01:16:54] ^_^ You could always build a special page and have someone add it to the code [01:16:58] Werdna: re: [03:13] what a weird name for a user right. [01:17:28] replace_callback also seems to have been renamed [01:17:40] was it? or the API changed? [01:18:39] 03aaron * r34154 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: Still working on that page [01:20:18] Eh? [01:20:23] You talking about preg? [01:21:18] 03siebrand * r34155 10/trunk/phase3/ (2 files in 2 dirs): Add 'right-patrolmarks' [01:23:24] Fatal error: Call to undefined method FCKeditorParser::replace_callback() in /home/hidden/sandbox/wiki/extensions/FCKeditor/FCKeditorParser.body.php on line 317 [01:23:53] Oh... [01:24:13] Well firstly... I don't think the FCKeditor people stick arround here, do they? [01:24:14] very weird, isn't it? [01:24:53] dantman: it was working in 1.10 [01:24:57] 03siebrand * r34156 10/trunk/extensions/Makebot/Makebot.i18n.php: Add 'right-makebot' [01:25:11] 03siebrand * r34157 10/trunk/extensions/Makesysop/SpecialMakesysop.i18n.php: Add 'right-makesysop' [01:37:53] 03(mod) DPL2's include parameter broken with new parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13677 (10N/A) [01:45:15] ^_^ Nice... looks like there is a fix for the DPL issue [01:46:24] 03(mod) DPL2's include parameter broken with new parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13677 (10N/A) [01:58:32] 03aaron * r34158 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.sql archives/patch-flaggedpages.sql): NOT NULL [01:59:12] 03(mod) DPL2's include parameter broken with new parser - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13677 (10dan_the_man) [02:04:34] how big is the database once it was completely imported from pages-articles.xml.bz2 ? [02:04:46] exported form pages-articles.xml.bz2 [02:04:50] from [02:07:52] gah. what's wrong with this line of js? [02:07:52] if (!rx.test(massage.innerHTML)) { [02:09:41] Splarka: ping [02:28:02] Werdna: pong [02:28:12] Splarka: you're late. [02:28:18] maybe you got me pregnant [02:28:26] !! [02:28:26] --mwbot-- I don't know anything about "!". You might try: !blankpage !cms !cooluris !credit !css !dataja !export !footer !help !iframe !import !install !mwbot !namespaces !parserfunctions !shorturl !test !welcome !wg !wikibugs [02:28:37] open mouth, insert foot [02:28:53] what is rx? a variable, object, array, integer, function? [02:28:58] never mind. [02:29:00] I fixed it. [02:29:06] k [02:29:46] innerHTML is also a bad thing, you should use a child-iterating dom friendly text finder method [02:29:51] (but lazy ftw) [02:29:54] yuck. [02:29:56] why would I do that? [02:30:18] well, because innerHTML is like internet porn, and the dom is like having a flesh and blood lover [02:30:42] it is quick and unsatisfying in the long run but it gets results, dirtily [02:30:51] assertion. [02:30:56] and you also don't want people to see you using it [02:31:15] heh [02:31:29] http://slayeroffice.com/articles/innerHTML_alternatives/ [02:42:21] Hi... I using mediawiki 1.6.10 and i tried use the variable LOCALMONTH, but it is viewed like a template... how to i can access LOCALMONTH or similar in 1.6.10 version? Can anyone help me? [02:42:47] install ParserFunctions. [02:43:22] Hi, werdna... how i make to install ParserFunctions? [02:43:48] LOCALMONTH is core isn't it? [02:44:17] in 1.6? [02:44:26] no, in 1.whatever [02:44:31] how will parser functions help? [02:44:38] 03(NEW) Portuguese translation update for FlaggedRevs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13933 15enhancement; normal; MediaWiki extensions: FlaggedRevs; (lugusto) [02:44:59] in the version 1.6.10 seems that not. In 1.11.0, LOCALMONTH works very well. [02:45:40] 03(mod) Portuguese translation update for FlaggedRevs - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13933 (10lugusto) [02:46:24] oh... LeonardoESBR: does {{CURRENTMONTH}} work? [02:46:49] (if so, then parserfunctions will help, you can use #expr to fake it) [02:47:19] wikibugs is a bot? Or the link is information about LOCALMONTH? Really, i using the Portuguese translation. [02:47:46] Splarka: CURRENTMONTH works! [02:47:52] right [02:47:58] local* magic words are newer [02:48:08] hum.... [02:48:16] http://meta.wikimedia.org/wiki/Help:Magic_words#Time [02:48:21] the local ones are 1.8+ [02:48:54] so, is only change LOCAL by CURRENT, ok? [02:49:54] thanks, Splarka... the link is awesome! [02:50:32] np [03:04:34] 03(mod) Request feature: Subpages of Shortcuts - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=12980 (10soxred93) [03:49:01] 03aaron * r34159 10/trunk/extensions/FlaggedRevs/ (FlaggedRevs.php FlaggedRevsPage.i18n.php FlaggedRevsPage.php): Bring back unreviewed pages. Split it into two different pages. [03:52:45] 03aaron * r34160 10/trunk/ (3 files in 2 dirs): [03:52:45] * Add method to append subtitle [03:52:45] * Tweak message [03:58:40] you're probably going to think wikistalking or something, but would it be possible to, similar to watchlists (or maybe a watchlist enhancement), to track a particular user or IP's edits onsite? possibly limit it to sysops or something [03:59:17] omg wikistalking etc [03:59:29] Charitwo: like sp:Contributions? [04:00:03] AaronSchulz: without having to check individual contribs pages, like a special page or something, for keeping an eye on warned users/vandals etc [04:00:06] *Charitwo also bops Splarka [04:00:10] *Splarka ows [04:00:13] http://en.wikipedia.org/wiki/MediaWiki:Gadget-contribsrange.js for ranges [04:00:17] you could just bookmark a range [04:00:40] I think he wants user contribs, but aggregated over several users [04:00:56] this can be done using recentchanges [04:01:06] perhaps with UNION hacks [04:01:08] well...... [04:01:22] it was more of a feature suggestion, not a hack question [04:01:24] ucuser in the api can sort of be used fo rhtat [04:02:00] er ^for that [04:02:15] but it currently sorts by user instead of time, which is more efficient, but not paginatable [04:02:34] http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuser=Splarka|MZMcBride [04:02:36] Charitwo: it wouldn't be a hack [04:02:46] when I say UNION hack, I just mean a mysql optimization [04:02:52] :O [04:03:01] that is, you can supply it a list of usernames and it will show all contribs for those users, but it would show all my contribs before showing any of MZM's [04:03:41] reversealpha is sorta wierd [04:03:54] as long as it doesn't filesort too bad [04:04:40] API seems to handle 5000 limit, 3 names, decently [04:04:52] try 3 people with more than 5000 contribs? [04:05:26] but what about something pretty with clickable diffs and everything (like with watchlists) [04:05:48] Charitwo: that could be done on the user side with JS [04:06:05] Sparkla: what is the upper limit on the # of users? [04:06:07] again, looking for unilateral! [04:06:10] there better be one [04:06:16] AaronSchulz: 500 for users, 5000 for bots/sysops IIRC [04:06:25] for the number of user names [04:06:27] oh [04:06:29] not the limit [04:06:30] heh, none [04:06:33] *AaronSchulz sighs [04:06:37] however, limited by the length of a GET [04:06:41] 4000 characers [04:06:44] +t [04:06:46] that is not very re-assuring [04:06:47] but then you can use POST... [04:07:00] well, I've only ever tried 256 at a time [04:07:05] a full /24 [04:09:31] who did the search dropdown on en.wp btw [04:10:42] rainman [04:11:23] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/mwsuggest.js#rev33400 [04:11:51] although there was a predecessor: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/ajaxsearch.js [04:11:57] wish wikia's worked like that (mainspace only, not as fast) [04:12:12] so tell wikia [04:12:33] turnaround time of 6 months [04:12:49] so tell Jsharp ^_^ [04:13:45] AaronSchulz: [04:13:45] foreach($this->params['user'] as $u) [04:13:45] $this->prepareUsername($u); [04:13:52] I don't see no stinking limits X_X [04:15:40] lol [04:15:46] Splarka: you know that bidi char [04:15:53] it really fucks up API :) [04:16:00] the output is illegible [04:16:39] mmm, biti [04:16:44] er, bitty [04:16:54] *Splarka thinks of League of Gentlemen [04:17:15] 03aaron * r34161 10/trunk/phase3/includes/api/ApiBase.php: Put some upper limit here [04:17:29] :O [04:17:58] Splarka: thats possible a DOS point really [04:18:07] *possibly [04:19:09] well, it was more of a concern when it loaded the contribs of each listed user [04:19:21] *Werdna tickles AaronSchulz [04:19:23] and loaded them synchronously to fill in the list chronologically [04:19:29] nice work in getting it going on de, btw [04:19:34] but now it will happily fill the limit with the first user if it can [04:20:02] anyway, talk to roan about it ^_^ [04:21:56] Werdna: I think we will be able to go again tomorrow [04:23:03] :) [04:23:11] but also, damn you for sucking up my brion-review time [04:38:52] 03aaron * r34162 10/trunk/extensions/FlaggedRevs/ (FlaggedRevsPage.i18n.php FlaggedRevsPage.php): Message clean up [04:58:41] kreeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed [05:02:43] ? [05:03:08] !ask | MrCheerful [05:03:08] --mwbot-- MrCheerful: 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. [05:08:53] MrZ-man: they tooks my cat :'( [05:09:12] :O [05:09:49] i did stir up something with the vindictive trout noms though [05:11:13] i suspect an upmerge will be the end result though [05:12:46] what's the complexity of modify "Special:Unusedimages" to add a toggle that filters out images with incoming links (even if no article directly shows the image) [05:13:15] You'd have to modify the SQL query in SpecialUnusedimages.php, I think. [05:13:23] we have a problem of admins going through the special page, deleting images even though the images are being linked to ON our own wiki [05:13:54] Well, there are other options. [05:14:00] PanSola: ffxi has a setting where images uploaded via gallery aren't shown in unused [05:14:16] Disabling the special page entirely, putting a large notice at the top, or getting better admins. :) [05:14:46] MZMcBride: "larger" notice :) [05:15:03] text-decoration:blink; ? [05:15:09] "Please note that other web sites may link to a file with a direct URL, and so may still be listed here despite being in active use." [05:15:13] {{notorphan}} [05:15:24] with contents [[Image:{{FULLPAGENAME}}:10px]] [05:15:31] er |10px [05:15:36] Charitwo: we don't care about other websites d-: [05:15:47] {{sofixit}} [05:16:06] "Please note that this wiki may link to a file with a direct URL, and so may still be listed here despite being in active use." [05:16:13] indeed [05:16:33] imagemap, gallery, CSS url() [05:16:38] javascript [05:18:03] have {{notorphan}} do 3 things: a) show the image as a thumbnail on its own description page, b) require a link to show where it is being used, c) categorize it in [[Category:Unlinked used images]] so that vicious deletionists can peruse that category and look for ones that are actually unused [05:18:44] eg: {{notorphan|Used as a bullet list style on [[MediaWiki:Common.css]]}} [05:19:13] or {{notorphan|Javascript ajax progress for MediaWiki:Gadget-someajaxscript.js}} [05:19:25] so we need a bot to traverse the list of "unused images" [05:19:42] or {{notorphan|custom edit button used for mwCustomEditButtons}} [05:19:51] which wiki? [05:20:04] GuildWiki [05:20:12] guildwars.wikia.com [05:20:13] how many images? [05:20:17] Or have a bot tell all of your admins that they'll no longer be admins if they keep deleting images that they shouldn't. [05:20:19] not sure [05:20:23] http://guildwars.wikia.com/wiki/Special:Unusedimages [05:20:33] 10? 100? 10,000? [05:20:51] 288 [05:21:02] not too bad to be done manually I guess [05:21:13] well, prob is, figuring out which are used and which are huffable ^_^ [05:21:33] you could always to splarka's notorphan idea with a {{PAGENAME}} in a system message [05:21:49] or do [[Media:{{PAGENAME}}]] [05:22:12] *Charitwo bops splaka [05:23:24] btw PanSola, most mw messages don't parse wiki markup, so you'll need to use html equivalent [05:24:14] not sure what to do about [[Special:Whatlinkshere]] [05:24:44] doesn't matter. If you go there you get an error nayways d-: [05:24:59] Special:Whatlinkshere [05:25:02] error? what error [05:26:05] that no page is specified? [05:26:12] q-: [05:26:39] " not sure what to do about [[Special:Whatlinkshere]]" [05:28:16] why did ya bop me? [05:28:21] I have been searching everywhere, and cannot find an example of having an external link open in a new tab. Is there such a thing? And, if so, how do I implement it? [05:28:24] *Splarka bleeds [05:28:58] Splarka: you used huff, so i used your uncyc username :P [05:29:01] asarand: people should be able to choose if new links open in new tabs or windows [05:29:11] sure, but why the bop? [05:29:21] for using 'huff' [05:29:33] whasa wrong with huffs? mesa likey huff [05:30:03] there are precious few examples of Mediawiki abusing target=_blank, although one example is in Special:Preferences on the skin preview links [05:30:33] i loves it [05:30:53] hmm, DPL is reporting a false positive regarding "linkfrom", and I know it's not a cache issue because I know page B never ever linked to page A [05:31:02] http://guildwars.wikia.com/wiki/User:PanSola/placeholder [05:31:22] change [[MediaWiki:Delete]], [[MediaWiki:Deletedarticle]], [[MediaWiki:Deletionlog]], and [[MediaWiki:Dellogpage]] on en.wp then ^_^ [05:31:25] (Preview) [05:31:43] Wow, when your program gets stuck in an infinite loop adding null pointers to a list, you'd be amazed at how fast 4GB fills up :) [05:31:54] the problem is in what is considered a 'link' [05:31:57] Splarka: thank you, but that doesn't answer my question [05:32:09] locally, there can be image links, transclusions, redirects, wikilinks.. [05:32:22] but also, other things, like "#ifexist" register a link [05:32:59] (it needs to do this in order to invalidate the cache of any page using #ifexist to render local page content, if the target gets created or deleted) [05:33:04] page B has not been edited since ages ago, and never linked to page A under any cirsumstances. page A is a relatively new article. [05:33:09] asarand: http://www.mediawiki.org/wiki/Manual:Opening_external_links_in_a_new_window [05:33:17] Splarka: sorry, so much other stuff coming in I was getting lost. [05:33:38] Splarka: Thank you. I am checking it now. [05:33:42] hmm [05:34:04] !diediedie is You shouldn't do this, but since you asked: [05:34:04] --mwbot-- Successfully added keyword: diediedie [05:34:24] *Splarka thinks amidaniel will rename that later [05:34:51] *amidaniel glares [05:35:10] oh, I think I mixed up linksfrom adn linksto [05:35:12] *PanSola ponders [05:35:27] ugh, that is a horrible help page [05:35:37] {{sofixit}} [05:35:41] it suggests you hack skin.php to do a javascript solution, haha [05:35:53] O.O [05:35:58] if one is going to edit a php, one could simply check for class="external" and add target=_blank [05:36:08] If you're gonna do it via js, you should do it in Common.js [05:36:12] indeed [05:36:20] {{sofixit}} [05:36:33] *amidaniel sofixes MrZ-man's head to the pavement [05:36:43] anyone who wants to do that deserves whatever they get [05:36:45] :O [05:37:29] well, except those in countries who put legal obligations on content for any external links that aren't target=_blank [05:37:39] who here is an en.wp admonzstrator [05:38:14] MrZ-man [05:38:28] what did I do now [05:38:48] This is Splarka !!!! :DD [05:38:50] *Warpath hides [05:38:50] MrZ-man! http://en.wikipedia.org/wiki/MediaWiki:Edit the e should be lowercase, since monobook is case-insensitive for those buttons, due to this page being transcluded on other pages [05:39:10] this is a trivial change, but my OCD demands it [05:39:23] Charitwo: No, it needs to be uppercase IIRC [05:39:30] is it lowercase in other skins? [05:39:40] i don't use the old skins [05:39:48] char: try #wikipedia-en [05:40:00] modern is a new skin [05:40:44] yargh, modern is a travesty [05:40:47] and yes its lowercase there too [05:41:01] amidaniel is also an admin [05:41:05] *MrZ-man runs [05:41:07] *amidaniel hides [05:41:13] amidaniel: willing to test it? [05:41:23] *Splarka watches ami and mrz run in opposite directions [05:41:38] Charitwo: For what possible reason could you need that to be lower-case? [05:41:55] I remember there being issues with it being lowercase, don't remember exactly what the problem was [05:42:15] ... [05:42:19] because it's transcluded on pages, and it incorrectly capitalizes the E when it is not capitalized on the button [05:42:37] omg end of the world [05:42:39] Charitwo: Why would anyone transclude that on a page? [05:42:53] And if it's essential that the transclusion be lowercase, just use #lcfirst [05:42:56] {{lcfirst:}} [05:43:08] *Splarka deoctothorpes ami [05:43:22] Jiggawha? [05:43:58] crosshatch, hash, hex, mesh, pound, sharp, space, square, are more common names for it [05:44:02] but I prefer octothrope [05:44:07] hrmkay O.o [05:44:09] http://en.wiktionary.org/wiki/octothorpe [05:44:15] just saying, it isn't used in lcfirst [05:44:15] Who calls it a mesh? [05:44:26] Intercal [05:44:39] And it should use a # [05:44:45] That's annoying. [05:44:46] http://en.wikipedia.org/wiki/Intercal [05:44:51] sure, lots of things should [05:45:10] but only #language, #tag, and #special use it (of the core parser functions, not talking about extensions) [05:45:12] Charitwo: The message is changed using CSS. It should remain capitalized. [05:45:21] #special? [05:45:30] so if it's lowercase it won't parse correctly? [05:45:31] Thar we go, ty MZMcBride .. I knew there was a reason :) [05:45:39] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=17321 MZMcBride [05:45:57] Charitwo: Many skins. Monobook uses a text-transform, other skins may or may not. [05:46:17] Splarka: Is that documented anywhere? [05:46:37] MZM: sure, at http://meta.wikimedia.org/wiki/Help:Magic_words [05:46:44] Hmm... I've never noticed that one. [05:46:47] and at the same page on mediawiki.org I think [05:46:54] (but I added it like a week ago) [05:47:02] Heh. [05:47:05] you find out weird stuff browsing the source [05:47:12] MZM: not too useful for english [05:47:18] Indeed. [05:47:49] Wow, that was a fast server change, slakr. [05:49:17] nearly 3300 pages transclude {{MediaWiki:Edit}}, hmm [05:49:36] technical restrictions + laziness = bad [05:49:50] Hm? [05:50:10] tracing back 'edit' => 'Edit' in the source [05:50:59] MZM: did you know about {{filepath:}}? [05:51:17] Nope. [05:51:28] heh [05:52:00] Silly devs and their documentation-less-ness. [05:52:11] okay [05:52:11] MZMcBride: http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/MediaWiki:Edit&hideredirs=1&limit=3209&hidelinks=1 [05:52:23] "Edit" has been uppercase in the source since March of 2004: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=2810 [05:52:30] before monobook even existed [05:52:43] Charitwo: Why is that laziness? [05:52:54] It's good for interlanguage templates, no? [05:53:05] cause i don't have AWB check access [05:53:39] Huh? [05:53:55] well, im not gonna change all those manually, i.e. lazy [05:54:05] Why would one want to change all of them? [05:54:24] so utilize proper casing on transclusion to emphasize the correct casing of the button [05:55:07] ... the hell? [05:55:09] Who the hell gives a damn? [05:55:21] i do :| [05:55:29] Well, you need to not then [05:55:53] No using bots to do silly tasks. en.wiki has a horrible habit of doing that. [05:55:58] No shit [05:56:06] *MZMcBride stabs amidaniel. [05:56:20] What did I do? [05:56:23] Tsk, tsk. No attitude. [05:56:31] *Charitwo bops everyone [05:57:21] *Splarka harvests the organs [05:58:35] zomg Jeepers Creepers :P [06:30:41] Hmm, there's no DPL hack to essentially show a user's most recent 10 edit right? (Special:Contributions doesn't transclude) [06:31:42] it probably should [06:34:51] Hmmm... [06:36:43] That manual is always hard to find in bookmarks [06:39:21] {{#dpl:modifiedby=|count=10|ordermethod=user,lastedit}} something like that perhaps [06:39:57] ewww DPL [06:40:06] esp on wikia :'( [06:49:39] Dantman: doesn't seem to work [06:49:54] Where are you testing? [06:49:58] well, it works, but it picked random results [06:50:03] http://wiki.ffxiclopedia.org/wiki/User:Charitwo/Beachbox [06:53:26] :/ Damnit... I can't believe they didn't notice that the new skin excludes important links like a user's contributions [06:55:36] Ok, not possible [06:55:45] However... I could create a parserfunction... [06:55:56] One which doesn't kill performance :/ [06:56:04] <_wooz> lo [06:56:08] And do things in completely hacky ways [06:56:13] heh, performance over conveinence [06:56:19] !ask | _wooz [06:56:19] --mwbot-- _wooz: 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. [06:56:32] Heh... Well this isn't even convenient in this case [06:56:45] well, if it worked [06:56:47] And a dedicated extension would have better syntax [06:57:02] Soo... what kind of options does it need? [06:57:18] i was hoping it would work like watchlists [06:57:18] {{#contributions:user|...}} [06:57:24] Dantman: are you talking about Monaco or Modern? [06:57:33] Monaco [06:57:47] click on "more" [06:57:56] well you are screwed if you don'thave javascript [06:58:02] bad design IMHO [06:58:59] Don't see it... [06:59:01] Bah... :/ [06:59:05] It shows up... [06:59:11] But only on the actual userpage [06:59:37] Dan: you have commit access, {{Special:Contributions/User}} is but a patch away [07:00:18] Where? [07:01:26] http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SpecialContributions.php [07:01:45] I mean, where's the patch [07:02:20] in your head [07:02:41] :/ [07:03:18] hi all [07:03:20] Eeeeeeeeewwwwww.... line 14 is disturbing... Construct the array yourself damnit... [07:04:21] Anyways... I'm trying to get rails working [07:05:06] :/ Damn E won't integrate with the WinInstaller installed version... It wants the cygwin version... Which is completely broken last time I tried to install that... [07:05:49] How to have some page-sepecific FCKeditor disable? I installed FCKeditor extetion (the Wiki code generation one, not the HTML code). But it atomatically rearange things in the page, including pages like Mediawiki:Common.css, which is NOT good. Can it has some thing like __NOTOC__ to disable FCKeditor for specific page? sorry if FCKeditor question is not allowed here. [07:06:44] FCKeditor... While the best WYSIWYG editor out there for MediaWiki... Is still completely broken and not suitable for production use [07:07:00] It's really going to be sometime before it works right at all [07:07:15] Dantman: Oh man! so any good alternative? [07:07:32] No... like I said... it's the best, but even it isn't good enough [07:07:48] Only alternative is to actually learn WikiText like you are supposed to [07:07:57] It's quite simple for the most part [07:08:03] heh [07:08:13] And the complecated parts will never be editable by WYSIWYG [07:08:19] I think the users today are not like 3 or 5 years ago... they want rich-text editor :( [07:08:42] Then why is Wikipedia still thriving!? [07:08:56] If you can call that thriving ;) [07:08:57] heh [07:09:26] Wikipedia has a long history that everyone know... my wiki is only 3 year old [07:09:29] MediaWiki's parser still isn't suitable for WYSIWYG yet... It's being worked on, but not yet [07:09:49] anyway dan, the pages that can be included are (last I checked): {{Special:Recentchanges/10}} {{Special:Newpages/10}} {{Special:Newimages/10}} {{Special:Allpages/ZZZ}} {{Special:Prefixindex/ZZZ}} [07:09:50] old users are happy with that... but i see that new users really want GUI [07:10:09] by making a call to $par IIRC [07:10:51] :/ And MW is not GUI ready [07:10:57] so if you just sneek that into Contributions, everybody happy until you get stabbed and commit access revoked [07:11:20] ok, thanks for advice, Dantman [07:12:29] Splarka: Ever tried the E text editor? [07:12:40] the what? [07:13:06] http://www.e-texteditor.com/ [07:13:21] ask a question, get a link... meh [07:13:31] Well... it's a text editor [07:13:40] The screencast will give a better explanation [07:14:02] I'm trying it out primarily cause Eclipse is to heavy for my computer which is getting excedingly slow and shitty nowadays [07:14:19] *Splarka is fine with notepad [07:14:49] I normally use Notepad++ but with all the files I use at once... I kinda need a sidebar list of all the files [07:15:07] I can often update a single character in 50 rows of text manually (like in 8 seconds), faster than make a regex to do it [07:15:07] The most interesting part of E is it's multi-edit mode [07:16:00] ^_^ Well, what about selecting all 50 of those rows with a quick click and drag... Then typing that character and having it added to all those spots at once [07:16:13] notepad fine for me [07:16:18] also, that isn't open, wtf [07:16:33] *Splarka doesn't have the plugin required for the screencast anyway [07:16:41] heh [07:16:50] sure, run away [08:16:19] 03rotem * r34163 10/trunk/phase3/ (3 files in 2 dirs): [08:16:19] * Fixing the new right-patrolmarks message. [08:16:19] * Update. [08:22:54] 03rotem * r34164 10/trunk/extensions/ (5 files in 4 dirs): [08:22:55] * Updating Makesysop description. [08:22:55] * Update for he. [08:26:56] heh [08:27:04] Dad needed the computer [08:45:24] 03rotem * r34165 10/trunk/extensions/CentralAuth/CentralAuthHooks.php: This shows warnings and is probably unnecessary. [09:25:53] 03(NEW) MW is GPL-v2 or later, but link is to GPL-v3 - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13934 minor; normal; MediaWiki: Documentation; (mati) [09:33:00] Ack... Can't understand jQuery plugins... [11:01:05] 03(NEW) Portuguese wikipedia new feature - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13935 15enhancement; normal; Wikimedia: General/Unknown; (rodrigofera) [12:07:39] !spawn RoanKattuow [12:07:39] --mwbot-- I don't know anything about "spawn". [12:08:03] !poke RoanKattuow [12:08:03] --mwbot-- I don't know anything about "poke". [12:08:11] you stupid :( [12:18:52] 03minuteelectron * r34166 10/trunk/extensions/Babel/ (7 files in 3 dirs): [12:18:52] * Create includes/ and maintenance/ directories. [12:18:52] * Move class definitions into the includes/ directory. [12:18:52] * Add header to LanguageCodes file class. [12:28:05] 03nikerabbit * r34167 10/trunk/phase3/includes/EditPage.php: * Xml:: [12:29:50] 03minuteelectron * r34168 10/trunk/extensions/Babel/ (7 files in 3 dirs): * Split language codes file up into one for ISO 639-1 and one for ISO 639-3. [12:33:39] 03(NEW) parsing treats {{t|a}} differently from {{t|1= a}} with \n in output. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13936 15enhancement; normal; MediaWiki: Templates; (darklama) [12:37:48] 03(mod) parsing treats {{t|a}} differently from {{t|1= a}} with \n in output. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13936 +parser (10danny_b) [12:46:45] hey is it possible that the members of my wiki can also use my forum with their accounts? [12:49:21] probably possible with some account sharing extension for both the wiki and the forum [12:49:24] no, other way around [12:49:31] run the phpbb auth plugin [12:51:45] is it possible that forum and wiki share the same database? [12:51:48] userdatabase [12:54:27] One of them will need to use an auth plugin to authenticate users by the other software's users instead of their own [12:55:41] bango: no, but as I and Dantman|FS have said, you need a plugin to authenticate users for one system against the db for the other's [12:58:52] ok thanks := [13:02:29] must i istall the plugin first ? [13:02:43] or can i first istall the forum extension an then the plugin [13:09:46] 03vasilievvv * r34169 10/trunk/phase3/ (7 files in 3 dirs): [13:09:46] * (bug 709) Cannot rename/move images and other media files. [13:09:46] Currently in experimental mode, use $wgAllowImageMoving to enable it. [13:09:46] Known issues: [13:09:46] * Doesn't work with rev_deleted [13:09:47] * May also have some security and caching issues. [13:10:34] yay [13:10:43] VasilievVV: o_O [13:10:45] well done! [13:10:50] :) [13:10:59] Need more testing and review now [13:11:01] *Werdna gives VasilievVV a cookie. [13:13:38] 03minuteelectron * r34170 10/trunk/extensions/Babel/ (8 files in 5 dirs): [13:13:38] * Add maintenance script for generating code files (currently only ISO 639-3 is supported). [13:13:38] * Regenerate the ISO 639-3 code file using it. [13:14:32] 03(FIXED) Cannot rename/move images and other media files. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=709 +comment (10vasilvv) [13:15:31] hey where can i find a extension for printing out articles? [13:16:50] 03rainman * r34171 10/trunk/phase3/skins/common/mwsuggest.js: Fix typo in r33748, onsubmit -> submit [13:22:18] is there a way for a CSS selector to match any class starting with a specific prefix? (assume the element may have multiple classes in any order) [13:23:53] PanSola: yes http://www.w3.org/TR/REC-CSS2/selector.html#attribute-selectors [13:33:01] Nikerabbit: I read that, but can't figure out how to make it work [13:33:11] unless I can combine ~= and ^= [13:33:24] which I tried as "~^=" but failed )-: [13:34:56] Hiya! [13:35:11] I got a strange bug [13:35:24] Whenever I logged on I can see buttons I created on edit page [13:35:30] Errr, no other way around [13:35:37] Whenever I logged out I can see buttons I created on edit page [13:35:45] Whenever I login as user or admin, they turn to code [13:35:52] http://hleba.net/wiki/index.php?title=Dwadaa&action=edit§ion=&createintro=&preload=&editintro= [13:36:06] Can anyone take a quick pick and suggest anything? :) Please [13:37:59] suggestion: use full HTML code and see if anything changes [13:38:37] some wikicode don't work in MediaWiki namespace, this one might be a "works for anon, not for logged in" case [13:38:55] PanSola, can you elaborate? [13:38:59] (if you use full html code, it won't look right when you save) [13:39:03] instead of {| [13:39:07] use [13:39:09] Oh [13:39:23] 03btongminh * r34172 10/trunk/phase3/includes/ (Title.php filerepo/File.php): checkExtesnion => checkExtension [13:41:26] PanSola: and isntead of |}
correct? [13:42:23] Hmmmm, it's not working on Anonymous either, am I putting this in the wrong page? [13:42:37] http://hleba.net/wiki/index.php?title=MediaWiki:Newarticletext&action=edit [13:43:06] um [13:43:24] "use " wasn't the complete explianation [13:43:30] sorry [13:43:40] X_X [13:43:43] *Traveler1 noob [13:44:37] within
, you need the row tag (replaces |- ) [13:44:57] within , you need the
tag (replaces ||, or just | at the beginning of line ) [13:45:17] attributes (stuff with equal signs that control formatting) go inside the tags [13:45:45] etc etc [13:46:04] at least you closed the table tag properly (-: [13:46:09] XD [13:46:34] there's also the "" tag for links [13:46:53] The text representing the link [13:47:33] I'm not sure if a is required between
and [13:47:39] Hmm [13:47:40] it's been a while since I write raw HTML [13:47:42] Check out now XD [13:47:55] Still looks odd, hehe [13:47:57] Hmm [13:48:09] Traveler1: you still need to move the cell formatting into at each line? [13:48:20] um [13:48:29] each row starts with and ends with [13:48:32] ok [13:48:45] also, you ahve extra at the beginning of your row [13:51:36] Row? [13:51:46] Sorry X_X [13:51:49] a table consist of rows of cells [13:51:53] you only have one row [13:52:14] put inside yoru
[13:48:10] Do I need to close
in the middle of your link (which you haven't converted to [13:50:02] Do I also need to change all of the | in the code to [13:50:03] ? [13:50:06] 03btongminh * r34173 10/trunk/phase3/includes/filerepo/ForeignDBFile.php: Mark ForeignDBFile as unmovable [13:50:09] Not just at the beginnign? [13:50:31] not all of them [13:50:42] starts a cell [13:50:47] Uh-huh [13:50:55] so you only convert the | when it's used to start a table cell [13:50:56] Got rid of extra s [13:51:10] ok, now add
, it is used to contain the
[13:52:48] class="plainlinks" style="text-align:center;padding:1px" cellspacing="6" border="1" [13:52:48] ? [13:52:58] um [13:53:04] 0_o [13:53:10]
[13:53:20] remember, the attributes go inside the tag [13:54:42] Oh, now I got 3 rows :D [13:54:46] Traveler1: something like http://rafb.net/p/bORm6E95.nln.html ... [13:55:20] XD Pill [13:55:21] Anyone here ever use HeaderTabs Extension? [13:55:29] Hiya Wiretape! [13:55:40] Hey Traveler1! :) [13:55:43] Traveler1: also move the attributes of individual cells into for my TeamBanners in order for both of them to be in the cell under the Character? [14:01:58] [14:02:00] that's the rough idea [14:02:11] http://hleba.net/wiki/index.php?title=MediaWiki:Newarticletext [14:02:12] Woohoo! :D [14:02:23] does it now work for both logged-in and logged out? [14:02:51] *Traveler1 hugs PanSola [14:02:58] *Traveler1 hugs Pill [14:03:04] Works! Thanks guys :D [14:03:11] you're welcome [14:03:18] *PanSola afks for bed [14:03:23] *Traveler1 favorites HTML table tutorial [14:03:24] :D [14:03:27] *wave* Bye [14:06:00] I have a design issue question for a low-traffic mw. I am a teacher and am using articles to design lesson units, I have modified SimpleCalendar extension to color-code cells based on Categories of the linked page... [14:06:27] My issue is how to associate the "date" page linked to by the calendar to a "Day1", "Day2", "Day3", set of pages. [14:06:51] Double redirects are a no-no, per the code, I see. [14:07:17] I tried a redir, followed by an included Template on the "DayX" page. [14:08:15] I really have no problem with just recoding to allow double redirects, except I believe this is the only thing preventing an infinite loop (a bad thing). [14:09:07] *Jack_Phoenix waves to ialex :-) [14:09:23] rar Jack_Phoenix :) [14:09:28] rar [14:11:55] I tell ya what would be perfect. Have a redir that can do to a page and do a table lookup. A "mapping page" what I can shift the redirs around as a group. [14:12:58] Ahhh, if a redir can take a variable as input... then it's just a matter of writing an extension that can get a variable value from a table on another page. [14:24:39] VasilievVV? [14:25:01] ialex: hmm, status and FileStatus stuff giving E_STRICT [14:26:08] AaronSchulz: FileRepoStatus ? [14:26:13] yeah [14:26:53] you can re-commit part of http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=33911 (was reverted in r33920) ;) [14:27:27] AaronSchulz: yes? [14:27:37] what happens with oi_deleted? [14:27:42] hello [14:27:48] do what I do for image deletion [14:27:52] just skip those ones [14:27:55] hi Nikerabbit [14:27:58] Ah... [14:27:59] they are linked by group/key [14:28:04] ialex: was configure yours? [14:28:05] so it works across moves [14:28:17] but yes, trying to move them will fail ;) [14:28:19] Nikerabbit: the extension ? yes [14:28:28] AaronSchulz: and where key for oi_deleted is stored? [14:29:09] ialex: can you make view mode for it? :o [14:29:11] key? [14:29:20] just look at execute() for localdeletebatch [14:29:24] Nikerabbit: to all users ? [14:29:44] ialex: prolly not, unless you figure way to filter out sensitive information [14:29:56] VasilievVV: key is sha1 [14:30:01] that stays when moved, it's the same [14:30:06] group is 'deleted' always [14:30:23] so just skip moving oi_deleted & File::DELETED_FILE files [14:30:57] So, I should just add WHERE oi_deleted = 0? [14:31:09] no, copy execute() for localdeletebatch [14:31:12] do what it does [14:31:20] oi_deleted is a bitfield [14:31:21] *Wiredtape wonders how an element could have a set color without having any styling properties.. :-\ [14:31:28] it is not just 1 or 0 [14:34:18] [14:34:22] wth is this? [14:34:22] Ah-ha! All of that, and my desired functionality is covered by Data extension... or even SemanticWiki. [14:34:35] VasilievVV: that message isn't done right [14:34:48] Why? [14:36:20] why are there < > marks? [14:36:33] "Image:02-moved.jpg" has been moved to "Image:02-moved.ogg" [14:36:37] Which line, which file? [14:36:49] just move an image to another one with a different extension [14:36:51] you will see [14:36:59] though apparently it doesn't always check ;) [14:37:10] It uses MimeMagic method [14:37:31] I think I just lost an image now [14:37:34] Which checks if extension is correct for some MIME type [14:37:56] AaronSchulz: so? if( $row->oi_deleted & File::DELETED_FILE ) continue; [14:38:47] sute [14:38:49] *sure [14:40:06] Anyone understand the templates in MediaWiki? I understand the code to make the table for the template but what about the colors in the template? [14:40:15] VasilievVV: just require the extensions to string match totally [14:40:21] it let me move a jpg to an ogg [14:40:28] now the file is gone! [14:40:42] It shouldn't be gone [14:40:50] It's either moved or kept [14:40:52] it shouldn't have moved in the first place [14:43:05] Yes [14:43:17] And before check, extensions should be normalized [14:43:27] So we can move aa.jpeg to aa.jpg [14:44:24] that's fine, as long as it actually works and doesn't break [14:45:20] 03vasilievvv * r34174 10/trunk/phase3/includes/filerepo/LocalFile.php: [14:45:20] * Fix oi_deleted issues with image moving [14:45:20] * Fix filearchive update status check [14:45:37] The new file extension doesn't match its type [14:45:59] That's what it said me when I tried to move jpg file to ogg [14:46:27] Check if MIME detection works for you [14:47:21] in the mean time, can you fix the type mismatch message [14:47:23] it just says [14:48:49] Works for me :( [14:48:57] Ahhh [14:49:10] I heard you don't update languages/! :) [14:50:04] Anyone understand the templates in MediaWiki? I understand the code to make the table for the template but what about the colors in the template? [14:50:06] I already did a full SVN up [14:50:23] Ahhh [14:50:34] I didn't commit it, probably [14:51:29] Sorry :( [14:51:38] 03vasilievvv * r34175 10/trunk/phase3/languages/messages/MessagesEn.php: Forgot to commit messages [14:52:08] Rasputin: learn css [14:52:15] ok, now we need an image function to get an image via sha1 [14:52:24] otherwise, flaggedrevs will have problems with image moves [14:52:36] there is already an index, should be easy [14:52:56] Lookup a row and run LocalFile::newFromRow() [14:53:06] ugh [14:53:10] a decent accessor [14:53:16] hi VasilievVV [14:53:18] like newFromArchiveName and such [14:53:21] hi Nikerabbit [14:53:24] Yes [14:55:22] AzaTht which way is CSS used in MediaWiki? [14:55:52] {| style="color: red" [14:55:55] I use it in and also in CSS files [14:56:06] ahhhh [14:56:12] VasilievVV thanks alot [14:56:20] that helps alot [14:56:33] It's for text [14:56:44] Use background-color: for backgrounds [14:56:47] what about table bgcolor [14:56:54] ok kool [14:57:36] http://en.wikipedia.org/wiki/Help:Table#Color.3B_scope_of_parameters [14:59:29] 03ialex * r34176 10/trunk/extensions/Configure/ (5 files): [14:59:29] * Fixed a bug when $wgSharedDB is set to an empty string [14:59:29] * Added $wgDBpassword and $wgAllowImageMoving to the list of settings [14:59:29] * Added an option to findSettings.php to also compare DefaultSettings.php with online documentation [14:59:44] 03aaron * r34177 10/trunk/extensions/FlaggedRevs/FlaggedRevs.php: E_STRICT [15:00:23] ialex: adding $wgAllowImageMoving is a bad idea [15:02:55] ialex: configure extension just keeps getting more and more awesome every day ;-) you're doing very good work, please keep it up! :-) [15:04:52] VasilievVV: it requires 1.13, and i think there aren't a lot of people that use the trunk in production [15:05:24] and not a lot of people that use this extension ;) [15:06:02] It will have been probably removed before 1.13 will be released [15:06:12] 03aaron * r34178 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: Shorten long message [15:06:21] *AaronSchulz moves the shit out of some images [15:06:37] i'll remove it when it'll be removed from trunk [15:06:50] ok, oi_deleted fine [15:07:45] 03ialex * r34179 10/trunk/extensions/Configure/Configure.settings.php: forgot to add $wgDBpassword to the list of restricted settings [15:09:50] Error deleting file: Could not rename file "public/archive/d/d1/20080503144744!EmmaR.jpeg" to "deleted/o/g/c/ogcx543ha5fxjj2inwjfw1if8yqw21x.jpg". [15:09:55] hmm [15:13:39] What does "Override the spoofing checks" in [[MediaWiki:right-override-antispoof]] mean? [15:15:29] // Update deleted images [15:15:31] ugh [15:15:53] 03ialex * r34180 10/trunk/extensions/ (10 files in 5 dirs): svn:eol-style native [15:16:34] 03aaron * r34181 10/trunk/phase3/includes/filerepo/LocalFile.php: Leave deleted images alone [15:21:26] *AaronSchulz finishing staring at diffs [15:21:29] VasilievVV: ok, looks good :) [15:22:43] AaronSchulz: why leave them unrenamed? [15:22:59] it's unconsistent [15:23:06] and wasn't even doing page revs either [15:23:08] Do we move deleted page revisions with page itself? [15:23:13] no [15:23:19] I'd leave it that way [15:23:22] Ah, so it's ok [15:23:55] Btw, history merging also seems to work for them (using delete-move-undelete sequence) [15:29:18] AaronSchulz: is it possibly for an admin to see if an user is SUL:ed or local? [15:29:44] yeah [15:29:46] see http://simple.wikipedia.org/wiki/User_talk:AzaToth [15:30:04] [[Special:GlobalUsers]] [15:31:01] ialex: useful list... [15:31:07] though it lacks search function [15:32:26] [[Special::GlobalUsers/UserName]] should be possible imo [15:32:48] It will be [15:32:55] will? [15:33:06] It's in patch, but it's messed with global groups stuff [15:33:07] !span roan [15:33:07] --mwbot-- I don't know anything about "span". [15:33:14] !spawn* [15:33:14] --mwbot-- I don't know anything about "spawn*". [15:33:26] VasilievVV: ok [15:33:40] and then we also need an parserfunction [15:33:57] {{#ifglobaluser:User|yes|no}} [15:34:02] ok, see everybody in 3 hours (or later :() [15:34:30] AzaTht: it doesn't have a "starting at"? [15:34:33] huh, it should [15:34:49] &offset=Ajsmen91 [15:35:16] though it doesn't work [15:35:21] http://en.wikipedia.org/w/index.php?title=Special:GlobalUsers&offset=AzaToth [15:35:24] starts at B [15:35:35] which imo makes no sense at all [15:37:27] it doesn't have that [15:37:31] someone should add it [15:38:00] aha need to do &offset=@global_usernames[index_of(@global_usernames, AzaToth) + 1] [15:38:43] -1 * [15:39:34] and that doesn't event work :( [15:39:54] or whatever [15:40:04] borked it is anyway to be usable [15:41:05] and we need a way to get global user data from the api as well [15:42:42] AaronSchulz: do you know if it will be possible to have variable expansion in user given rollback summary or not? [15:43:13] if someone codes it [15:43:14] who knows [15:43:20] ping ialex ;) [15:43:24] 03ialex * r34182 10/trunk/extensions/Configure/ (Configure.body.php Configure.settings.php): [15:43:24] Bug fixes! [15:43:24] * (regression from 0.2.0) : show 'configure-section-notallowed' message if user hasn't 'configure-all' right [15:43:24] * added missing restricted settings [15:43:24] * E_WARNING when $wgDefaultExternalStore is not an array and user hasn't 'configure-all' right [15:43:34] 03rotem * r34183 10/trunk/phase3/ (2 files in 2 dirs): Update. [15:43:59] ialex: ping [15:44:06] pong [15:44:35] 03rotem * r34184 10/trunk/extensions/CentralAuth/CentralAuth.i18n.php: Update for he. [15:44:46] rollback summary parameter variables [15:46:25] ialex: ↑ [15:46:56] AzaTht: rollback or globalusers ? [15:47:11] rollback [15:48:10] I think it's pretty dumb to have to do 2-3 api calls just to be able to make an other rollback summary [15:49:58] you would be able to use the args from the default message ? [15:50:48] would? [15:50:52] want yes [15:58:56] ialex: http://rafb.net/p/6MBjuM43.html [15:59:04] that's a ugly hack though [15:59:25] AzaTht: i did bou the same thing ;) [15:59:27] j [15:59:29] hehe [15:59:31] erg [15:59:35] testing now [16:00:02] with a custom summary written directly in the URl :( [16:00:14] :(? [16:08:11] 03ialex * r34185 10/trunk/phase3/ (RELEASE-NOTES includes/Article.php): Custom rollback summaries now accept the same arguments as the default message [16:08:59] AzaTht: done [16:09:59] nice [16:10:22] good idea not to duplicate evertything there [16:22:17] ialex: did I make the order of the variables right: http://www.mediawiki.org/wiki/Manual:Interface/Revertpage [16:24:27] AzaTht: i think, yes [16:24:36] good [16:28:17] we should copy the definitions of all messages from betawiki :) [16:38:20] I'm receiving a PHP error when I try to upload images on mediawiki 1.12.0 [16:38:31] And I was getting the same error on 1.11 [16:38:39] But It wasn't like that at the start [16:39:14] you have them all there? [16:39:16] Armada: PG or mysql? [16:39:23] MySQL [16:39:33] what is the error? [16:39:41] It gets a PHP error and an internal server error [16:39:47] what php error? [16:40:16] It's an error with mk_dir() in GlobalFunctions.php on line 1649 [16:40:25] are your permissions set right? [16:40:28] It looks like it's got a CHMOD error [16:40:30] prolly not [16:40:40] images is set to 755 [16:41:15] is it recursive? [16:41:20] ? [16:41:40] Is there a way to configure mediawiki to not automatically produce redirects instead of pages which have been moved? [16:42:57] If by recursive you mean it happens continuously, it is. [16:43:44] it should go down to each subfolder [16:44:20] Yeah, I recursed it, but there are some old directories that won't be removed [16:44:47] And it won't make any new directories. :\ [16:45:09] http://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Check_directory_security [16:45:26] I'll take a look [16:45:50] or for all I care disable redirects completely? [16:46:01] I did that already [16:46:28] Here, try uploading a file and see what you get [16:46:29] http://teamhedgehog.recoding.net/wiki [16:46:39] kaos_nk2: not aware of a variable for that [16:46:42] let me check [16:46:54] thsnkd [16:46:57] thanks* [16:47:50] no, you'd have to tweak specialmovepage.php [16:47:58] The problem is that the image uploader used to work. [16:48:11] API can do that per move per choice though [16:48:12] alright [16:48:27] API? [16:48:44] You must be logged in to upload files. [16:48:45] hi is anybody from germany here [16:48:46] :p [16:48:54] kaos_nk2: meh, not important :) [16:49:09] ? [16:49:09] alright :D [16:49:13] I am logged in [16:49:16] Armada: I am not ;) [16:49:16] It's my wiki. :\ [16:49:34] XD [16:50:24] custom namespaces add quite a lot of flexibility [16:52:27] Hm, it appears it's making the directory, but failing to write the file. [16:53:51] Nope [16:53:53] it's not [16:54:12] Oh wait [16:54:15] It is... >_> [16:54:31] It just lacks the acctual image file [16:55:16] can I define something like aliases in mediawiki? [16:55:30] similar to the way the interwiki-links work [17:02:03] The PHP file seems to be fine, so I don't understand why I'm getting this error. [17:05:58] how big is the database once it was completely exported from pages-articles.xml.bz2 ? [17:09:09] the internal error throws "Could not create directory "public/archive/a/ac". [17:09:34] My upload directory is images [17:09:41] Is this the problem? [17:10:18] Almost, it's not writable now. :P [17:13:45] does anyone know ? [17:32:25] Ok, so I have a new problem now, it seems the subdirectories aren't CHMODing properly now [17:32:33] They only CHMOD to 410 [17:37:15] I fixed it now [17:48:36] Greetings how do I make a TOC in an article? [17:49:58] __FORCETOC__ [17:50:01] ZaphodBeeblebrox, make a couple of headers [17:50:41] By Headers you mean using == ==, === ===, etc, right? [17:50:46] yes [17:51:10] Ah, found the related help page [17:51:11] :) [18:01:49] is it possible to make TOC's for sub-sections? (for instance: every = h1 = generates a TOC for everything under it) [18:04:04] Not according to the help page. They comment in there that nested TOCs are no longer supported [18:04:51] ZaphodBeeblebrox, link? [18:05:10] Wiredtape: just a sec [18:06:07] Wiredtape: http://meta.wikimedia.org/wiki/Help:Section [18:07:19] Wiredtape: Sorry, they talk about multiple TOCs, not nestedm altho I suspect it ends up meaning the same [18:15:05] ZaphodBeeblebrox, thx [18:15:22] np [18:51:02] hi [18:51:19] does mediawiki have a possibility for seeing impaired persons to register a user? [18:51:35] which is safe enough to be configured at wikipedia? [18:52:11] are you asking if mediawiki is blind people friendly? so they can register and contribute? [18:52:54] soloturn: By default MediaWiki can be used with a screen reader. [18:53:04] And that can be used to register an account, if desired. [18:53:29] well, I suppose all websites have a possibility of being used with a screen reader, but MediaWiki would certainly be more reliable. [18:54:21] except one thing: it uses a captcha instead of a textcha for detecting if you are human. [18:55:05] That is not enabled by default. [18:55:50] can you enable a textcha? [18:56:02] i mean, how can you enable a textcha? [18:56:27] You must install an extension. [18:56:42] There is a math version of the captcha, which is probably sufficiently secure. [18:57:10] !captcha [18:57:10] --mwbot-- For more information about CAPTCHAs and MediaWiki, see . [19:00:37] http://moinmo.in has a quite good textcha and with this does not block out seeing impaired people .... [19:01:50] is confirmedit too weak to be used on wikipedia? [19:03:57] soloturn: There are different forms of captcha that can be chosen from, Wikipedia uses the image one; however for your wiki you could get a math one. [19:04:39] the goal of my question was to change the wikipedia one ... [19:04:57] Well then you are asking in the wrong place. [19:05:07] You shoudl try #wikimedia-tech [19:05:24] not sure ... i thought i first ask what is possible :) [19:05:43] A math-based version is possible. [19:06:22] moinmoin uses site configurable questions and considers math based questions as not sufficient .... http://moinmoin.wikiwikiweb.de/TextCha [19:06:42] which would be even easier to configure on wikis with large communities like wikipedia [19:07:35] Well, such a system does not exist for MediaWiki. [19:10:36] would it make sense to post a feature request? or whom should one ask? [19:11:40] 03(NEW) Correcting edit summaries (if own, last, & recent) - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13937 15enhancement; normal; MediaWiki: General/Unknown; (oq9pscb02) [19:26:38] what a good wysiwyg editor for mediawiki [19:27:23] hello [19:27:39] !fckeditor [19:27:39] --mwbot-- I don't know anything about "fckeditor". [19:29:12] i would like to add a think to alow people to post without have to now all the fancy coding and stuff [19:31:58] is there a add on or how would i make like my forum login be the same as the media wiki login [19:33:52] I want an request: If you are admin or higher on your main account, then you are automatic autoconfirmed on any account [19:35:56] what a good wysiwyg editor for mediawiki? [19:36:44] the only I can think of is wikiEd [19:37:07] how to delete an user? [19:37:30] practically impossible [19:38:18] leonardo: an revision must always have an user attached [19:38:40] understand [19:39:04] if an user hasn't made any edits at all, you can remove the user, but you must do it manually via the db [19:39:23] understood [19:39:44] but there's option to remove revisions [19:39:46] !deleteuser | leonardo [19:39:46] --mwbot-- leonardo: Deleting users is very messy and not recommended, because this breaks referential integrity in the database (they appear in many different tables like users, edit histories, recentchanges, preferences, etc). A safe solution is to block the users, and possibly rename them with . You can also try [19:39:50] with extensiom [19:43:41] where do i ger wikiEd [19:43:44] get [20:01:56] VasilievVV: ping :) [20:02:49] Filnik: pong [20:03:26] VasilievVV: ← this token, in the email's function of wikipedia, is always the same or it changes in oder to prevent spam or something? [20:03:52] VasilievVV: because people want an email when the bot find that there's something wrong with their uploaded images.. :| [20:04:17] Edit tokens are generated based on session [20:04:41] They are the same for one session [20:04:53] VasilievVV: uhm.. are they the same also for other pages? [20:05:06] hi, i installed the ConfirmAccount extension, but it never seems to get used. I have $wgEnableEmail=true; [20:05:09] VasilievVV: (so maybe it's already handled by pywikipedia as default..) [20:05:26] i also created the necessary MySQL tables [20:05:35] They are same for all pages (but it's not guaranteed in future) [20:06:10] VasilievVV: uhm.. ok :) and... last thing.. can I use an API to send emails that you know or not? :) [20:06:25] No [20:06:35] It isn't in write API [20:06:40] VasilievVV: ok, thanks for all :) [20:06:43] (iirc, not sure) [20:06:45] how can i go about debugging this email confirmation problem? [20:06:48] lemme check [20:07:12] Sure, there isn't one [20:11:28] helloooo [20:16:34] 03(NEW) implement textcha to make vision impaired people same class citizens - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13938 15enhancement; normal; MediaWiki: User interface; (soloturn) [20:18:47] so, the ConfirmAccount special page does not even show up [20:19:09] err RequestAccount [20:21:55] bah, I had "include_once('$IP/extensions/...');" so it didn't expand $IP! [20:40:26] Would someone with power please take a look at this wiki http://wiki.okopipi.org/wiki/Main_Page spammers as using it as there own personal forum. [20:42:47] Irony aside its hard to keep blanking pages with out any admins left who are active. The project is dead and just needs to be shutdown [20:46:02] damgood85: someone with power? [20:46:06] damgood85: power to do what? [20:47:36] damgood85: did the wiki every have any real content in it? [20:48:46] ya [20:48:51] gimme a few [20:48:58] damgood85: can't you just disable edits then? [20:49:07] im not admin [20:49:12] oh [20:49:26] they all went inactiv a long time ago [20:50:09] it was a spam fighting progect... a replacment for blue frog [20:50:17] zing [20:50:20] but id died [20:50:25] it* [20:54:48] k, fire in the hole. ;-) [20:55:37] what did you do? [20:56:19] Tito's a bot, it'll walk through and get rid of all the link spam [20:56:40] thanks [20:56:49] np [20:57:44] is the wiki active? [20:57:51] outside of the spambots? ;-) [20:57:53] not for a wile [20:58:05] 03(NEW) Setup new group @ hr.wikipedia - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13939 15enhancement; normal; Wikimedia: Site requests; (dalibor.bosits) [20:59:58] its been months since the last real post [21:01:09] lol, where did the original main page go? [21:01:52] been gone for months i cant find it in the history [21:05:34] there i found an old ver of the main page [21:08:39] well, it's clean. [21:09:09] but since it's not active, i can't actively keep it clean [21:10:15] nor can i is there any place i can report it and get it closed down? ar is there any one that can turn off edits? [21:10:29] nope. Gotta find an admin on their server [21:10:50] hmm, that'd be an interesting feature... have the wiki auto-lock from editing if none of the sysops have been on for more than three months (of course if a sysop logs in, it auto-unlocks) [21:11:17] ;-) nobody would turn that feature on [21:11:39] the absentee landlord feature [21:11:43] i suppose, perhaps as an extension though, since it would more than likely require a schema change [21:11:53] naaa [21:12:20] test files ftw [21:12:24] *text [21:12:29] :P [21:12:35] that would work too [21:12:41] actually [21:12:44] you could be all sneaky [21:12:55] and just touch a file every time a sysop logged in [21:12:59] an edit hook whereby the last edit made by a sysop is checked against current timestamp [21:13:00] 03(mod) Implement TextCha as more accessible CAPTCHA for vision impaired people - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13938 +accessibility; summary (10danny_b) [21:13:19] ya, and a simple touch would handle the timestamp [21:13:33] wouldn't even need that, although it might be faster [21:13:54] but what about those that set it so their session never expires... [21:14:42] eh, you could just do it on every sysop view. ;-) [21:14:49] yeah [21:14:57] a touch is pretty trivial [21:15:08] ew [21:15:12] you don't want that [21:15:13] *Skizzerz debates whether anyone is even going to bother getting the extension before he writes it... [21:15:21] yknow that watchlist touched feature? [21:15:32] prevents you viewing pages on your watchlist if the db is locked [21:15:45] i have no idea what you're talking about [21:15:53] oh [21:16:03] ya, I gotcha. [21:16:15] it styles pages in your watchlist if there are new changes since you last viewed that page [21:16:18] and I didn't know that [21:16:21] green background IIRC [21:16:28] disabled on wmf [21:16:30] someone should fix that. ;-) [21:16:33] yeah [21:16:37] {{sodoit}} [21:16:45] {{imtoolazy}} [21:16:46] you brought it up! [21:16:56] so a touch-on-view is a bad idea in any case [21:17:02] pfft [21:17:03] a touch on edit is fine [21:17:07] sounds like a great idea to me [21:17:09] in fact, you wouldn't even need a touch [21:17:11] touch a file [21:17:29] just set the rc table length to the lengh of the span allowed to edit without sysops [21:17:40] and every edit, check the rc table for a sysop edit or log action [21:17:48] check the rc table? [21:18:05] just touch a zero-length file in the extension's folder [21:18:14] one every view [21:18:21] no, that would be bad [21:18:22] then check that timestamp on edit requests [21:18:31] touch-on-view == bad [21:18:45] why? [21:18:50] ... [21:18:53] didn't I just splain? [21:18:58] no [21:19:00] yes [21:19:16] but trust me, it is bad [21:19:18] you said something about running a db query [21:19:19] *Skizzerz doesn't see how adding a touch-on-view would make things slower... [21:19:26] *TimLaqua doesn't either [21:19:28] well, what about cache? [21:19:38] what about touching a file in the file system? [21:19:40] ;-) [21:19:43] touch on edit or log action, or prefs change... maybe acceptable [21:19:46] touch on view, bad! [21:19:55] true enough though, cache bypasses that [21:20:33] well... i suppose it depends on where you hooked [21:20:49] or just don't do it [21:20:54] pfft [21:21:00] touched on edit is fine! [21:21:04] why wouldn't it be? [21:21:12] for sysops that never edit [21:21:13] ;-) [21:21:18] then they are useless [21:21:22] touche. [21:21:24] and you don't want to rely on them [21:21:41] but as before, why not the rc table? [21:21:49] leave the poor DB alone ;-) [21:22:12] that's a lot of hooks to check :P [21:22:15] tell that to mediawiki in general [21:22:25] 03(NEW) Closure of inactive projects - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13940 15enhancement; normal; Wikimedia: Site requests; (vasilvv) [21:23:34] ok, so hook the touch into RecentChange_save and the checks into the hooks before the form gets shown for editing/moving [21:23:53] id' hook one of those ArticleAfterSomething hooks [21:23:55] ;-) [21:24:56] call it "AbsenteeLandlord" [21:25:36] :D [21:26:40] well, it'd only have to happen once... then you could set group permissions ['user']['edit'] = false for all future edits until a sysop came back [21:26:55] or just set $wgReadOnly [21:28:06] and how would a sysop edit then? heh [21:28:21] they'd unlock the db, try to edit.. but if someone else tried to edit before them... [21:28:23] well, it wouldn't set readonly for the sysops. ;-) [21:28:34] it would be stateless [21:28:54] like ever request would have an opportunity to be readonly or not readonly [21:29:10] ew [21:29:20] so no one could even update their prefs or watchlist [21:29:21] bad [21:29:22] ;-) that's how *all* the extensions work. [21:29:53] no sysops = dead wiki [21:30:03] oo [21:30:14] it would bar spambot account creation too [21:30:17] ingeneous. [21:30:23] you're saying all extensions use $wgReadOnly? [21:30:27] no [21:30:37] i'm saying all extensions make decisions on a request by request basis [21:30:53] I don't know of any that use readonly. ;-) [21:31:04] sounds dangerous and slightly crazy. [21:31:05] well... [21:31:15] but cool nonetheless [21:31:52] *Splarka puts tim in a special padded coding room to work on it [21:32:04] *TimLaqua thinks Skizzerz is already working on it [21:32:10] yep [21:32:20] better to disable editing by group, I'd think [21:32:27] sounds like a pita. [21:32:28] probably *, user, autoconfirmed, etc [21:32:46] you could just enumerate through $wgGroupPermissions [21:32:51] and quash everyone. [21:33:16] but that doesn't hold those goofy implicit groups [21:33:24] $wgReadOnly is my vote [21:33:25] ;-) [21:33:34] yah, but touch-on-view was your vote too [21:33:40] touche again! [21:33:43] *TimLaqua grins [21:33:54] the majority voted for George W (not the popular), doesn't make him right! [21:34:04] there was a lockdown extension written for Wikia, not sure if it still works (was 1.8) [21:34:24] Spl: ProtectSite? [21:34:26] but it was a Special: form that let you edit the live group permissions on a purely temporary basis (maybe memory only) [21:34:32] ya [21:34:36] ProtectSite [21:34:44] I don't think there was any db access or file touching involved [21:34:47] yup, ProtectSite...it's in wider use nowadays ;-) [21:34:51] crazy [21:35:01] that came about between a conversation between myself, GreenReaper, and wolf [21:35:13] "hey, what if..." "yeah, you could do it by..." "oh, I'll write it..." [21:35:14] Splarka: also, Nef told me to bug Artur (ops guy) more to get the public SVN...gotta do that one day ;-> [21:35:24] yah, good luck with that Jack :/ [21:35:39] *Splarka hands you a wiffle bat [21:35:43] heh, that's gonna be needed...but still [21:35:49] I mean, they released SocialProfile and all [21:35:54] that was quite a major step [21:36:05] (well, it's still a tad bit b0rken...but ignoring that fact...) [21:36:20] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SpamRegex/ [21:36:34] *Charitwo throws a wiffleball at Splarka [21:37:01] 15 months ago... big step, but almost no walking since [21:37:11] 03(NEW) New Ajax-seach obscures GO + SEARCH buttons. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13941 15enhancement; normal; MediaWiki: Search; (bugzilla.wikimedia) [21:37:15] Spl: http://mediawiki.org/wiki/Extension:ImageTagging [21:37:16] and [21:37:24] http://mediawiki.org/wiki/Extension:SocialProfile [21:37:33] and spamRegex is b0rken on 1.12 or greater [21:37:43] and regexBlock too -- some hook fails to return a value [21:37:46] indeed [21:37:49] (though I do see a return in there, annoying) [21:38:02] Wikia's level of commitness to the releases... not so good [21:38:06] http://www.mediawiki.org/wiki/Category:Extensions_by_Wikia%2C_Inc. -- agreed [21:38:21] but public pressure might be good enough to make them release something more ;-> [22:14:28] whee, that's done but it follows practically no conventions in terms of localisation xD [22:20:48] heya Wiredtape :-) [22:20:57] Skizzerz: that's good, it'll fit in w/ the rest of the extensions. [22:21:01] ;-) [22:21:22] TimLaqua: I have the code here if you want to look it over: http://cabal.pastey.net/87152 [22:21:59] I didn't feel like making it multiple files, so I just threw everything into the one [22:23:48] Skizzerz: it's beautifully simple. ;-) [22:23:52] ty [22:24:00] want me to standardize it and commit? [22:24:13] if you want to, go ahead :) [22:24:39] u wanna write up the Extension: page? [22:24:52] sure [22:24:53] I'll throw in a url arg to Extension:AbsenteeLandlord [22:25:00] oduh >_> [22:26:00] TimLaqua: feel free to add yourself to the authors under extensioncredits [22:28:04] k - haven't svnup'd in a while. ;-) [22:28:25] you have commit access, right? [22:28:55] yes [22:29:34] hmm... this thing needs to exclude sysops in the $wgReadOnly check [22:29:40] otherwise they'll lock themselves out [22:29:46] sound good? [22:30:13] sure, but idk how you'd manage that without hooking it into something. $wgUser isn't defined at that point [22:31:59] 03leon * r34186 10/trunk/ (8 files in 7 dirs): German localisation updates, patch by ray. [22:32:27] oh, good point, you did it inline [22:32:32] hmm... [22:33:20] wait, I got another idea [22:33:40] 03(mod) New Ajax-seach obscures GO + SEARCH buttons. - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13941 +comment (10rainman) [22:34:06] Skizzerz: how about I just have it run as in a basic extension setup func? [22:34:17] $wgUser is initialized then [22:34:22] hmm? [22:34:32] lemme make changes and commit quick [22:34:34] gimme 5 [22:34:38] sure [22:47:00] 03dale * r34187 10/trunk/extensions/MetavidWiki/ (9 files in 5 dirs): improved transcript display and selection in remote embedding of video clips [22:48:39] ok, maybe more than 5 [22:48:52] 03tlaqua * r34188 10/trunk/extensions/AbsenteeLandlord/ (. AbsenteeLandlord.i18n.php AbsenteeLandlord.php): New Extension - Auto-locks the wiki database if the sysops are all inactive for some time [22:48:57] I didn't get a chance to test it - might need some little tweaks [22:49:15] bbl, dinner. ;-) [22:49:29] Does the current software allow non-admins to be given the ability to semi-protect articles? [22:49:47] MZMcBride: if you want to code an extension for it, sure :) [22:50:01] _Current_. :P [22:50:05] In core, I mean. [22:50:08] uh, then no [22:50:19] Hrm. Is all protection one right? [22:50:32] i think it can be modified [22:50:34] although that bug needs to be fixed... currently users can protect over the level they can edit at [22:50:54] I guess we'd have to split the protection right into full-protect and semi-protect. [22:50:57] so if you set ['user']['protect'] = true;, they could fully protect pages and yet not be able to edit/unprotect them afterward [22:51:18] *MZMcBride goes off to Bugzilla. [22:51:44] My thought is that it'd be nice if autoconfirmed users were able to semi-protect articles. [22:52:37] argh [22:52:50] google went and fucked up their gmail [22:54:03] ;-) [22:54:16] 03tlaqua * r34189 10/trunk/extensions/AbsenteeLandlord/lasttouched.txt: Whoops - forgot a pretty important file. ;-) [22:54:20] LeonWP: ahem, conflicts in r34186 [22:54:33] TimLaqua_away: well, touch() auto-creates it if it doesn't exist :) [22:54:40] 03(NEW) Allow autoconfirmed users to semi-protect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13942 15enhancement; normal; MediaWiki: Page protection; (MZMcBride) [22:54:41] doh [22:54:45] ;-) bbl [22:54:46] zomg wikibugs. [22:54:54] Nikerabbit, what conflicts? [22:55:18] +<<<<<<< .mine [22:55:19] +'confirmemail_text' [22:55:20] blaa [22:55:32] *Skizzerz svnups so he can get the info needed to finish the ext page [22:55:35] ah, on your end :) [22:55:45] LeonWP: no [22:55:48] LeonWP: you committed that [22:55:53] oh. [22:55:59] MZMcBride: wtf [22:56:08] Hm? [22:56:35] Is that idea crazy or something? [22:56:46] recoment WONTFIX|INVALID on that one ツ [22:56:58] Why? [22:57:45] wheelwar magna [22:57:59] There are other projects besides the English Wikipedia. [22:58:09] what you ask is also fragile... [22:58:23] also, how would that support wgProtectionTypes? [22:58:41] $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop' ); [22:58:45] er, that [22:58:53] MZMcBride: would they also be able to unprotect semiprotected pages? [22:59:03] it'd blow up if someone used a 4th protection level [22:59:04] I suppose so, yes. [22:59:17] Splarka: That code has always been fragile. [22:59:20] yes [22:59:30] but you are putting a buffalo among it with your request [22:59:31] I think there's even a note somewhere saying that it's fragile. [22:59:36] it is safely locked in a china shop currently [22:59:38] (which /me does on his wiki... $wgRestrictionLevels = array( '', 'autoconfirmed', 'sysop', 'steward' ); ) [23:00:11] 03leon * r34190 10/trunk/phase3/languages/messages/MessagesDe_formal.php: Removing a conflict that's been commited by accident. Thanks to Nikerabbit for the hint. [23:00:18] So... find another solution. :) [23:00:35] But I don't see anything wrong with the idea of allowing non-admins to semi-protect. [23:00:40] Nikerabbit, thanks. [23:00:55] MZMcBride: think in a content dispute between an confirmed and an unconfirmed... [23:00:57] MZM: because there is only one protect right [23:01:04] if you split it you'd have to split it infinitely, not just once [23:01:05] So split the right. [23:01:19] because the protection levels are not static at "2" [23:01:39] Wildcard it? [23:01:41] it'd be a non-trivial overhaul of the whole protection system [23:01:52] Which seems sorta needed anyway. [23:02:17] have werdna fix cascading protection to work for semi? [23:02:28] Allow multiple expiries. [23:02:28] then any autoconfirmed can transclude it to a semi protected page ^_ [23:02:32] ew [23:02:34] *Splarka stabstabs [23:02:47] We need multiple expiries. [23:02:49] and allow different expiry time for move protection and edit protection? haha [23:02:51] why? [23:02:58] 03leon * r34191 10/trunk/phase3/languages/messages/MessagesDe_formal.php: And another german localisation update. [23:03:06] For the Administrator's noticeboard, for example. [23:03:10] soon the protection system will be a scripting language [23:03:17] Splarka: hehe [23:03:18] Random IP vandalism causes semi-edit-protection. [23:03:21] no, seriously [23:03:27] Splarka: don't forget create protection also [23:03:31] indeed [23:03:40] But we can't have an expiry for the edit restrictions, as that will allow vandals to move AN when it expires. [23:03:44] aza: and selection on if create protection translates to autoconfirmed protection upon creation [23:03:56] 03skizzerz * r34192 10/trunk/extensions/AbsenteeLandlord/AbsenteeLandlord.php: bugfixes [23:04:07] Splarka: yea [23:04:14] 03(WONTFIX) Allow autoconfirmed users to semi-protect - 10https://bugzilla.wikimedia.org/show_bug.cgi?id=13942 +comment (10JSchulz_4587) [23:04:20] YES!!!! [23:04:31] All hail to Shultz [23:04:49] *MZMcBride bites AaronSchulz. [23:05:04] sheesh [23:05:08] Power to the people, dammit! [23:05:16] you'd think this was [major sporting league] instead of mediawiki bugs [23:05:30] "I reeeally don't see the point in this" ツ [23:05:32] Aza: better do an "in your face" victory dance at MZM [23:05:41] MZMcBride: in yee fase [23:05:54] ツ [23:06:07] MZMcBride: don't be sad [23:06:11] don't cry [23:06:12] sigh [23:06:39] could be worse, could be a request for per-user-per-page protection [23:06:40] Admins are too powerful. And it gets worse with every new right. :/ [23:06:49] new right? [23:06:56] or per-user-per-page blocking... hmm [23:06:58] We get new ones monthly. [23:06:59] what new right have we gotten the last centry? [23:07:03] would it be protection or blocking? [23:07:40] protection would be giving the ability to protect pages on a per-user-per-page basis. blocking would be preventing users from doing stuff on a per-user-per-page basis (imo) [23:08:05] well, no, I mean [23:08:10] protection stops editing of a page [23:08:14] blocking stops editing of a user [23:08:22] but what if you want to stop editing of 1 page for 1 user? [23:08:31] would it be called protection or blocking? [23:08:39] or 'restrictions' [23:08:40] Splarka: I would want to be able as an admin to create an temporary group and be able to place people in that group, and assign specific restriction to that group [23:08:51] heh [23:09:15] and I as admin want the ability to enable intentionCaptcha that only allows good edits through [23:09:25] for example, the group as whole may only do n edits per day on a specific page etc... [23:09:27] backed by a staff of 10,000 humans checking each potential edit [23:09:31] we can't always get what we want [23:09:36] AzaTht: http://en.wikipedia.org/wiki/Special:ListGroupRights [23:09:44] Seem a little off-balance? [23:10:15] MZMcBride: and? [23:10:24] More power to the people! [23:10:38] "Submit a trackback"? [23:10:43] wtf is an trackback? [23:10:51] *MZMcBride has no idea. [23:10:59] *Splarka points out again the flaw in that list [23:11:11] ['user'] has "Overwrite an existing file uploaded by the same user" [23:11:17] but not "Upload files" [23:11:20] hehe [23:11:20] ... pointless wot [23:11:26] That's intentional. [23:11:29] why? [23:11:39] We don't allow non-autoconfirmed uploads. [23:11:41] Splarka: that's true [23:11:47] ... [23:11:53] autoconfirmed can upload new files [23:11:57] so why give users the ability to overwrite their own? [23:12:01] Only on Commons, though. [23:12:02] but it's a bit wrongly written [23:12:02] when they can't have ever uploaded one to begin with? [23:12:33] Splarka: hmm [23:12:37] true [23:12:50] the only possible universe this might make sense in.. [23:13:03] is one where the autoconfirmed right is removed for some reason, say after a block [23:13:40] but I don't think that is possible without a schema change [23:13:49] a user table row "seconds since last block" or something [23:13:54] but what's an trackback? [23:14:05] AaronSchulz: you know? [23:14:12] lets check the big board [23:14:22] big board? [23:15:05] but yea, that list makes little sense [23:15:13] Splarka: and the 'suppressredirect' right only works when moving with the API, even though write-API isn't enabled [23:15:46] when is write-API going to get activated? [23:15:49] I'm waiting... [23:16:10] MrZ: well, that at least has future potential [23:16:24] the problem is, of course, in open sourcing this stuff [23:16:38] security through obscurity means more than teeming millions finding bugs [23:16:49] you get them pointing out unimportant flaws like this ^_^ [23:16:58] (not the code, but their settings) [23:17:05] Splarka: uh? [23:17:12] "uh?" what? [23:17:17] AzaTht: a trackback is a blog thing: you write about another blog post in your blog, it adds a comment saying so to theirs [23:17:17] what you talking about? [23:17:23] AzaTht: now you can do that to mediawiki pages as well [23:17:45] I am talking about giving user 'reupload-own' or whatever it is [23:17:46] flyingparchment: how? [23:17:54] ok [23:17:57] we didn't know that before Tim synched noc.wikimedia.org/conf [23:17:57] AzaTht: using the 'add a trackback' link on pages where the feature is enabled [23:18:38] (and the Special page MZM linked to made it much more visible) [23:18:39] flyingparchment: it's not activated on en I assume [23:18:40] Check user's IP addresses and other information [23:18:43] that should say "users'" [23:18:55] AzaTht: it's off by default, and not enabled on wikimedia because it would be spammy and pointless [23:19:03] I see [23:19:07] hi, where to get templates for mediawiki? [23:19:08] mmm, spammy and pointless [23:19:15] a bit like white_cat [23:19:16] flyingparchment: just that http://en.wikipedia.org/wiki/Special:ListGroupRights lists it [23:19:23] hehe [23:19:30] AzaTht: the right is still there.. just the feature is turned off [23:19:53] flyingparchment: useful right then ツ [23:20:01] it's useful if you use trackbacks [23:20:08] same for "Have edits automatically marked as patrolled", I believe patrolling is off for most wmf projects still, non? [23:20:22] Splarka: a few notable ones have it, mostly wikibooks iirc [23:20:44] enwiki uses it for newpages [23:20:49] 'wgUseRCPatrol' => array( [23:20:52] in http://noc.wikimedia.org/conf/InitialiseSettings.php.html [23:21:05] haha, 'Be treated as an automated process' [23:21:06] like that users have the following right: Create discussion pages, Create pages (which are not discussion pages) [23:21:10] that's the awesomest right ever [23:21:18] domo arigato [23:21:22] flyingparchment: yea [23:22:13] "Overwrite an existing file"? [23:22:20] for sysops [23:22:29] what does that imply? [23:23:27] 'reupload' [23:23:30] aha [23:23:32] note autoconfirmed have it too [23:23:40] but not 'reupload-shared' [23:23:54] eg "Override files on the shared media repository locally" [23:25:03] devs: "Lock and unlock the database" [23:25:11] didn't know they did that via the wiki interface [23:25:20] they dont [23:25:34] the 'developer' group is a historical oddity that has absolutely no purpose [23:25:44] I see [23:25:47] http://en.wikipedia.org/wiki/Special:LockDB [23:25:53] there is a wiki interface for it [23:26:00] just not used much ^_^ [23:26:10] flyingparchment: think you could change the devs right to "Be treated as an automated process" [23:26:30] "have shit flung at them by users" [23:26:37] :/ [23:26:41] that would be funny, but some people actually have that right assigned, i don't think i should turn them into bots [23:26:52] hehe [23:27:25] flyingparchment: isn't devs turing machines connected to the irc server? [23:27:31] http://en.wikipedia.org/wiki/Special:ListUsers/developers/developers/developers/developers/developers/developers/developers/developers [23:28:06] Splarka: accept this cane Ԇ [23:29:13] Charitwo: accept this ☭ [23:30:35] 𐂁 [23:30:47] i'll pass :) [23:34:20] AF⌨ [23:35:00] . o O (sometimes it is good to not have unicode support on irc) [23:36:07] *Splarka wonders when they'll add support for a goatse glyph... heh... U+6OA75E [23:36:22] ... ... ... [23:36:24] no comment [23:38:42] Splarka: hehe, that's intresting [23:39:24] that's pretty at the end of unicode [23:40:13] Splarka: the last entry I can see in unicode is U+10FFFD [23:40:24] the last entry of private area B [23:40:28] Unicode is 21-bit [23:40:53] flyingparchment: uh? [23:41:11] *Splarka wonders what the unicode symbol is for "sense of humor" [23:41:40] Splarka: dunno [23:41:52] perehaps I don't have the same humor as you [23:42:47] U+6OA75E U+GOATSE [23:43:06] *Splarka smacks Aza with a leet bat [23:43:40] aha [23:43:45] *AzaTht no hable leet [23:44:37] the nearest I could find is 𐃂 [23:45:13] U+0D94 [23:46:47] http://www.decodeunicode.org/en/data/glyph/26x26/0D94.gif [23:47:19] damn you internets [23:51:14] http://www.decodeunicode.org/en/u+100c2 [23:51:22] that one I used [23:54:26] heh