Last modified: 2010-11-09 03:51:05 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 T24369, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22369 - Cannot move topic ending with question mark
Cannot move topic ending with question mark
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Andrew Garrett
http://translatewiki.net/wiki/Special...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-03 11:26 UTC by Siebrand Mazeland
Modified: 2010-11-09 03:51 UTC (History)
2 users (show)

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


Attachments

Description Siebrand Mazeland 2010-02-03 11:26:52 UTC
It is not possible to move a topic ending with a question mark. Use sources are trunk for both MediaWiki and Lqt (r61923)

After clicking "move" a new page is loaded telling me "The thread you specified does not exist."

See http://translatewiki.net/wiki/User_talk:Siebrand/test for testcase. Feel free to experiment.
Comment 1 Andrew Garrett 2010-02-05 00:51:21 UTC
It's a bug in your URL rewriting. Works fine on my local test box. Try creating a page with a question-mark in it on translatewiki, e.g. http://translatewiki.net/wiki/User:Werdna/Question-mark_fail%3F
Comment 3 Niklas Laxström 2010-10-08 11:56:07 UTC
Not really. We have this local patch to work around the issue:

-$url = str_replace( '$1', $dbkey, $wgArticlePath );
+if ( strpos( $dbkey, '%3F' ) !== false ) {
+    $url = str_replace( '$1', $dbkey, "$wgScript?title=$1" ); 
+} else {
+    $url = str_replace( '$1', $dbkey, $wgArticlePath );
+}

It doesn't seem to be possible to making correct url rewrite rules with the current version of lighttpd (or if it is, I am not aware of it).

On the other hand this issue has nothing to do with Lqt. The patch might be useful for other people too, but not as-is.
Comment 4 Andrew Garrett 2010-11-09 03:51:05 UTC
Marking as WFM because this is a lighttpd issue.

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


Navigation
Links