[03:25:25] "Articles with invalid date parameter in template" appears at the bottom of https://moasspedia.org/wiki/List_of_ape-made_music and I'm trying to figure out where the invalid date parameter is coming from to fix it. [04:44:04] hi question: looking into making an extension that allows you to have alternate names for pages, which are different from redirects in that the page url or title doesn't change or show "redirected from" and instead the just the content is transcluded [04:44:18] which hook would make the most sense to implement this in? i'm not super familiar with mediawiki [04:45:22] you could just create the page for real and transclude the other page? [04:45:28] imagining you'd create a page with content like #ALTNAME [[Other name]] and this would basically transclude the content [04:45:48] I suppose you could just write a transclude instead of having to make a whole extension [04:46:28] but also with an extension you could put an "alternate name for" where the "redirected from" thing goes, make the edit button recommend editing the canonical name, etc [04:48:33] yeah, definitely [04:49:12] I'd recommend just using a parser function, like {{#altname:Other name}} [04:49:27] https://www.mediawiki.org/wiki/Manual:Parser_functions [04:50:13] that seems slightly imperfect since nothing would stop you from adding more to the page beyond invoking the parser function, right [04:52:43] yes and no [04:52:59] yes in that a parser function can only control its own output [04:53:17] but you could also just add a marker at the end of the parser function and post-process the output to delete anything after that marker [04:54:01] would also want to query for whether a page is an alternate page for the aforementioned edit view customization [04:54:09] not sure the best way to make that work [04:55:04] you can have the parser function set a page property if it's used [04:55:13] $parserOutput->setProperty(...) [04:55:19] and then it can be queried using the PageProps class [04:55:44] til page properties are a thing [04:55:49] actually where's the documentation on them? [04:55:54] https://www.mediawiki.org/wiki/Manual:Page_props_table has some meh docs [04:56:57] ah this definitely seems like an appropriate place to store the canonical name [04:58:38] yep [05:18:04] wondering about using https://www.mediawiki.org/wiki/Manual:Hooks/ParserBeforeInternalParse but replacing $text and returning true