This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
We're trying to start a library for gadget authors to use. Please check it out and post any questions or comments there. -- ☠ MarkAHershberger☢( talk)☣ —Preceding undated comment added 01:36, 9 March 2012
I just popped your syntax highlighter into my common.js after seeing you mention it on the Signpost discussion. I haven't done any "real editing" with it yet (that will be coming...), but for now I just want to say thank you thank you thank you! I've been looking for something like this recently, and your tool seems to do exactly what I need it to do, no more and no less. A fluffernutter is a sandwich! ( talk) 00:59, 26 August 2012 (UTC)
Indeed, this is fantastic! I've left some detailed notes and questions at WP:VPT#Syntax highlighter reboot (where I saw it), and linked to that thread from WP:VPR#Differentiating reference syntax in the editing window. Best wishes, and a very hearty "welcome back! ye were missed." :) -- Quiddity ( talk) 22:23, 28 August 2012 (UTC)
People care, but Wikipedia:Village pump (technical) is not the best place anymore to get interest. Also, people do not have the ability to watchlist individual discussions. See:
I suggest you formally propose this as a gadget at Wikipedia:Village pump (proposals). Then you will definitely get interest. -- Timeshifter ( talk) 03:15, 29 August 2012 (UTC)
I think the script is a great idea, but it doesn't seem to work on Google Chrome. A boat that can float! (watch me float!) 11:31, 30 August 2012 (UTC)
I have it installed for a few days now. I am going to uninstall it though. It is kind of distracting because it highlights so many things. If it highlighted only references, then I would keep it installed. That would be so useful. It wastes so much time to have to hunt through a lot of text to find one reference out of dozens. Especially when one reference is used multiple times, and only one of the locations for it in the text has the full reference details. Using find in the browser is helpful, but I like being able to just scan the page for references, too. That is where your gadget is so helpful. -- Timeshifter ( talk) 02:36, 2 September 2012 (UTC)
I hope you don't mind me posting here instead of the meta talk page. I rarely check my meta watchlist. I kept getting this message while adding a banner a little while ago to the top of many pages:
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. |
I removed the JS from User:Timeshifter/common.js. I was going to remove it anyway since I don't like so much being highlighted. I am looking forward to the custom version that only highlights references. -- Timeshifter ( talk) 07:15, 2 September 2012 (UTC)
If you have enough free disk space to store them and a computer capable of running QEMU/ KVM, Microsoft provides freely downloadable VHD images that can be converted to work. Anomie ⚔ 20:43, 2 September 2012 (UTC)
qemu-system-x86_64 -enable-kvm -name 'Maleficium',process=maleficium -cpu host -m 1024 -usb -vga std -net nic,model=e1000,vlan=1,macaddr=52:54:00:12:01:03 -net vde,vlan=1,sock=/var/run/vde2/vde0.ctl -soundhw hda -hda Win7_IE8.vhd -snapshot
). Never tried VirtualBox. The only real annoyance is that it can't seem to deal with qemu's emulated touchpad, so it has to grab the mouse instead. BTW, how much disk space does the IE9 image need?
Anomie
⚔
00:50, 5 September 2012 (UTC)
You could set up a partition on your hard drive for Windows 7. It works much better than Win XP as concerns not screwing up other O.S. partitions. I have a Win XP partition and a Win 7 partition on my hard drive. I have not used the Win XP partition though for a long time. But Windows 7 takes care of all the multi-booting choices and interfaces. I don't know though how Win 7 and Linux partitions play together though. But I read that it is common for people to have both. -- Timeshifter ( talk) 04:30, 3 September 2012 (UTC)
First of all, thanks for your great syntax highlighter script!
I noticed that only named entities are highlighted, but not numeric: no break - no break - no break
The end of the long regular expression should be something like &(?:\\w+|#\\d+|#[xX][0-9a-fA-F]+);
instead of just &\\w+;
. --
Schnark (
talk)
08:17, 6 September 2012 (UTC)
To reproduce this bug in your syntax highlight script, remove the pre tags from the following code:
{| style="border: 1px dashed green;" |- | ohne <code>cellpadding</code> und ohne <co |} {| style="border: 1px dashed green; padding: 10px;" |- | <code>padding: 10px;</code> |}
I was adding something in the first table. After I had opened the new code tag, my Firefox 10 stopped in the line
if (match0 == stopAfterText)
and asked me, whether I want to stop the unresponsive script or not. Even stopping didn't help, but finally at least I managed to type a closing >, and everything worked again. -- Schnark ( talk) 09:41, 8 September 2012 (UTC)
Hi Remember the dot-- based on the village pump discussion on giving reference syntax a unique color to differentiate from other text while editing, I've opened up an RfC to expand the audience on the topic. You are welcome to participate anytime. I also want to say your tool has been a pleasure to use, and I hope it can be expanded to other editors. I think it can be a real game changer. I, Jethrobot drop me a line (note: not a bot!) 00:26, 21 September 2012 (UTC)
In
else //|
{
//table
writeText("{{", syntaxHighlighterConfig.tableColor || color);
the last line should be
writeText("{|", syntaxHighlighterConfig.tableColor || color);
In
if (tagName == "nowiki" || tagName == "pre" || tagName == "syntaxhighlight")
you should add source
, math
, hiero
, and perhaps timeline
(wikilinks are allowed, but everything else is a big mess).
In
stopAfter.replace(/([\|\[])/g, "\\$1")
you should escape more, I once found a JavaScript error in the log about an invalid regular expression. Try <**. Since it is called inside a setIntervall
this error didn't break anything, but should be fixed anyway. You could use
$.escapeRE(stopAfter)
Another solution would be to limit the tag name to \w
, this also makes raw less than signs possible. You could use <(?:\w+|!--[\\s\\S]*?-->)
as regular expression to search for tags, and set tagName
to what this expression found, and just look for attributes and selfclosing tags from that point on.
To allow <br>
you could simply add
if (tagName == "br" || tagName == "hr") emptyTag = true;
For some reason no scroll event seems to be fired when the textbox scrolls after you click a button in the toolbar, so scrollTop
should be synced regularly.
I don't mind the font size, but perhaps 10pt
is a bit too small for some people. Is there any reason, why you set both wpTextbox1
and wpTextbox0
to the same fixed value, instead of just copying the style of wpTextbox1
to wpTextbox0
?
I know that caching isn't easy, but I think that it should be possible for discussions (which are at least for me pages where I regularly reach the 150ms limit):
This might cause some problems when there is some unclosed structure in the original text, but this should happen very rarely, and when the user inserts the missing closing tag before he adds his own comment, the script will be forced to parse the complete text anyway. Perhaps there even is a good way to test for such unclosed things. -- Schnark ( talk) 08:02, 24 September 2012 (UTC)
<nowiki>
, custom font sizes (though I think the default font size is too small), and escaping the regular expression. Because
escapeRE is a one-line function, I just copied its code to make off-wiki testing easier.<br>
and <hr>
; I find these syntaxes confusing and would prefer to encourage the terminated forms <br/>
and <hr/>
.false
as the third argument to all addEventListener
, see
[1], and null
as second parameter to getComputedStyle
(
[2]). But if you don't want to care about old browsers just ignore them, I try to find a computer with reasonable browsers.There's an interesting text highlighter (and you might be aware of it) at this website called jsFiddle, which highlights syntax in HTML, javascript, and CSS. Try it out, if you haven't-- it seems to work very well. They also have documentation here. Let me know what you think. I, Jethrobot drop me a line (note: not a bot!) 05:32, 5 October 2012 (UTC)
As the title says: Open the "Advanced" or "Cite" toolbar from the default edit toolbar and click on the dropdown. It will hide behind the edit box. This sometimes happens (happened?) even without your script, but you should add something like $('.tool-select *').css({zIndex: 5});
in the initialising code. --
Schnark (
talk)
09:38, 6 October 2012 (UTC)
PS: I'm doing some experiments in User:Schnark/vector.js. It still has too many bugs to be usefull, but sometimes I'm able to edit Barack Obama with live syntaxhighlight in ~ 70ms.
My version of your syntax highlighter (still at User:Schnark/vector.js) now seems to be fast enough to be useful, editing the complete Barack Obama works well. If you want to copy parts (or the whole) of it, feel free to do so!
Two points about performance you should note anyway:
scrollTop
every time the text is highlighted. This is terribly slow, so I decided to ignore the bug.<span>
s. Once they are created the script is faster, so you should only abort when the script takes too long for the second time. --
Schnark (
talk)
08:26, 8 October 2012 (UTC)<span>
s that get highlighted and creating and applying the CSS. I'm going to make some more tests to see how to make things faster, but I'm not sure whether this is really possible. --
Schnark (
talk)
09:20, 10 October 2012 (UTC)Thanks for uploading File:Koch Industries logo.png. The media description page currently specifies that it is non-free and may only be used on Wikipedia under a claim of fair use. However, it is currently orphaned, meaning that it is not used in any articles on Wikipedia. If the media was previously in an article, please go to the article and see why it was removed. You may add it back if you think that that will be useful. However, please note that media for which a replacement could be created are not acceptable for use on Wikipedia (see our policy for non-free media).
If you have uploaded other unlicensed media, please check whether they're used in any articles or not. You can find a list of 'file' pages you have edited by clicking on the " my contributions" link (it is located at the very top of any Wikipedia page when you are logged in), and then selecting "File" from the dropdown box. Note that all non-free media not used in any articles will be deleted after seven days, as described on criteria for speedy deletion. Thank you. Hazard-Bot ( talk) 04:09, 11 October 2012 (UTC)
I, Jethrobot drop me a line (note: not a bot!) 05:38, 8 November 2012 (UTC)
Hi there,
it seems dragging selected text in the textbox doesn't work well if the highlighter is at work (even if both the selection and target areas aren't highlighted). It works otherwise if the text contains no mediawiki syntax. Issue is occurring in Firefox 16 on Ubuntu 12.04, using the modern skin with some modifications. Do you think it could be fixed? -- Waldir talk 15:32, 9 November 2012 (UTC)
Hello. You are receiving this message because of a recent change to the administrator policy that alters what you were told at the time of your desysopping. The effect of the change is that if you are inactive for a continuous three year period, you will be unable to request return of the administrative user right. This includes inactive time prior to your desysopping if you were desysopped for inactivity and inactive time prior to the change in policy. Inactivity is defined as the absence of edits or logged actions. Until such time as you have been inactive for three years, you may request return of the tools at the bureaucrats' noticeboard. After you have been inactive for three years, you may seek return of the tools only through WP:RFA. Thank you. MBisanz talk 00:20, 4 December 2012 (UTC)
In case this comes up: If Syntaxhighlighter is enabled as a Gadget and in your JS, then the edit windows gets duplicated with the highlighting but no text. --— Gadget850 (Ed) talk 12:47, 6 December 2012 (UTC)
I'm working on a Signpost series to bring attention to new wiki-tools and feedback to their authors. So far, I have Nettrom, author of SuggestBot, West.andrew.g, author of WP:STiki, and EpochFail (myself), author of WP:Snuggle. I'm hoping to convince you to include an article on your syntax highlighter. The idea is still pretty preliminary, but I've started working on a draft article for Snuggle that you can look at to see what I have in mind. -- EpochFail( talk| work) 15:42, 13 December 2012 (UTC)
Hi, I noticed that some forms of markup seem to take precedence over others, resulting in things like this. Maybe that's inevitable, but I thought you might want to take a look. -- Waldir talk 20:14, 17 December 2012 (UTC)
<tag><template>content</tag><tag>content</template></tag>
<tag><template>content</template></tag>
FYI, Here's another one that confuses the highlighter. Btw, happy new year! -- Waldir talk 15:49, 1 January 2013 (UTC)
I see you removed </includeonly><includeonly>
from many maintenance templates, like in
this edit. These were made by many very experienced template editors. Are you sure this was a good idea?
Debresser (
talk)
16:22, 19 December 2012 (UTC)
subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
subst = <includeonly>{{subst:substcheck}}</includeonly>
Great job. I love the syntax highlighter. It makes seeing certain mistakes so easy that I may never do them again (e.g., unpaired tags are now so obvious). So here's a baby sugar glider to show my appreciation.-- Fuhghettaboutit ( talk) 00:26, 28 December 2012 (UTC) |
<p>
into the middle of a block of text, as it makes the wikitext more understandable when others open it for editing. For example, what if someone wanted to insert a reply to the first paragraph before the second paragraph, as Wikipedians often do? —
Remember the dot (
talk)
05:43, 4 January 2013 (UTC)
<p>
, just make sure to end it properly with </p>
. As you pointed out, the highlighter helpfully discourages stray <p>
tags in articles, and I don't want to change that by making an exception.This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
We're trying to start a library for gadget authors to use. Please check it out and post any questions or comments there. -- ☠ MarkAHershberger☢( talk)☣ —Preceding undated comment added 01:36, 9 March 2012
I just popped your syntax highlighter into my common.js after seeing you mention it on the Signpost discussion. I haven't done any "real editing" with it yet (that will be coming...), but for now I just want to say thank you thank you thank you! I've been looking for something like this recently, and your tool seems to do exactly what I need it to do, no more and no less. A fluffernutter is a sandwich! ( talk) 00:59, 26 August 2012 (UTC)
Indeed, this is fantastic! I've left some detailed notes and questions at WP:VPT#Syntax highlighter reboot (where I saw it), and linked to that thread from WP:VPR#Differentiating reference syntax in the editing window. Best wishes, and a very hearty "welcome back! ye were missed." :) -- Quiddity ( talk) 22:23, 28 August 2012 (UTC)
People care, but Wikipedia:Village pump (technical) is not the best place anymore to get interest. Also, people do not have the ability to watchlist individual discussions. See:
I suggest you formally propose this as a gadget at Wikipedia:Village pump (proposals). Then you will definitely get interest. -- Timeshifter ( talk) 03:15, 29 August 2012 (UTC)
I think the script is a great idea, but it doesn't seem to work on Google Chrome. A boat that can float! (watch me float!) 11:31, 30 August 2012 (UTC)
I have it installed for a few days now. I am going to uninstall it though. It is kind of distracting because it highlights so many things. If it highlighted only references, then I would keep it installed. That would be so useful. It wastes so much time to have to hunt through a lot of text to find one reference out of dozens. Especially when one reference is used multiple times, and only one of the locations for it in the text has the full reference details. Using find in the browser is helpful, but I like being able to just scan the page for references, too. That is where your gadget is so helpful. -- Timeshifter ( talk) 02:36, 2 September 2012 (UTC)
I hope you don't mind me posting here instead of the meta talk page. I rarely check my meta watchlist. I kept getting this message while adding a banner a little while ago to the top of many pages:
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. |
I removed the JS from User:Timeshifter/common.js. I was going to remove it anyway since I don't like so much being highlighted. I am looking forward to the custom version that only highlights references. -- Timeshifter ( talk) 07:15, 2 September 2012 (UTC)
If you have enough free disk space to store them and a computer capable of running QEMU/ KVM, Microsoft provides freely downloadable VHD images that can be converted to work. Anomie ⚔ 20:43, 2 September 2012 (UTC)
qemu-system-x86_64 -enable-kvm -name 'Maleficium',process=maleficium -cpu host -m 1024 -usb -vga std -net nic,model=e1000,vlan=1,macaddr=52:54:00:12:01:03 -net vde,vlan=1,sock=/var/run/vde2/vde0.ctl -soundhw hda -hda Win7_IE8.vhd -snapshot
). Never tried VirtualBox. The only real annoyance is that it can't seem to deal with qemu's emulated touchpad, so it has to grab the mouse instead. BTW, how much disk space does the IE9 image need?
Anomie
⚔
00:50, 5 September 2012 (UTC)
You could set up a partition on your hard drive for Windows 7. It works much better than Win XP as concerns not screwing up other O.S. partitions. I have a Win XP partition and a Win 7 partition on my hard drive. I have not used the Win XP partition though for a long time. But Windows 7 takes care of all the multi-booting choices and interfaces. I don't know though how Win 7 and Linux partitions play together though. But I read that it is common for people to have both. -- Timeshifter ( talk) 04:30, 3 September 2012 (UTC)
First of all, thanks for your great syntax highlighter script!
I noticed that only named entities are highlighted, but not numeric: no break - no break - no break
The end of the long regular expression should be something like &(?:\\w+|#\\d+|#[xX][0-9a-fA-F]+);
instead of just &\\w+;
. --
Schnark (
talk)
08:17, 6 September 2012 (UTC)
To reproduce this bug in your syntax highlight script, remove the pre tags from the following code:
{| style="border: 1px dashed green;" |- | ohne <code>cellpadding</code> und ohne <co |} {| style="border: 1px dashed green; padding: 10px;" |- | <code>padding: 10px;</code> |}
I was adding something in the first table. After I had opened the new code tag, my Firefox 10 stopped in the line
if (match0 == stopAfterText)
and asked me, whether I want to stop the unresponsive script or not. Even stopping didn't help, but finally at least I managed to type a closing >, and everything worked again. -- Schnark ( talk) 09:41, 8 September 2012 (UTC)
Hi Remember the dot-- based on the village pump discussion on giving reference syntax a unique color to differentiate from other text while editing, I've opened up an RfC to expand the audience on the topic. You are welcome to participate anytime. I also want to say your tool has been a pleasure to use, and I hope it can be expanded to other editors. I think it can be a real game changer. I, Jethrobot drop me a line (note: not a bot!) 00:26, 21 September 2012 (UTC)
In
else //|
{
//table
writeText("{{", syntaxHighlighterConfig.tableColor || color);
the last line should be
writeText("{|", syntaxHighlighterConfig.tableColor || color);
In
if (tagName == "nowiki" || tagName == "pre" || tagName == "syntaxhighlight")
you should add source
, math
, hiero
, and perhaps timeline
(wikilinks are allowed, but everything else is a big mess).
In
stopAfter.replace(/([\|\[])/g, "\\$1")
you should escape more, I once found a JavaScript error in the log about an invalid regular expression. Try <**. Since it is called inside a setIntervall
this error didn't break anything, but should be fixed anyway. You could use
$.escapeRE(stopAfter)
Another solution would be to limit the tag name to \w
, this also makes raw less than signs possible. You could use <(?:\w+|!--[\\s\\S]*?-->)
as regular expression to search for tags, and set tagName
to what this expression found, and just look for attributes and selfclosing tags from that point on.
To allow <br>
you could simply add
if (tagName == "br" || tagName == "hr") emptyTag = true;
For some reason no scroll event seems to be fired when the textbox scrolls after you click a button in the toolbar, so scrollTop
should be synced regularly.
I don't mind the font size, but perhaps 10pt
is a bit too small for some people. Is there any reason, why you set both wpTextbox1
and wpTextbox0
to the same fixed value, instead of just copying the style of wpTextbox1
to wpTextbox0
?
I know that caching isn't easy, but I think that it should be possible for discussions (which are at least for me pages where I regularly reach the 150ms limit):
This might cause some problems when there is some unclosed structure in the original text, but this should happen very rarely, and when the user inserts the missing closing tag before he adds his own comment, the script will be forced to parse the complete text anyway. Perhaps there even is a good way to test for such unclosed things. -- Schnark ( talk) 08:02, 24 September 2012 (UTC)
<nowiki>
, custom font sizes (though I think the default font size is too small), and escaping the regular expression. Because
escapeRE is a one-line function, I just copied its code to make off-wiki testing easier.<br>
and <hr>
; I find these syntaxes confusing and would prefer to encourage the terminated forms <br/>
and <hr/>
.false
as the third argument to all addEventListener
, see
[1], and null
as second parameter to getComputedStyle
(
[2]). But if you don't want to care about old browsers just ignore them, I try to find a computer with reasonable browsers.There's an interesting text highlighter (and you might be aware of it) at this website called jsFiddle, which highlights syntax in HTML, javascript, and CSS. Try it out, if you haven't-- it seems to work very well. They also have documentation here. Let me know what you think. I, Jethrobot drop me a line (note: not a bot!) 05:32, 5 October 2012 (UTC)
As the title says: Open the "Advanced" or "Cite" toolbar from the default edit toolbar and click on the dropdown. It will hide behind the edit box. This sometimes happens (happened?) even without your script, but you should add something like $('.tool-select *').css({zIndex: 5});
in the initialising code. --
Schnark (
talk)
09:38, 6 October 2012 (UTC)
PS: I'm doing some experiments in User:Schnark/vector.js. It still has too many bugs to be usefull, but sometimes I'm able to edit Barack Obama with live syntaxhighlight in ~ 70ms.
My version of your syntax highlighter (still at User:Schnark/vector.js) now seems to be fast enough to be useful, editing the complete Barack Obama works well. If you want to copy parts (or the whole) of it, feel free to do so!
Two points about performance you should note anyway:
scrollTop
every time the text is highlighted. This is terribly slow, so I decided to ignore the bug.<span>
s. Once they are created the script is faster, so you should only abort when the script takes too long for the second time. --
Schnark (
talk)
08:26, 8 October 2012 (UTC)<span>
s that get highlighted and creating and applying the CSS. I'm going to make some more tests to see how to make things faster, but I'm not sure whether this is really possible. --
Schnark (
talk)
09:20, 10 October 2012 (UTC)Thanks for uploading File:Koch Industries logo.png. The media description page currently specifies that it is non-free and may only be used on Wikipedia under a claim of fair use. However, it is currently orphaned, meaning that it is not used in any articles on Wikipedia. If the media was previously in an article, please go to the article and see why it was removed. You may add it back if you think that that will be useful. However, please note that media for which a replacement could be created are not acceptable for use on Wikipedia (see our policy for non-free media).
If you have uploaded other unlicensed media, please check whether they're used in any articles or not. You can find a list of 'file' pages you have edited by clicking on the " my contributions" link (it is located at the very top of any Wikipedia page when you are logged in), and then selecting "File" from the dropdown box. Note that all non-free media not used in any articles will be deleted after seven days, as described on criteria for speedy deletion. Thank you. Hazard-Bot ( talk) 04:09, 11 October 2012 (UTC)
I, Jethrobot drop me a line (note: not a bot!) 05:38, 8 November 2012 (UTC)
Hi there,
it seems dragging selected text in the textbox doesn't work well if the highlighter is at work (even if both the selection and target areas aren't highlighted). It works otherwise if the text contains no mediawiki syntax. Issue is occurring in Firefox 16 on Ubuntu 12.04, using the modern skin with some modifications. Do you think it could be fixed? -- Waldir talk 15:32, 9 November 2012 (UTC)
Hello. You are receiving this message because of a recent change to the administrator policy that alters what you were told at the time of your desysopping. The effect of the change is that if you are inactive for a continuous three year period, you will be unable to request return of the administrative user right. This includes inactive time prior to your desysopping if you were desysopped for inactivity and inactive time prior to the change in policy. Inactivity is defined as the absence of edits or logged actions. Until such time as you have been inactive for three years, you may request return of the tools at the bureaucrats' noticeboard. After you have been inactive for three years, you may seek return of the tools only through WP:RFA. Thank you. MBisanz talk 00:20, 4 December 2012 (UTC)
In case this comes up: If Syntaxhighlighter is enabled as a Gadget and in your JS, then the edit windows gets duplicated with the highlighting but no text. --— Gadget850 (Ed) talk 12:47, 6 December 2012 (UTC)
I'm working on a Signpost series to bring attention to new wiki-tools and feedback to their authors. So far, I have Nettrom, author of SuggestBot, West.andrew.g, author of WP:STiki, and EpochFail (myself), author of WP:Snuggle. I'm hoping to convince you to include an article on your syntax highlighter. The idea is still pretty preliminary, but I've started working on a draft article for Snuggle that you can look at to see what I have in mind. -- EpochFail( talk| work) 15:42, 13 December 2012 (UTC)
Hi, I noticed that some forms of markup seem to take precedence over others, resulting in things like this. Maybe that's inevitable, but I thought you might want to take a look. -- Waldir talk 20:14, 17 December 2012 (UTC)
<tag><template>content</tag><tag>content</template></tag>
<tag><template>content</template></tag>
FYI, Here's another one that confuses the highlighter. Btw, happy new year! -- Waldir talk 15:49, 1 January 2013 (UTC)
I see you removed </includeonly><includeonly>
from many maintenance templates, like in
this edit. These were made by many very experienced template editors. Are you sure this was a good idea?
Debresser (
talk)
16:22, 19 December 2012 (UTC)
subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
subst = <includeonly>{{subst:substcheck}}</includeonly>
Great job. I love the syntax highlighter. It makes seeing certain mistakes so easy that I may never do them again (e.g., unpaired tags are now so obvious). So here's a baby sugar glider to show my appreciation.-- Fuhghettaboutit ( talk) 00:26, 28 December 2012 (UTC) |
<p>
into the middle of a block of text, as it makes the wikitext more understandable when others open it for editing. For example, what if someone wanted to insert a reply to the first paragraph before the second paragraph, as Wikipedians often do? —
Remember the dot (
talk)
05:43, 4 January 2013 (UTC)
<p>
, just make sure to end it properly with </p>
. As you pointed out, the highlighter helpfully discourages stray <p>
tags in articles, and I don't want to change that by making an exception.