Help:Errors: Difference between revisions
Eric Martz (talk | contribs) No edit summary |
Eric Martz (talk | contribs) |
||
Line 6: | Line 6: | ||
*'''What causes this error''': A mismatched tag, like a missing closing </scene>, or even a missing "<" or ">" sign, for example in "</scene" (where the final ">" was inadvertantly deleted). | *'''What causes this error''': A mismatched tag, like a missing closing </scene>, or even a missing "<" or ">" sign, for example in "</scene" (where the final ">" was inadvertantly deleted). | ||
*'''How to fix it''': Lets assume that you saved the page with the mismatched tag error, so all you can see is the XML Error message. Don't worry. You can still open the page | *'''How to fix it''': Lets assume that you saved the page with the mismatched tag error, so all you can see is the XML Error message. Don't worry. You can still open the page in ''edit'' mode and fix it. | ||
** If you | ** If you are still in the same browser session in which you clicked the ''Save page'' button and saw the error, all you have to do is click the ''Back'' button of your browser. Now you will see the wikitext containing the error as it was just before you saved it. If you can find and correct the error, then save the page again. | ||
**For that, try accessing your page (don't pay attention to the XML error text). Now, slightly modify the URL on your browser replacing the <span style='background-color:yellow'>''' / '''</span> following index.php by <span style='background-color:yellow'>'''?title='''</span> and adding <span style='background-color:yellow'>'''&action=edit'''</span> after the name of your page, as shown in this example. Once done, press return on the url to open the page for editing:<br> | ** If you are in a new browser session, you can still edit the page. For that, try accessing your page (don't pay attention to the XML error text). Now, slightly modify the URL on your browser replacing the <span style='background-color:yellow'>''' / '''</span> following index.php by <span style='background-color:yellow'>'''?title='''</span> and adding <span style='background-color:yellow'>'''&action=edit'''</span> after the name of your page, as shown in this example. Once done, press return on the url to open the page for editing:<br> | ||
<pre>http://proteopedia.org/wiki/index.php/MyCrashedPage</pre> | <pre>http://proteopedia.org/wiki/index.php/MyCrashedPage</pre> | ||
<pre>http://proteopedia.org/wiki/index.php?title=MyCrashedPage&action=edit</pre> | <pre>http://proteopedia.org/wiki/index.php?title=MyCrashedPage&action=edit</pre> | ||
Once you have the page in edit mode, all you need to do is to add the missing tag or to remove the superfluous one. | Once you have the page in edit mode, all you need to do is to add the missing tag or to remove the superfluous one. | ||
**If you cannot find the incorrect tag, click on the ''history'' tab at the top of the edit page. Now click on '''undo''' | **If you cannot find the incorrect tag, click on the ''history'' tab at the top of the edit page. Now click on '''undo''' at the right end of the top item (the last save). You will be shown the comparision of the wikitext before and after the last save. Changes will be highlighted. | ||
***If you can find the error, click your browser's ''Back'' button twice to get back to the wikitext containing the error. Fix the error and save the page. | |||
***If you cannot find the error, go ahead and save the ''undo''. You will lose changes made along with the change the created the error, but the error will be gone. |