Page MenuHomePhabricator

"isbn" not a wikilink
Closed, DeclinedPublic

Description

Author: Beetstra.wiki

Description:
The word "ISBN" on the search-page is not wikilinked to ISBN, I guess that would be a nice thing to
have, people trying to find the source of a book (where they can buy their own copy, e.g.), but not
knowing what the format of the ISBN-number is (now they have to type "ISBN" in the search box).

Dirk.


Version: 1.8.x
Severity: enhancement
URL: http://en.wikipedia.org/wiki/Special:Booksources

Details

Reference
bz7451

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:24 PM
bzimport set Reference to bz7451.

Beetstra.wiki wrote:

Patch to make the ISBN clickable in the search page

Make isbn a wikilink.

Attached:

jimmy.collins wrote:

This will point you to a non existing page in non-Wikipedia environments ...

Beetstra.wiki wrote:

That is true, but then, either that wikipedia may not be in need of the page (in which case the page can
be ignored, anyway), or, if that wikipedia is in need of that functionality, I guess the ISBN-page would
be created anyway. Or do you suggest a 'if the page exists, then link, otherwise, plain text' (in that
case, how do I check if a page is a redlink in php)?

jimmy.collins wrote:

The the usage of the message 'isbn' should be wikified in
[[Special:Booksources]] so that it could be customized via [[MediaWiki:Isbn]]
where needed.

Beetstra.wiki wrote:

The current generated form in the SpecialBooksources.php that asks for an ISBN, presumes that the person
using that page will know what an ISBN is (the person probably comes from the ISBN page anyway, but may
come from the list of special pages) .. it makes sense to me to make a link on that page to somewhere
(and I think the "activepedia"-ISBN-page is a logical choice, that one will be adapted by the users to
the language and text that they want there) where one can read what the ISBN is, and what it looks like,
etc.
If in a non-wikipedia environment the page gets used, then indeed the page [[ISBN]] should be generated
as well, since otherwise it will be a redlink. But I presume that will be quick enough, if the page gets
used regularly on that non-wikipedia-environment. In the worst case the user gets just as much info
(nothing) as he/she would get now when using the page.

jimmy.collins wrote:

Just add/edit [[MediaWiki:Booksources-summary]] to clarify.

jimmy.collins wrote:

Discussed with Dirk in irc - [[MediaWiki:Booksources-summary]] makes this bug
obsolet.