Jump to content

User:Editing and contributing

From Wikipedia, the free encyclopedia

Tip of the day

[edit]
Tip of the moment...
Searching Wikipedia with regular expressions (regex)
Searching with regex online

To search Wikipedia live with regular expressions, use the insource: parameter, followed by your regex search string enclosed in forward slashes, like this: /regular expression/. Here is an example:

insource:/(Abraham|Abe) Lincoln/

insource searches the wikitext version of articles, and so, wikiformatting codes can be included in the search string. If any characters you wish to find are used as special characters within regex, they will need to be "escaped" by preceding each with a backslash. For a cheat sheet on writing regexes, see Wikipedia:AutoWikiBrowser/Regular expression.

For case insensitive searches, include an "i" after the closing forward slash.

Searching with regex offline

To search all of Wikipedia offline using regex, you need to download the Wikipedia database and do the search offline with AutoWikiBrowser's Database Scanner. Activate it from the tools menu in AutoWikiBrowser (AWB). It returns the names of the pages that match your query, which you can have sent directly to AWB's list maker (then you can use AWB to view them all). The Database Scanner has many features, and each query can be easily configured to match, exclude, specify namespaces, ignore redirects, etc. as you see fit.

Other methods of searching Wikipedia with regular expressions
  • To search Wikipedia titles with regex, use Grep.
  • To search within the current page use the edit window:
    • If source editing, use the "Search and replace" dialog by clicking the magnifying glass icon at the far right of the "Advanced" toolbar.
    • If visual editing, type Ctrl-F to get the search box, then click the "(.*)" icon for regular expressions.
    • Regular expressions are also supported by the WikEd text editor gadget.
  • AutoWikiBrowser can do regex search/replaces, on a list of articles that you provide it.
Read more:
The insource: parameter
Regular expression (regex)  
AutoWikiBrowser (AWB)  
WikEd help  
To add this auto-randomizing template to your user page, use {{totd-random}}


Tip of the day...
Editing articles for web accessibility

Web accessibility is the goal of making web pages easier to navigate and read. While this is primarily intended to assist those with disabilities, it can be helpful to all readers.

While editing articles, keep in mind the goal of making Wikipedia web accessible. All users, regardless of ability, should be able to read, navigate, and contribute to Wikipedia easily.

The Accessibility section of Wikipedia's Manual of Style (MOS) is a valuable resource that provides helpful guidelines. In addition, Accessibility dos and do nots is a quick summary of the most important guidelines for editors.

WikiProject Accessibility is a group of editors promoting better access for disabled and other users. For more information, such as what you can do to help, see the main project page.

To add this auto-updating template to your user page, use {{totd3}}

About Me

[edit]

My goal is to make Wikipedia the best possible encyclopedia it can be. I believe that everyone should have access to free, high-quality information, and Wikipedia is a vital resource for achieving that goal. I'm always looking for ways to improve the quality of Wikipedia, whether it's by editing articles for clarity and accuracy or by helping other editors learn the ropes.

I'm also a big fan of collaboration. I believe that we can achieve great things when we work together, and that's why I love being part of the Wikipedia community. I'm always happy to help other editors, and I'm always open to learning from them.

If you're ever interested in chatting or collaborating on a Wikipedia project, please don't hesitate to reach out!

If you feel like I’ve helped you, please leave a "thank you" and give me a thumbs up. It encourages me to keep learning and improving.

Now enjoy these random images of space and the sky.