Page MenuHomePhabricator

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

Details

Reference
bz30360

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:51 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz30360.
bzimport added a subscriber: Unknown Object (MLST).

test5555 wrote:

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

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)

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.

test5555 wrote:

I added a sample patch to bug 26207

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

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 ***

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.