Opened 4 years ago

Closed 15 months ago

Last modified 7 months ago

#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 Don-vip)

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">
                <condition k="name(:..)?" />
                <link name="Search on DuckDuckGo" href="" />
                <condition k="name(:..)?" />
                <link name="Search on Google" href="" />

    <src name="Wikipedia">
            <condition k="wikipedia(?::(\p{Lower}{2,}))?" v="(?:(\p{Lower}{2,}):)?(.*)" />
            <link name="View %name% article" href="" />
            <condition k="wikidata" />
            <link name="View Wikidata page" href="" />
            <condition k="[operator|brand|name:etymology|artist|architect|subject]:wikidata" />
            <link name="View Wikidata page" href="" />

Attachments (0)

Change History (6)

comment:1 Changed 4 years ago by Klumbumbus

Cc: Klumbumbus added

comment:2 Changed 4 years ago by Don-vip

Description: modified (diff)

comment:3 Changed 15 months ago by Polyglot

Resolution: wontfix
Status: newclosed

comment:4 Changed 7 months ago by Klumbumbus

Cc: stoecker added

The wikipedia rules were added meanwhile.

@Dirk and Vincent: any objections against adding the rule to search for names with DuckDuckGo?

            <condition k="^(.+(:|_))?name((:|_).+)?$" />
            <link name="Search on DuckDuckGo" href="" />

comment:5 Changed 7 months ago by Klumbumbus

Search for names with DuckDuckGo added in [o35043:35044]

comment:6 Changed 7 months ago by stoecker

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.