About: RuneScape:User help/Archive 5   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Would it be possible to program a bot to look for pages that link to redirects and edit those links to instead link to the actual articles instead of the redirects? If so, I think we should do that. --Andorin (Talk) (Contribs) 04:15, July 28, 2011 (UTC)

AttributesValues
rdfs:label
  • RuneScape:User help/Archive 5
rdfs:comment
  • Would it be possible to program a bot to look for pages that link to redirects and edit those links to instead link to the actual articles instead of the redirects? If so, I think we should do that. --Andorin (Talk) (Contribs) 04:15, July 28, 2011 (UTC)
dcterms:subject
dbkwik:rune-scape/...iPageUsesTemplate
dbkwik:runescape/p...iPageUsesTemplate
abstract
  • Would it be possible to program a bot to look for pages that link to redirects and edit those links to instead link to the actual articles instead of the redirects? If so, I think we should do that. --Andorin (Talk) (Contribs) 04:15, July 28, 2011 (UTC) Also? Using a bot to turn external links that link to wiki pages into internal wiki links. For example, changing [http://runescape.wikia.com/wiki/Grand Exchange Grand Exchange] into [[Grand Exchange]]. Unregistered users add these links pretty often. Come on, let's have a response here. --Andorin (Talk) (Contribs) 06:21, August 11, 2011 (UTC) I think Evil had some AWB .xml files lying around that fixes the second thing. 222 talk 06:25, August 11, 2011 (UTC) I saw a bot fix the first thing once, not sure if that was a one time search or if a bot is continuously assigned to it. File:Promissory note.pngTHARKON 10:50, August 11, 2011 (UTC) You could do the second thing with AWB indeed, using the regexes \[http:\/\/runescape\.wikia\.com\/wiki\/([^ \]]+) ([^\]]+)\] to [[$1|$2]] (turning url links to this wiki in wikilinks), then ((?<=\[\[[^\]]).)*_ to $1 (changing all underscores in links into spaces), then \[\[([^\|]+)\|(\1)\]\] to [[$2]] (turning all wikilinks that have twice the same in it into plain wikilinks ([[cake|cake]] would become [[cake]]). For the last regex, make sure it is not case sensitive. Just put all those regexes below each other in AWB, and it should work fine. I can't do it myself for now, as I don't have access to AWB, but if anyone else wants to do it, feel free to use these regexes for that. If you want to do the same for links to wikipedia, use \[http:\/\/en\.wikipedia\.org\/wiki\/([^ \]]+) ([^\]]+)\] to [[wikipedia:$1|$2]], and put that before the "underscore to spaces in links" regex I put above. left:9px;top:4px;">Jleft:25px;top:3px;">Oright:1px;bottom:4px;">Eleft:2px;bottom:5px;">Yright:4px;top:2px;">Tright:20px;bottom:7px;">Jright:5px;top:6px;">Eright:2px;bottom:3px;">5right:10px;bottom:5px;">0left:6px; top:6px;">Tleft:6px;top:4px;">Aleft:8px;top:3px;">Lright:4px;bottom:2px;">K pull my finger 09:52, November 7, 2011 (UTC)
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software