JGonera has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/87634


Change subject: Fix file name in validatehtml.sh
......................................................................

Fix file name in validatehtml.sh

Change-Id: I9075db87423137de01ef2c20a124371baf3c12d0
---
M scripts/validatehtml.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/34/87634/1

diff --git a/scripts/validatehtml.sh b/scripts/validatehtml.sh
index 7d941c4..a8d63e6 100755
--- a/scripts/validatehtml.sh
+++ b/scripts/validatehtml.sh
@@ -6,7 +6,7 @@
 curl -sF "uploaded_file=@tmp/validate.html;type=text/html" -F output=json 
http://validator.w3.org/check > tmp/validate.json
 
 #check the validation results of a page in the main namespace
-if grep -q '"type": "error"' tmp/validate_page.json
+if grep -q '"type": "error"' tmp/validate.json
 then
        num=`grep -c '"type": "error"' tmp/validate.json`
        echo $num validation errors found in main namespace page [see 
tmp/validate.json]

-- 
To view, visit https://gerrit.wikimedia.org/r/87634
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9075db87423137de01ef2c20a124371baf3c12d0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: JGonera <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to