dynamic date conversion.
* FiveUpgrade: large table hacks, install iw_trans update before links
* (bug 2648) Rename namespaces in Afrikaanse
-
+* Special:Booksources checks if custom list page exists before using it
=== Caveats ===
# [[Wikipedia:Book sources]] or equivalent.
$bstitle = Title::makeTitleSafe( NS_PROJECT, wfMsg( "booksources" ) );
$bsarticle = new Article( $bstitle );
- $bstext = $bsarticle->getContent( false );
-
- if( $bstext ) {
- $bstext = str_replace( "MAGICNUMBER", $this->mIsbn, $bstext );
- $wgOut->addWikiText( $bstext );
- return;
+ if( $bsarticle->exists() ) {
+ $bstext = $bsarticle->getContent( false );
+ if( $bstext ) {
+ $bstext = str_replace( "MAGICNUMBER", $this->mIsbn, $bstext );
+ $wgOut->addWikiText( $bstext );
+ return;
+ }
}
# Otherwise, use the list of links in the default Language.php file.