Index: trunk/extensions/ProofreadPage/proofread.js |
— | — | @@ -741,7 +741,7 @@ |
742 | 742 | var footer = form.elements["footerTextbox"]; |
743 | 743 | if(header){ |
744 | 744 | var h = header.value.replace(/(\s*(\r?\n|\r))+$/, ''); |
745 | | - if(h) h = "<noinclude>{{PageQuality|"+self.proofreadpage_quality+"|"+wgUserName+"}}"+h+"\n\n\n</noinclude>"; |
| 745 | + if(h) h = "<noinclude>{{PageQuality|"+self.proofreadpage_quality+"|"+self.proofreadpage_username+"}}"+h+"\n\n\n</noinclude>"; |
746 | 746 | var f = footer.value; |
747 | 747 | if(f) f = "<noinclude>\n"+f+"</noinclude>"; |
748 | 748 | var ph = header.parentNode; |
— | — | @@ -829,6 +829,7 @@ |
830 | 830 | function pr_add_quality(form,value){ |
831 | 831 | |
832 | 832 | self.proofreadpage_quality = value; |
| 833 | + self.proofreadpage_username = wgUserName; |
833 | 834 | var text=""; |
834 | 835 | switch(value){ |
835 | 836 | case 0: text = proofreadPageMessageQuality0; break; |