Anonymous

Changes

From KIproBatt Wiki
replaceAll '_' with ' ' in properties
Line 776: Line 776:  
                            if (!page_properties[i].property.startsWith("_")) {
 
                            if (!page_properties[i].property.startsWith("_")) {
 
                                var li = document.createElement("li");
 
                                var li = document.createElement("li");
                                li.dataset.action = page_properties[i].property.replace('_',' ');
+
                                li.dataset.action = page_properties[i].property.replaceAll('_',' ');
                                li.innerHTML = page_properties[i].property.replace('_',' ');
+
                                li.innerHTML = page_properties[i].property.replaceAll('_',' ');
 
                                ul.append(li);
 
                                ul.append(li);
 
                            }
 
                            }
Bots, bulkpusher, Bureaucrats, checkuser, filepusher, Interface administrators, oversight, pusher, rdfioadministrator, rdfiocurator, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
5,444

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.