I have a page that is exhibiting some odd behavior. If I click on EDIT, the code for the page appears, but then if I click on PREVIEW, the preview view is blank as is the code block.
There is a warning at the top of the page that says it is longer than 32k and recommends shortening it because some browsers may have trouble editing it. What is odd is that another page has the same warning, but it displays just fine in both editing and preview modes.
Why do browsers have this limitation? And how do I get around it? I really don't want to shorten the page.
Sandy
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Sandy Rozhon wrote:
I have a page that is exhibiting some odd behavior. If I click on EDIT, the code for the page appears, but then if I click on PREVIEW, the preview view is blank as is the code block.
There is a warning at the top of the page that says it is longer than 32k and recommends shortening it because some browsers may have trouble editing it. What is odd is that another page has the same warning, but it displays just fine in both editing and preview modes.
Why do browsers have this limitation? And how do I get around it? I really don't want to shorten the page.
Because they're Netscape 4.x or earlier or any browser for 16-bit Windows or Mac OS 9 or earlier, where the OS's text edit widgets had a 32kb text length limitation due to the 16-bit legacy code.
So... unless you're editing on an ancient ancient browser, that's probably not your actual problem. :)
- -- brion vibber (brion @ wikimedia.org)
On 20 May 2008 at 14:14, Brion Vibber wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Sandy Rozhon wrote:
I have a page that is exhibiting some odd behavior. If I click on EDIT, the code for the page appears, but then if I click on PREVIEW, the preview view is blank as is the code block.
There is a warning at the top of the page that says it is longer than 32k and recommends shortening it because some browsers may have trouble editing it. What is odd is that another page has the same warning, but it displays just fine in both editing and preview modes.
Why do browsers have this limitation? And how do I get around it? I really don't want to shorten the page.
Because they're Netscape 4.x or earlier or any browser for 16-bit Windows or Mac OS 9 or earlier, where the OS's text edit widgets had a 32kb text length limitation due to the 16-bit legacy code.
So... unless you're editing on an ancient ancient browser, that's probably not your actual problem. :)
- -- brion vibber (brion @ wikimedia.org)
Hmm. Well, I am using IE6 and also tried Firefox (which had a similar problem).
I tried deleting the page and then creating a new version (although I did use the same name) and even that didn't help. I really don't want to change the page name, so is there anything I can do to get this thing back on track?
Sandy
Sandy Rozhon wrote:
I tried deleting the page and then creating a new version (although I did use the same name) and even that didn't help. I really don't want to change the page name, so is there anything I can do to get this thing back on track?
Sandy
Can you provide us a URL to check the problem ?
On 21 May 2008 at 0:11, Platonides wrote:
Sandy Rozhon wrote:
I tried deleting the page and then creating a new version (although I did use the same name) and even that didn't help. I really don't want to change the page name, so is there anything I can do to get this thing back on track?
Sandy
Can you provide us a URL to check the problem ?
This is the URL http://www.zodiacal.com/brooklyn/index.php5?title=SBS_1930-1939
Sandy
Sandy Rozhon wrote:
On 21 May 2008 at 0:11, Platonides wrote:
Sandy Rozhon wrote:
I tried deleting the page and then creating a new version (although I did use the same name) and even that didn't help. I really don't want to change the page name, so is there anything I can do to get this thing back on track?
Sandy
Can you provide us a URL to check the problem ?
This is the URL http://www.zodiacal.com/brooklyn/index.php5?title=SBS_1930-1939
Sandy
Confirmed. It's probably one of your extensions interfering with the preview. Probably the google maps one, as it hooks EditPage::showEditForm:initial.
I think some content is breaking it. Previewing of page fragments do work...
On 21 May 2008 at 13:40, Platonides wrote:
Sandy Rozhon wrote:
On 21 May 2008 at 0:11, Platonides wrote:
Sandy Rozhon wrote:
I tried deleting the page and then creating a new version (although I did use the same name) and even that didn't help. I really don't want to change the page name, so is there anything I can do to get this thing back on track?
Sandy
Can you provide us a URL to check the problem ?
This is the URL http://www.zodiacal.com/brooklyn/index.php5?title=SBS_1930-1939
Sandy
Confirmed. It's probably one of your extensions interfering with the preview. Probably the google maps one, as it hooks EditPage::showEditForm:initial.
I think some content is breaking it. Previewing of page fragments do work...
Initially, the page as it is right now, was working just fine. Then I got the bright idea to create a template for the decade selection blocks in case I needed to change something so it wouldn't be necessary to edit every single decade page. When I removed the code for the block links and replaced it with {{sbsdecades}}, the page broke.
So I then went back and edited the page to restore the original way it was coded. It was at this point that preview somehow broke and would not display the whole page or even the code in the edit screen.
I don't think it is the google maps extension because if that was the case, wouldn't all pages have the same problem? And I'm not actually using a map on this page.
Sandy
Sandy Rozhon wrote:
Initially, the page as it is right now, was working just fine. Then I got the bright idea to create a template for the decade selection blocks in case I needed to change something so it wouldn't be necessary to edit every single decade page. When I removed the code for the block links and replaced it with {{sbsdecades}}, the page broke.
So I then went back and edited the page to restore the original way it was coded. It was at this point that preview somehow broke and would not display the whole page or even the code in the edit screen.
I don't think it is the google maps extension because if that was the case, wouldn't all pages have the same problem? And I'm not actually using a map on this page.
Sandy
Who knows. That shouldn't be happening. Assuming the mediawiki core is sane, the usual steps are start disabling extensions until finding the guilty one. And as googlemaps does something to the edit, seems a probable offender.
mediawiki-l@lists.wikimedia.org