Wiki Tips: Difference between revisions

195 bytes added ,  21 April 2022
 
Line 5: Line 5:


===Finding coding problems===
===Finding coding problems===
<p>Here is another way to find where coding problems might exist in an article. Type the coding comment tags <!-- -->at the beginning and end of the problem article like so: <!-- article -->
<p>Here is another way to find where coding problems might exist in an article. First, copy the wikitext from the page that you are trying to fix and save it in your sandbox page. On the sandbox page, type the coding comment tags <!-- -->at the beginning and end of the problem article like so: <!-- article -->
</p><p>When you save the page, the page will be blank, but do not panic the coding is still there. Next move the opening comment <span class="fck_mw_nowiki" _fck_mw_customtag="true" _fck_mw_tagname="nowiki">&lt;!-- tag</span> down the page to maybe the next paragraph and then save. The material above the <span class="fck_mw_nowiki" _fck_mw_customtag="true" _fck_mw_tagname="nowiki">&lt;!--</span> will appear again.  
</p><p>When you save the page, the page will be blank, but do not panic the coding is still there. Next move the opening comment <span class="fck_mw_nowiki" _fck_mw_customtag="true" _fck_mw_tagname="nowiki">&lt;!-- tag</span> down the page to maybe the next paragraph and then save. The material above the <span class="fck_mw_nowiki" _fck_mw_customtag="true" _fck_mw_tagname="nowiki">&lt;!--</span> will appear again.  
</p><p>If there are no problems in the reappeared material, keep moving the <span class="fck_mw_nowiki" _fck_mw_customtag="true" _fck_mw_tagname="nowiki">&lt;!-- </span>tag down the page and keep saving until the error shows itself.  
</p><p>If there are no problems in the reappeared material, keep moving the <span class="fck_mw_nowiki" _fck_mw_customtag="true" _fck_mw_tagname="nowiki">&lt;!-- </span>tag down the page and keep saving until the error shows itself.  
</p><p>You now know where the problem is. After you have fixed the problem, be sure to remove the comment tags.
</p><p>You now know where the problem is. After you have fixed the problem, be sure to remove the comment tags and copy the fixed wikitext code from your sandbox page to the live page.  
</p>
</p>