Last modified: 2010-05-15 15:38:29 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 T5743, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3743 - Missing string in function getFullURL in Title.php
Missing string in function getFullURL in Title.php
Status: RESOLVED DUPLICATE of bug 3742
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.5.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-19 10:27 UTC by Andreas
Modified: 2010-05-15 15:38 UTC (History)
1 user (show)

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


Attachments

Description Andreas 2005-10-19 10:27:52 UTC
Using last MediaWiki 1.5.0 - 2005-10-05 release

In includes/Title.php there is a function called "getFullURL":
	function getFullURL( $query = '') {

So, at line 658 there is a row:
 		if ( '' == $this->mInterwiki ) {
but it should be:
		if ( $query == $this->mInterwiki ) {

and at line 668 there is a row: 
		if ( '' != $namespace ) {
but it should be:
		if ( $query != $namespace ) {

and at line 681 there is a row:
		if ( '' != $this->mFragment ) {
but it should be:
		if ( $query != $this->mFragment ) {


Otherwise getFullURL are not working (eg. Search field "Go" are not working when  
$wgGoToEdit = true), after correcting those lines, everything is now OK!
Comment 1 lɛʁi לערי ריינהארט 2005-10-19 10:39:22 UTC

*** This bug has been marked as a duplicate of 3742 ***

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


Navigation
Links