https://bugzilla.wikimedia.org/show_bug.cgi?id=14779





--- Comment #4 from Umherirrender <[email protected]>  2009-07-01 
17:29:54 UTC ---
fullurl has no problem with urlencoded pages:

{{fullurl:{{FULLPAGENAME}}}} and {{fullurl:{{FULLPAGENAMEE}}}} gives the same
result.

CoreParserFunctions.php has the description - since r15276
$title = Title::newFromText( $s );
# Due to order of execution of a lot of bits, the values might be encoded
# before arriving here; if that's true, then the title can't be created
# and the variable will fail. If we can't get a decent title from the first
# attempt, url-decode and try for a second.
if( is_null( $title ) )
  $title = Title::newFromUrl( urldecode( $s ) );

#ifexist has not this and only try to get the title from text and not from URL
second.

I do not know this is a possible solution. I am not so familiar with MediaWiki
or PHP to say, this is good or not. I can only give you a place, who this
works. Maybe you can adapt from there.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to