[01:06:32] hi, i have a problem using parser functions for date formatting on wiki. I want the following both results: [01:06:37] {{#somefunction:Y○ n◇ j△|2021-01-05}} → 2021○ 1◇ 5△ [01:06:41] {{#somefunction:Y○ n◇ j△|2021}} → 2021○ [01:08:16] I tried using `{{#time:Y○ n◇ j△|2021}}`, but it returned `2021○ (this month)◇ (today)△`. [01:09:04] how do I handle this? [01:51:24] I've done it with a template (https://femiwiki.com/index.php?oldid=228079&action=raw) [14:35:12] hi, is there a static site generator for wikitext, or attempts for it? [14:36:47] including support for templates, of course :) [15:29:10] Lens0021: Middleman with wikicloth template engine, might be what you're looking for [15:29:13] https://middlemanapp.com/advanced/template-engine-options/ [15:58:13] mjt: WikiCloth is an engine for MediaWiki. cool. I'm going to read the manual. [16:28:59] Lens0021: https://github.com/nricciar/wikicloth seems to be the library they use [17:06:56] https://usercontent.irccloud-cdn.com/file/4Fjor4lf/dan.PNG [17:07:05] anyone knows how i can prevent these results from duplicating [17:08:17] Is one a redirect? [17:08:32] no [17:08:38] both the same page [17:08:51] The page titles are clearly different [17:08:58] as are the URLs [17:10:10] https://moviepedia.miraheze.org/wiki/S.W.A.T._(2017_TV_series) [17:10:51] https://moviepedia.miraheze.org/wiki/S.W.A.T._(tv_show)_2017- doesn't seem to exist though... [17:12:03] https://moviepedia.miraheze.org/wiki/Special:Log?type=&user=&page=S.W.A.T.+%28tv+show%29+2017-&wpdate=&tagfilter=&wpfilters%5B%5D=newusers [17:12:09] 15:52, 23 October 2021 Cocopuff2018 talk contribs moved page S.W.A.T. (tv show) 2017- to S.W.A.T. (2017 TV series) without leaving a redirect (revert) [17:12:09] 19:12, 7 September 2021 Cocopuff2018 talk contribs protected S.W.A.T. (tv show) 2017- [Move=Allow only administrators] (indefinite) [17:12:21] I guess the search engine has cached the old page? [17:15:25] Most probably. If you leave a redirect, search engines may learn that the page changed its location. Without it, it may take a lot more to catch the page that disappeared [17:16:32] Google may be conservative about missing pages that are already indexed, and won't remove them just because it doesn't find the page once... [17:24:36] @reedy but the redirect was deleted [17:35:12] Cocopuff2018: Please watch this video about keeping redirects in place https://www.youtube.com/watch?v=ml7cQHkUc2Q [20:00:30] when I changed the article path from /$1 to /wiki/$1, after testing using 302 redirects I switched to 301 and within a week since the switch to 301 Google seems to have updated their index [20:11:31] Yep, that's the correct way to go according to google