From eb145c8ce45a4c889a039f98c62bb6c684878d3a Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Fri, 13 Apr 2018 16:05:12 -0700 Subject: [PATCH] Don't use deprecated Sanitizer::escapeId() Change-Id: I96354291594f1fcb8a263318e93fd1c059aa006d --- includes/VectorTemplate.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/includes/VectorTemplate.php b/includes/VectorTemplate.php index 8b964cd..7b2f9e1 100644 --- a/includes/VectorTemplate.php +++ b/includes/VectorTemplate.php @@ -268,14 +268,15 @@ class VectorTemplate extends BaseTemplate { $msg = $name; } $msgObj = wfMessage( $msg ); - $labelId = Sanitizer::escapeId( "p-$name-label" ); + $labelId = Sanitizer::escapeIdForAttribute( "p-$name-label" ); ?> -