Manual:$wgExternalLinkTarget/vi

From mediawiki.org
This page is a translated version of the page Manual:$wgExternalLinkTarget and the translation is 9% complete.
Outdated translations are marked like this.
Parser: $wgExternalLinkTarget
Thiết lập cho các liên kết ra ngoài Wiki
Xuất hiện lần đầu trên phiên bản:1.14.0 (r41333)
Đã bị loại bỏ khỏi phiên bản:đang được sử dụng
Các giá trị cho phép:(string) or false
Giá trị mặc định:false

Details

Thiết lập cho các liên kết ra ngoài Wiki. Thêm dòng sau đây vào tập tin "LocalSettings.php" của bạn để mở liên kết có trong Wiki bằng một cửa sổ mới. If set to e.g. "_blank", this will also set the "noreferrer" and "noopener" link rel to prevent the attack described at https://mathiasbynens.github.io/rel-noopener/. Some older browsers may not support these link attributes, hence setting $wgExternalLinkTarget to _blank may represent a security risk to some of your users.

Add the following entry to LocalSettings.php file in order to open external links in a new window / tab.

$wgExternalLinkTarget = '_blank';

Nếu bạn nhập giá trị sai thì sẽ không có thiết lập cho liên kết ra ngoài, (giống như _blank được thay thế bằng _self).

When changing the value, page cache must be refreshed in order to make the setting effective.

See also