https://bugzilla.wikimedia.org/show_bug.cgi?id=27916

--- Comment #3 from Krinkle <[email protected]> 2011-05-01 18:57:05 UTC ---
Created attachment 8478
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8478
Remove the check and the wgServer prefix from mw.util.wikiGetlink

The check is not needed, if wgArticlePath is undefined there's probably a much
bigger issue.

The wgServer doesn't need to be prefixed to the link (if someone really needs
it (ie. external tools using the script and somehow defining wgServer in
mw.config) they can surely prefix wgServer themselfs.

In most if not all cases this is used to create anchor tags, which are
interprated by browsers relatively to the current window location and in some
browsers it even auto-prefixes the current environment when setting the
href/src attribute.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to