Xenharmonic Wiki talk:Bugs: Difference between revisions

m Bug in interpreting certain characters in change comments: This bug appears in both history and watchlist
Line 60: Line 60:
== Bug in interpreting certain characters in change comments ==
== Bug in interpreting certain characters in change comments ==


I edited the Intervals table for 84edo to add links to the intervals, by copying the Wiki source for the section to a text file on my computer, using the "sed" command on it to do the actual editing (took less time to learn to use "sed" than to do all that by hand), and then copying the output file back into the article section.  Then I decided to paste the command into the change comment so that people could see what I did to repeat it for themselves on other tables (if they have Unixoid operating systems or at least the command sets thereof). First, here is the full "sed" command:
I edited the Intervals table for [[84edo]] to add links to the intervals, by copying the Wiki source for the section to a text file on my computer, using the "sed" command on it to do the actual editing (took less time to learn to use "sed" than to do all that by hand), and then copying the output file back into the article section.  Then I decided to paste the command into the change comment so that people could see what I did to repeat it for themselves on other tables (if they have Unixoid operating systems or at least the command sets thereof). First, here is the full "sed" command:


<code>sed -E "s#[0-9]*/[0-9]*#\[\[&\]\]#g" 84EDO\ intervals.txt > 84EDOintervals.txt</code>
<code>sed -E "s#[0-9]*/[0-9]*#\[\[&\]\]#g" 84EDO\ intervals.txt > 84EDOintervals.txt</code>
Line 71: Line 71:


This indicates that whatever processes the change comments (even after storage, and including both the page history and the watchlist) doesn't treat everything you paste in as just literal text.  To avoid having bad things happen, it should treat everything you paste into the change comment as literal text.
This indicates that whatever processes the change comments (even after storage, and including both the page history and the watchlist) doesn't treat everything you paste in as just literal text.  To avoid having bad things happen, it should treat everything you paste into the change comment as literal text.
Another example.just added in the history for [[55edo]] (editing the Intervals table again):
<code>sed -E "s#[0-9]+/[0-9]+#\[\[&\]\]#g" 55EDOintervals.txt > 55EDOintervals.new.txt</code>
This produced similar output in the 55edo history.


Added:  [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 07:04, 29 October 2025 (UTC)<br>
Added:  [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 07:04, 29 October 2025 (UTC)<br>
Last modified:  [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 07:06, 29 October 2025 (UTC)
Last modified:  [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 08:55, 19 November 2025 (UTC)
Return to the project page "Bugs".