X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Flinkcache.txt;h=cf28762ad5feed6be1b24cb7daced24323e8a046;hb=12216dc71c7fb3ac4c533a03e39819170e2a5b66;hp=13b6961356cc47459e90bad64b1b25811c5e660c;hpb=3368cccde53732c1278f51632e69b9865c4ee6ba;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/linkcache.txt b/docs/linkcache.txt index 13b6961356..cf28762ad5 100644 --- a/docs/linkcache.txt +++ b/docs/linkcache.txt @@ -13,8 +13,8 @@ purposes of updating the link tables. This application is now deprecated. To create a batch, you can use the following code: -$pages = array( 'Main Page', 'Project:Help', /* ... */ ); -$titles = array(); +$pages = [ 'Main Page', 'Project:Help', /* ... */ ]; +$titles = []; foreach( $pages as $page ){ $titles[] = Title::newFromText( $page );