Browse Source

commenting out the page title namespace rework so we can refactor it

Garrick van Buren 12 years ago
parent
commit
ada3353b41
2 changed files with 4 additions and 4 deletions
  1. 3 3
      assets/scripts/foreground.js
  2. 1 1
      assets/stylesheets/foreground.css

+ 3 - 3
assets/scripts/foreground.js

@@ -24,9 +24,9 @@ jQuery(document).ready(function() {
 
 
 
-  // Split the namespace title into a title and a label
-  var $title = jQuery("h2.title:contains(':')").not(":contains('\"')").not(":contains('as of')").text().split(":");
-  jQuery("h2.title:contains(':')").not(":contains('\"')").not(":contains('as of')").html('<small class="label">' + $title[0] + '</small><span>' + $title[1] + '</span>');
+  // If We're not in ns-0, split the namespace title into a title and a label
+  //var $title = jQuery("h2.title:contains(':')").not(":contains('\"')").not(":contains('as of')").text().split(":");
+  //jQuery("h2.title:contains(':')").not(":contains('\"')").not(":contains('as of')").html('<small class="label">' + $title[0] + '</small><span>' + $title[1] + '</span>');
 
   // Turn categories into labels
   jQuery('#mw-normal-catlinks ul li a').addClass('label');

+ 1 - 1
assets/stylesheets/foreground.css

@@ -16,7 +16,7 @@ a.label.new { background-color: #d0d0d0; }
 a.button.dropdown { float:right;}
 
 /* Hide the page actions button for special pages (cuz there's nothing in it) */
-.mw-special-FormEdit a.button.dropdown { display:none; }
+.mw-special-FormEdit a.button.dropdown, .ns-special a.button.dropdown { display:none; }
 
 /* Hide some rows on form-edit (e.g. a thing's title) */
 body.action-formedit .row.hide-on-form-edit { display: none;}