Content deleted Content added
PleaseStand (talk | contribs) m spaces-to-tabs conversion using `unexpand --first-only -t4` |
PleaseStand (talk | contribs) m window.document is silly. We should be able to assume a sane browser environment. |
||
Line 105:
// since MediaWiki/PHP supports many different HTML entities.
// (Note: innerHTML is not W3C-standard)
var d =
d.innerHTML = "<input value=" + t + "></input>";
return d.firstChild.value;
Line 515:
// Inline refs header
refsH2 =
refsH2.appendChild(
refsH2.style.borderColor = "silver";
Line 529:
// Inline refs textbox
refsTextbox =
refsTextbox.id = "PsRefsTextbox";
if(!complete) {
Line 599:
// Inline refs header
refsH2 =
refsH2.appendChild(
refsH2.style.borderColor = "silver";
Line 615:
if(!refsTextbox) {
// Does not exist; creating
refsTextbox =
refsTextbox.id = "PsRefsTextbox";
refsTextbox.value = messages.refsCommentComplete +
Line 638:
// Set a default edit summary.
// Show the further instructions.
Line 678:
// Only activate on edit pages (that are not section edit pages)
if(!
return;
}
// Get the edit form
editForm =
// Get the edit box
mainTextbox =
// Make the "segregate" button
refsButton =
refsButton.type = "button";
refsButton.value = messages.buttonText;
Line 696:
// Make the "convert" button
convertButton =
convertButton.type = "button";
convertButton.value = messages.buttonConvertText;
Line 708:
// Add the refs div
refsDiv =
refsDiv.appendChild(refsButton);
refsDiv.appendChild(convertButton);
|