Index: branches/wmf-deployment/extensions/LiquidThreads/classes/View.php |
— | — | @@ -1759,15 +1759,17 @@ |
1760 | 1760 | |
1761 | 1761 | static function signaturePST( $sig, $user ) { |
1762 | 1762 | global $wgParser, $wgOut, $wgTitle; |
| 1763 | + |
| 1764 | + $title = $wgTitle ? $wgTitle : $user->getUserPage()->getTitle(); |
1763 | 1765 | |
1764 | 1766 | // Parser gets antsy about parser options here if it hasn't parsed anything before. |
1765 | 1767 | $wgParser->clearState(); |
1766 | | - $wgParser->setTitle( $wgTitle ); |
| 1768 | + $wgParser->setTitle( $title ); |
1767 | 1769 | $wgParser->mOptions = new ParserOptions; |
1768 | 1770 | |
1769 | 1771 | $sig = $wgParser->preSaveTransform( |
1770 | 1772 | $sig, |
1771 | | - $wgTitle, |
| 1773 | + $title, |
1772 | 1774 | $user, |
1773 | 1775 | $wgParser->mOptions, |
1774 | 1776 | false |
Property changes on: branches/wmf-deployment/extensions/LiquidThreads/classes/View.php |
___________________________________________________________________ |
Name: svn:mergeinfo |
1775 | 1777 | + /branches/wmf-deployment/extensions/LiquidThreads/classes/View.php:63154 |
/trunk/extensions/LiquidThreads/classes/View.php:57390,58990-62113,63154 |
Index: branches/wmf-deployment/extensions/LiquidThreads_alpha/classes/View.php |
— | — | @@ -1808,15 +1808,17 @@ |
1809 | 1809 | |
1810 | 1810 | static function signaturePST( $sig, $user ) { |
1811 | 1811 | global $wgParser, $wgOut, $wgTitle; |
| 1812 | + |
| 1813 | + $title = $wgTitle ? $wgTitle : $user->getUserPage()->getTitle(); |
1812 | 1814 | |
1813 | 1815 | // Parser gets antsy about parser options here if it hasn't parsed anything before. |
1814 | 1816 | $wgParser->clearState(); |
1815 | | - $wgParser->setTitle( $wgTitle ); |
| 1817 | + $wgParser->setTitle( $title ); |
1816 | 1818 | $wgParser->mOptions = new ParserOptions; |
1817 | 1819 | |
1818 | 1820 | $sig = $wgParser->preSaveTransform( |
1819 | 1821 | $sig, |
1820 | | - $wgTitle, |
| 1822 | + $title, |
1821 | 1823 | $user, |
1822 | 1824 | $wgParser->mOptions, |
1823 | 1825 | false |
Property changes on: branches/wmf-deployment/extensions/LiquidThreads_alpha/classes/View.php |
___________________________________________________________________ |
Name: svn:mergeinfo |
1824 | 1826 | + /trunk/extensions/LiquidThreads/classes/View.php:57390,58990-62343,63154 |