Page MenuHomePhabricator

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


Author: ferdemza

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 and arrive at

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

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



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,

This bug causes problems with the "Find articles on Wikipedia which cite this ISBN." feature, e.g.
(found via )
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,

Note, this was archived at

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.