Last modified: 2014-08-22 21:12:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29216, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27216 - Include a "default" value in the interwiki table for an interwiki prefix with no value
Include a "default" value in the interwiki table for an interwiki prefix with...
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-07 08:38 UTC by TeleComNasSprVen
Modified: 2014-08-22 21:12 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description TeleComNasSprVen 2011-02-07 08:38:58 UTC
We should add an extra "default" parameter to the interwiki table so that interwiki prefixes that don't contain a string after the colon point to the mainpage of the target site, if the default value can be specified. For example, the valueless [[bugzilla:]] currently points towards https://bugzilla.wikimedia.org/show_bug.cgi?id= but if we were able to specify (or choose not to specify) a url string for a hypothetical extra parameter named "default" the [[bugzilla:]] would instead point to the string. And if the string were https://bugzilla.wikimedia.org/ it would not confuse us with an error message of some sort (if it were also some other site). This is somewhat similar to {{#if:{{{1}}} in [[bugzilla:{{{1}}}]]|https://bugzilla.wikimedia.org/show_bug.cgi?id={{{1}}}|https://bugzilla.wikimedia.org/}}. The bugzilla prefix is just an example, this could extend to other sites like google as well.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links