[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:mhoram:scripts:wiki_orphans
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Wed Dec 27 15:01:30 CST 2006
A page in your DokuWiki was added or changed. Here are the details:
Date : 2006/12/27 15:01
User :
Edit Summary: Adding results of latest run.
@@ -2,14 +2,27 @@
This is a perl script which walks through the Crossfire Dokuwiki index, parses the links on every page, and reports any orphaned pages -- those that are never linked to from other dokuwiki pages. (In dokuwiki parlance, they have no backlinks.) If these pages aren't under heavy construction, they should probably be linked to from somewhere so they can be found, or deleted if no longer needed.
This was a fairly quick hack, so it doesn't have all the error-checking that a completed script should, but I'm out of time for today, and it does appear to work. Thanks to [[user:Rednaxela]] for the idea.
+
===== Requirements =====
* Perl
* LWP::Simple (a perl module)
* A reasonably fast internet connection. It takes a few minutes across my wireless, so would probably take hours over dialup.
+ ===== Results =====
+
+ Here are the results of a run on 2006-12-27, with comments in italics.
+
+ * client_side_scripting:scripts:c
+ * monsters:a -- //Under heavy construction; will be linked from a monster index.//
+ * playground -- //Makes sense.//
+ * servers:cat2
+ * start
+ * unlinked_test_page -- //Page for testing this script; could be deleted at any time.//
+ * user:kshinji -- //Should be added to [[:people]].//
+ * user_cavesomething_todo_spelldescriptions
===== Code =====
<code perl>
#!/usr/bin/perl
IP-Address : 206.71.197.56
Old Revision: http://wiki.metalforge.net/doku.php/user:mhoram:scripts:wiki_orphans?rev=1167252283
New Revision: http://wiki.metalforge.net/doku.php/user:mhoram:scripts:wiki_orphans
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list