I wrote an extension that allows you to include PART of one article (not the entire article) into another.
Email me if this is what you need.
Flip
mediawiki-l-request@lists.wikimedia.org wrote: Send MediaWiki-l mailing list submissions to mediawiki-l@lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.wikimedia.org/mailman/listinfo/mediawiki-l or, via email, send a message with subject or body 'help' to mediawiki-l-request@lists.wikimedia.org
You can reach the person managing the list at mediawiki-l-owner@lists.wikimedia.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
1. Re: Removing Most Viewed Pages and Popularpages (Adam Meyer) 2. Further adventures in SVG (David Gerard) 3. Re: SVG rendering (was: Is there a way to limit the sizeof images uploaded) (David Gerard) 4. Including one article into another (Justin Geo Zaun) 5. Re: Including one article into another (Herta Van den Eynde) 6. Re: Including one article into another (Randall Hopper) 7. Re: wgAjaxSearch (Adam Meyer) 8. HELP request -- Spam pages and FALSE LOGIN pages on wiki (Shannon Bohle) 9. Re: HELP request -- Spam pages and FALSE LOGIN pages on wiki (Thomas Dalton)
----------------------------------------------------------------------
Message: 1 Date: Sat, 12 Jan 2008 07:21:02 -0500 From: Adam Meyer Subject: Re: [Mediawiki-l] Removing Most Viewed Pages and Popularpages To: MediaWiki announcements and site admin list
Message-ID: 94AD7BAE-28AD-4549-A15E-7BB02055AE21@mindspring.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Do you eant to reset the statistics, or would you like them to not show up at all, ever.
If you want to reset them, that is easy.
If you want to make them never show, I would think you need to edit their code. If you know php it shouldn't be too hard. If you dont... then dont mess around in there.
-Adam
On Jan 12, 2008, at 5:20 AM, Craig White wrote:
How do I remove Most Viewed Pages from Special:Statistics?
How do I remove Special:Popularpages from Special pages?
Thx _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
------------------------------
Message: 2 Date: Sat, 12 Jan 2008 13:18:03 +0000 From: "David Gerard" Subject: [Mediawiki-l] Further adventures in SVG To: "MediaWiki announcements and site admin list"
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1
http://www.mediawiki.org/wiki/SVG_benchmarks#Further_testing
I ran a benchmark overnight on my Ubuntu 7.10 laptop (X in Failsafe, i.e. not running KDE). Batik, ImageMagick, Inkscape and rsvg, each run 115 times through 58 SVGs from Commons of varying size and complexity.
Results (times in seconds):
median real mean real median CPU mean CPU Batik 139.71 139.95 137.02 137.04 ImageMagick 112.43 112.67 111.7 111.73 Inkscape 51.43 51.52 51.18 51.2 rsvg 25.97 26.03 25.8 25.825.8
The laptop is a Dell Latitude D610 with a 1.6GHz Pentium M and 512MB memory.
* Inkscape was visibly thrashing the disk, suggesting it uses *rather a lot* of memory ... * Batik's JVM crapped out several times (39 out of 4485 rendering attempts) for no apparent reason, not on any particular SVGs. * Note that ImageMagick is not just slow, it's known to be buggy with SVG rendering. * I did not check the resulting PNGs, just threw them away.
Personal verdict: rsvg all the way. Inkscape if you have a lot of memory and its dependencies are less trouble than rsvg (e.g. on Windows).
- d.
------------------------------
Message: 3 Date: Sat, 12 Jan 2008 14:31:01 +0000 From: "David Gerard" Subject: Re: [Mediawiki-l] SVG rendering (was: Is there a way to limit the sizeof images uploaded) To: "MediaWiki announcements and site admin list"
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1
On 12/01/2008, Brion Vibber wrote:
We've been tossing about the idea of using Inkscape simply for compatibility's sake -- since a lot of people are creating their files in Inkscape, having librsvg bugs muck up the display's a bit annoying.
Inkscape's half the speed and uses a lot more memory. Better to ascertain and report bugs in rsvg if at all possible. (I realise the security patch thing's a PITA as well.)
Batik, OTOH, is poo as far as I can tell. Fat, slow and Java craps out at random. Perfect results except the 1% of failures to render.
- d.
------------------------------
Message: 4 Date: Sat, 12 Jan 2008 08:33:38 -1000 From: "Justin Geo Zaun" Subject: [Mediawiki-l] Including one article into another To: mediawiki-l@lists.wikimedia.org Message-ID:
Content-Type: text/plain; charset=UTF-8
Hello,
I've been trying to figure out how to include one article into another for some time but can't seem to find out how. What I'm trying to do is create several articles that are included in another article. The idea is that changing Article 1 or Article 2 below would automatically change Article 3 and Article 4 below. Sorry for the longwinded explanation...
Thanks, Justin
Article 1 ---- * A * B * C
Article 2 ---- *1 *2 *3
Article 3 (sudo-markup) ----
Article 3 (view) ---- * A * B * C *1 *2 *3
Article 4 (sudo-markup) ----
Article 4 (view) ---- *1 *2 *3 * A * B * C
------------------------------
Message: 5 Date: Sat, 12 Jan 2008 19:44:34 +0100 From: "Herta Van den Eynde" Subject: Re: [Mediawiki-l] Including one article into another To: "MediaWiki announcements and site admin list"
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1
On 12/01/2008, Justin Geo Zaun wrote:
Hello,
I've been trying to figure out how to include one article into another for some time but can't seem to find out how. What I'm trying to do is create several articles that are included in another article. The idea is that changing Article 1 or Article 2 below would automatically change Article 3 and Article 4 below. Sorry for the longwinded explanation...
Thanks, Justin
Article 1
- A
- B
- C
Article 2
*1 *2 *3
Article 3 (sudo-markup)
Article 3 (view)
- A
- B
- C
*1 *2 *3
Article 4 (sudo-markup)
Article 4 (view)
*1 *2 *3
- A
- B
- C
Yes, you can do that easily. The process is called transclusion.
Your Article 3 would simply contain {{:Article 1}} {{:Article 2}}
And Article 4 would be: {{:Article 2}} {{:Article 1}}
Kind regards,
Herta
Flip,
Why don't you put it up on mediawiki.org?
-- Jim R. Wilson (jimbojw)
On Jan 13, 2008 9:19 AM, Flip Mozart flipmozart@yahoo.com wrote:
I wrote an extension that allows you to include PART of one article (not the entire article) into another.
Email me if this is what you need.
Flip
mediawiki-l-request@lists.wikimedia.org wrote: Send MediaWiki-l mailing list submissions to mediawiki-l@lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.wikimedia.org/mailman/listinfo/mediawiki-l or, via email, send a message with subject or body 'help' to mediawiki-l-request@lists.wikimedia.org
You can reach the person managing the list at mediawiki-l-owner@lists.wikimedia.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
- Re: Removing Most Viewed Pages and Popularpages (Adam Meyer)
- Further adventures in SVG (David Gerard)
- Re: SVG rendering (was: Is there a way to limit the sizeof images uploaded) (David Gerard)
- Including one article into another (Justin Geo Zaun)
- Re: Including one article into another (Herta Van den Eynde)
- Re: Including one article into another (Randall Hopper)
- Re: wgAjaxSearch (Adam Meyer)
- HELP request -- Spam pages and FALSE LOGIN pages on wiki (Shannon Bohle)
- Re: HELP request -- Spam pages and FALSE LOGIN pages on wiki (Thomas Dalton)
Message: 1 Date: Sat, 12 Jan 2008 07:21:02 -0500 From: Adam Meyer Subject: Re: [Mediawiki-l] Removing Most Viewed Pages and Popularpages To: MediaWiki announcements and site admin list
Message-ID: 94AD7BAE-28AD-4549-A15E-7BB02055AE21@mindspring.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Do you eant to reset the statistics, or would you like them to not show up at all, ever.
If you want to reset them, that is easy.
If you want to make them never show, I would think you need to edit their code. If you know php it shouldn't be too hard. If you dont... then dont mess around in there.
-Adam
On Jan 12, 2008, at 5:20 AM, Craig White wrote:
How do I remove Most Viewed Pages from Special:Statistics?
How do I remove Special:Popularpages from Special pages?
Thx _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Message: 2 Date: Sat, 12 Jan 2008 13:18:03 +0000 From: "David Gerard" Subject: [Mediawiki-l] Further adventures in SVG To: "MediaWiki announcements and site admin list"
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1
http://www.mediawiki.org/wiki/SVG_benchmarks#Further_testing
I ran a benchmark overnight on my Ubuntu 7.10 laptop (X in Failsafe, i.e. not running KDE). Batik, ImageMagick, Inkscape and rsvg, each run 115 times through 58 SVGs from Commons of varying size and complexity.
Results (times in seconds):
median real mean real median CPU mean CPU Batik 139.71 139.95 137.02 137.04 ImageMagick 112.43 112.67 111.7 111.73 Inkscape 51.43 51.52 51.18 51.2 rsvg 25.97 26.03 25.8 25.825.8
The laptop is a Dell Latitude D610 with a 1.6GHz Pentium M and 512MB memory.
- Inkscape was visibly thrashing the disk, suggesting it uses *rather
a lot* of memory ...
- Batik's JVM crapped out several times (39 out of 4485 rendering
attempts) for no apparent reason, not on any particular SVGs.
- Note that ImageMagick is not just slow, it's known to be buggy with
SVG rendering.
- I did not check the resulting PNGs, just threw them away.
Personal verdict: rsvg all the way. Inkscape if you have a lot of memory and its dependencies are less trouble than rsvg (e.g. on Windows).
- d.
Message: 3 Date: Sat, 12 Jan 2008 14:31:01 +0000 From: "David Gerard" Subject: Re: [Mediawiki-l] SVG rendering (was: Is there a way to limit the sizeof images uploaded) To: "MediaWiki announcements and site admin list"
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1
On 12/01/2008, Brion Vibber wrote:
We've been tossing about the idea of using Inkscape simply for compatibility's sake -- since a lot of people are creating their files in Inkscape, having librsvg bugs muck up the display's a bit annoying.
Inkscape's half the speed and uses a lot more memory. Better to ascertain and report bugs in rsvg if at all possible. (I realise the security patch thing's a PITA as well.)
Batik, OTOH, is poo as far as I can tell. Fat, slow and Java craps out at random. Perfect results except the 1% of failures to render.
- d.
Message: 4 Date: Sat, 12 Jan 2008 08:33:38 -1000 From: "Justin Geo Zaun" Subject: [Mediawiki-l] Including one article into another To: mediawiki-l@lists.wikimedia.org Message-ID:
Content-Type: text/plain; charset=UTF-8
Hello,
I've been trying to figure out how to include one article into another for some time but can't seem to find out how. What I'm trying to do is create several articles that are included in another article. The idea is that changing Article 1 or Article 2 below would automatically change Article 3 and Article 4 below. Sorry for the longwinded explanation...
Thanks, Justin
Article 1
- A
- B
- C
Article 2
*1 *2 *3
Article 3 (sudo-markup)
Article 3 (view)
- A
- B
- C
*1 *2 *3
Article 4 (sudo-markup)
Article 4 (view)
*1 *2 *3
- A
- B
- C
Message: 5 Date: Sat, 12 Jan 2008 19:44:34 +0100 From: "Herta Van den Eynde" Subject: Re: [Mediawiki-l] Including one article into another To: "MediaWiki announcements and site admin list"
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1
On 12/01/2008, Justin Geo Zaun wrote:
Hello,
I've been trying to figure out how to include one article into another for some time but can't seem to find out how. What I'm trying to do is create several articles that are included in another article. The idea is that changing Article 1 or Article 2 below would automatically change Article 3 and Article 4 below. Sorry for the longwinded explanation...
Thanks, Justin
Article 1
- A
- B
- C
Article 2
*1 *2 *3
Article 3 (sudo-markup)
Article 3 (view)
- A
- B
- C
*1 *2 *3
Article 4 (sudo-markup)
Article 4 (view)
*1 *2 *3
- A
- B
- C
Yes, you can do that easily. The process is called transclusion.
Your Article 3 would simply contain {{:Article 1}} {{:Article 2}}
And Article 4 would be: {{:Article 2}} {{:Article 1}}
Kind regards,
Herta
-- Herta Van den Eynde
"Life on Earth may be expensive, but it comes with a free ride around the Sun."
Message: 6 Date: Sat, 12 Jan 2008 14:41:35 -0600 From: Randall Hopper Subject: Re: [Mediawiki-l] Including one article into another To: MediaWiki announcements and site admin list
Message-ID: 20080112204135.GA28192@charter.net Content-Type: text/plain; charset=us-ascii
Herta Van den Eynde: |Yes, you can do that easily. The process is called transclusion. | |Your Article 3 would simply contain |{{:Article 1}} |{{:Article 2}} | |And Article 4 would be: |{{:Article 2}} |{{:Article 1}}
Is there a way to do this so that "What links here" on Article 3 is "Article 1" and "Article 1"?
I think instead what happens by default is that "What links here" on Article 3 is the many links "in" Article 1 and Article 2, instead of just "Article 1" and "Article 2".
Thanks,
Randall
Message: 7 Date: Sat, 12 Jan 2008 16:08:05 -0500 From: Adam Meyer Subject: Re: [Mediawiki-l] wgAjaxSearch To: MediaWiki announcements and site admin list
Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
So for anyone who cares about the ajax search. I figured it out. The ajax call is made by ajax.js and calls the search, but also directs it where to go. I modified the code to go into a div under the search on the side. Works well, and it seems really fast.
Anyone interested, I can give you more detailed information.
-Adam
On Jan 11, 2008, at 8:28 AM, Adam Meyer wrote:
I have been playing with the wgAjaxSearch feature.
I like the results, and speed, but I hate how it is displayed. It takes over the page.
Id like it to be done like it is on my site ( www.risdpedia.net ), but I am using this huge yahoo script to do it. (see the search on the left side).
I see that function wfSajaxSearch in Axaxfunctions.php passes the variable $html to somewhere. but where is it passed to?
Id like to see if I can recode it to be put under the search bar, so it does not completely take over the page you are on when it happens.
It should be quite simple if I can just locate where it is being processed.
Thanks, -Adam
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Message: 8 Date: Sat, 12 Jan 2008 14:09:22 -0800 (PST) From: Shannon Bohle Subject: [Mediawiki-l] HELP request -- Spam pages and FALSE LOGIN pages on wiki To: mediawiki-l@lists.wikimedia.org Message-ID: 845286.68143.qm@web30503.mail.mud.yahoo.com Content-Type: text/plain; charset=iso-8859-1
I am a new administrator and I having a problem with spam on my wiki. Normally I would simply look up the new pages created and delete those pages. However, somehow this user was able to do the following:
- Create pages that don't allow me (sysop) to delete them.
- Create pages that don't allow me (sysop) to redirect them.
- Create pages that are not listed in "Recent Changes".
- Create pages that are not listed in "All Articles"
- Create false login pages and copies of real pages that may redirect to other sites?
- Create pages with URL names
Basically, if I had not seen this on my website user tracking log, I would not know these pages even existed. They are "invisible".
Here are a few examples:
http://archivopedia.com/wiki/index.php?title=http%3A%2F%2Fwww.sima-ic.cz%2F_... 2. http://archivopedia.com/wiki/index.php?title=http%3A%2F%2Fwww.sima-ic.cz%2F_... 3. http://archivopedia.com/wiki/index.php?title=http%3A%2F%2Fwww.zetesis.biz%2F... 4. http://archivopedia.com/wiki/index.php?title=http%3A%2F%2Fwww.cjp.spb.ru%2Fe... 5. http://archivopedia.com/wiki/index.php?title=Http:// 6. http://archivopedia.com/wiki/index.php?title=Talk:What_is_a_Wiki%3F&%3Ba... 7. http://archivopedia.com/wiki/index.php?Talk:What_is_a_Wiki%3F&%3Bamp%3Ba... 8. http://archivopedia.com/wiki/index.php?Special:Userlogin&amp...
They also created at least one false page like this "Editing TalkTalk:Main Page"
- http://archivopedia.com/wiki/index.php?title=TalkTalk:Main_Page&action=e...
- http://archivopedia.com/wiki/index.php?:Userlogin&type=h...
- http://archivopedia.com/wiki/index.php?Userlogin&returnt...
- http://archivopedia.com/wiki/index.php?http%3A%2F%2Fwww.stomol.ru%2Fcatalog%...;
As well as what appears to be false login pages like these, possibly designed to steal passwords:
- http://archivopedia.com/wiki/index.php?title=Special:Userlogin&a...
- http://archivopedia.com/wiki/index.php?title=Special:Userlogin&a...
- http://archivopedia.com/wiki/index.php?title=Special:Userlogin&a...
- http://archivopedia.com/wiki/index.php?title=Special:Userlogin&a...
- http://archivopedia.com/wiki/index.php?title=Special:Userlogin&a...
Steps I have taken:
- Blocked this IP from futher use of my wiki.
- Added recaptcha
- Blocked all unregistered user editing privilidges (at least until this problem is resolved)
- Added SpamBlacklist extension
- Created a Spam pages and redirected most of these pages I could find to it (but not the login pages and other pages which are duplicates (?) of original pages)
Remaining Issues.
- How do I ensure others won't be able to hack into my system and give themselves Admin rights?
- How do I delete the pages they created?
- How do I find out if MORE pages were created in this way--from this IP or other IPs?
- How do I put all of the appropriate security measures in place to prevent this from happening again?
- Should I delete the login and Main Pages and what appear to be other false pages listed above or will this affect the real Main page, and login page, and other REAL pages?
- Based on these false login pages, is password security really in jeopardy or does it just look that way? What is the best way to handle this situation?
I could use some assistance from an experienced administrator to help me set up some additional security measures and make corrections.
The specific IP of the known offending party is: 69.61.45.178
ARIN shows that this is:
Global Compass, Inc. NET-GLOBAL-COMPASS (NET-69-61-0-0-1) 69.61.0.0 - 69.61.127.255 SitiosHispanos.Com NET-69-61-45-176-29 (NET-69-61-45-176-1) 69.61.45.176 - 69.61.45.183
There is no information on ARIN where to report abuse.
Will someone also add this person to the BlockedList?
Please contact me at my personal email address: shannon_bohle [@] yahoo.
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Message: 9 Date: Sat, 12 Jan 2008 22:52:23 +0000 From: "Thomas Dalton" Subject: Re: [Mediawiki-l] HELP request -- Spam pages and FALSE LOGIN pages on wiki To: "MediaWiki announcements and site admin list" , shannon_bohle@yahoo.com Message-ID:
Content-Type: text/plain; charset=UTF-8
Here are a few examples:
http://archivopedia.com/wiki/index.php?title=http%3A%2F%2Fwww.sima-ic.cz%2F_... 2. http://archivopedia.com/wiki/index.php?title=http%3A%2F%2Fwww.sima-ic.cz%2F_... 3. http://archivopedia.com/wiki/index.php?title=http%3A%2F%2Fwww.zetesis.biz%2F... 4. http://archivopedia.com/wiki/index.php?title=http%3A%2F%2Fwww.cjp.spb.ru%2Fe... 5. http://archivopedia.com/wiki/index.php?title=Http:// 6. http://archivopedia.com/wiki/index.php?title=Talk:What_is_a_Wiki%3F&%3Ba... 7. http://archivopedia.com/wiki/index.php?Talk:What_is_a_Wiki%3F&%3Bamp%3Ba... 8. http://archivopedia.com/wiki/index.php?Special:Userlogin&ret...
Some of those pages don't seem to exist, those that do just redirect to "SPAM" and the histories show just one edit by "Admin1" creating the redirect, except for a couple that seem to be invalid and just default to the main page. What seems to be the problem?
Will someone also add this person to the BlockedList?
What blocked list do you mean? Only you can block people from your site. Just use Special:Blockip.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
End of MediaWiki-l Digest, Vol 52, Issue 23
Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org