[MediaWiki-commits] [Gerrit] wikipedia...ProveIt[master]: Fix for long titles

2016-10-24 Thread Sophivorus (Code Review)
Sophivorus has submitted this change and it was merged.

Change subject: Fix for long titles
..


Fix for long titles

Also update the README

Bug: T149054

Change-Id: If6301cee13feb7160902dc47d1627ea3c83e0bea
---
M README.md
M proveit.css
M proveit.js
3 files changed, 4 insertions(+), 10 deletions(-)

Approvals:
  Sophivorus: Verified; Looks good to me, approved



diff --git a/README.md b/README.md
index acb1404..2b69537 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
 # ProveIt
 
-ProveIt is a powerful GUI tool to find, edit, add and cite references in any 
MediaWiki wiki.
+ProveIt is a Wikipedia gadget that makes it easy to find, edit, add and delete 
references when editing Wikipedia articles.
 
 Full documentation at https://commons.wikimedia.org/wiki/Help:Gadget-ProveIt
\ No newline at end of file
diff --git a/proveit.css b/proveit.css
index 00a30db..3689215 100755
--- a/proveit.css
+++ b/proveit.css
@@ -79,11 +79,6 @@
margin-right: 10px;
 }
 
-#proveit-reference-list .proveit-reference-item .proveit-main-value {
-   display: inline-block;
-   margin-right: 10px;
-}
-
 #proveit-reference-list .proveit-reference-item .proveit-citations {
float: right;
 }
diff --git a/proveit.js b/proveit.js
index 91beb20..7042f01 100755
--- a/proveit.js
+++ b/proveit.js
@@ -1,5 +1,5 @@
 /**
- * ProveIt is a powerful GUI tool to find, edit, add and cite references in 
any MediaWiki wiki
+ * ProveIt is a Wikipedia gadget that makes it easy to find, edit, add and 
delete references when editing Wikipedia articles.
  * Full documentation at https://commons.wikimedia.org/wiki/Help:Gadget-ProveIt
  *
  * Copyright 2008-2011 Georgia Tech Research Corporation, Atlanta, GA 
30332-0415, ALL RIGHTS RESERVED
@@ -857,9 +857,8 @@
item.html( templateSpan );
 
// Then add the main value of the reference 
(usually the title)
-   var mainValue = this.getMainValue(),
-   mainValueSpan = $( '' ).addClass( 
'proveit-main-value' ).text( mainValue );
-   item.append( mainValueSpan );
+   var mainValue = this.getMainValue();
+   item.append( mainValue );
 
} else {
item.text( this.content );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If6301cee13feb7160902dc47d1627ea3c83e0bea
Gerrit-PatchSet: 2
Gerrit-Project: wikipedia/gadgets/ProveIt
Gerrit-Branch: master
Gerrit-Owner: Sophivorus 
Gerrit-Reviewer: Sophivorus 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] wikipedia...ProveIt[master]: Fix for long titles

2016-10-24 Thread Sophivorus (Code Review)
Sophivorus has uploaded a new change for review.

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

Change subject: Fix for long titles
..

Fix for long titles

Also update the README

Change-Id: If6301cee13feb7160902dc47d1627ea3c83e0bea
---
M README.md
M proveit.css
M proveit.js
3 files changed, 4 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikipedia/gadgets/ProveIt 
refs/changes/29/317729/1

diff --git a/README.md b/README.md
index acb1404..2b69537 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
 # ProveIt
 
-ProveIt is a powerful GUI tool to find, edit, add and cite references in any 
MediaWiki wiki.
+ProveIt is a Wikipedia gadget that makes it easy to find, edit, add and delete 
references when editing Wikipedia articles.
 
 Full documentation at https://commons.wikimedia.org/wiki/Help:Gadget-ProveIt
\ No newline at end of file
diff --git a/proveit.css b/proveit.css
index 00a30db..3689215 100755
--- a/proveit.css
+++ b/proveit.css
@@ -79,11 +79,6 @@
margin-right: 10px;
 }
 
-#proveit-reference-list .proveit-reference-item .proveit-main-value {
-   display: inline-block;
-   margin-right: 10px;
-}
-
 #proveit-reference-list .proveit-reference-item .proveit-citations {
float: right;
 }
diff --git a/proveit.js b/proveit.js
index 91beb20..7042f01 100755
--- a/proveit.js
+++ b/proveit.js
@@ -1,5 +1,5 @@
 /**
- * ProveIt is a powerful GUI tool to find, edit, add and cite references in 
any MediaWiki wiki
+ * ProveIt is a Wikipedia gadget that makes it easy to find, edit, add and 
delete references when editing Wikipedia articles.
  * Full documentation at https://commons.wikimedia.org/wiki/Help:Gadget-ProveIt
  *
  * Copyright 2008-2011 Georgia Tech Research Corporation, Atlanta, GA 
30332-0415, ALL RIGHTS RESERVED
@@ -857,9 +857,8 @@
item.html( templateSpan );
 
// Then add the main value of the reference 
(usually the title)
-   var mainValue = this.getMainValue(),
-   mainValueSpan = $( '' ).addClass( 
'proveit-main-value' ).text( mainValue );
-   item.append( mainValueSpan );
+   var mainValue = this.getMainValue();
+   item.append( mainValue );
 
} else {
item.text( this.content );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If6301cee13feb7160902dc47d1627ea3c83e0bea
Gerrit-PatchSet: 1
Gerrit-Project: wikipedia/gadgets/ProveIt
Gerrit-Branch: master
Gerrit-Owner: Sophivorus 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits