https://bugzilla.wikimedia.org/show_bug.cgi?id=27216
Summary: Include a "default" value in the interwiki table for
an interwiki prefix with no value
Product: Wikimedia
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: shell
Severity: enhancement
Priority: Normal
Component: Interwiki links
AssignedTo: [email protected]
ReportedBy: [email protected]
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l