Adrian Lang has uploaded a new change for review.
https://gerrit.wikimedia.org/r/172961
Change subject: Remove dead styles and dead template
......................................................................
Remove dead styles and dead template
Change-Id: I14a85ad67c50ed2ba4ebd48a7a12ed9f7bc4490e
---
M lib/resources/wikibase.css
M repo/resources/templates.php
2 files changed, 0 insertions(+), 36 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/61/172961/1
diff --git a/lib/resources/wikibase.css b/lib/resources/wikibase.css
index b184c07..4ec7ed2 100644
--- a/lib/resources/wikibase.css
+++ b/lib/resources/wikibase.css
@@ -82,31 +82,12 @@
font-family: inherit;
}
-/* container for the value itself */
-.wb-value,
-.wb-gridhelper {
- word-wrap: break-word; /* force word wrap for that toolbar will not
overlay very long values */
- display: block; /* need to force block explicitly to achieve 100% width
*/
-}
-
/* horizontal rule below the description */
.wb-hr {
float: left;
width: 100%;
height: 1px;
margin: 0;
-}
-
-.wb-widget-container {
- float: left;
-}
-
-/* basically, a row in the grid layout */
-.wb-value-row {
- float: left; /* make row to take the dimensions of its containing
blocks avoiding clipping */
- font-size: 100%; /* font size needs to be set since it influences
positioning */
- position: relative; /* make absolute positioned toolbar align to the
right edge */
- width: 100%;
}
.wikibase-entityview .wikibase-toolbar-container {
@@ -119,15 +100,6 @@
.wikibase-entityview .wikibase-toolbar-container > .wikibase-toolbar-container
{
position: static;
width: auto;
-}
-
-.wb-value-container {
- margin-left: 0;
- display: block; /* need to force block explicitly to achieve 100% width
*/
-}
-
-.wb-value {
- display: inline;
}
.wb-empty {
diff --git a/repo/resources/templates.php b/repo/resources/templates.php
index 5356bf0..81201e0 100644
--- a/repo/resources/templates.php
+++ b/repo/resources/templates.php
@@ -186,14 +186,6 @@
</div>
HTML;
- $templates['wb-property'] =
-<<<HTML
-<span class="wb-property-container-value wb-value-container">
- <span class="wb-value $1" dir="auto">$2</span>
- $3
-</span>
-HTML;
-
$templates['wikibase-aliasesview'] =
<<<HTML
<div class="wikibase-aliasesview $1">
--
To view, visit https://gerrit.wikimedia.org/r/172961
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I14a85ad67c50ed2ba4ebd48a7a12ed9f7bc4490e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Adrian Lang <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits