Commit Graph

23 Commits

Author SHA1 Message Date
Managor 4a4b1971ef scripts/set-alias-page.py: adjust command line matching (#20849) 2026-02-04 04:35:35 +02:00
Managor 257c320285 scripts/set-alias-page.py: fix up-to-date check when using --inexact (#20281) 2025-12-26 21:53:18 +01:00
Managor f3f617a24b scripts/set-alias-page.py: also check if the translated alias page doesn't match the template (#20142) 2025-12-21 09:44:04 +01:00
Managor 9cd3fd20d7 scripts/set-alias-page.py: match the title and the original command (#20051) 2025-12-16 18:28:51 +02:00
Managor 15f033abbc scripts/set-more-info-link.py: use the template files to generate a more info link (#19995) 2025-12-15 06:50:54 +02:00
Managor 733868bea1 scripts/set-alias-page.py: add inexact matching for alias finding (#19993) 2025-12-15 03:32:27 +02:00
Managor 75f4337957 scripts/set-alias-page.py: fix "page updated" spam when it wasn't being updated (#19941) 2025-12-12 17:10:31 +02:00
Managor e35330857b set-alias-page.py: prevent synchronizing alias pages that are non-standard (#19859) 2025-12-09 23:09:04 +02:00
Waldir Pimenta faace2ab7b scripts: usability and readability improvements (#19814) 2025-12-09 08:15:05 +01:00
Dylan a59d0edb52 scripts/set-alias-page: default page title to filename (#19522) 2025-11-20 15:18:49 +01:00
Chooooo 65c3aa9d5e scripts/set-alias-page.py: Improve sync translations (#15389)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-02-16 07:09:55 +05:30
Sebastiaan Speck 316e672699 set-alias-page: fix regex 2024-11-05 20:39:01 +01:00
Sebastiaan Speck 80aa7e9c16 set-alias-page: use translated regex (#14574) 2024-11-04 09:22:16 +05:30
Jack Lin aaf688c301 set-alias-page.py: improve regex pattern (#14368) 2024-10-30 18:04:17 +01:00
Sebastiaan Speck dff913f486 scripts/_common.py: add a shared Python file to move duplicated code (#12755)
* `scripts/_common.py`: add a shared Python file to move duplicated code

---------

Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-18 06:03:40 +05:30
Sebastiaan Speck bc3423250b scripts/set-alias-page.py, scripts/set-more-info-link.py: sync documentation and get_tldr_root (#12744)
Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-13 16:21:30 +02:00
Sebastiaan Speck 336507ac32 scripts/set-alias-page.py: add language option, fix script (#12745)
* scripts/set-alias-page.py: add language option, fix script

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-09 16:31:01 +05:30
Sebastiaan Speck 9c5ebf5f0b scripts: add option to dry-run (#11883) 2024-01-02 06:53:39 +01:00
K.B.Dharun Krishna b2dc1a28d1 feat: add documentation for scripts
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-12-24 10:55:30 +05:30
Sebastiaan Speck 84fceb978b scripts: make set-alias-page.py runnable (#11477) 2023-11-12 13:08:51 +01:00
Sebastiaan Speck c059eb1c19 scripts: fix typo (#11396) 2023-11-06 13:31:28 +01:00
Tristan Jahnke e747bd8132 scripts/*.py: update coding style (#10761)
* convert to f string

* use a next function instead of a for-loop

* remove uneeded else statement

* use in operator instead of multi comparison

* conver to f string

* adds extra line between function defs

* revert/change to PR comment around looping

* remove uneeded loops

* revert to keep old style choice
2023-10-04 14:02:15 +05:30
lincc 9912d26258 scripts/set-alias-page.py: add (#6845)
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
2021-10-11 10:40:03 -10:00