DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Modify Format/Case: Secure Wikipedia URL  (Read 7,487 times)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Modify Format/Case: Secure Wikipedia URL
« on: February 12, 2009, 06:41 AM »
I convert some of my http Wikipedia URLs to https WikiMedia URLs using CHS' Modify Format/Case functionality, changing things like:

Quote
http://en.wikipedia.org/wiki/Magnetite

to:

Quote
https://secure.wikimedia.org/wikipedia/en/wiki/Magnetite

In my ClipboardHelpAndSpell\PresetFormats\ directory I have a filed named "SecureWikipedia.preset.format", that contains:

Quote
[FormattingForm.rsPropSaver1]
acCheckGroupBoxAddEntire.Checked="false"
AddPrefixEdit.Text=
AddStuffCheckGroupBox.Checked="false"
AddSuffixEdit.Text=
ApplyCheckGroupBox.Checked="true"
ChangeCaseCheckGroupBox.Checked="false"
CheckBoxAddToBlanks.Checked="false"
CheckBoxEvenBetween.Checked="false"
CheckBoxFixedFont.Checked="false"
CheckBoxIndent.Checked="false"
CheckBoxJustify.Checked="false"
CheckBoxNewlineSentences.Checked="false"
CheckBoxNoSpacesInTrimLines.Checked="false"
CheckBoxPostAfterPrefix.Checked="true"
CheckBoxRemoveLinebreaks.Checked="false"
CheckBoxSearchCaseInsensitive.Checked="true"
CheckBoxSearchRegEx.Checked="true"
CheckBoxTrimExcessBlankLines.Checked="true"
CheckBoxTrimExcessWhitespace.Checked="true"
CheckBoxWordWrap.Checked="false"
CheckGroupBoxTrimLeft.Checked="true"
CheckGroupBoxTrimRight.Checked="true"
FindEdit.Text="^http:\/\/([a-zA-Z]+)\.wikipedia\.org\/wiki\/(.*)$"
LabeledEditEntirePrefix.Text=
LabeledEditEntireSuffix.Text=
LeadingCheckGroupBox.Checked="false"
NumberEditWidth.Value=76
PostFormatCheckGroupBox.Checked="false"
RadioButtonInvertCase.Checked="false"
RadioButtonLowercase.Checked="false"
RadioButtonSentenceCase.Checked="true"
RadioButtonTitleCase.Checked="false"
RadioButtonUppercase.Checked="false"
RepEdit.Text="https://secure.wikimedia.org/wikipedia/$1/wiki/$2"
ReplacementCheckGroupBox.Checked="true"
StripLeadingEdit.Text="<,>,],["
StripperCheckGroupBox.Checked="true"
StripTrailingEdit.Text=
TrailingCheckGroupBox.Checked="false"
TrimLeftCountEdit.Value=0
TrimLineCheckGroupBox.Checked="false"
TrimRightCountEdit.Value=0

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Modify Format/Case: Secure Wikipedia URL
« Reply #1 on: February 12, 2009, 07:35 AM »
hm, secure/wikimedia? Wuzzat?
- carpe noctem

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Modify Format/Case: Secure Wikipedia URL
« Reply #2 on: February 12, 2009, 11:12 AM »
I don't know if the following answers your question, but from looking at the following, I take URLs (at least some of them) that begin with https://secure.wikimedia.org/ to point to WikiMedia content (including Wikipedia) accessible via SSL:

https://secure.wikimedia.org/
http://wikimedia.org/

Original address: https://www.donationcoder.com/forum/index.php?topic=17015.0