| Remove teh query from teh wikipedia thingies! - annna - Annna the nice friendly… | |
| git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| --- | |
| commit c054ca53c17eb8024d9b5688f527e8e457b6d310 | |
| parent c6f265a8717428c2d7b2ba87d35a182ec3eaa7d9 | |
| Author: Julian Schweinsberg <[email protected]> | |
| Date: Wed, 30 Jul 2025 20:44:36 +0200 | |
| Remove teh query from teh wikipedia thingies! | |
| Signed-off-by: Annna Robert-Houdin <[email protected]> | |
| Diffstat: | |
| M annna-message-common | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| --- | |
| diff --git a/annna-message-common b/annna-message-common | |
| @@ -253,7 +253,7 @@ case "${text}" in | |
| *.wikipedia.org/wiki/*) | |
| if ! regeximatch "$uri" '\.(jpg,bmp,gif,png,tiff,avi,mp4,webm,… | |
| then | |
| - nuri="$(printf '%s\n' "${uri}" | sed -e "s;/wiki/;/api… | |
| + nuri="$(printf '%s\n' "${uri}" | sed -Ee "s;/wiki/;/ap… | |
| nuris="$(printf 'pdf: %s\n' "${nuri}")" | |
| nocuri=1 | |
| fi |