Last modified: 2011-04-14 15:13:34 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 T17421, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15421 - Target name parameter defaults to "Object" in delete-and-move and sanitizer.php causes a warning
Target name parameter defaults to "Object" in delete-and-move and sanitizer.p...
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.13.x
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-01 15:56 UTC by David Crochet
Modified: 2011-04-14 15:13 UTC (History)
2 users (show)

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


Attachments

Description David Crochet 2008-09-01 15:56:43 UTC
Hello

In a private mediawiki a renaming output this (take from the source page): 

<b>Warning</b>:  htmlspecialchars() expects parameter 1 to be string, object given in <b>/home/users/wikimedia/sousdomaines/membres/includes/Sanitizer.php</b> on line <b>729</b><br />

with a sysop level user account, the warning is output, with this in plus (in french): 
*  first line : « L’article de destination « Object » existe déjà. Voulez-vous le supprimer pour permettre le renommage ? »  Object is rendering instead of a link to the destination page
* The field in right « Nouveau titre » is empty ; normaly, it have in it the name of the page
* The check-box « Oui, j’accepte de supprimer la page de destination pour permettre le renommage. » in uncheck, it's normal because it's the confirmation page

with a confirm account, the warning is output, no error in apparence, only the warning.

The mediawiki :
MediaWiki  	1.13.0 (r40305)
PHP 	5.1.4-Debian-0.1~sarge1 (apache2handler)
MySQL 	4.1.11-Debian_4sarge2-log
Comment 1 Guillaume Paumier 2008-09-01 16:07:34 UTC
(In reply to comment #0)
>  with this in plus (in
> french): 
> *  first line : « L’article de destination « Object » existe déjà.
> Voulez-vous le supprimer pour permettre le renommage ? »  Object is rendering
> instead of a link to the destination page

This is [[MediaWiki:Delete and move text]]; $1 seems to default to "Object" instead of the target page (to be deleted to make way for move)

> * The field in right « Nouveau titre » is empty ; normaly, it have in it the
> name of the page

Nouveau titre = [[MediaWiki:Newtitle]]; the field aside it should also contain the target name.

Comment 2 Niklas Laxström 2008-09-28 11:52:54 UTC
Can you test if r41343 fixes it?
Comment 3 Guillaume Paumier 2008-09-28 17:47:30 UTC
svn up to r41355

It doesn't, sorry.
Comment 4 David Crochet 2008-09-28 19:14:59 UTC
I change the version, is not the 1.13.0 but the 1.13.1

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


Navigation
Links