Download & Extend

Remove the word 'Drupal' from all user-facing stuff

Project:Drupal core
Version:8.x-dev
Component:base system
Category:task
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

For distributions, it might be nice to make sure that the word "Drupal" is not hard-coded to appear in any user-facing text (ex: variable_get('site_name', 'Drupal'), code (ex. drupal.js), or other output (ex: X-Mailer: Drupal), replaced instead with the name of the profile that's installed.

This is going to be way too much work for D5 and is remains to be seen as to whether or not it represents a serious enough problem for distribution authors to go into rolling a huge patch for this. However, I'm creating a postponed talk for it just in case.

Comments

#1

To echo my comment on issue #97941: String freeze: make site_name's default value consistent.

The details of an implementations shouldnt be shown to any end user (read: visitor) in my opinion. Genericizing it to the degree possible is a feature for future distributions and private label users who dont want or need it known that drupal is running under the hood. The people who need to know it is running drupal will know it is running drupal.

We use clean urls to provide memorable and implementation agnostic addresses and i think this is a natural extension of "drupal as a tool not a destination". As much as I like to see it everywhere I just don't see a valid reason to be flashing "Drupal" around on everyones sites.

#2

Agreed, for a lot of projects I work on they want a white label solution. I have a recipe like this which I keep in SVN.

  1. I've been using locale JUST to get rid of Drupal references which is a big performance hit so I'm all for generalizing! White label .po file attached, it's a pretty straight find and replace from 4.7 so it doesn't really make tons of sense, but it might give us a place to start.
  2. I renamed drupal.* files to common.* and removed all Drupal images from misc/
  3. Removed themes that show a screenshot saying Drupal in admin > themes
AttachmentSizeStatusTest resultOperations
en-US.po72.17 KBIgnored: Check issue status.NoneNone

#3

I need this as well. With Drupal 4.7 one could use code a phptemplate_stylesheet_import() function in template.php to rename drupal.css to something else:

<?php
function phptemplate_stylesheet_import($stylesheet, $media = 'all') {
   if (
strpos($stylesheet, 'misc/drupal.css') === false ) {
     return
theme_stylesheet_import($stylesheet, $media);
   } else {
     return
theme_stylesheet_import(base_path() . 'misc/site.css', $media);
   }
}
?>

However, I could find nothing in 5.x to rename drupal.js to something else.

#4

Version:6.x-dev» 7.x-dev

#5

Status:postponed» active

No reason for this to be postponed anymore. We're in code thaw now. :)

#6

subscribe

#7

#8

Version:7.x-dev» 8.x-dev