Index: trunk/phase3/includes/HTMLForm.php |
— | — | @@ -107,8 +107,9 @@ |
108 | 108 | |
109 | 109 | protected $mTitle; |
110 | 110 | protected $mMethod = 'post'; |
111 | | - |
| 111 | + |
112 | 112 | /** |
| 113 | + * Form action URL. false means we will use the URL to set Title |
113 | 114 | * @since 1.19 |
114 | 115 | * @var false|string |
115 | 116 | */ |
— | — | @@ -851,19 +852,19 @@ |
852 | 853 | public function getLegend( $key ) { |
853 | 854 | return wfMsg( "{$this->mMessagePrefix}-$key" ); |
854 | 855 | } |
855 | | - |
| 856 | + |
856 | 857 | /** |
857 | 858 | * Set the value for the action attribute of the form. |
858 | | - * When set to false (which is the default state), the set title is used. |
859 | | - * |
| 859 | + * When set to false (which is the default state), the set title is used. |
| 860 | + * |
860 | 861 | * @since 1.19 |
861 | | - * |
| 862 | + * |
862 | 863 | * @param string|false $action |
863 | 864 | */ |
864 | 865 | public function setAction( $action ) { |
865 | 866 | $this->mAction = $action; |
866 | 867 | } |
867 | | - |
| 868 | + |
868 | 869 | } |
869 | 870 | |
870 | 871 | /** |