Last modified: 2014-01-31 22:28:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44371, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42371 - Universal Language Selector with disabled JavaScript
Universal Language Selector with disabled JavaScript
Status: RESOLVED DUPLICATE of bug 42500
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: uls-diet
  Show dependency treegraph
 
Reported: 2012-11-23 07:59 UTC by Fomafix
Modified: 2014-01-31 22:28 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Fomafix 2012-11-23 07:59:13 UTC
When JavaScript is disabled you get at the moment a useless button because the button is inserted in the HTML but the functionality is only in JavaScript.

Either the button gets hidden without JavaScript e. g. by creating the button with JavaScript, or the functionality get available without JavaScript e. g. by creating a special page [[Special:Universal Language Selector]] which allow changing the language by a single click. This would also solve Bug 41988.
Comment 1 Siebrand Mazeland 2012-11-23 08:16:43 UTC
(In reply to comment #0)
> When JavaScript is disabled you get at the moment a useless button because the
> button is inserted in the HTML but the functionality is only in JavaScript.
> 
> Either the button gets hidden without JavaScript e. g. by creating the button
> with JavaScript, or the functionality get available without JavaScript e. g. by
> creating a special page [[Special:Universal Language Selector]] which allow
> changing the language by a single click. This would also solve Bug 41988.

ULS requires JavaScript. In this day and age, more advanced functionality is only available when enabling JavaScript in more recent browsers.
Comment 2 Niklas Laxström 2012-11-23 09:27:23 UTC
There is easier way:

.client-nojs .ulsSomething { display: none; }

OR

// Make it hidden by default and
.client-js .ulsSomething { display: foo; }

Having dummy icon that does nothing is different issue from the issue of making ULS work without JS.
Comment 3 Fomafix 2012-11-23 12:57:19 UTC
REOPENED: Hiding the useless button with CSS is also a solution.
Comment 4 Fomafix 2014-01-31 22:28:07 UTC

*** This bug has been marked as a duplicate of bug 42500 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links