User talk:Zero2001

From Baka-Tsuki
Jump to navigation Jump to search

Somewhat interested in Punctuation Changes

How does the bytes work for those anyway? From what you did on IS, the apostrophes for Microsoft Word uses more space than wordpad. Can you explain that to me? Thanks--Teh Ping 15:19, 29 May 2011 (UCT)

The types of punctuation used formally were: ..."" (You might need to see in editing mode to get the difference). I used the characters ... and ' and " to replace them. The thing is, that every type of character has an id set to it in the form of a combination of bits (01010101). This is done because bits, bytes, kilobytes, megabytes, etc, is how data is stored. In other words " does not equal " or " in the storing language. However in English they would mean the same thing. " occurs earlier in the storage character table than " or " therefore it has a smaller id. Thus space can be saved by using it. My advice is to either stop using MSWord and use WordPad or TextPad editor. OR... first write in MSWord then take it to TextPad and then use the find and replace functions to switch the above characters. You can also use FoxReplace addon if you are using Firefox but that's just a little more complex in initializing the settings but the result is that the replacement process becomes fully automated (It's a major pain if you make a mistake though, if you don't exclude pages you need to, then the replacement could affect something you did not wish it to). The final way is to use this site's own search and replace function. Zero2001 15:41, 29 May 2011 (UCT)

Personally, I use the FoxReplace method. So there might be rare cases where something unintended was changed. I apologize for that. Zero2001 - Talk - 00:37, 4 June 2011 (UCT)

BTW, ... and ... actually do not have any differences in the bytes used. I tried replacing them in an Oreimo chapter, but 0 bytes changed. Kira 14:08, 6 July 2011 (UCT)

Hmm. I suspected as much. Basically that means that the ... character is equivalent to three fullstop(.) characters. Zero2001 - Talk - 16:49, 6 July 2011 (UCT)

FoxReplace Method

If you are using FireFox. All you have to do is install the addon FoxReplace. After that create an xml file using Notepad (name it anything you like, for the sake of reference I'll call it "PuncReplace.xml") and write the following code into the file (get it in edit mode, copying in view mode will not work):

<substitutionlist version="0.12">
  <group>
    <urls>
      <url>http://www.baka-tsuki.org/*&action=edit*</url>
      <url>http://www.baka-tsuki.org/*&action=submit*</url>
    </urls>
    <substitutions>
      <substitution casesensitive="true">
        <input type="text">"..."</input>
        <output>"..."</output>
      </substitution>
      <substitution casesensitive="true">
        <input type="text">"'"</input>
        <output>"'"</output>
      </substitution>
      <substitution casesensitive="true">
        <input type="text">"'"</input>
        <output>"'"</output>
      </substitution>
      <substitution casesensitive="true">
        <input type="text">"""</input>
        <output>"""</output>
      </substitution>
      <substitution casesensitive="true">
        <input type="text">"""</input>
        <output>"""</output>
      </substitution>
      <substitution casesensitive="true">
        <input type="text">"<!—"</input>
        <output>"<!--"</output>
      </substitution>
    </substitutions>
  </group>
</substitutionlist>

Save the file.

After that, (in Firefox) go to FoxReplace options and click the "Import" button, choose the xml file you made ("PuncReplace.xml").

The settings will automatically load into FoxReplace.

Click the "Okay" button and after that whenever you edit or see the preview of the edits the FoxReplace addon will automatically make the appropriate substitutions. Good Hunting! Zero2001 - Talk - 17:10, 6 July 2011 (UCT)

Upgrade

I am not so sure why I should do take a look? --Darklor 02:52, 30 June 2011 (UCT)

I'll post that collapsing upgrade idea in the forums, to discuss it. I'll give you the link to that shortly. After all, it is not a bad idea. Kira 02:50, 1 July 2011 (UCT)

Here's the link. XD

http://www.baka-tsuki.org/forums/viewtopic.php?f=16&t=4458 - Kira 02:59, 1 July 2011 (UCT)