Index: trunk/phase3/includes/Linker.php |
— | — | @@ -135,7 +135,10 @@ |
136 | 136 | * name of the target). |
137 | 137 | * link() replaces the old functions in the makeLink() family. |
138 | 138 | * |
139 | | - * @since 1.16 |
| 139 | + * @since 1.18 Method exists since 1.16 as non-static, made static in 1.18. |
| 140 | + * You can call it using this if you want to keep compat with these: |
| 141 | + * $linker = class_exists( 'DummyLinker' ) ? new DummyLinker() : new Linker(); |
| 142 | + * $linker->link( ... ); |
140 | 143 | * |
141 | 144 | * @param $target Title Can currently only be a Title, but this may |
142 | 145 | * change to support Images, literal URLs, etc. |
Index: trunk/phase3/includes/specials/SpecialWantedpages.php |
— | — | @@ -27,6 +27,7 @@ |
28 | 28 | * @ingroup SpecialPage |
29 | 29 | */ |
30 | 30 | class WantedPagesPage extends WantedQueryPage { |
| 31 | + |
31 | 32 | function __construct( $name = 'Wantedpages' ) { |
32 | 33 | parent::__construct( $name ); |
33 | 34 | $this->mIncludable = true; |