https://bugzilla.wikimedia.org/show_bug.cgi?id=41692
--- Comment #6 from Chad H. <[email protected]> 2012-11-04 00:23:11 UTC --- (In reply to comment #5) > The reason I think it would not be so easy, is that we already have the > TimedText namespace on commons with associated links, pages etc. I have not > looked at this closely but I don't think it would be trivial. > This is not hard. It's why we have the namespaceDupes.php maintenance script. > There are places in the code where we have to discover the timed text > namespace > on the remote host and have to look it up by name i.e: > handlers/TextHandler/TextHander.php line 98: > > foreach( $data['query']['namespaces'] as $ns ){ > if( $ns['*'] == 'TimedText' ){ > $this->remoteNs = $ns['id']; > } > } > Any code that looks like that should be updated immediately. To compare namespaces you should *always* do it based on the ID, *never* the name. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
