User:Waldyrious/formatcitations.js: Difference between revisions

Content deleted Content added
tweak edit summary text
support parameters with non-ASCII characters
Line 10:
if(vertical) {
// Fill an array with one entry per each parameter for this citation template
var originalParams = originalTemplates[i].match(/ *\n? *\| *\n? *[a-z1-9^ =]+ *= */g);
// Create array to be filled with the cleaned-up parameters.
// We need to keep the original strings for the replacement step.