Difference between revisions of "User talk:John"

From Fancyclopedia 3
Jump to navigation Jump to search
Line 78: Line 78:
  
 
I understand how the Website stub works and why it's set up the way it is. Unfortunately, it doesn't currently work well for squatted pages. But I do understand that the additional programming may not be worth it right now.
 
I understand how the Website stub works and why it's set up the way it is. Unfortunately, it doesn't currently work well for squatted pages. But I do understand that the additional programming may not be worth it right now.
 +
 +
I have changed it so if capture= is quoted, then only the IA site is mentioned. [[User:John|John]] ([[User talk:John|talk]]) 03:47, 8 May 2020 (PDT)

Revision as of 03:47, 8 May 2020


#!/bin/bash
grep -v '<big>' convention_timeline.txt | grep -v 'tab>' | grep -v "' '" > convention_timeline1.txt
sed -Ef convert.sed convention_timeline1.txt > convention_timeline2.txt

cat convert.bsh >> convention_timeline3.txt
cat convert.sed >> convention_timeline3.txt
echo >> convention_timeline3.txt
echo See https://meta.wikimedia.org/wiki/Help:Sorting >> convention_timeline3.txt
echo >> convention_timeline3.txt
echo To sort for Dates within Location, click on Location, then shift-click on Date >> convention_timeline3.txt
echo >> convention_timeline3.txt

echo '{| class="wikitable sortable"' >> convention_timeline3.txt
echo '! Date' >> convention_timeline3.txt
echo '! Name' >> convention_timeline3.txt
echo '! Location' >> convention_timeline3.txt
cat convention_timeline2.txt >> convention_timeline3.txt
echo '|}' >> convention_timeline3.txt
s` ``g
s`<small>\((.*)\)</small>`||\1`g
s`(.*)\|\|(.*)\|\|(.*)`|-\n|data-sort-value=\1|\1\n|\2\n|data-sort-value=\3|[[\3]]`
s`(.*)\|\|(.*)`|-\n|data-sort-value=\1|\1\n|\2`

See https://meta.wikimedia.org/wiki/Help:Sorting

To sort for Dates within Location, click on Location, then shift-click on Date

Date Name Location
October 22, 1936 First Convention Philadelphia, PA
January 3, 1937 Other First Convention Leeds, UK

Website links and IA[edit]

I understand how the Website stub works and why it's set up the way it is. Unfortunately, it doesn't currently work well for squatted pages. But I do understand that the additional programming may not be worth it right now.

I have changed it so if capture= is quoted, then only the IA site is mentioned. John (talk) 03:47, 8 May 2020 (PDT)