[03:08:42] TimStarling: hey, can you took a look at https://gerrit.wikimedia.org/r/306554 ? [03:10:11] ok [03:10:37] 35 patchsets [03:11:36] I've grown found of the gerrit "edit" button [03:11:55] one of the things I DO like about the new GUI [03:18:07] "For redirects emitted after changes in POST" -- does this mean normal page saves? [03:19:51] yes [03:38:36] $store = $this->store; [03:38:40] $store::TTL_DAY [03:38:47] does that even work? [03:39:06] * TimStarling tries 3v4l [03:40:44] apparently since 5.3 [03:41:27] not mentioned on http://php.net/manual/en/language.oop5.paamayim-nekudotayim.php though [03:49:33] it's used all over the place in MW [03:52:29] hmm, I wonder why I didn't just give a "return as string" parameter to OutputPage::output [03:52:50] TimStarling: " As of PHP 5.3.0, it's possible to reference the class using a variable. The variable's value can not be a keyword (e.g. self, parent and static). " ? [03:54:59] yeah, but it's an object, not a class name [03:57:40] reading the manual, you would think it would be [03:57:51] $class = $this->store::class [03:57:56] $class::TTL_DAY [03:58:08] or something [03:58:44] meh, I was never a fan of LSB [04:02:31] ah [04:13:54] I have a comment! [04:15:30] now I can go back and nitpick on comment grammar without feeling bad [04:22:00] * AaronSchulz goes off for groceries [04:45:27] done [05:28:47] TimStarling: funny, every time I tested it, I get the parameter and right debug comments...so newFromUrl() must be....ahh nevermind [05:29:24] * AaronSchulz might have to make a new function [05:32:19] TimStarling: oh, here's another patch: https://gerrit.wikimedia.org/r/#/c/309918/2 [10:11:31] anomie: I was thinking about having edits that change the content model have a change tag so it's obvious in the revision history...but looking through ChangeTags, I don't see how to define a core change tag? Can I just add it to the list in listExtensionDefinedTags() ? Does it matter whether a change tag comes from core or an extension? [13:14:21] legoktm: Are you asking about accessing ParserOptions from an on-wiki module or from an extension-provided library? If the former, not currently but we could theoretically add it. If the latter, sure, there's even Scribunto_LuaLibraryBase::getParserOptions() to easily access it instead of ->getEngine()->getParser()->getOptions(). [13:24:31] legoktm: I think we may have forgotten to put in a real mechanism for core-defined tags. Adding them to the return value from listExtensionDefinedTags() would have the right behavior, if not exactly the right semantics. At one point I believe Cenarium was trying to add core-defined tags along with a lot of other changing-around of things, although I stopped paying attention to that a while ago. [21:31:40] anomie: from a Scribunto-provided library...I need to update one of the nowiki functions for https://gerrit.wikimedia.org/r/#/c/309528/ [21:43:31] anomie: can you merge https://gerrit.wikimedia.org/r/#/c/306133/ if you have no further concerns? I'd like to get it on next train, see if it unbreaks pwb compat login [23:52:26] xmfwiki [23:52:26] ------------------------------------- [23:52:26] Resetting user_token for "Anomie": OK [23:52:33] haha