User:Fl/scripts/achewoodscriptb.php: Difference between revisions

Content deleted Content added
added script
 
m updated licencing information
Line 1:
<source lang="php">
<?php
/*********************************************************************\
// Achewood script b, converts references in [[Achewood]] from [website some-description] to some-description<ref>reference</ref> form. [^>] in regex avoids detecting normal references.
* Achewood script b, converts references in [[Achewood]] from
* [website some-description] to some-description<ref>reference</ref>
* form. [^>] in regex avoids detecting normal references.
*
* This file is part of a collection of scripts, created by Foxy Loxy
* <http://en.wikipedia.org/wiki/User:Foxy_Loxy> and stored at
* <http://en.wikipedia.org/wiki/User:Foxy_Loxy/scripts>.
*
* These scripts are free software: you can redistribute it and/or modify
* them under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* These scripts are distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with these scripts. If not, see <http://www.gnu.org/licenses/>.
\*********************************************************************/
 
require_once "pwiki.class.php";
$pw = new PWiki;