Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS

SVN: [114792] trunk/extensions/PageTriage/modules/ext.pageTriage.views/ext. pageTriage.listControlNav.js

 

 

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded


raindrift at svn

Apr 6, 2012, 5:52 PM

Post #1 of 1 (64 views)
Permalink
SVN: [114792] trunk/extensions/PageTriage/modules/ext.pageTriage.views/ext. pageTriage.listControlNav.js

https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114792

Revision: 114792
Author: raindrift
Date: 2012-04-07 00:52:49 +0000 (Sat, 07 Apr 2012)
Log Message:
-----------
little type conversion bug that messed up the status display sometimes

Modified Paths:
--------------
trunk/extensions/PageTriage/modules/ext.pageTriage.views/ext.pageTriage.listControlNav.js

Modified: trunk/extensions/PageTriage/modules/ext.pageTriage.views/ext.pageTriage.listControlNav.js
===================================================================
--- trunk/extensions/PageTriage/modules/ext.pageTriage.views/ext.pageTriage.listControlNav.js 2012-04-07 00:37:45 UTC (rev 114791)
+++ trunk/extensions/PageTriage/modules/ext.pageTriage.views/ext.pageTriage.listControlNav.js 2012-04-07 00:52:49 UTC (rev 114792)
@@ -223,7 +223,7 @@
if( this.model.getParam( 'namespace' ) > -1 ) { // still true for ns 0
var ns = this.model.getParam( 'namespace' );
var nsText;
- if( ns === 0 ) {
+ if( Number(ns) === 0 ) {
nsText = gM( 'pagetriage-filter-ns-article' );
} else {
nsText = mw.config.get( 'wgFormattedNamespaces' )[ns];


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.