#12379 closed enhancement (wontfix)
make adding new items for tag2link more straightforward
Reported by: | Polyglot | Owned by: | Don-vip |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core tag2link | Version: | |
Keywords: | Cc: | Klumbumbus, stoecker |
Description (last modified by )
For styles and presets we can change a page on the wiki to expand them.
Could this be done for Tag2Link as well?
Here are a few suggestions:
<src name="Search"> <rule> <condition k="name(:..)?" /> <link name="Search on DuckDuckGo" href="https://duckduckgo.com/?q=%v%" /> </rule> <rule> <condition k="name(:..)?" /> <link name="Search on Google" href="https://www.google.be/search?q=%v%" /> </rule> </src> <src name="Wikipedia"> <rule> <condition k="wikipedia(?::(\p{Lower}{2,}))?" v="(?:(\p{Lower}{2,}):)?(.*)" /> <link name="View %name% article" href="https://%k.1:v.1:en%.wikipedia.org/wiki/%v.2:v.1%" /> </rule> <rule> <condition k="wikidata" /> <link name="View Wikidata page" href="https://www.wikidata.org/wiki/%v%" /> </rule> <rule> <condition k="[operator|brand|name:etymology|artist|architect|subject]:wikidata" /> <link name="View Wikidata page" href="https://www.wikidata.org/wiki/%v%" /> </rule> </src>
Attachments (0)
Change History (6)
comment:1 by , 9 years ago
Cc: | added |
---|
comment:2 by , 9 years ago
Description: | modified (diff) |
---|
comment:3 by , 6 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:4 by , 5 years ago
Cc: | added |
---|
comment:6 by , 5 years ago
Changes to Tag2Link are seldom enough and making it a wiki brings additional security issues and thus active monitoring requirements for admins. While it is not complicated to setup in general ATM I'd say no to the main request of this ticket.
P.S. Some years ago I would immediatelly have said yes, but currently security issues come up too often...
So until reconsideration simply make tickets with patches.
The wikipedia rules were added meanwhile.
@Dirk and Vincent: any objections against adding the rule to search for names with DuckDuckGo?