Hello, Am Dienstag, 6. Dezember 2011 schrieb Matthew Ehle:
Christian Boltz
12/6/2011 12:50 PM >>>
Matthew, I'm afraid I have to shock you once more ;-)
The diff view in the wiki is partly broken - I can see the diff, but I don't see the page content - instead, I see "Unable to get content". ... I guess you'll need to add another exception in your rewrite rules for api.php ;-)
I made that change, and now I get an XML error... not sure what's going on there.
That's quite easy - ask xmllint ;-) It will tell you: parser error : XML declaration allowed only at the start of the document In other words: the XML declaration starts in line 2, not in line 1 of the XML - something[tm] adds a superfluous newline. Not only to the XML, it's also visible in the HTML output. Search all files for newlines before "<?php" or after "?>". My guess[1] is extensions/videoflash.php - remove the newline at the end...
Interestingly, my private wiki doesn't use api.php to fetch the page content in diff view, but until now I have no idea what causes this differenct behaviour.
What version of MW are you on?
I upgraded to 1.17 recently, to have the same version as openSUSE.
Also, the difference may have something to do with the 10,000 extensions we have on the openSUSE wikis :)
Well, I have to propose some extensions until we hit the 10,000 bar ;-) Checking the generated HTML for "Unable to get content" finds (in a <script> block): "wgRevContents": {"error": "Unable to get content.", [...] } and grep says this belongs to FlaggedRevs. That's indeed an extension I don't need on my private wiki - reviewing my own changes would be superfluous ;-) Regards, Christian Boltz [1] guessed ;-) by using "tail -n1 extensions/*.*" --
über browser?, wie wärs mit (ISDN)Telefon - ich hab da reboot und rcsmpppd restart Habe ich mir auch schon überlegt! Aber die Vorstellung war dann doch etwas komisch: "Ja, Schatz! Ich komme gleich ins Bett! Muss nur noch kurz meinen Router (unterm Tisch) anrufen, damit er runterfährt!" [> Andre Fischer und Michael Frank in suse-linux]
-- To unsubscribe, e-mail: opensuse-web+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-web+owner@opensuse.org