mmd-osm
f40e1911fe
update-wiki-pages: process KeyPrefixDescription template
2022-12-30 08:48:57 +01:00
mmd-osm
0b76b22a2b
update-wiki-pages: adding retry and timeout
2022-12-28 16:16:49 +01:00
Tom Hughes
6d68c0b22d
Stop wiki update script trying to be "helpful"
...
Instead of trying to advise how to import some (but not all) of
the modules, just require them in the normal way.
Closes #1763
2018-09-26 22:43:30 +01:00
mmd-osm
d3e91a79ff
Update wiki_pages.yml, fix http url in update script
2018-02-12 20:12:07 +00:00
Tom Hughes
3ea2fc48c2
Look for key pages using Template:Feature
2014-06-18 19:54:25 +01:00
Tom Hughes
ce404d1afb
Fix update-wiki-pages to resolve redirects correctly
2014-06-18 19:47:30 +01:00
João G. Packer
8d0b4ca40a
Change wiki preprocessing script to read redirect pages
...
The script that preprocess keys and tags metadata from the wiki
was filtering redirect pages when looking for wiki pages with the
template `KeyDescription`.
Some wiki pages like `Key:admin_level` currently redirects to others
like `Tag:boundary=administrative`, but even so, they still contain
a `KeyDescription` template so their metadata can be read by other
programs.
The parameter `eifilterredir` was changed and tested. For more
details, see this parameter in the feature `list=embeddedin` from
https://www.mediawiki.org/w/api.php .
2014-06-04 10:45:27 +01:00
Ævar Arnfjörð Bjarmason
3a54a20af6
Implicitly update config/wiki_pages.yml if it exists, and chmod +x
...
This makes:
script/misc/update-wiki-pages
from the top-level just work.
2010-05-08 18:09:49 +00:00
Ævar Arnfjörð Bjarmason
0191549033
This script requires perl 5.10
2010-04-21 00:17:05 +00:00
Ævar Arnfjörð Bjarmason
0193b18edb
Mention how to run this script with prove(1)
2010-04-21 00:16:09 +00:00
Ævar Arnfjörð Bjarmason
c377932312
Don't re-declare lexical variable
2010-04-21 00:07:54 +00:00
Ævar Arnfjörð Bjarmason
0f9c9190ee
This script no longer screen-scrapes and supports >500 key/values
2010-04-21 00:04:24 +00:00
Tom Hughes
546250f60b
Load wiki link data at startup and shorten some file names
2010-04-20 21:05:22 +01:00
Tom Hughes
da74fbb769
Fix wiki scraper to find tag pages as well as key pages
2010-04-20 18:48:59 +01:00
Ævar Arnfjörð Bjarmason
8eead8a870
Ticket #2245 : Link from /browse/* pages to the wiki key/value pages
2010-04-20 12:55:14 +00:00