Create ISBN-like links for ships with associated special page (e.g. for Commons or other projects)
Closed, ResolvedPublic

Description

Author: test5555

Description:
Similar to projects, it could be worth allowing other magic links and creating special pages for other type of identifiers.

These could be enabled on a project specific basis. Projects could decide to activate these.

For ships, the following could be interesting: MMSI, IMO, ENI

Possible features:

  • validation if a checksum is involved
  • linkify links

Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=26207

bzimport added a project: MediaWiki-Parser.Via ConduitNov 21 2014, 11:51 PM
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz30360.
bzimport created this task.Via LegacyAug 13 2011, 10:59 AM
bzimport added a comment.Via ConduitAug 13 2011, 11:04 AM

test5555 wrote:

Read "Similar to ISBN links" instead of "Similar to projects"

Reedy added a comment.Via ConduitAug 13 2011, 11:33 AM

This would probably be better as an extension, rather than littering core (that and the ISBN stuff is wanted to be stripped out of core anyway)

bzimport added a comment.Via ConduitAug 14 2011, 10:38 AM

test5555 wrote:

I suppose once it's an extension, it would be easy to adapt ("easy" as in, I could do it myself?).

Until it's done, maybe we could try to add "MMSI:" to core. It's seems fairly simple and the result would be most helpful.

bzimport added a comment.Via ConduitAug 14 2011, 2:44 PM

test5555 wrote:

I added a sample patch to bug 26207

MMSI, IMO, ENI are 9/7/8-digit numeric.

brion added a comment.Via ConduitAug 15 2011, 5:39 PM

I'm going to go out on a limb and kill this actually; the preference these days is for less "magical" stuff and should instead be more explicit. (Among other things, using templates for this sort of thing avoids the problems of central maintenance, surprise links, parser level interference, etc)

Editing-time and review-time link helpers are probably a better way to go than more auto-linking.

Duping this specific bug to bug 26207.

  • This bug has been marked as a duplicate of bug 26207 ***
bzimport added a comment.Via ConduitAug 15 2011, 8:58 PM

test5555 wrote:

As no other Wikimedia feature offers the options of ISBN linking (e.g. ISBN 123456789 links to [[Special:BookSources/123456789]]), there isn't really another way of implementing this.

Obviously, what may be appropriate for one wiki is not necessarily suitable for others. Thus the advantage making this an extension. The extension of bug 26207 isn't implemented yet, the feature might need to be built into core to be working.

Even if extension is built, we might still need to adapt it for the a/m identifiers.

Add Comment