User "Krinkle" posted a comment on MediaWiki.r94421.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94421#c20757
Commit summary:

(bug 26283) Previewing user JS/CSS pages doesn't load other user JS/CSS pages

Comment:

<pre>
array( 'excludepage' => $this->getTitle()->getPrefixedText() )
...
$username = $context->getUser();
...
"User:$username/" . $context->getSkin() . '.css'
...
$excludepage = $context->getRequest()->getVal( 'excludepage' );
                        if ( isset( $pages[$excludepage] ) ) {
                                unset( $pages[$excludepage] );
</pre>
Does getPrefixedText() use the same format as getUser() (ie. encoding and 
underscores) ?

<pre>
+                               $otherTags .= Html::inlineStyle( 
$this->getRequest()->getText( 'wpTextbox1' ) );;

</pre>
Bonus semi-colon

_______________________________________________
MediaWiki-CodeReview mailing list
mediawiki-coderev...@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to