[Mediawiki-l] Page Exist?
alexis.moinet at fpms.ac.be
Thu Oct 26 15:37:30 UTC 2006
headley-hfFO4poyKT6Ypkr5+xe8Uw at public.gmane.org a écrit :
> Just sending this back to the list, since I didn't get a response earlier.
> Anyone have any ideas on how I can check to see if a specific article
> exists that isn't the currecnt article? I want to change the class used
> in the link, and possibly send them directly to the edit page.
the hard way (I'm sure a more elegant and simpler solution exists) :
$articlename = Title::newFromText("namespace:titleofarticle");
echo "it does exist";
echo "it does not exist";
More information about the MediaWiki-l