Opened 8 years ago
Last modified 8 years ago
#14425 closed enhancement
[patch] Improve Wikipedia tag validators — at Version 4
Reported by: | nyurik | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 17.03 |
Component: | Core validator | Version: | |
Keywords: | , wikipedia | Cc: |
Description (last modified by )
Wikipedia tags need a few more validators with fixers:
- update the list of valid Wikipedia languages
- auto-replace language be-x-old with be-tarask
- auto-replace language cz with cs
- remove space before page title ("en: Foo" -> "en:Foo")
- replace "_" with spaces ("en:Foo_bar" -> "en:Foo bar")
- capitalize first letter if it's not "jbo" language ("en:foo" -> "en:Foo")
- double language link ("en:en:Foo" -> "en:Foo")
This patch also adds a few additional validator functions: trim, upper and lower
Change History (8)
by , 8 years ago
Attachment: | wikipedia-validations.patch added |
---|
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
Description: | modified (diff) |
---|
comment:3 by , 8 years ago
Component: | Core → Core validator |
---|---|
Keywords: | patch validator removed |
Milestone: | → 17.03 |
Summary: | (patch) Improve Wikipedia tag validators → [patch] Improve Wikipedia tag validators |
comment:4 by , 8 years ago
Description: | modified (diff) |
---|
by , 8 years ago
Attachment: | wikipedia-validations.3.patch added |
---|
by , 8 years ago
Attachment: | wikipedia-validations.4.patch added |
---|
Note:
See TracTickets
for help on using tickets.
patch to fix this issue