Last modified: 2012-06-26 20:24:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39955, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37955 - Internal tidy does not work
Internal tidy does not work
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.19
Macintosh Mac OS X 10.7
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-26 08:36 UTC by Norbert Jaspers
Modified: 2012-06-26 20:24 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Norbert Jaspers 2012-06-26 08:36:38 UTC
I use the latest MAMP with PHP 5.3.6 and  mediawiki 1.19.1
and have imported the LA dump.
I use tidy found in MAC OS X to fix some html bugs.


External Tidy works fine but internal Tidy does not.

Looks like in function execInternalTidy in tidy.php it checks for a class Tidy
but there seems to be only a class MWTidy.
Comment 1 Sam Reed (reedy) 2012-06-26 13:23:12 UTC
Tidy is the php extension http://www.php.net/manual/en/class.tidy.php

What would be the point of checking if a class included with MediaWiki itself existed?
Comment 2 Norbert Jaspers 2012-06-26 16:00:26 UTC
I just traced the mediawiki code.
When i try internal tidy and it comes to the class check it stop intnal tidy .
That is all withon mediawiki !!!!
Are you interested in bug reports or not ?
Comment 3 Sam Reed (reedy) 2012-06-26 20:01:57 UTC
(In reply to comment #2)
> I just traced the mediawiki code.
> When i try internal tidy and it comes to the class check it stop intnal tidy .
> That is all withon mediawiki !!!!
> Are you interested in bug reports or not ?

If it can't find the class, it's because you haven't got the module loaded in the correct PHP configuration
Comment 4 Norbert Jaspers 2012-06-26 20:24:02 UTC
I have the official unchanged MAMP and mediawiki 1.19.1 installation.
I do not know what you mean with correct PHP configuration.
I thought intnal tidy does not need that ...

But anyway, i got the external tidy working perfectly and it solves
the html errors i found in the dumps . I am happy with that.

I just wanted to help. I will not debug any furher.
You can keep this problem closed if you want and forget.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links