Page MenuHomePhabricator

Preserve or generate a hyphenated ISBN at Book sources
Open, LowPublicFeature

Description

Author: ferdemza

Description:
Is there a chance to modify Wikimedia so that it generates the hyphenated ISBN parameter under a special name such as HYPHENATED_ISBN?

Some online bookstores require hyphens in the ISBN search clause. I'd like to be able to write ISBN 5-7380-0015-3 (or at least {{ISBN|5-7380-0015-3}}), select Ozon.ru and arrive at

http://www.ozon.ru/?context=search&text=5-7380-0015-3

I'd like to be able to use a hyphenated ISBN parameter for this purpose, such as

http://www.ozon.ru/?context=search&text=HYPHENATED_ISBN

Also, I am not sure why Mediawiki's parsing of the regular article text ISBN ... throws hyphens away on converting the text to [[Special:Book sources/PARSEDNUMBER]]. This seems to be redundant because further substitution of MAGICNUMBER on the Book sources page throws hyphens away regardless of the format of the parameter to that page.

Finally, it would be nice if Mediawiki could automatically hyphenate non-hyphenated ISBN numbers provided in the regular article text, ISBN ... when generating its HYPHENATED_ISBN substitution in the Book sources page.


Version: unspecified
Severity: enhancement

Details

Reference
bz18814

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:38 PM
bzimport set Reference to bz18814.
bzimport added a subscriber: Unknown Object (MLST).

ilatypov wrote:

This was suggested in the Boot sources Wikipedia talk page,

http://en.wikipedia.org/wiki/Wikipedia_talk:Book_sources#Preserve_or_generate_a_hyphenated_ISBN

This bug causes problems with the "Find articles on Wikipedia which cite this ISBN." feature, e.g.
https://en.wikipedia.org/wiki/Special:BookSources/978-0-8493-7881-2#Find_on_Wikipedia
(found via https://en.wikipedia.org/wiki/Caffeine#cite_note-Clinical_addiction_.26_dependence-2 )
only links to the article with the un-hyphenated result, and not the article I arrived from, or any other correctly-hyphenated results.


ilatypov wrote:
This was suggested in the Boot sources Wikipedia talk page, http://en.wikipedia.org/wiki/Wikipedia_talk:Book_sources#Preserve_or_generate_a_hyphenated_ISBN

Note, this was archived at https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Book_sources/Archive_1&oldid=423408350#Preserve_or_generate_a_hyphenated_ISBN

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: wikibugs-l-list.