Fix filtering out day toggles in onthisday. - mediawiki-gopher - mediawiki gopher frontend
(HTM) git clone git://bitreich.org/mediawiki-gopher git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/mediawiki-gopher
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6cb1db9edc226c54de474d938708d2b1147d9e8f
(DIR) parent c93839c786c984219cf28b4611d904c97c8ad9de
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Fri, 8 Aug 2025 22:28:56 +0200
Fix filtering out day toggles in onthisday.
Diffstat:
M get_onthisday_pages.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/get_onthisday_pages.sh b/get_onthisday_pages.sh
@@ -16,6 +16,6 @@ curl -s "${mediawikiuri}/w/api.php?action=featuredfeed&feed=onthisday&feedformat
| lynx -stdin -dump -listonly \
| grep wiki/ \
| sed 's,.*///wiki/\(.*\),\1,' \
-| head -n 5 \
+| head -n -5 \
| tail -n +3